CN105721344A - Networking method and system of POS machine - Google Patents
Networking method and system of POS machine Download PDFInfo
- Publication number
- CN105721344A CN105721344A CN201610047937.3A CN201610047937A CN105721344A CN 105721344 A CN105721344 A CN 105721344A CN 201610047937 A CN201610047937 A CN 201610047937A CN 105721344 A CN105721344 A CN 105721344A
- Authority
- CN
- China
- Prior art keywords
- power consumption
- consumption mode
- pos
- ppp link
- low
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/76—Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
- H04L47/765—Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions triggered by the end-points
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Environmental & Geological Engineering (AREA)
- Small-Scale Networks (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a networking method and a system of a POS machine. The method includes: after the system exits a lower-power-consumption mode, the activation state of a PDP is inquired in an active manner; and if the PDP is in a deactivation state, the current invalid PPP link is released, resources are applied again, and an effective PPP link is established. By the above method, according to the method and the system, the POS machine can have an effective link before each time of transaction, the communication efficiency can be improved as much as possible, and transaction experience of users is enhanced.
Description
Technical field
The present invention relates to on-line payment technical field, especially relate to the method and system of a kind of POS tool networking.
Background technology
When POS and service background carry out various transaction, if using wireless (2G/3G/4G) as means of communication, obtain Internet resources to set up ppp link firstly the need of from operator, then on the basis that ppp link exists, the IP communications such as follow-up TCP/UDP could be carried out with server.
But the success rate of wireless telecommunications and communication speed are very big by the impact of network environment.The different configurations of network communication parameters all can be had influence on the Consumer's Experience of POS transaction by the quality of network quality and various places Virtual network operator.Wherein, due to the increasing and universal of the Internet APP on present mobile phone, considering from Internet resources, operator generally all can roll off the production line playing all without the terminal carried out data transmission within a certain period of time, to allow new user to obtain resource.
Owing to radio communication is relatively big by the impact of current network, POS has when design of hardware and software, it is necessary to consider the impact on Consumer's Experience of the various environmental factors.In order to promote transaction to greatest extent to complete speed, in environmental condition license situation, it is intended to can keep the existence of ppp link before the trade as far as possible and effective, thus can rapidly and effectively carry out follow-up IP communication.
If as it is shown in figure 1, POS tool enters low power consumpting state, can be played by operator and roll off the production line owing to not carrying out for a long time any data transmission.Although POS tool can reactivate before concluding the business next time, but now generally ppp link lost efficacy, can't to whether ppp link effectively confirms in prior art, cause bust this when next time concludes the business, need in networking process, again apply for ppp link, add exchange hour, Consumer's Experience poor effect.
In order to avoid ensureing that connection will not be nipped off in next time before transaction data transmitting-receiving, current POS terminal can adopt heartbeat packet mechanism to be maintained ppp link.
As in figure 2 it is shown, when not transaction, POS can regularly send heartbeat packet makes system release low power consumpting state, thus ensureing the effective of ppp link.It is that but POS tool adopts heartbeat packet mechanism it is crucial that the setting of size of interval time of heartbeat packet and heartbeat packet.All can carry out the configuration of network communication parameters according to current user's service condition due to different regions different operators, arrange a unification and effective value be extremely difficult.It addition, the puzzlement whether the flow increase that persistently transmission heartbeat packet mechanism is brought can cause user is not that terminal facility can determine.
Further, POS has, especially hand-held POS tool, battery is used to power, it is no matter power saving or the reason such as energy-conservation, all POS tool can be allowed to enter low-power consumption mode in transaction free time, to obtain the Consumer's Experience effect of longer use time under equal charge condition.And once POS tool enters low-power consumption mode, MCU quits work, and does not simply fail to actively send heartbeat packet, the corresponding notice of network side also cannot be received.Fig. 2 needs timing wake-up, retransmits heartbeat packet.Here timing wake-up needs timing to exit low-power consumption mode exactly, and heartbeat packet is sent completely rear re-enter low-power consumption mode.Time owing to sending heartbeat packet is generally comparatively short, so still cannot be confirmed whether there is effective Link State in this process, thus causing the situation consuming time that still there is Fig. 1.Even, under some particular network environment, it may appear that the information that network side actively sends cannot effectively notify the situation of the host CPU that POS has.
Summary of the invention
The technical problem to be solved is: for existing network distribution situation, application ppp link and the online mechanism kept are provided, when POS can be avoided to carry out various transaction, because the invalid communication process failure causing transaction of ppp link, thus needing again to apply for link circuit resource, increase the situation of exchange hour.In combination with on the basis of the low-power consumption mode demand of POS tool, POS tool is made all to have had an effective link to exist before transaction every time as far as possible, improve communication efficiency as far as possible, promote the trading experiencing of user to solve above-mentioned technical problem, the technical solution used in the present invention is: the method providing the tool networking of a kind of POS, including:
After system exits low-power consumption mode, active inquiry PDP activation state;
If PDP is in deactivation status, then discharges the ppp link of current invalid, and again apply for resource, set up effective ppp link.
For solving the problems referred to above, the present invention also provides for the system of a kind of POS tool networking, including:
Enquiry module, is used for after system exits low-power consumption mode, active inquiry PDP activation state;
Release dome module, if being in deactivation status for PDP, then discharges the ppp link of current invalid, and again applies for resource, set up effective ppp link.
The beneficial effects of the present invention is: be different from prior art, the present invention after system exits low-power consumption mode, active inquiry PDP activation state, and after confirming deexcitation, again apply for resource, and set up effective ppp link.By the way, the present invention can make POS tool have an effective link to exist before transaction every time, improves communication efficiency as far as possible, promotes the trading experiencing of user.
Accompanying drawing explanation
Fig. 1 is POS tool general transaction schematic flow sheet in prior art;
Fig. 2 is that in prior art, POS has the transaction flow schematic diagram after taking heartbeat mechanism;
Fig. 3 is the inventive method embodiment one schematic flow sheet;
Fig. 4 is the schematic flow sheet after the present invention adds heartbeat mechanism;
Fig. 5 is the structured flowchart of present system embodiment two.
Detailed description of the invention
By describing the technology contents of the present invention in detail, being realized purpose and effect, below in conjunction with embodiment and coordinate accompanying drawing to be explained.
The design of most critical of the present invention is in that: after exiting low-power consumption mode, at once active inquiry PDP activation state, if ppp link lost efficacy, then applies for new resource at once, sets up new effective ppp link, it is ensured that transaction is continuously.
Refer to Fig. 3, the method for a kind of POS tool networking, including:
After system exits low-power consumption mode, active inquiry PDP activation state;
If PDP is in deactivation status, then discharges the ppp link of current invalid, and again apply for resource, set up effective ppp link.
Wherein, PDP (PacketDataProtocol), i.e. grouped data code;The activation of PDP can be GPRS attachment the process getting IP address from network side;The deexcitation of PDP then thinks that network side discharges IP address, disconnects the process of network link capacity.In addition in order to conclude the business, it is necessary to after setting up effective ppp link, TCP communication is carried out;And after completing transaction, enter low-power consumption mode, energy-conservation to realize.
As shown in Figure 4, in the situation of condition license, such as that power conservation requirement is strict, data traffic uses not to be affected when user, it is possible to ensure the effectiveness of ppp link in conjunction with the mode of heartbeat packet and active inquiry.Namely, after entering low-power consumption mode, perform heartbeat mechanism, regularly send heartbeat packet.And after receiving heartbeat packet, POS tool exits low-power consumption mode, equal active inquiry PDP activation state every time.
Embodiment one
As shown in Figure 3, when POS tool start, system is initialized, when confirming to need to use simultaneously, system exits low-power consumption mode, and inquire about PDP activation state, if confirming, PDP activation state is effective, then carry out normal transaction flow, otherwise under deactivation status, the ppp link of release current invalid, and again apply for operator's resource, set up corresponding effective ppp link;Carry out TCP communication subsequently, it is achieved transaction, and terminate above-mentioned flow process after completion of transactions, and enter low-power consumption mode, to save the energy, and wait the situation needing to use next time.
Embodiment two
As shown in Figure 4, on the basis of embodiment one, embodiment two is a closing the transaction, and after entering low-power consumption mode, performs heartbeat mechanism, and timing sends and wakes heartbeat packet up, and waits use next time.
It is different from prior art, the embodiment of the present invention after system exits low-power consumption mode, active inquiry PDP activation state, and confirm activate after, again resource is applied for, and set up effective ppp link, after realizing transaction, return low-power consumption mode, energy-conservation to carry out, and when power conservation requirement is low, increase heartbeat mechanism, it is achieved periodic detection.By the way, the present invention can make POS tool have an effective link to exist before transaction every time, improves communication efficiency as far as possible, promotes the trading experiencing of user.
Accordingly, as it is shown in figure 5, the embodiment of the present invention two also provides for the system 100 of a kind of POS tool networking, including:
Enquiry module 110, is used for after system exits low-power consumption mode, active inquiry PDP activation state;
Release dome module 120, if being in deactivation status for PDP, then discharges the ppp link of current invalid, and again applies for resource, set up effective ppp link.
After setting up effective ppp link, carry out TCP communication, after completing transaction, enter low-power consumption mode.
Wherein, also include heartbeat module 130, after being used for entering low-power consumption mode, perform heartbeat mechanism, regularly send heartbeat packet.After receiving heartbeat packet, POS tool exits low-power consumption mode, equal active inquiry PDP activation state every time.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every equivalents utilizing description of the present invention and accompanying drawing content to make, or directly or indirectly it is used in relevant technical field, all in like manner include in the scope of patent protection of the present invention.
Claims (8)
1. the method for a POS tool networking, it is characterised in that including:
After system exits low-power consumption mode, active inquiry PDP activation state;
If PDP is in deactivation status, then discharges the ppp link of current invalid, and again apply for resource, set up effective ppp link.
2. the method for POS tool networking according to claim 1, it is characterised in that after setting up effective ppp link, carry out TCP communication, after completing transaction, enters low-power consumption mode.
3. the method for POS according to claim 2 tool networking, it is characterised in that after entering low-power consumption mode, perform heartbeat mechanism, regularly send heartbeat packet.
4. the method for POS tool networking according to claim 3, it is characterised in that after every time receiving heartbeat packet, POS tool exits low-power consumption mode, equal active inquiry PDP activation state.
5. the system of a POS tool networking, it is characterised in that including:
Enquiry module, is used for after system exits low-power consumption mode, active inquiry PDP activation state;
Release dome module, if being in deactivation status for PDP, then discharges the ppp link of current invalid, and again applies for resource, set up effective ppp link.
6. the system of POS tool networking according to claim 5, it is characterised in that after setting up effective ppp link, carry out TCP communication, after completing transaction, enters low-power consumption mode.
7. the system of POS tool networking according to claim 6, it is characterised in that also include:
Heartbeat module, after being used for entering low-power consumption mode, performs heartbeat mechanism, regularly sends heartbeat packet.
8. the system of POS tool networking according to claim 7, it is characterised in that after every time receiving heartbeat packet, POS tool exits low-power consumption mode, equal active inquiry PDP activation state.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610047937.3A CN105721344B (en) | 2016-01-25 | 2016-01-25 | The method and system of POS machine tool networking |
PCT/CN2016/092337 WO2017128674A1 (en) | 2016-01-25 | 2016-07-29 | Networking method and system for pos device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610047937.3A CN105721344B (en) | 2016-01-25 | 2016-01-25 | The method and system of POS machine tool networking |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105721344A true CN105721344A (en) | 2016-06-29 |
CN105721344B CN105721344B (en) | 2018-11-16 |
Family
ID=56154739
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610047937.3A Active CN105721344B (en) | 2016-01-25 | 2016-01-25 | The method and system of POS machine tool networking |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105721344B (en) |
WO (1) | WO2017128674A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060153221A1 (en) * | 2004-12-23 | 2006-07-13 | Mediatek Inc. | Methods for IP configuration negotiation and related devices |
CN1859725A (en) * | 2005-06-16 | 2006-11-08 | 华为技术有限公司 | Method for separating non-excited users |
CN101154992A (en) * | 2006-09-30 | 2008-04-02 | 华为技术有限公司 | Method and system for implementing group data transmission |
CN103986762A (en) * | 2014-05-15 | 2014-08-13 | 京信通信系统(中国)有限公司 | Process state detection method and device |
CN105224397A (en) * | 2015-10-30 | 2016-01-06 | 中国民生银行股份有限公司 | Intelligence POS management method and device |
-
2016
- 2016-01-25 CN CN201610047937.3A patent/CN105721344B/en active Active
- 2016-07-29 WO PCT/CN2016/092337 patent/WO2017128674A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060153221A1 (en) * | 2004-12-23 | 2006-07-13 | Mediatek Inc. | Methods for IP configuration negotiation and related devices |
CN1859725A (en) * | 2005-06-16 | 2006-11-08 | 华为技术有限公司 | Method for separating non-excited users |
CN101154992A (en) * | 2006-09-30 | 2008-04-02 | 华为技术有限公司 | Method and system for implementing group data transmission |
CN103986762A (en) * | 2014-05-15 | 2014-08-13 | 京信通信系统(中国)有限公司 | Process state detection method and device |
CN105224397A (en) * | 2015-10-30 | 2016-01-06 | 中国民生银行股份有限公司 | Intelligence POS management method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105721344B (en) | 2018-11-16 |
WO2017128674A1 (en) | 2017-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102595577B (en) | Network connection processing method and AP and BP after a kind of terminal standby wakes up | |
EP3761716B1 (en) | Standby control method and terminal device and relay device | |
WO2020238423A1 (en) | Data communication method, system and related assemblies for electronic shelf label | |
RU2007141177A (en) | TRANSFER OF THE CONTENT DELIVERY PLAN TO MOBILE TERMINALS | |
CN105704738B (en) | Communication control method and device | |
CN102567125A (en) | Method for realizing communication between browser pages | |
CN109511133A (en) | A kind of method and device waking up processing | |
CN104618996B (en) | A kind of method and apparatus for the terminal for being used to wake up power save mode | |
CN108712485A (en) | A kind of resource subscription method and apparatus of internet of things equipment | |
CN103079285A (en) | Mobile terminal and point-to-point connection retention method | |
CN106803833A (en) | Processing method, the apparatus and system of heartbeat in connection long | |
WO2015184837A1 (en) | Terminal device wake-up method, device and system | |
CN103686956B (en) | Mobile terminal and its data network communications method and data network request agent apparatus | |
CN106973092A (en) | The system and method that mobile communications network is provided in the car | |
CN104917830A (en) | Mobile communication module sharing system and method in vehicular environment | |
CN103313303A (en) | Wireless access point, wireless work station and work method of wireless access point and wireless work station | |
CN109963325A (en) | Positioning method, device and equipment based on base station | |
CN112398661B (en) | Equipment dormancy processing method and device, ioT equipment and storage medium | |
CN108650301A (en) | The method based on android system for keeping UDP long connections | |
CN109429313A (en) | A kind of information interacting method, function device, terminal, server and storage medium | |
US9094945B2 (en) | Data sending method, device and system | |
CN103986588B (en) | Computer system and far-end remote control method of computer device | |
CN103402246A (en) | Method for reducing energy consumption of mobile communications terminal | |
CN104284326A (en) | Mobile terminal power saving method, system, application processor and wireless module | |
CN107065826A (en) | A kind of Low-power-consumptiocontrol control method applied to vehicle remote monitoring terminal |
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 |