Summary of the invention
For this reason, need the scheme of the information pushing providing a kind of POS terminal as Wi-Fi hotspot, solve existing information and push that complex structure, cost are high, the problem of flow waste.
For achieving the above object, inventor provide the information-pushing method of a kind of POS terminal as Wi-Fi hotspot, described POS terminal has Wi-Fi hotspot function, said method comprising the steps of:
POS terminal opens Wi-Fi hotspot function,
POS terminal receives the WiFi connection request that mobile terminal sends, and sets up WiFi with mobile terminal and be connected;
POS terminal receives the network connecting request of mobile terminal, sends a multimedia messages to mobile terminal.
Optionally, " POS terminal receives the network connecting request of mobile terminal, sends a multimedia messages to mobile terminal " comprising:
POS terminal receives mobile terminal and initiates a http request, this request is redirected on the URL of POS terminal built-in services device;
When the URL of POS terminal built-in services device is requested, POS terminal built-in services device sends page info corresponding to this URL to mobile terminal.
Optionally, " send a multimedia messages to information of mobile terminal " and comprise step:
POS terminal inquires about the historical consume information of the account corresponding to described mobile terminal according to the relevant information of mobile terminal, and sends corresponding multimedia messages to mobile terminal according to the historical consume record of the account.
Optionally, also comprise the steps:
POS terminal forwards the relevant information of described mobile terminal to background server;
POS terminal receives the relevant information determined access authority of background server according to default wide area network access rules and mobile terminal,
POS terminal opens corresponding function of surfing the Net according to this access authority to described mobile terminal.
And the present invention also provides a kind of POS terminal utilizing Wi-Fi hotspot to carry out information pushing, comprises with lower module:
Focus opening module: for opening Wi-Fi hotspot function;
Connection establishment module: for receiving the WiFi connection request that mobile terminal sends, and set up WiFi with mobile terminal and be connected;
Network connection sensing module: for detecting the network connecting request of mobile terminal;
Multimedia sending module: for mobile terminal detected when network connection sensing module network connecting request after, send a multimedia messages to mobile terminal.
Optionally, multimedia sending module comprises as lower unit:
Be redirected unit: initiating a http request for receiving mobile terminal, this request being redirected on the URL of POS terminal built-in services device;
Built-in services device unit: when the URL for POS terminal built-in services device is requested, POS terminal built-in services device sends page info corresponding to this URL to mobile terminal.
Optionally, multimedia sending module also comprises the historical consume information for inquiring about the account corresponding to described mobile terminal according to the relevant information of mobile terminal, and sends corresponding multimedia messages to mobile terminal according to the historical consume record of the account.
Optionally, also comprise as lower module:
End message forwarding module: for forwarding the relevant information of described mobile terminal to background server;
Access authority receiver module: for receiving background server according to the wide area network access rules preset and the determined access authority of relevant information of mobile terminal,
The open module of function of surfing the Net: for opening corresponding function of surfing the Net according to this access authority to described mobile terminal.
Be different from prior art, technique scheme is by the network connecting request of POS terminal mobile terminal receive, and send on multimedia messages to mobile terminal and play, only need a POS terminal can complete the propelling movement of information, compared to existing mode, do not need to buy Wifi advertising router in addition, structure is simple, and cost is low.In some simple occasions, content can be provided without the need for background server, can directly use the resource of POS terminal inside to push, decrease the complexity of system.
Embodiment
By describe in detail technical scheme technology contents, structural feature, realized object and effect, coordinate accompanying drawing to be explained in detail below in conjunction with specific embodiment.
Refer to Fig. 2 to Fig. 5, first the present embodiment provides a kind of POS terminal as the information-pushing method of Wi-Fi hotspot, and this method can be applied in information transmission system as shown in Figure 2.This system can include POS terminal 100, mobile terminal 120 and background server 140.Wherein, POS terminal 100 can be Android device etc.POS terminal generally includes bank card and to swipe the card module, display module, Keysheet module and for carrying out the communication module etc. of communication with banking system.POS terminal can complete the on-line payment function of bank card.In the present embodiment, POS terminal also includes can as the WiFi module of WIFI hot spot, Wi-Fi hotspot externally can send WiFi signal, other equipment can be set up WiFi by search WiFi signal with POS terminal and be connected, after WiFi connection establishment, POS terminal and other equipment be connected can carry out communicating, namely can carrying out information interaction.The Wi-Fi hotspot of POS terminal can be encryption (as WPA, WEP encryption etc.) or open, if encryption, other equipment need the correct password of input just can complete connection when connecting.
Mobile terminal 120 can be panel computer or mobile phone etc.Mobile terminal includes display module, in the mode of display, content can be presented to user.In the present embodiment, mobile terminal also includes WiFi module, and mobile terminal can be set up WiFi with POS terminal by WiFi module and be connected.And information transmission system also includes background server 140 in the present embodiment, certainly, background server 140 is to realize more function, is not necessary, in certain embodiments, information transmission system can only have POS terminal 100 and mobile terminal 120.Background server 140 can be connected by wired or wireless mode with the connection of POS terminal 100, and wired can be that netting twine connects, and wireless connection can set up connection by the WiFi module of the WiFi module of POS terminal 100 and background server.
Because information pushing generally occurs in the more place of passenger flow, as market, supermarket etc., these places generally have POS terminal.And user generally has the mobile terminal such as mobile phone or flat board.When POS terminal will push information to mobile terminal, as shown in Figure 3, first to enter described in step S301 POS terminal and open Wi-Fi hotspot function, the mobile terminal of such user can search by the WiFi module on mobile terminal the focus that POS terminal provides.User, when using mobile terminal to connect Wi-Fi hotspot, can use the WiFi management software that mobile terminal carries to connect, or in some embodiment, certainly can be dynamically connected by software in realization.Because there is a large amount of Wi-Fi hotspot in existing environment, in order to avoid user is connected to the Wi-Fi hotspot of mistake, the SSID of POS terminal can be the title including specific character, if SSID name includes market name, be assumed to be A, then user is when searching for Wi-Fi hotspot, sees that the SSID of the Wi-Fi hotspot searched is A, then can carry out the connection of Wi-Fi hotspot.
Wi-Fi hotspot is when connecting, and mobile terminal can send WiFi connection request, and request is connected to the Wi-Fi hotspot of POS terminal.If Wi-Fi hotspot is encryption, then user needs the input password when connecting, and will send this password, so that the checking of Wi-Fi hotspot time mobile terminal request connects simultaneously.Certainly, if checking is not passed through, then cannot carry out WiFi connection and carry out follow-up step.After being proved to be successful, entering step S402POS equipment and receive the WiFi connection request that mobile terminal sends, and set up WiFi with mobile terminal and be connected.
After WiFi connection establishment is got up, mobile terminal is connected by WiFi can send network connecting request to POS terminal.This network connecting request and mobile terminal send network and connect to POS terminal, and this network connecting request can be that the webpage of browser opens information etc.Network connecting request connects different from WiFi, and WiFi connects and is equivalent to set up interface channel, and mobile terminal can carry out network connection, would not have network connecting request.And network connecting request will be carried out, first mobile terminal will be set up WiFi with POS terminal and is connected.Then enter step S403 after POS terminal detects mobile terminal network connection request, POS terminal sends a multimedia messages to mobile terminal.The multimedia messages that POS terminal sends can be moved terminal and receive.Then mobile terminal can receive and play described multimedia messages.These multimedia messagess can be video information, Word message, pictorial information or audio-frequency information, and namely user can receive these information by the display module of mobile terminal, thus complete the information pushing of POS terminal to mobile device.Then the present embodiment is by the network connecting request of POS terminal mobile terminal receive, and send on multimedia messages to mobile terminal and play, only need a POS terminal can complete the propelling movement of information, compared to existing mode, do not need to buy Wifi advertising router in addition, structure is simple, and cost is low.
POS terminal and mobile terminal realize network connecting request and have various ways, as shown in Figure 2, network connecting request can be that in mobile terminal, browser module sends, and namely user is when using browser to carry out network browsing, can send out network connecting request to POS terminal.In certain embodiments, as shown in Figure 4, can be provided with a built-in services device on a pos device, built-in services device can http server.The flow chart that then said method is concrete can be as shown in Figure 5, then user is when using browser browsing page, can enter step S501 and send a http request to POS terminal.POS terminal receives mobile terminal and initiates a http request, enters step S502 and this request is redirected on the URL of POS terminal built-in services device.After being redirected, again can ask this URL in the browser of step S503 mobile terminal, when then the URL of POS terminal built-in services device is requested, POS terminal built-in services device sends page info corresponding to this URL to mobile terminal in step S504.The page info that URL is corresponding can include above-mentioned multimedia messages, advertising message, coupon information or login page.The embodiment of Fig. 4 be namely with page info be login page as an example.By built-in services device, POS terminal can be replied network connecting request and resolve, and is sent on the browser of mobile terminal by multimedia messages simultaneously.Simultaneously POS terminal assume responsibility for focus and provides the function of content server of multimedia messages.Content to mobile terminal pushed information has just been come primarily of the built-in services device of POS terminal, thus saves the consumption of the flow of POS terminal and Advertisement Server communication.
And in some is implemented, on login page, login page can show the input frame of username and password, user can input the authentication informations such as user name password.After authentication success, mobile terminal will be redirected in the Web page of gateway, and with one property token.Mobile terminal utilizes the token got to access gateway; Gateway is to the validity of authentication server challenges token; Certificate server confirms the validity of token, and gateway sends and is redirected to mobile terminal, makes to obtain success page from certificate server, and the success of certificate server notice mobile terminal request, can normally surf the Net.Certification can be allowed safer by token.
In order to realize information pushing accurately, after POS terminal detects mobile terminal network connection request, also comprise the steps: that POS terminal inquires about the historical consume information of the account corresponding to described mobile terminal according to the relevant information of described mobile terminal, and send corresponding multimedia messages to mobile terminal according to the historical consume record of the account.The relevant information of mobile terminal can be the hardware information of mobile terminal device, as MAC Address etc., or also can be the software information of mobile terminal, the authentication information of user that sends of login page or subscriber identity information, these information can be associated with the user profile using mobile terminal.According to the consumer record of user profile, the consumption habit of user can be known, thus carry out the propelling movement of message according to the consumption habit of user, meet the consumption demand of user.As the consumer record of user carried out commodity classification, obtain the merchandise classification that in commodity classification, the frequency of occurrences is high, and the multimedia messages corresponding according to the inquiry of this merchandise classification, these multimedia messagess can be the favor information or new product information etc. of this merchandise classification, and these multimedia messagess are sent to mobile terminal, user just can get this information, then user can need from this multimedia messages, obtain the information oneself needed according to self, thus completes information pushing accurately.
If user receives advertising message, the mood of detest may being produced, user may be caused like this to reject these information, in order to solve this problem, can some benefits of user be given.The present embodiment is opened function of surfing the Net to realize by giving the terminal equipment of user.Particularly, can after POS terminal detect mobile terminal network connection request, POS terminal forwards the relevant information of described mobile terminal to background server; Background server, according to the wide area network access rules preset and the relevant information of mobile terminal, is determined the access authority of the account corresponding to described mobile terminal, and the access authority of the account corresponding to mobile terminal is sent to POS terminal; The access authority of the account of POS terminal corresponding to mobile terminal is to the open corresponding function of surfing the Net of described mobile terminal.These access authorities can be the time authority of user's connecting Internet, the authority of the scope of access, the speed authority etc. of connection, as the information pushing that user receives the longer time, can give the surf time etc. more grown.Under different authorities, user just enjoys different function of surfing the Net.Like this, by the management of different rights, be convenient to the process that user participates in information pushing more, make information pushing more effective.
Above embodiment realizes the control to user's function of surfing the Net by POS terminal, in certain embodiments can also by the control of background server realization to user's function of surfing the Net.Then after POS terminal detects mobile terminal network connection request, also comprise the steps: that POS terminal forwards the relevant information of described mobile terminal to background server; Background server, according to the wide area network access rules preset and the relevant information of mobile terminal, determines the access authority of the account corresponding to described mobile terminal, background server according to this access authority to the open corresponding function of surfing the Net of described mobile terminal.Now the Internet connection requests all for mobile terminal can be sent to background server by POS terminal, background server is according to the open corresponding function of surfing the Net of the relevant information of mobile terminal, and judge whether the Internet connection request of mobile terminal meets function of surfing the Net and require according to this function of surfing the Net, if met, then forward this Internet connection request to the Internet, otherwise, refuse this Internet connection request.Realize function of surfing the Net by background server to control conveniently to carry out unified management to the access authority of mobile terminal, and realize by POS terminal the pressure that function of surfing the Net controls to alleviate background server.
In above-mentioned all embodiments, multimedia messages is stored in POS terminal, facilitates the quick propelling movement of POS and can save flow.Certainly, can be upgraded by mode that is online or off-line for the multimedia messages in POS terminal.Online mode can by the renewal of background server, and the mode of off-line can be upgraded by USB flash disk.
And the present invention also provides a kind of POS terminal 100 based on Wi-Fi hotspot, for pushing information to mobile terminal 120.As shown in Figure 2, POS terminal 100 comprises as lower module: focus opening module 102: for opening Wi-Fi hotspot function; Connection establishment module 104: for receiving the WiFi connection request that mobile terminal sends, and set up WiFi with mobile terminal and be connected; Network connection sensing module 106: for detecting the network connecting request of mobile terminal; Multimedia sending module 110: for mobile terminal detected when network connection sensing module network connecting request after, send a multimedia messages to mobile terminal.Wherein, mobile terminal can be the common mobile phone with browser or flat board etc.Mobile terminal can use browser to browse, and POS terminal 100 can pushed information to browser be carried out showing or playing.Compared to existing mode, do not need to buy Wifi advertising router in addition, structure is simple, and cost is low.
Wherein, multimedia sending module comprises as lower unit: be redirected unit: initiating a http request for receiving mobile terminal, this request being redirected on the URL of POS terminal built-in services device; Built-in services device unit: when the URL for POS terminal built-in services device is requested, POS terminal built-in services device sends page info corresponding to this URL to mobile terminal.Can be completed the propelling movement of information by built-in services device, decrease the application of Advertisement Server, structure is simple.
In order to realize information pushing accurately, these multimedia messagess can associate with the relevant information of user.In certain embodiments, multimedia sending module also comprises the historical consume information for inquiring about the account corresponding to described mobile terminal according to the relevant information of mobile terminal, and sends corresponding multimedia messages to mobile terminal according to the historical consume record of the account.Namely the multimedia messages of being correlated with is determined according to the consumer record of user, thus the information that can need to user, avoid the situation being passed through many invalid informations.
In order to realize the management of POS terminal to terminal access authority, also comprise as lower module: end message forwarding module 114: for the relevant information of mobile terminal as described in forwarding to background server; Access authority receiver module 116: for receiving background server according to the wide area network access rules preset and the determined access authority of relevant information of mobile terminal, the open module 118 of function of surfing the Net: for according to this access authority to the open corresponding function of surfing the Net of described mobile terminal.Such POS terminal 100 can realize the control to mobile terminal Internet access, alleviates the pressure of background server.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or terminal equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or terminal equipment.When not more restrictions, the key element limited by statement " comprising ... " or " comprising ... ", and be not precluded within process, method, article or the terminal equipment comprising described key element and also there is other key element.In addition, in this article, " be greater than ", " being less than ", " exceeding " etc. be interpreted as and do not comprise this number; " more than ", " below ", " within " etc. be interpreted as and comprise this number.
Those skilled in the art should understand, the various embodiments described above can be provided as method, device or computer program.These embodiments can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.The hardware that all or part of step in the method that the various embodiments described above relate to can carry out instruction relevant by program has come, described program can be stored in the storage medium that computer equipment can read, for performing all or part of step described in the various embodiments described above method.Described computer equipment, includes but not limited to: personal computer, server, all-purpose computer, special-purpose computer, the network equipment, embedded device, programmable device, intelligent mobile terminal, intelligent home device, wearable intelligent equipment, vehicle intelligent equipment etc.; Described storage medium, includes but not limited to: the storage of RAM, ROM, magnetic disc, tape, CD, flash memory, USB flash disk, portable hard drive, storage card, memory stick, the webserver, network cloud storage etc.
The various embodiments described above describe with reference to the flow chart of method, equipment (system) and computer program according to embodiment and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of computer equipment to produce a machine, making the instruction performed by the processor of computer equipment produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer equipment readable memory that works in a specific way of vectoring computer equipment, the instruction making to be stored in this computer equipment readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded on computer equipment, make to perform sequence of operations step on a computing device to produce computer implemented process, thus the instruction performed on a computing device is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although be described the various embodiments described above; but those skilled in the art are once obtain the basic creative concept of cicada; then can make other change and amendment to these embodiments; so the foregoing is only embodiments of the invention; not thereby scope of patent protection of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included within scope of patent protection of the present invention.