Integrated advertising machine implementation ideas, very practical (a)

Source: Internet
Author: User
Tags website server home screen

Preface

Today's social advertising everywhere, advertising in front of everyone is also different, such as television, newspapers, networks, stations, buses and so on everything, advertising is ubiquitous, if you do not want to see the ads do not go out, do not open the computer phone, so perhaps temporarily can not see ads. From this visible advertising in people's lives play a role, many people will be based on advertising to buy related products, so now it is more and more enterprises to pay large sums to advertise. However, advertising is a very annoying thing, such as when watching TV suddenly give you a piece of advertising, hey ... In the age of advertising, you and I are the victims of advertising.

I give you today to introduce an advertising integrated machine implementation ideas, for everyone to exchange learning, common progress. Maybe I'm not talking about a good idea, just for reference.

Integrated Advertising Machine Introduction

I introduced the advertising machine is a You may have seen, such as airports, stations and other places can be seen, it is a three-dimensional advertising machine, there is a computer mainframe, a relatively large touch screen, which may be assembled into a single machine. And our all-in-one machine also integrates the card issuing machine (member registration will write the user information into the card, then send cards), POS machine (for trading), UPS (backup power), camera (photo) and so on integrated into the machine, it seems that the function is much more powerful than the general advertising is it.

The first will be the rotation of the corresponding picture, when someone touched the screen, will be based on the image to jump to the corresponding website, the site for the corresponding product information, so that you can register in this site, purchase goods and so on, the follow-up seems to be able to achieve the effect of the test mirror, is to select the clothes according to the photos taken by your body corresponding to the size of the clothes to wear on the body, so as to achieve the effect of the fitting mirror, O (∩_∩) o haha ~, this is the one I introduced the advertising machine.

Implementation ideas

One advertising machine is based on C/s structure. NET development platform, mainly in WinForm development application, for the Win7 operating system, and by default nested an e-commerce platform.

The whole system architecture of an e-commerce platform is a BS structure-based Java EE multilayer architecture. The user-oriented access level is made up of a web portal. The access layer below is the application and business integration layer, and the application server layer is supported for the application business.

server-side: The Java EE website Development Webservic provides an "ad image download" interface and a remote "Install file Update" interface.

Client: access the remote "Install file update interface" to implement the Automatic Update function, access the remote "ad image download Interface" to realize the remote update download function, and the use of advertising images to implement the Carousel function.

Integrated Machine Implementation function
    • Automatic boot function

The system automatically travels the app every day when the all-in-one machine is powered on. The application runs automatically through the Internet to access the Web site's webservices remote interface, which is based on the location parameters of the final machine, downloads the site's ad images, and loads the information into the local file of the machine to prepare the program to run the advertisement.

    • AD Carousel Feature

Advertising carousel function, when the system timed to go to the carousel ads, when clicked on the program advertising Image link, the system quit the Carousel app, jump directly to the relevant link of the main interface.

    • Automatic Update feature

All-in-one machine also has the automatic Update function, when the website server uploads the application package to update, the system will check the update version number of the website package at the beginning of the run time, such as the server version number is larger than the one machine version number, the system automatically updates the program.

    • Two-dimensional code generation and decoding function

All-in-one computer links to the website can be encrypted two-dimensional code, resulting in two maintenance images displayed in the upper right corner of the system, using QR Code decoding can restore the current link. Difficulties: Camera capture two-dimensional code, camera into a picture and clarity, the system of image recognition function, the second camera will have background image interference, mobile phone capture system is more difficult to distinguish between two-dimensional diagram and background.

Integrated machine configuration Parameters

All-in-one machine parameters

<xml>
Terminal id = "1111" area id= "222" Airport = "Baiyun Airport" location = "A1" current version number = "1" userid=
</xml>

AD list Parameters

<XML><ADname= "Ad name"URL= "ad link" Area= "area" ></AD><ad name= "Ad name"URL= "ad link" Area= "area" ></AD><ad name= "Ad name"URL= "ad link" Area= "area" ></AD>Area= region ID+ Airport </xml>
All-in-one machine operation process

Background data structure

All-in-one machine maintenance

Field

Name

type

description

Terminal

Id

Int

associating with user tables

Area code

RegionID

Int

Associating with a region table

Airport Location

Airport

varchar

Airport Location

Place

varchar

Version number

Version

Int

AD Maintenance

Field

Name

type

description

Ad Name

Adname

varchar

Advertising Links

Adurl

varchar

Area code

RegionID

Int

Associating with a region table

Airport Location

Airport

varchar

function Module

1 Uploading the update package program

Program maintenance through the system background upload the foreground update package, through the background upload, and generate version number, so that the client when the detection site to have the latest update package, downloaded from the site after decompression, update to the client machine.

2. Integrated Machine Setup

All-in-one machine maintenance can be added, modify the terminal settings, different terminals with the user, each terminal related to a user, terminal location set up, help us distinguish between the terminal in different regions, advertising images are based on different areas of the download management.

3. AD Settings

Advertising settings mainly for the main carousel ads, can add, modify, delete ad images, upload advertising images, so that the front end of the site from the corresponding link to download pictures.

4. Website interface

Background production of two interfaces for the foreground call (program update interface, image download update interface).

5. Automatic Update program

Front desk in the boot, the first call automatically run the program, through the Remote Interface (webservices), to determine whether there are updates and download images need to be updated, from the site platform to update the necessary data, and then start the main program.

6. Carousel Advertising

The main program includes a Carousel ad feature, a list of profiles, from the specified file directory, the picture timed to display on the home screen (can take advantage of the Windows screensaver feature), when touching the touchscreen, stop the ad carousel, jump to the main program's website.

7. Embed the website

The main program also includes nested web sites, terminals directly linked to the site link, all site operations are on the terminal.

8. POS Payment

The main program embeds the Web site, and when the site is in the process of selling, the user chooses to pay immediately, and the Web page can take advantage of the POS payment feature at launch application.

UnionPay POS Machine interface, built-in wireless POS machine is divided into card reader, printer integrated in the machine, directly through the POS machine to the bank transactions, transaction data from the local page ActiveX control for data transmission, ActiveX by obtaining the user input card number, password, The amount is encrypted through the UnionPay encryption mechanism, transmitted through the wireless POS terminal, and returns valid information after successful delivery, and the ActiveX is uploaded to the website server, which indicates the payment is successful.

The following article introduces the implementation logic of the program code, please pay attention!!!

Integrated advertising machine implementation ideas, very practical (a)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.