CN106131119A - The controlled in wireless of a kind of advertisement machine and release news method, system and advertisement machine - Google Patents

The controlled in wireless of a kind of advertisement machine and release news method, system and advertisement machine Download PDF

Info

Publication number
CN106131119A
CN106131119A CN201610432474.2A CN201610432474A CN106131119A CN 106131119 A CN106131119 A CN 106131119A CN 201610432474 A CN201610432474 A CN 201610432474A CN 106131119 A CN106131119 A CN 106131119A
Authority
CN
China
Prior art keywords
advertisement machine
wifi
android system
http
mobile device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610432474.2A
Other languages
Chinese (zh)
Other versions
CN106131119B (en
Inventor
郭晓
吴鹏健
陈星星
罗文林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Qunxin Security Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth Qunxin Security Technology Co Ltd filed Critical Shenzhen Skyworth Qunxin Security Technology Co Ltd
Priority to CN201610432474.2A priority Critical patent/CN106131119B/en
Publication of CN106131119A publication Critical patent/CN106131119A/en
Application granted granted Critical
Publication of CN106131119B publication Critical patent/CN106131119B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides the controlled in wireless of a kind of advertisement machine and release news method, system and advertisement machine, method includes: utilize Java to create http service end in the Android system of advertisement machine;And realize http client on the mobile apparatus, make advertisement machine and mobile device by http protocol communication;By the wifi hotspot opened in advertisement machine Android system and start http and service and set up wifi interface channel, make mobile device can send material file or the http request of control command to advertisement machine;The http service end of advertisement machine can respond the http request of mobile device, receives material file or control command that mobile device sends, thus realizes advertisement machine and send material file and reach controlled in wireless purpose.The invention enables and also can send media materials and controlled in wireless advertisement machine to advertisement machine in the case of without the network equipment, solve the uncontrollable problem of advertisement machine when network condition occurs.

Description

The controlled in wireless of a kind of advertisement machine and release news method, system and advertisement machine
Technical field
The present invention relates to advertisement machine technical applications, particularly relate to controlled in wireless and the side of releasing news of a kind of advertisement machine Method, system and advertisement machine.
Background technology
Advertisement machine is the smart machine of a new generation, and it is by terminal software control, network traffic and multimedia terminal Display constitutes a complete advertisement broadcast control system, and is carried out extensively by Multi-media Materials such as picture, word, video, little plug-in units Accuse publicity.
Advertisement broadcast control system of the prior art, mainly includes central control system, terminal display system and the network platform, Central control system and terminal display system are it is necessary to have the network platform just can be attached, control.The installation of advertisement machine is frequent Appear in some more special places, than such as embedded within wall, outdoor square or bus etc..When advertisement machine is installed When place connects without available wireless network, to advertisement machine transmitting control commands or abnormal the most tired to advertisement machine transmission Multi-media Material meeting Difficult;Or issue control instruction by IR remote controller, bluetooth approach, and by the mode such as USB peripheral, bluetooth by multimedia Material is led into by USB flash disk, SD card.But, control to be directed at advertisement machine control mode one by one by remote control device the most numerous Trivial, and the mode that is introduced directly into Multi-media Material is very inconvenient is also unfavorable for the saving time.
Therefore, prior art need development.
Summary of the invention
In place of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide a kind of advertisement machine controlled in wireless and Release news method, system and advertisement machine, it is intended to solve advertisement machine installation region in prior art need not to connect network and Need not utilize remote controller or other peripheral apparatus to issue control command or the problem of material information so that setting without network Advertisement machine can also be controlled in the case of Bei, media materials can also be sent simultaneously, solve live commercial machine and occur network-like Uncontrollable and the problem that releases news during condition.
In order to achieve the above object, this invention takes techniques below scheme:
The controlled in wireless of a kind of advertisement machine and the method that releases news, wherein, including step:
A, advertisement machine use android system, and it is mini to utilize Java to create in the android system of advertisement machine httpServer;And utilizing Java to realize http protocol client on the mobile apparatus, described advertisement machine is passed through with mobile device Http protocol realization communicates;
B, the wifi hotspot opened in advertisement machine android system also start http service, start the wifi of mobile device simultaneously Function also selects to connect the wifi hotspot of advertisement machine in wifi connects list;
C, when described advertisement machine and mobile device are successfully connected, set up wifi interface channel, and the most described mobile device receives user Operate and send material file or the http request of control command to advertisement machine;
The http request that D, the httpServer response mobile device of advertisement machine send, receives mobile setting by wifi interface channel Material file that preparation is sent or control command;Described advertisement machine processes wide according to the material file received or control command realization Announcement information is issued and controlled in wireless, and result feeds back to described mobile device.
The controlled in wireless of described advertisement machine and the method that releases news, wherein, open advertisement machine in described step B Wifi hotspot in android system also starts http service concrete steps and includes:
S1, the wifi function started in advertisement machine android system, simultaneously registration wifi message receiver, receive described Wifi status information in android system;
S2, the wifi hotspot function opened in advertisement machine android system, the SSID and the connectivity verification that arrange wifi hotspot are close Code, startup wifi hotspot;
After S3, startup wifi hotspot, the android system of advertisement machine feeds back to described wifi message receiver;If Android system feedback wifi hotspot opens successful information, then start http service;If android system feedback wifi hotspot Open failure information, then close http service.
The controlled in wireless of described advertisement machine and the method that releases news, wherein, use Github to increase income generation in described step A NanoHttpd open source projects on code storehouse is developed on Android system and is realized mini httpServer.
The controlled in wireless of described advertisement machine and the method that releases news, wherein, use in described step A The exploitation of Java.net.Socket class realizes http protocol client.
The controlled in wireless of described advertisement machine and the method that releases news, wherein, described mobile device uses Android system System.
The present invention also provides for the controlled in wireless of a kind of advertisement machine and releases news system, wherein, and including:
Http-server and client creation module, mini for utilizing Java to create in the android system of advertisement machine httpServer;And utilizing Java to realize http protocol client on the mobile apparatus, described advertisement machine is passed through with mobile device Http protocol realization communicates;
Http service starts module, for opening the wifi hotspot in advertisement machine android system and starting http service, simultaneously Start the wifi function of mobile device and in wifi connects list, select to connect the wifi hotspot of advertisement machine;
Path Setup and http request sending module, for being successfully connected, set up wifi even when described advertisement machine and mobile device Connecting road, the most described mobile device receives user operation and sends material file or the http request of control command to advertisement machine;
Http request receives and processing module, responds, for the httpServer of advertisement machine, the http request that mobile device sends, Material file or the control command that mobile device sends is received by wifi interface channel;Described advertisement machine is according to the element received Material file or control command realization process advertising message and issue and controlled in wireless, and result feeds back to described movement set Standby;
Wherein, described advertisement machine uses android system.
The controlled in wireless of described advertisement machine and the system that releases news, wherein, start in module in described http service and beat Open the wifi hotspot in advertisement machine android system and start http service and specifically include:
Wifi message receiver Registering modules, for starting the wifi function in advertisement machine android system, register wifi simultaneously Message receiver, receives the wifi status information in described android system;
Arrange and start module, be used for opening the wifi hotspot function in advertisement machine android system, wifi hotspot is set SSID and connectivity verification password, startup wifi hotspot;
System feedback information module, be used for starting wifi hotspot after, the android system of advertisement machine feeds back to described wifi Message receiver;
Http service starts and closes module, for opening successful information when android system feedback wifi hotspot, then starts Http services;If android system feedback wifi hotspot opens failure information, then close http service.
The controlled in wireless of described advertisement machine and the system that releases news, wherein, create with client at described http-server In modeling block, use the NanoHttpd open source projects on Github Open Source Code storehouse develop on Android system realize mini httpServer;And utilize the exploitation of Java.net.Socket class to realize http protocol client.
The controlled in wireless of described advertisement machine and the system that releases news, wherein, described mobile device uses Android system System.
The present invention also provides for a kind of advertisement machine, wherein, and the controlled in wireless that comprises the advertisement machine described in any of the above-described item and sending out Cloth information system.
Beneficial effect: the controlled in wireless of a kind of advertisement machine that the present invention provides and release news method, system and advertisement machine, Java is utilized to create httpServer in the android system of advertisement machine;And utilize Java to realize http on the mobile apparatus Client, advertisement machine and mobile device are by http protocol communication;Open the wifi hotspot in advertisement machine android system and open Dynamic http service, starts the wifi function of mobile device and selects to connect the wifi hotspot of advertisement machine in wifi connects list; When being successfully connected and set up wifi interface channel, the http that mobile device sends material file or control command to advertisement machine asks Ask;Advertisement machine httpServer response mobile device send http request, receive mobile device send material file or Control command;Advertisement machine processes advertising message according to the material file received or control command realization and issues and controlled in wireless, Result is fed back.
The present invention solves when connecting without available network, can be abnormal to advertisement machine transmitting control commands or Multi-media Material Difficulty;And import control command or material file by IR remote controller or the mode such as USB peripheral, bluetooth to advertisement machine, lead Cause control mode is loaded down with trivial details, is not easy to operate advertisement machine and be unfavorable for the problems such as saving time.The present invention uses WIFI hot spot to set up Radio channel so that can also directly control advertisement machine under without network condition by mobile device, sends program element to advertisement machine Material, present invention achieves and also can be controlled without third party's network equipment (router, switch, 3/4G), issue program Information, thus convenient and swift operation advertisement machine and releasing news.
Accompanying drawing explanation
Fig. 1 is that in prior art, advertisement machine connects the schematic diagram controlling to issue programme information by network.
Fig. 2 is controlled in wireless and the flow chart of the method preferred embodiment that releases news of a kind of advertisement machine of the present invention.
Fig. 3 is controlled in wireless and the theory diagram of the system preferred embodiment that releases news of a kind of advertisement machine of the present invention.
Detailed description of the invention
The present invention provides the controlled in wireless of a kind of advertisement machine and release news method, system and advertisement machine.For making the present invention Purpose, technical scheme and effect clearer, clear and definite, the embodiment that develops simultaneously referring to the drawings is to the present invention the most specifically Bright.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
In advertisement machine control and issue programme information scheme, use traditional IR remote controller or USB peripheral, bluetooth etc. Import control command or the mode of material file to advertisement machine, cause advertisement machine control mode loaded down with trivial details, be unfavorable for according to advertisement need Seek real-time release programme information, and complex operation causes the most a lot of.In existing solution, use the most novel feasible Mode is as it is shown in figure 1, Fig. 1 is that in prior art, advertisement machine connects the schematic diagram controlling to issue programme information by network, the most extensively Announcement machine uses wired or wireless network mode, downloads Multi-media Material in network-side or receives control instruction, it is achieved to extensively The control of announcement machine or programme information are issued.
Such as, in Fig. 1, central control system 20 includes controlling server 21 and material server 22, controls server 21 He Material server 22 is connected with advertisement machine 10 respectively by a network equipment 30 (router).Wherein control server 21 main Including network service end, HTTP web displaying;Material server 22 then stores Multi-media Material, and provide HTTP service or FTP services and downloads material to advertisement machine.When issuing program time control control server 21 transmitting control commands and Multi-media Material The download address of file is to advertisement machine 10, and advertisement machine 10 downloads material file from material server 22 after receiving control command, under Resolve after having carried and play programme information.But, connect advertisement machine by background server with internetwork connection mode, thus realize control System and the mode of issuing advertisement information, have an obvious drawback, i.e. advertisement machine to install place without available wireless network even When connecing, to advertisement machine transmitting control commands or to advertisement machine send Multi-media Material can be hindered, be unfavorable for according to actual need Will quick issuing advertisement information in real time.
It is contemplated that realize the controlled in wireless of a kind of advertisement machine and the method that releases news, as in figure 2 it is shown, solve without net Network equipment, such as switch, router, or when connecting background server without available wireless network (such as 3G/4G), it is possible to realize nothing Line traffic control advertisement machine or the technical scheme of issuing advertisement information.Specific as follows:
S100, advertisement machine use android system, and it is mini to utilize Java to create in the android system of advertisement machine httpServer;And utilizing Java to realize http protocol client on the mobile apparatus, described advertisement machine is passed through with mobile device Http protocol realization communicates.
Owing to being easier to realize wifi network function in android system, substantially realize process as follows, android system The api interface that middle application program can use Wifimanager to provide manages connection and the service condition of WiFi, such as, starts Or forbid WiFi network, request scanning access point (AccessPoint, AP), return network configuration parameters list etc..When When WiFi network is activated or forbids, Wifiservice can cross broadcast mode and send WIFI-STATE-CHANGED- ACTION event notice upper level applications, Wifiservice is mainly responsible for WifiMonitor's and wpa-supplicant Process initializes and forbids, and issues commands to wpa-supplicant.WifiMonitor is responsible for receiving wpa- The various events notice that supplicant sends, then WifiStateTracker broadcasts various actions.Thus, the present invention is concrete During enforcement, advertisement machine and mobile device preferably employ Android operation system.
Specifically, the NanoHttpd open source projects on Github Open Source Code storehouse is used to exist in described step S100 On Android system, exploitation realizes mini httpServer, the most only with a java file (NanoHttpd open source projects) with regard to energy Create a http server, implement process as follows:
S101, the start function of use NanoHttpd class, create ServerSocket, calls bind function and formulates port.
S102, establishment are for the main thread being responsible for and the foundation of http protocol client connects.
S103, foundation can generate a runnable object after connecting and put in asyncRunner, AsyncRunner.exec can create a new thread to process newly-generated connection.
First S104, the new thread set up in S103 create a HttpSession, then while (true) Perform httpSession.exec.
The socket so receiving a client is created that the server model of a separate threads, i.e. ThreadServer model, feature is that a connection will create a thread, is fairly simple, common socket Server realizes.Realize the most important several modules of HttpServer specific as follows: one, be able to receive that tcp connect and from Socket reads http request information;Two, the bit stream of http request information is converted into the object data in request object; Specification handles http response message according to http agreement;Four, generation http response is written back in socket and passes to visitor Family end.
Further, the exploitation of Java.net.Socket class is used to realize http protocol client in described step S100. Http client-side program has been integrated in Java language, can be called by URLConnection class.It is embodied as in the present invention Time, the http protocol communication between client, server end is completed by Socket, in Java.net bag, and Socket Class is exactly to implement Socket.After it is by being connected to main frame, return an I/O stream, it is achieved the information between agreement is handed over Change.The most described advertisement machine is communicated by http protocol realization with mobile device.
S200, the wifi hotspot opened in advertisement machine android system also start http service, start mobile device simultaneously Wifi function and connect the wifi hotspot selecting to connect advertisement machine in list at wifi.
Wherein, open the wifi hotspot in advertisement machine android system and start http service concrete steps include:
S201, the wifi function started in advertisement machine android system, simultaneously registration wifi message receiver, receive described Wifi status information in android system.
S202, the wifi hotspot function opened in advertisement machine android system, the SSID and the connection that arrange wifi hotspot are tested Card password, startup wifi hotspot.
After S203, startup wifi hotspot, the android system of advertisement machine feeds back to described wifi message receiver; If android system feedback wifi hotspot opens successful information, i.e. in advertisement machine, the AP(accessing wirelessly of android system accesses Point, WirelessAccessPoint) successfully open, then start http service;If android system feedback wifi hotspot is opened The AP(wireless access points of android system, WirelessAccessPoint in failure information, i.e. advertisement machine) open mistake Lose, then close http service.
Judge that advertisement machine is the most successfully opened wifi hotspot and accessed for mobile device scanning by the way, if advertisement machine Wifi hotspot successfully open, then user can start the wifi function of mobile device and connect at wifi and select in list to connect The wifi hotspot of advertisement machine, sets up wifi interface channel.
S300, when described advertisement machine and mobile device are successfully connected, set up wifi interface channel, and the most described mobile device connects Receive user operation and send material file or the http request of control command to advertisement machine.
When the present invention is embodied as, mobile device, is passed through as http-server as http client, advertisement machine Http association justice realizes communicating between both sides, can store substantial amounts of Multi-media Material in mobile device, and wherein http association justice defines How client sends described Multi-media Material request of uploading to server, and server be how customer in response end please Ask, the Multi-media Material sent by wifi channel reception client or control command.Described Multi-media Material can be picture, Word, video, little plug-in unit (weather, the exchange rate etc.), described control command can be control advertisement machine startup, closedown etc. realize right The instruction of advertisement machine relevant control operation.
The http request that S400, the httpServer response mobile device of advertisement machine send, is connect by wifi interface channel Receive material file or control command that mobile device sends;Described advertisement machine is real according to the material file received or control command Now process advertising message to issue and controlled in wireless, and result is fed back to described mobile device.
Such as, the http request that the httpServer response mobile device of advertisement machine sends, connect by wifi interface channel Receive material file or control command that mobile device sends;Described advertisement machine is real according to the material file received or control command Now process advertising message issue and controlled in wireless, i.e. advertisement machine by wifi passage realize from mobile device receive control command with The material file of programme information to be issued, it is achieved that no third side's network or the network equipment, the background server many matchmakers of storage In the case of body material file, just can issue programme information and receive control, operation advertisement machine realizes convenient and swift, for large-scale Outdoor advertisement machine or be inconvenient to uses the ad distribution in area, network location, has practical effect.Further, advertisement machine finally will Result (successfully release news or successfully control the information of advertisement machine) feeds back to described mobile device.
When the present invention is embodied as, described mobile device can be flat board, mobile phone, the present invention be embodied as with mobile phone be Example, is realized by http protocol with advertisement machine communication at mobile phone terminal, and advertisement machine end is first turned on AP and starts HTTP service, mobile phone End is opened WIFI and is then connected the AP of advertisement machine, just can send HTTP request to advertisement machine, it is also possible to upload after successful connection Material file is to advertisement machine, it is achieved to the control of advertisement machine and release news.
In said method embodiment, use WIFI hot spot to set up radio channel, can also may be used in the case of without the network equipment To be controlled advertisement machine, program material can also be sent simultaneously.When mobile phone one photo of shooting wants to pass to advertisement machine, tradition Mode be advertisement machine and mobile phone have to connect a network and be then sent to advertisement machine and show, the present invention can be direct By mobile phone connection advertisement machine, picture is sent to advertisement machine show, when network condition occurs in solution live commercial machine simultaneously Uncontrollable problem.
Based on said method embodiment, the present invention also provides for the controlled in wireless of a kind of advertisement machine and the system that releases news, as Shown in Fig. 3, including:
Http-server and client creation module 11, mini for utilizing Java to create in the android system of advertisement machine httpServer;And utilizing Java to realize http protocol client on the mobile apparatus, described advertisement machine is passed through with mobile device Http protocol realization communicates;Wherein, described advertisement machine uses android system.Specifically as described in above-mentioned embodiment of the method.
Http service starts module 12, for opening the wifi hotspot in advertisement machine android system and starting http clothes Business, starts the wifi function of mobile device simultaneously and selects to connect the wifi hotspot of advertisement machine in wifi connects list;Specifically As described in above-mentioned embodiment of the method.
Path Setup and http request sending module 13, for being successfully connected when described advertisement machine and mobile device, set up Wifi interface channel, the most described mobile device receives user operation please to the http of advertisement machine transmission material file or control command Ask;Specifically as described in above-mentioned embodiment of the method.
Http request receives and processing module 14, responds, for the httpServer of advertisement machine, the http that mobile device sends Request, receives, by wifi interface channel, material file or the control command that mobile device sends;Described advertisement machine is according to being connect The material file received or control command realization process advertising message and issue and controlled in wireless, and result feeds back to described shifting Dynamic equipment;Specifically as described in above-mentioned embodiment of the method.
Further, in described http service startup module 12, the wifi hotspot in advertisement machine android system is opened And start http service specifically also include:
Wifi message receiver Registering modules, for starting the wifi function in advertisement machine android system, register wifi simultaneously Message receiver, receives the wifi status information in described android system;Specifically as described in above-mentioned embodiment of the method.
Arrange and start module, be used for opening the wifi hotspot function in advertisement machine android system, wifi hotspot is set SSID and connectivity verification password, start wifi hotspot;Specifically as described in above-mentioned embodiment of the method.
System feedback information module, be used for starting wifi hotspot after, the android system of advertisement machine feeds back to described Wifi message receiver;Specifically as described in above-mentioned embodiment of the method.
Http service starts and closes module, for opening successful information when android system feedback wifi hotspot, then opens Dynamic http service;If android system feedback wifi hotspot opens failure information, then close http service;Concrete such as above-mentioned side Described in method embodiment.
Further, in the controlled in wireless of described advertisement machine with release news in system, described http-server with In client creation module, the NanoHttpd open source projects on Github Open Source Code storehouse is used to develop on Android system Realize mini httpServer;And utilize the exploitation of Java.net.Socket class to realize http protocol client.Concrete such as above-mentioned side Described in method embodiment.
Further, in the controlled in wireless of described advertisement machine with release news in system, described mobile device uses Android system.Specifically as described in above-mentioned embodiment of the method.
It is preferred that the present invention also provides for a kind of advertisement machine, wherein, the wireless controlled of advertisement machine described in any of the above-described item is comprised System and the system that releases news, specific embodiment, as described in above-mentioned embodiment of the method, does not repeats.
In sum, the invention provides the controlled in wireless of a kind of advertisement machine and release news method, system and advertisement machine, Solve when connecting without available network, can be abnormal difficult to advertisement machine transmitting control commands or Multi-media Material;And pass through IR remote controller or the mode such as USB peripheral, bluetooth import control command or material file to advertisement machine, cause control mode numerous Trivial, it is not easy to operate advertisement machine and be unfavorable for the problems such as saving time.The present invention uses WIFI hot spot to set up radio channel so that Can also directly control advertisement machine under without network condition by mobile device, send program material to advertisement machine, the present invention realizes Also can be controlled without third party's network equipment (router, switch, 3/4G), issue programme information, thus convenient Prompt operation advertisement machine and releasing news.
It is understood that for those of ordinary skills, can according to technical scheme and this Bright design in addition equivalent or change, and all these change or replace the guarantor that all should belong to appended claims of the invention Protect scope.

Claims (10)

1. the controlled in wireless of an advertisement machine and release news method, it is characterised in that include step:
A, advertisement machine use android system, and it is mini to utilize Java to create in the android system of advertisement machine httpServer;And utilizing Java to realize http protocol client on the mobile apparatus, described advertisement machine is passed through with mobile device Http protocol realization communicates;
B, the wifi hotspot opened in advertisement machine android system also start http service, start the wifi of mobile device simultaneously Function also selects to connect the wifi hotspot of advertisement machine in wifi connects list;
C, when described advertisement machine and mobile device are successfully connected, set up wifi interface channel, and the most described mobile device receives user Operate and send material file or the http request of control command to advertisement machine;
The http request that D, the httpServer response mobile device of advertisement machine send, receives mobile setting by wifi interface channel Material file that preparation is sent or control command;Described advertisement machine processes wide according to the material file received or control command realization Announcement information is issued and controlled in wireless, and result feeds back to described mobile device.
The controlled in wireless of advertisement machine the most according to claim 1 and the method that releases news, it is characterised in that in described step B opens the wifi hotspot in advertisement machine android system and start http service concrete steps include:
S1, the wifi function started in advertisement machine android system, simultaneously registration wifi message receiver, receive described Wifi status information in android system;
S2, the wifi hotspot function opened in advertisement machine android system, the SSID and the connectivity verification that arrange wifi hotspot are close Code, startup wifi hotspot;
After S3, startup wifi hotspot, the android system of advertisement machine feeds back to described wifi message receiver;If Android system feedback wifi hotspot opens successful information, then start http service;If android system feedback wifi hotspot Open failure information, then close http service.
The controlled in wireless of advertisement machine the most according to claim 1 and the method that releases news, it is characterised in that described step A NanoHttpd open source projects on middle use Github Open Source Code storehouse develop on Android system realize mini httpServer。
The controlled in wireless of advertisement machine the most according to claim 1 and the method that releases news, it is characterised in that described step A The exploitation of middle use Java.net.Socket class realizes http protocol client.
The controlled in wireless of advertisement machine the most according to claim 1 and the method that releases news, it is characterised in that described movement sets Standby use android system.
6. the controlled in wireless of an advertisement machine and the system that releases news, it is characterised in that including:
Http-server and client creation module, mini for utilizing Java to create in the android system of advertisement machine httpServer;And utilizing Java to realize http protocol client on the mobile apparatus, described advertisement machine is passed through with mobile device Http protocol realization communicates;
Http service starts module, for opening the wifi hotspot in advertisement machine android system and starting http service, simultaneously Start the wifi function of mobile device and in wifi connects list, select to connect the wifi hotspot of advertisement machine;
Path Setup and http request sending module, for being successfully connected, set up wifi even when described advertisement machine and mobile device Connecting road, the most described mobile device receives user operation and sends material file or the http request of control command to advertisement machine;
Http request receives and processing module, responds, for the httpServer of advertisement machine, the http request that mobile device sends, Material file or the control command that mobile device sends is received by wifi interface channel;Described advertisement machine is according to the element received Material file or control command realization process advertising message and issue and controlled in wireless, and result feeds back to described movement set Standby;
Wherein, described advertisement machine uses android system.
The controlled in wireless of advertisement machine the most according to claim 6 and the system that releases news, it is characterised in that at described http Service to start module to be opened the wifi hotspot in advertisement machine android system and starts http service and specifically include:
Wifi message receiver Registering modules, for starting the wifi function in advertisement machine android system, register wifi simultaneously Message receiver, receives the wifi status information in described android system;
Arrange and start module, be used for opening the wifi hotspot function in advertisement machine android system, wifi hotspot is set SSID and connectivity verification password, startup wifi hotspot;
System feedback information module, be used for starting wifi hotspot after, the android system of advertisement machine feeds back to described wifi Message receiver;
Http service starts and closes module, for opening successful information when android system feedback wifi hotspot, then starts Http services;If android system feedback wifi hotspot opens failure information, then close http service.
The controlled in wireless of advertisement machine the most according to claim 6 and the system that releases news, it is characterised in that at described http Server, with client creation module, uses the NanoHttpd open source projects on Github Open Source Code storehouse in android system On system, exploitation realizes mini httpServer;And utilize the exploitation of Java.net.Socket class to realize http protocol client.
The controlled in wireless of advertisement machine the most according to claim 6 and the system that releases news, it is characterised in that described movement sets Standby use android system.
10. an advertisement machine, it is characterised in that the controlled in wireless that comprises advertisement machine described in any one of claim 6 ~ 9 and sending out Cloth information system.
CN201610432474.2A 2016-06-17 2016-06-17 A kind of wireless control and release information method, system and advertisement machine of advertisement machine Active CN106131119B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610432474.2A CN106131119B (en) 2016-06-17 2016-06-17 A kind of wireless control and release information method, system and advertisement machine of advertisement machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610432474.2A CN106131119B (en) 2016-06-17 2016-06-17 A kind of wireless control and release information method, system and advertisement machine of advertisement machine

Publications (2)

Publication Number Publication Date
CN106131119A true CN106131119A (en) 2016-11-16
CN106131119B CN106131119B (en) 2019-06-11

Family

ID=57470525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610432474.2A Active CN106131119B (en) 2016-06-17 2016-06-17 A kind of wireless control and release information method, system and advertisement machine of advertisement machine

Country Status (1)

Country Link
CN (1) CN106131119B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900586A (en) * 2018-06-15 2018-11-27 广东美的制冷设备有限公司 Household electrical appliances, WIFI module and its communication means and readable storage medium storing program for executing between terminal
CN111355929A (en) * 2020-03-09 2020-06-30 江苏经贸职业技术学院 Public welfare system and method based on electronic commerce
CN111553727A (en) * 2020-04-23 2020-08-18 佛山市迪川电子科技有限公司 Advertisement making and publishing method and advertisement making and publishing system
CN114125026A (en) * 2021-11-24 2022-03-01 四川长虹电器股份有限公司 Communication method for advertising player and advertising player

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045306A (en) * 2009-10-22 2011-05-04 青岛海信传媒网络技术有限公司 Control method and equipment of advertising player
CN102664927A (en) * 2012-04-01 2012-09-12 Ut斯达康通讯有限公司 Building advertisement system and realization method thereof
CN103035183A (en) * 2012-12-17 2013-04-10 成都佳锂科技有限公司 WIFI (Wireless Fidelity) advertising machine
CN103226781A (en) * 2013-04-17 2013-07-31 北京尚秀生活科技有限公司 Interactive system for advertisement player
CN203250505U (en) * 2013-04-16 2013-10-23 深圳市石豆软件技术有限公司 Advertising machine interacting with mobile terminals
CN103906064A (en) * 2014-02-26 2014-07-02 杭州盘陀科技有限公司 WIFI sharing and operating system and method based on smart handheld device
CN104427541A (en) * 2013-08-30 2015-03-18 许辉跃 WiFi hot spot registration and information service system and method
WO2016013718A1 (en) * 2014-07-21 2016-01-28 주식회사 이루온 System and method for providing web-based advertisement by using wi-fi network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045306A (en) * 2009-10-22 2011-05-04 青岛海信传媒网络技术有限公司 Control method and equipment of advertising player
CN102664927A (en) * 2012-04-01 2012-09-12 Ut斯达康通讯有限公司 Building advertisement system and realization method thereof
CN103035183A (en) * 2012-12-17 2013-04-10 成都佳锂科技有限公司 WIFI (Wireless Fidelity) advertising machine
CN203250505U (en) * 2013-04-16 2013-10-23 深圳市石豆软件技术有限公司 Advertising machine interacting with mobile terminals
CN103226781A (en) * 2013-04-17 2013-07-31 北京尚秀生活科技有限公司 Interactive system for advertisement player
CN104427541A (en) * 2013-08-30 2015-03-18 许辉跃 WiFi hot spot registration and information service system and method
CN103906064A (en) * 2014-02-26 2014-07-02 杭州盘陀科技有限公司 WIFI sharing and operating system and method based on smart handheld device
WO2016013718A1 (en) * 2014-07-21 2016-01-28 주식회사 이루온 System and method for providing web-based advertisement by using wi-fi network

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900586A (en) * 2018-06-15 2018-11-27 广东美的制冷设备有限公司 Household electrical appliances, WIFI module and its communication means and readable storage medium storing program for executing between terminal
CN108900586B (en) * 2018-06-15 2021-04-09 广东美的制冷设备有限公司 Household appliance, WIFI module, communication method between household appliance and WIFI module and terminal and readable storage medium
CN111355929A (en) * 2020-03-09 2020-06-30 江苏经贸职业技术学院 Public welfare system and method based on electronic commerce
CN111553727A (en) * 2020-04-23 2020-08-18 佛山市迪川电子科技有限公司 Advertisement making and publishing method and advertisement making and publishing system
CN111553727B (en) * 2020-04-23 2024-02-02 佛山市迪川电子科技有限公司 Advertisement making and publishing method and advertisement making and publishing system
CN114125026A (en) * 2021-11-24 2022-03-01 四川长虹电器股份有限公司 Communication method for advertising player and advertising player
CN114125026B (en) * 2021-11-24 2023-09-05 四川长虹电器股份有限公司 Communication method for advertising machine and advertising machine

Also Published As

Publication number Publication date
CN106131119B (en) 2019-06-11

Similar Documents

Publication Publication Date Title
KR102435192B1 (en) Operating method for communication profile and electronic device supporting the same
KR102202660B1 (en) A method and apparatus for controlling devices for a smart home service
CN106131119A (en) The controlled in wireless of a kind of advertisement machine and release news method, system and advertisement machine
CN103338231A (en) A method for controlling a target controlled terminal performed by an intelligent terminal
US10142345B2 (en) Method and apparatus for multi-users registering home network supporting application based device
CN106292565A (en) The control method of home appliance and control system
CN102938818A (en) Household appliance intelligent controlling method based on smart mobile phone
CN107454615B (en) Set top box double-wifi control method
CN103491119A (en) Airsharing system and airsharing method
WO2018209856A1 (en) Wifi sharing system and method therefor, wireless network device and router
CN105578310A (en) Smart TV remote control method and device based on websocket protocol
CN104618801A (en) Method and system for unified operation of application by utilizing mobile phone and set-top box as well as set-top box
WO2020133495A1 (en) Smart device management method, mobile terminal, and system
CN112436986B (en) Distribution network method, distribution network device, distribution network equipment and computer readable storage medium
CN103052121B (en) A kind of local communication network business switch method, device and system
CN104079970A (en) System and method of data interaction and control of mobile equipment and WIFI (Wireless Fidelity) smart television
CN104980326A (en) Method and device for sharing application content between terminal equipment
CN103379446A (en) Multi-terminal control method and device based on wifi
KR102358028B1 (en) Operating method for communication profile and electronic device supporting the same
CN104378690B (en) A kind of method and system for scanning the two-dimensional code switching TV theme
CN105281930A (en) Embedded monitoring equipment management method and system
CN104427275A (en) Method for carrying out interconnection control on equipment and electronic equipment
KR20120032644A (en) Mobile terminal and control method using the same
WO2018133500A1 (en) Push system and method utilized in remote application and based on wechat subscription number
JP2022039887A (en) Mobile device dock

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210817

Address after: 14 / F, block a, Skyworth building, Gaoxin South 1st Road, Nanshan District, Shenzhen, Guangdong 518000

Patentee after: SHENZHEN SKYWORTH DIGITAL TECHNOLOGY Co.,Ltd.

Address before: 518118 No.1, Baolong 6th Road, Baolong Industrial City, Longgang District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN SKYWORTH QUNXIN SECURITY TECHNOLOGY Co.,Ltd.