CN105721344B - The method and system of POS machine tool networking - Google Patents
The method and system of POS machine tool networking Download PDFInfo
- Publication number
- CN105721344B CN105721344B CN201610047937.3A CN201610047937A CN105721344B CN 105721344 B CN105721344 B CN 105721344B CN 201610047937 A CN201610047937 A CN 201610047937A CN 105721344 B CN105721344 B CN 105721344B
- Authority
- CN
- China
- Prior art keywords
- power consumption
- consumption mode
- low
- machine tool
- pos machine
- 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.)
- Active
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)
- Environmental & Geological Engineering (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (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 kind of method and system of POS machine tool networking, including:After system exits low-power consumption mode, active inquiry PDP activation state;If PDP is in deactivation status, the ppp link of current invalid is discharged, and applies for resource again, establishes effective ppp link.By the above-mentioned means, the present invention can make POS machine tool, with the presence of an effective link, as far as possible raising communication efficiency, promote the trading experiencing of user before each transaction.
Description
Technical field
The present invention relates to on-line payment technical fields, more particularly, to a kind of method and system of POS machine tool networking.
Background technique
When POS and service background carry out various transaction, if using wireless (2G/3G/4G) as means of communication, it is necessary first to
Obtain Internet resources from operator to establish ppp link, then existing for the ppp link on the basis of, could be carried out with server
The IP such as subsequent TCP/UDP communication.
But the success rate of wireless telecommunications and communication speed influenced by network environment it is very big.The superiority and inferiority of network quality and
Various regions network operator can influence the user experience of POS transaction to the different configurations of network communication parameters.Wherein, due to existing
Internet APP increases and popularizes on mobile phone, considers from Internet resources, operator generally all can not will all have within a certain period of time
There is the terminal carried out data transmission to kick offline, to allow new user to obtain resource.
It is affected due to wirelessly communicating by current network, POS machine has in design of hardware and software, it is necessary to consider various
Influence of the environmental factor to user experience.Speed is completed in order to promote transaction to greatest extent, permits feelings in environmental condition
Under condition, be intended to keep the presence of ppp link and effectively as far as possible before the trade, thus can rapidly and effectively into
The subsequent IP communication of row.
As shown in Figure 1, can be transported due to not carrying out any data transmission for a long time if POS machine tool enters low power consumpting state
Battalion quotient kicks offline.Although POS machine tool can reactivate before trading next time, usual ppp link has failed at this time, the prior art
In whether ppp link can't effectively be confirmed, cause next time trade when transmission failure, need in networking process again
Apply for ppp link, increases exchange hour, user experience is ineffective.
In order to avoid guaranteeing that connection will not be nipped off before next transaction data is received and dispatched, current POS terminal can use the heart
Machine contracting system is jumped to be maintained ppp link.
As shown in Fig. 2, POS, which can periodically send heartbeat packet, makes system release low power consumpting state in the case where no transaction,
To guarantee the effective of ppp link.But POS machine tool using heartbeat machine contracting system key be heartbeat packet interval time and heartbeat
The setting of the size of packet.Since different regions different operators all can carry out network communication ginseng according to current user's service condition
Several configurations, it is very difficult that a unified and effective value, which is arranged,.In addition, persistently sending heartbeat machine contracting system bring
The puzzlement whether flow increase will cause user is not that terminal equipment can determine.
Further, POS machine has, and especially hand-held POS machine has, and battery is used to power, and either power saving is still
The reasons such as energy conservation all can allow POS machine tool to enter low-power consumption mode in transaction free time, longer under same charge condition to obtain
Use the user experience effect of time.And once POS machine tool enters low-power consumption mode, MCU stops working, and does not simply fail to actively send out
Heartbeat packet is sent, the corresponding notice of network side can not be also received.Fig. 2 is to need timing wake-up, retransmits heartbeat packet.Determining here
When wake up be exactly need timing exit low-power consumption mode, heartbeat packet is sent completely rear re-enter low-power consumption mode.Due to hair
Send the time of heartbeat packet generally shorter, so can not still should be confirmed whether that there are effective link states in the process, thus
Lead to the time-consuming situation for still remaining Fig. 1.Even, under certain particular network environments, it may appear that the letter of network side active transmission
The case where host CPU that breath can not effectively notify POS machine to have.
Summary of the invention
The technical problem to be solved by the present invention is to:For existing network distribution situation, application ppp link and online is provided
The mechanism of holding, when can avoid the POS various transactions of progress, because the communication process for leading to transaction in vain of ppp link loses
It loses, thus the case where needing to apply again link circuit resource, increasing exchange hour.It is needed in combination with the low-power consumption mode of POS machine tool
On the basis of asking, improve POS machine tool, all with the presence of an effective link, as far as possible logical before each transaction
Efficiency is interrogated, promotes the trading experiencing of user in order to solve the above-mentioned technical problem, the technical solution adopted by the present invention is:One kind is provided
The method of POS machine tool networking, including:
After system exits low-power consumption mode, active inquiry PDP activation state;
If PDP is in deactivation status, the ppp link of current invalid is discharged, and applies for resource again, is established effective
Ppp link.
To solve the above problems, the present invention also provides a kind of systems of POS machine tool networking, including:
Enquiry module, for after system exits low-power consumption mode, active inquiry PDP activation state;
Dome module is discharged, if being in deactivation status for PDP, discharges the ppp link of current invalid, and Shen again
Please resource, establish effective ppp link.
The beneficial effects of the present invention are:It is different from the prior art, the present invention is after system exits low-power consumption mode, actively
Inquire PDP activation state, and confirm deactivated after, apply for resource again, and establish effective ppp link.Pass through above-mentioned side
Formula, the present invention can make POS machine tool, with the presence of an effective link, improve communication effect as far as possible before each transaction
Rate promotes the trading experiencing of user.
Detailed description of the invention
Fig. 1 is that POS machine has general transaction flow diagram in the prior art;
Fig. 2 is that POS machine tool takes the transaction flow schematic diagram after heartbeat mechanism in the prior art;
Fig. 3 is one flow diagram of embodiment of the present invention method;
Fig. 4 is the flow diagram that the present invention is added after heartbeat mechanism;
Fig. 5 is the structural block diagram of present system embodiment two.
Specific embodiment
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and cooperate attached
Figure is explained.
The design of most critical of the present invention is:After exiting low-power consumption mode, horse back active inquiry PDP activation state, such as
Fruit ppp link has failed, then applies for new resource at once, establishes new effective ppp link, guarantees that transaction is continuous.
Referring to figure 3., a kind of method of POS machine tool networking, including:
After system exits low-power consumption mode, active inquiry PDP activation state;
If PDP is in deactivation status, the ppp link of current invalid is discharged, and applies for resource again, is established effective
Ppp link.
Wherein, PDP (Packet Data Protocol), i.e. packet data regulation;The activation of PDP, which can be, completes GPRS
Adhere to and get from network side the process of IP address;And the deactivation of PDP then thinks that network side discharges IP address, disconnects network
The process of link circuit resource.Furthermore it in order to trade, needs after establishing effective ppp link, carries out TCP communication;And it completes to hand over
Yi Hou, into low-power consumption mode, to realize energy conservation.
As shown in figure 4, the case where condition is permitted, such as it is not stringent to power conservation requirement, data traffic, which uses, not to be influenced to use
When family, it can guarantee the validity of ppp link in conjunction with the mode of heartbeat packet and active inquiry.Entering low-power consumption
After mode, heartbeat mechanism is executed, heartbeat packet is periodically sent.And after receiving heartbeat packet every time, POS machine tool exits low-power consumption mould
Formula, equal active inquiry PDP activation state.
Embodiment one
As shown in figure 3, initializing when POS machine has and is switched on to system, while confirming needs in use, system is moved back
Low-power consumption mode out, and PDP activation state is inquired, if confirmation PDP activation state is effective, normal transaction flow is carried out, it is no
Then under deactivation status, the ppp link of current invalid is discharged, and applies for operator's resource again, is established corresponding effective
Ppp link;TCP communication is then carried out, realizes transaction, and terminate above-mentioned process after completion of transactions, and enters low-power consumption mode,
To save the energy, and wait need next time using the case where.
Embodiment two
As shown in figure 4, on the basis of example 1, embodiment two terminates in primary transaction, and enters low-power consumption mode
Afterwards, heartbeat mechanism is executed, regularly sends wake-up heartbeat packet, and wait next use.
It is different from the prior art, the embodiment of the present invention is after system exits low-power consumption mode, active inquiry PDP activation shape
State, and after confirming activation, apply for resource again, and establish effective ppp link, after realizing transaction, return to low-power consumption mode,
To carry out energy conservation, and in the case where power conservation requirement is low, increase heartbeat mechanism, realizes periodic detection.By the above-mentioned means, this hair
It is bright that POS machine tool is made, all with the presence of an effective link, as far as possible raising communication efficiency, to be promoted and be used before each transaction
The trading experiencing at family.
Accordingly, as shown in figure 5, the embodiment of the present invention two also provides a kind of system 100 of POS machine tool networking, including:
Enquiry module 110, for after system exits low-power consumption mode, active inquiry PDP activation state;
Dome module 120 is discharged, if being in deactivation status for PDP, the ppp link of current invalid is discharged, lays equal stress on
New application resource, establishes effective ppp link.
After establishing effective ppp link, TCP communication is carried out, after completing transaction, into low-power consumption mode.
Wherein, further include heartbeat module 130, after entering low-power consumption mode, execute heartbeat mechanism, periodically send heartbeat
Packet.After receiving heartbeat packet every time, POS machine tool exits low-power consumption mode, equal active inquiry PDP activation state.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalents made by bright specification and accompanying drawing content are applied directly or indirectly in relevant technical field, similarly include
In scope of patent protection of the invention.
Claims (2)
1. a kind of method of POS machine tool networking, which is characterized in that including:
After system exits low-power consumption mode, active inquiry PDP activation state;
If PDP is in deactivation status, the ppp link of current invalid is discharged, and applies for resource again, establishes effective PPP
Link;After establishing effective ppp link, TCP communication is carried out, after completing transaction, into low-power consumption mode;Into low-power consumption mode
Afterwards, heartbeat mechanism is executed, heartbeat packet is periodically sent;After receiving heartbeat packet every time, POS machine tool exits low-power consumption mode, actively
Inquire PDP activation state.
2. a kind of system of POS machine tool networking, which is characterized in that including:
Enquiry module, for after system exits low-power consumption mode, active inquiry PDP activation state;
Dome module is discharged, if being in deactivation status for PDP, discharges the ppp link of current invalid, and application money again
Effective ppp link is established in source;After establishing effective ppp link, TCP communication is carried out, after completing transaction, into low-power consumption mould
Formula;Further include:
Heartbeat module executes heartbeat mechanism, periodically sends heartbeat packet after entering low-power consumption mode;Heartbeat packet is received every time
Afterwards, POS machine 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 CN105721344A (en) | 2016-06-29 |
CN105721344B true 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 (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI272811B (en) * | 2004-12-23 | 2007-02-01 | Mediatek Inc | Method of negotiation for IP configuration, machine readable medium thereof, and terminal equipment and mobile terminal utilizing same |
-
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 (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
---|---|
CN105721344A (en) | 2016-06-29 |
WO2017128674A1 (en) | 2017-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10983585B2 (en) | Platform and processor power management | |
CN103051468B (en) | The operating system management of network interface device | |
CN102970155B (en) | Keep activity management | |
US8234510B2 (en) | System and method for energy savings through emulation of wake on LAN in energy efficient ethernet | |
JP5207198B2 (en) | Apparatus, program, and method for transmitting / receiving packets | |
EP3761716B1 (en) | Standby control method and terminal device and relay device | |
CN109511133A (en) | A kind of method and device waking up processing | |
TW201039662A (en) | Methods and apparatuses of network system with power saving function | |
CN102984791B (en) | A kind of power-economizing method of wireless sensor node | |
CN112398661B (en) | Equipment dormancy processing method and device, ioT equipment and storage medium | |
CN105283821A (en) | Aux power controller | |
CN103686956B (en) | Mobile terminal and its data network communications method and data network request agent apparatus | |
CN109429313B (en) | Information interaction method, functional equipment, terminal, server and storage medium | |
CN105721344B (en) | The method and system of POS machine tool networking | |
CN102420783B (en) | Method and system for transmitting information to control terminal by server | |
CN103905498B (en) | Service information management method and service information management system | |
CN108289030A (en) | A kind of base station fault identifying processing method and device | |
WO2011094976A1 (en) | Wireless data card, method and system for communicationg between wireless data card and computer side | |
CN103986588A (en) | Computer system and far-end remote control method of computer device | |
CN105357387A (en) | Method, apparatus and system for wakening terminal | |
CN110300042A (en) | A kind of bus communication system and communication control method | |
CN104506642B (en) | A kind of efficient transmitting-receiving of client message and processing method and system | |
CN109600823A (en) | A kind of power consumption control method and power consumption control system | |
CN105850077B (en) | The recognition methods and equipment of heartbeat packet timer | |
CN107995175A (en) | A kind of internet access method of car-mounted computer |
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 |