CN104616407A - Method for communicating POS machine with remote server, POS machine and mobile terminal - Google Patents

Method for communicating POS machine with remote server, POS machine and mobile terminal Download PDF

Info

Publication number
CN104616407A
CN104616407A CN201510076856.1A CN201510076856A CN104616407A CN 104616407 A CN104616407 A CN 104616407A CN 201510076856 A CN201510076856 A CN 201510076856A CN 104616407 A CN104616407 A CN 104616407A
Authority
CN
China
Prior art keywords
mobile terminal
pos
remote server
data
connection
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.)
Pending
Application number
CN201510076856.1A
Other languages
Chinese (zh)
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.)
BEIJING INTELLIGENT FRUIT TECHNOLOGY CO., LTD.
Original Assignee
Beijing Qiandaiwang Intelligent 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 Beijing Qiandaiwang Intelligent Technology Co Ltd filed Critical Beijing Qiandaiwang Intelligent Technology Co Ltd
Priority to CN201510076856.1A priority Critical patent/CN104616407A/en
Publication of CN104616407A publication Critical patent/CN104616407A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method for communicating a POS (point of sale) machine with a remote server, a POS machine and a mobile terminal. The method comprises the following steps: the POS machine is connected with the mobile terminal to transmit data to the mobile terminal, so that the data can be transmitted to the remote server by the mobile terminal according to the address of the remote server; the data transmitted by the mobile terminal and processed by the remote server is received by the POS machine through the mentioned connection manner, so that the POS machine can communicate with the remote server. Because the mobile terminal can directly communicate with the remote server, the POS machine indirectly communicates with the remote server by the mobile terminal in the embodiment; the POS machine isn't required for improvement, thus the cost of the POS machine isn't increased, the mobile terminal can flexibly move and be conveniently used by an user at any place.

Description

The method that POS communicates with remote server, POS and mobile terminal
Technical field
The present invention relates to POS technology, particularly relate to method, POS and mobile terminal that a kind of POS communicates with remote server.
Background technology
POS Chinese is called point-of-sale terminal (point of sale), can realize electronic funds automatic account transfer function, uses safety, fast, reliably, therefore, is widely used.POS will realize function of automatically transferring accounts, and needs to communicate with remote server, and remote server is generally the server of bank.
In prior art, POS adopts following two kinds of modes to be connected with remote server usually: first kind of way, and POS first accesses landline telephone, is dialled up on the telephone by landline telephone, realizes communicating with remote server.The second way, by arranging general packet radio service (General PacketRadio Service in POS, be called for short GPRS) module, in POS, then load the phonecard that can surf the Net, the phonecard that can surf the Net is communicated with remote server by GPRS module.
But, because landline telephone position is fixed in first kind of way, cause the position of POS to be also fixed, use to user and bring inconvenience, in the second way, in POS, add GPRS module, POS cost can be caused again to improve.
Summary of the invention
The invention provides method, POS and mobile terminal that a kind of POS communicates with remote server, POS can be facilitated to use, and POS cost can not be increased.
A kind of method that first aspect present invention provides POS to communicate with remote server, comprising:
POS and mobile terminal connect, and described connection is used for communicating with described mobile terminal;
Described POS sends data by described connection to described mobile terminal, according to the address of remote server, described data is sent to described remote server to make described mobile terminal;
Described POS is by the described data connected after the described remote server process receiving the transmission of described mobile terminal.
Alternatively, described connection is wired connection or wireless connections.
Alternatively, before described POS and mobile terminal connect, described method also comprises:
Described POS carries out certification to described mobile terminal;
After described POS and the mutual authentication success of described mobile terminal, described POS sets up described connection with described mobile terminal.
A kind of method that second aspect present invention provides POS to communicate with remote server, comprising:
Mobile terminal and POS connect, and described connection is used for communicating with described POS;
Described mobile terminal receives described POS and connects by described the data sent, and according to the address of remote server, described data is sent to described remote server;
Described mobile terminal receives the data after the process that described remote server returns, and by described connection, the data after described process is sent to described POS.
Alternatively, the address of described remote server is set in advance in described mobile terminal.
Third aspect present invention provides a kind of POS, comprising:
Connection establishment module, for connecting with mobile terminal, described connection is used for communicating with described mobile terminal;
Described data, for sending data by described connection to described mobile terminal, are sent to described remote server to make described mobile terminal according to the address of remote server by transceiver module;
Described transceiver module, also for receiving the data after the described remote server process of described mobile terminal transmission by described connection.
Alternatively, described connection is wired connection or wireless connections.
Alternatively, described POS also comprises:
Authentication module, for carrying out certification to described mobile terminal;
After described POS and the mutual authentication success of described mobile terminal, described connection establishment module sets up described connection with described mobile terminal.
Fourth aspect present invention provides a kind of mobile terminal, comprising:
Connection establishment module, for connecting with POS, described connection is used for communicating with described POS;
Transceiver module, for after described mobile terminal and the mutual authentication success of described POS, receives described POS and connects by described the data sent, and according to the address of remote server, described data are sent to described remote server;
Data after described process also for receiving the data after process that described remote server returns, and are sent to described POS by described connection by described transceiver module.
Alternatively, described mobile terminal also comprises:
Address arranges module, for being arranged in described mobile terminal the address of described remote server.
The method that POS of the present invention communicates with remote server, POS and mobile terminal, POS is by connecting with mobile terminal, data are sent to mobile terminal by this connection, remote server is sent the data to according to the address of remote server to make mobile terminal, POS also by the data after the remote server process of this connection mobile terminal receive transmission, thus realizes the communication of POS and remote server.Because mobile terminal can directly communicate with remote server, in the present embodiment, mobile terminal is utilized indirectly to realize communicating of POS and remote server, do not need to improve POS, the cost of POS can not be increased, and mobile terminal can move flexibly, user is facilitated to use anywhere.
Accompanying drawing explanation
The process flow diagram of the method that the POS that Fig. 1 provides for the embodiment of the present invention one communicates with remote server;
The process flow diagram of the method that the POS that Fig. 2 provides for the embodiment of the present invention two communicates with remote server;
The structural representation of the POS that Fig. 3 provides for the embodiment of the present invention three;
The structural representation of the mobile terminal that Fig. 4 provides for the embodiment of the present invention four.
Embodiment
POS adopts following two kinds of modes to be connected with remote server usually: first kind of way, and POS is first dialled up on the telephone by access landline telephone, realizes communicating with remote server.The second way, arranges GPRS module in POS, and then, in POS, insert the phonecard that can surf the Net, the phonecard that can surf the Net is connected with remote server by GPRS module.Because landline telephone position is fixed in first kind of way, cause the position of POS to be also fixed, use to user and bring inconvenience, in the second way, in POS, add GPRS module, POS cost can be caused to improve.
In order to solve the problems of the prior art, a kind of method that the embodiment of the present invention one provides POS to communicate with remote server, the present embodiment describes from POS side, the process flow diagram of the method that the POS that Fig. 1 provides for the embodiment of the present invention one communicates with remote server, as shown in Figure 1, the method that the present embodiment provides can comprise the following steps:
Step 101, POS and mobile terminal connect, and this connection is used for communicating with mobile terminal.
Conventional mobile terminal has smart mobile phone, panel computer, personal digital assistant (Personal DigitalAssistant is called for short PDA) etc.What POS and mobile terminal connected can be wired connection or wireless connections.For mobile phone, POS can by audio port, USB (universal serial bus) (the Universal Serial Bus of data line and mobile phone, be called for short USB) interface, Instrument Digital USB (Musical InstrumentDigital Interface-USB, be called for short MIDI-USB) interface, serial ports, the interfaces such as apple data line mouth connect, and realize the wired connection of POS and mobile terminal.Radio connection: comprising: Wireless Fidelity (WIreless-Fidelity, be called for short WIFI) technology, Bluetooth technology (Bluetooth), infrared, microwave etc.
Alternatively, before POS and mobile terminal connect, POS also carries out certification to mobile terminal, and after POS and the mutual authentication success of mobile terminal, POS and mobile terminal are set up this and be connected.Arrange bidirectional identification protocol between POS and mobile terminal, before each connection establishment, both sides first carry out two-way authentication, and to ensure the safety communicated, POS and mobile terminal can use any one bidirectional identification protocol existing.
Step 102, POS send data by this connection to mobile terminal, will send this remote server to make mobile terminal according to the address of remote server to data.
Because mobile terminal can communicate with remote server, therefore, in the present embodiment, mobile terminal is utilized indirectly to realize communicating of POS and remote server.POS sends the data to mobile terminal by the connection of setting up in advance, then, by mobile terminal, these data is sent to remote server.Alternatively, the address of remote server is included in these data, and mobile terminal is after receiving these data, and these data are sent to remote server by the address of the remote server comprised according to these data.Alternatively, also can not comprise the address of remote server in the data that POS sends, the address of remote server is pre-arranged in the client of mobile terminal, and mobile terminal is realized and the communicating of POS and remote server by this client.Mobile terminal upon receipt of the data, finds the address of remote server according to the mark of POS, be carried at the address of remote server in these data, the address according to this remote server sends the data to remote server.
Step 103, POS are by the data after the remote server process of this connection mobile terminal receive transmission.
Data after remote server process also can be returned to POS by mobile terminal.
In the present embodiment, POS is by connecting with mobile terminal, data are sent to mobile terminal by this connection, remote server is sent the data to according to the address of remote server to make mobile terminal, POS also by the data after the remote server process of this connection mobile terminal receive transmission, thus realizes the communication of POS and remote server.Because mobile terminal can directly communicate with remote server, in the present embodiment, mobile terminal is utilized indirectly to realize communicating of POS and remote server, do not need to improve POS, the cost of POS can not be increased, and mobile terminal can move flexibly, user is facilitated to use anywhere.
The process flow diagram of the method that the POS that Fig. 2 provides for the embodiment of the present invention two communicates with remote server, the present embodiment describes from mobile terminal side, and as shown in Figure 2, the method that the present embodiment provides can comprise the following steps:
Step 201, mobile terminal and POS connect, and this connection is used for communicating with POS.
Realize the method for the present embodiment, need to arrange client in the terminal, this client can be an application program, and this client has following functions: (1) arranges forwarding address, namely arranges the address of remote server; (2) Yu after the mutual authentication success of POS connect; (3) data that POS sends are received; (4) data that POS sends are sent to remote server; (5) data after the process that returns of remote server are received; (6) data after the remote server process received are sent to POS.
Alternatively, before mobile terminal and POS connect, mobile terminal and POS carry out mutual certification, after mutual authentication success, set up this connection, and this connection can be wired connection or wireless connections.
Step 202, mobile terminal receive the data that POS is sent by this connection, and according to the address of remote server, these data are sent to remote server.
If these data comprise the address of remote server, then these data are sent to remote server according to the address of remote server by mobile terminal.If do not comprise the address of remote server in these data, then mobile terminal finds the address of remote server according to the mark of POS, is carried the address of remote server and sends to remote server in the data.
Data after the process that step 203, mobile terminal reception remote server returns, and by this connection, the data after this process are sent to POS.
In the present embodiment, the client of mobile terminal quite with a data collector, only the data that POS and remote server send are forwarded, but do not process service logic.
In the present embodiment, POS and mobile terminal connect, mobile terminal is communicated with POS by this connection, the data that POS sends are sent to remote server, and the data after the process returned by remote server send to POS, thus indirectly POS and remote server are coupled together, realize the communication between POS and remote server.Because mobile terminal can directly communicate with remote server, in the present embodiment, mobile terminal is utilized indirectly to realize communicating of POS and remote server, do not need to improve POS, the cost of POS can not be increased, and mobile terminal can move flexibly, user is facilitated to use anywhere.
The structural representation of the POS that Fig. 3 provides for the embodiment of the present invention three, as shown in Figure 3, the present embodiment POS comprises: connection establishment module 11 and transceiver module 12.
Wherein, connection establishment module 11, for connecting with mobile terminal, described connection is used for communicating with described mobile terminal;
Described data, for sending data by described connection to described mobile terminal, are sent to described remote server to make described mobile terminal according to the address of remote server by transceiver module 12;
Described transceiver module 12, also for receiving the data after the described remote server process of described mobile terminal transmission by described connection.
Alternatively, described connection is wired connection or wireless connections.
Alternatively, described POS also comprises: authentication module 13, for carrying out certification to described mobile terminal.After described POS and the mutual authentication success of described mobile terminal, described connection establishment module 11 sets up described connection with described mobile terminal.
The POS of the present embodiment, may be used for the technical scheme performing embodiment one, it realizes principle and technique effect is similar, repeats no more herein.
The structural representation of the mobile terminal that Fig. 4 provides for the embodiment of the present invention four, as shown in Figure 4, the mobile terminal that the present embodiment provides comprises: connection establishment module 21 and transceiver module 22.
Connection establishment module 21, for connecting with POS, described connection is used for communicating with described POS;
Transceiver module 22, for after described mobile terminal and the mutual authentication success of described POS, receives described POS and connects by described the data sent, and according to the address of remote server, described data are sent to described remote server;
Data after described process also for receiving the data after process that described remote server returns, and are sent to described POS by described connection by described transceiver module 22.
Alternatively, described mobile terminal also comprises: address arranges module, for being arranged in described mobile terminal the address of described remote server.
Alternatively, described mobile terminal also comprises authentication module, for carrying out certification to described POS.After described POS and the mutual authentication success of described mobile terminal, described connection establishment module 21 sets up described connection with described POS.
The mobile terminal of the present embodiment, may be used for the technical scheme performing embodiment two, it realizes principle and technique effect is similar, repeats no more herein.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that programmed instruction is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. the method that communicates with remote server of POS, is characterized in that, comprising:
POS and mobile terminal connect, and described connection is used for communicating with described mobile terminal;
Described POS sends data by described connection to described mobile terminal, according to the address of remote server, described data is sent to described remote server to make described mobile terminal;
Described POS is by the described data connected after the described remote server process receiving the transmission of described mobile terminal.
2. method according to claim 1, is characterized in that, described connection is wired connection or wireless connections.
3. method according to claim 1, is characterized in that, before described POS and mobile terminal connect, described method also comprises:
Described POS carries out certification to described mobile terminal;
After described POS and the mutual authentication success of described mobile terminal, described POS sets up described connection with described mobile terminal.
4. the method that communicates with remote server of POS, is characterized in that, comprising:
Mobile terminal and POS connect, and described connection is used for communicating with described POS;
Described mobile terminal receives described POS and connects by described the data sent, and according to the address of remote server, described data is sent to described remote server;
Described mobile terminal receives the data after the process that described remote server returns, and by described connection, the data after described process is sent to described POS.
5. method according to claim 4, is characterized in that, the address of described remote server is set in advance in described mobile terminal.
6. a POS, is characterized in that, comprising:
Connection establishment module, for connecting with mobile terminal, described connection is used for communicating with described mobile terminal;
Described data, for sending data by described connection to described mobile terminal, are sent to described remote server to make described mobile terminal according to the address of remote server by transceiver module;
Described transceiver module, also for receiving the data after the described remote server process of described mobile terminal transmission by described connection.
7. POS according to claim 6, is characterized in that, described connection is wired connection or wireless connections.
8. POS according to claim 6, is characterized in that, also comprises:
Authentication module, for carrying out certification to described mobile terminal;
After described POS and the mutual authentication success of described mobile terminal, described connection establishment module sets up described connection with described mobile terminal.
9. a mobile terminal, is characterized in that, comprising:
Connection establishment module, for connecting with POS, described connection is used for communicating with described POS;
Transceiver module, for after described mobile terminal and the mutual authentication success of described POS, receives described POS and connects by described the data sent, and according to the address of remote server, described data are sent to described remote server;
Data after described process also for receiving the data after process that described remote server returns, and are sent to described POS by described connection by described transceiver module.
10. mobile terminal according to claim 9, is characterized in that, also comprises:
Address arranges module, for being arranged in described mobile terminal the address of described remote server.
CN201510076856.1A 2014-12-23 2015-02-12 Method for communicating POS machine with remote server, POS machine and mobile terminal Pending CN104616407A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510076856.1A CN104616407A (en) 2014-12-23 2015-02-12 Method for communicating POS machine with remote server, POS machine and mobile terminal

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN2014108160992 2014-12-23
CN201410816099 2014-12-23
CN201510076856.1A CN104616407A (en) 2014-12-23 2015-02-12 Method for communicating POS machine with remote server, POS machine and mobile terminal

Publications (1)

Publication Number Publication Date
CN104616407A true CN104616407A (en) 2015-05-13

Family

ID=53150839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510076856.1A Pending CN104616407A (en) 2014-12-23 2015-02-12 Method for communicating POS machine with remote server, POS machine and mobile terminal

Country Status (1)

Country Link
CN (1) CN104616407A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106920349A (en) * 2017-03-20 2017-07-04 国家电网公司 A kind of dining room payment transaction system based on bluetooth relaying
CN112235766A (en) * 2020-09-09 2021-01-15 易兆微电子(杭州)股份有限公司 POS terminal positioning and data transmission method based on Bluetooth BENP system
WO2022048318A1 (en) * 2020-09-03 2022-03-10 深圳市百富智能新技术有限公司 Method for establishing communication channel, and user terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106920349A (en) * 2017-03-20 2017-07-04 国家电网公司 A kind of dining room payment transaction system based on bluetooth relaying
WO2022048318A1 (en) * 2020-09-03 2022-03-10 深圳市百富智能新技术有限公司 Method for establishing communication channel, and user terminal
CN112235766A (en) * 2020-09-09 2021-01-15 易兆微电子(杭州)股份有限公司 POS terminal positioning and data transmission method based on Bluetooth BENP system

Similar Documents

Publication Publication Date Title
US10165613B2 (en) Control method for bluetooth communication and bluetooth low energy communication
CN102681957B (en) Enhanced wireless USB protocol and hub
US9087227B2 (en) Near field communication device
EP2770782B1 (en) Wireless data communication
US9197312B2 (en) Near field communication system in a local network
US20180310157A1 (en) Near field communication method and mobile terminal
EP2563091B1 (en) Wireless internet-accessing module, host, communication method thereof, and data card
CN103209007A (en) Bluetooth device quick pairing method and Bluetooth device
CN102426658B (en) Dual-protocol supporting contact-less communication smart card
CN101287221A (en) Information transferring method between intelligent bi-mode mobile phone and wireless modem
US20150097030A1 (en) Nfc tag, communication method and system
CN102421207A (en) Compatible design method of various kinds of mobile communication systems of mobile terminal and mobile terminal
CN103108406A (en) Data transmission method and terminals
CN104616407A (en) Method for communicating POS machine with remote server, POS machine and mobile terminal
US9055432B2 (en) Targeted muting for communication between electronic appliances
CN103987129A (en) Information push method, apparatus and system
CN104703291A (en) MiFi-based communication method and relevant MiFi
US8977198B2 (en) Communication method between electronic appliances, and corresponding appliances
CN100508653C (en) Method and system for radio terminal wire accessing interconnected network
CN202750089U (en) Bluetooth device and integrated peripheral devices
CN101316416B (en) Two-card two-standby mobile phone chip communication system and communication method
CN105635873B (en) NFC Bluetooth headset, system and control method thereof
CN103152464A (en) Equipment, method and system of obtaining fixed phone calling information through wireless way
CN103187991A (en) Data transmission system and data transmission method
CN104933560A (en) Method and system for recharging virtual account and recharging client

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100088 Building 1, Tai Yue garden, 501, Beijing, Haidian District

Applicant after: Beijing Tongbao Limited by Share Ltd

Address before: 100088 Beijing city Haidian District No. 6 Zhichun Road Jinqiu International Building 15 floor of No. B03

Applicant before: BEIJING QIANDAIWANG INTELLIGENT TECHNOLOGY CO., LTD.

COR Change of bibliographic data
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160120

Address after: 100088, 2 floor, building 1, Tai Yue garden, 202, Beijing, Haidian District

Applicant after: BEIJING INTELLIGENT FRUIT TECHNOLOGY CO., LTD.

Address before: 100088 Building 1, Tai Yue garden, 501, Beijing, Haidian District

Applicant before: Beijing Tongbao Limited by Share Ltd

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150513