CN105045759A - Control communication method of financial self-service equipment - Google Patents
Control communication method of financial self-service equipment Download PDFInfo
- Publication number
- CN105045759A CN105045759A CN201510437685.0A CN201510437685A CN105045759A CN 105045759 A CN105045759 A CN 105045759A CN 201510437685 A CN201510437685 A CN 201510437685A CN 105045759 A CN105045759 A CN 105045759A
- Authority
- CN
- China
- Prior art keywords
- service equipment
- financial self
- bag
- controlling party
- financial
- 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
- 230000006854 communication Effects 0.000 title claims abstract description 36
- 238000004891 communication Methods 0.000 title claims abstract description 35
- 238000000034 method Methods 0.000 title claims abstract description 13
- 230000004044 response Effects 0.000 claims abstract description 30
- 238000012790 confirmation Methods 0.000 claims abstract description 4
- 230000008569 process Effects 0.000 claims description 10
- 230000002159 abnormal effect Effects 0.000 claims description 7
- 230000001276 controlling effect Effects 0.000 description 45
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000000875 corresponding effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
- G06F13/4286—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a handshaking protocol, e.g. RS232C link
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Communication Control (AREA)
Abstract
The invention belongs to the technical field of financial self-service equipment, and discloses a control communication method of financial self-service equipment, which comprises the following steps of 1) establishing connection, 2) idle time communication; 3) a control command sending step, in which a control party sends a control command to the financial self-service equipment, the financial self-service equipment replies a confirmation packet to the financial self-service equipment after receiving the control command, the control party sends a handshake request packet to the financial self-service equipment, the financial self-service equipment replies a handshake response packet to the financial self-service equipment, and then the financial self-service equipment starts to execute the command; 4) and a working state obtaining step, wherein the controller periodically sends a handshake request packet to the financial self-service equipment, and 5) a connection and disconnection step. Under the communication method, the control party and the financial self-service equipment keep real-time communication, the control party can know the current state of the financial self-service equipment in real time, and the control party can know the fault information at most 1 second after the equipment is in fault, so that clients and workers can be informed in time, and the waiting time of the users is reduced.
Description
Technical field
The present invention relates to financial self-service equipment technical field, particularly relate to a kind of control communication means of financial self-service equipment.
Background technology
In financial self-service equipment application, usually by controlling party, if PC is to financial self-service equipment, as circulation movement sends order, after financial self-service equipment receives orders, perform corresponding action.Controlling party enters waiting status after sending order, after financial self-service equipment is finished, send response message to controlling party.For each order, there is the time limit of about 3 minutes, if controlling party exceedes this time limit in wait-for-response process also confiscate response, think that financial self-service equipment breaks down.Under this kind of communication means, if financial self-service equipment breaks down in fill order process, controlling party just can find this problem in transmission order after 3 minutes, and the time of causing user to wait for is long, reduces use sense and is subject to.
Summary of the invention
The object of the invention is the technological deficiency for existing in prior art, and a kind of control communication means of financial self-service equipment is provided.
The technical scheme adopted for realizing object of the present invention is:
A control communication means for financial self-service equipment, comprises the following steps,
1) connect step: controlling party sends a handshake request bag to financial self-service equipment, financial self-service equipment receives the backward controlling party of handshake request bag and replys handshake response bag, communication connection after this process carries out twice between controlling party and financial self-service equipment is successfully established
2) the communication steps during free time: controlling party sends a handshake request bag to financial self-service equipment termly, equipment receives the backward controlling party of handshake request bag and replys handshake response bag;
3) control command step is sent, controlling party sends control command to financial self-service equipment, financial self-service equipment receives control command and replys confirmation bag to it, controlling party sends handshake request bag to financial self-service equipment again, financial self-service equipment replys handshake response bag to it, and then financial self-service equipment starts fill order;
4) obtain duty step, controlling party sends a handshake request bag to financial self-service equipment termly, when:
(1), when financial self-service equipment normally works, financial self-service equipment returns handshake response bag to it;
(2) when financial self-service equipment occurs abnormal, financial self-service equipment is to the abnormal bag of its Returning equipment;
(3) when financial self-service equipment executes order, financial self-service equipment is to its return command respond packet;
After controlling party receives the unit exception bag or command response bag that financial self-service equipment sends, send confirm bag to financial self-service equipment, financial self-service equipment sends handshake response bag to controlling party after receiving and confirming bag;
5) break step is connected: when financial self-service equipment power down or deadlock, controlling party can not receive response after sending any message bag, now this message bag is retransmitted repeatedly in controlling party compartment of terrain, if also confiscate any response, thinks and connects equipment failure and disconnect.
Described step 2) and step 4) described in be regularly every 150-250ms.
The communication media of described communication can be RS-232 or USB.
Described step 5) retransmit this message bag for controlling party sends three times, four times or five times every 150-250ms.
Compared with prior art, the invention has the beneficial effects as follows:
Under communication means of the present invention, controlling party and financial self-service equipment keep real-time communication, controlling party can know the current state of financial self-service equipment in real time, when after device fails, controlling party learnt failure message after maximum 1 second, client and staff can be notified in time, decrease the stand-by period of user.
Accompanying drawing explanation
Fig. 1 is the process that controlling party and financial self-service equipment establish a communications link.
Fig. 2 be controlling party and financial self-service equipment idle time communication process.
Fig. 3 is that controlling party sends the process of order to financial self-service equipment.
Fig. 4 is that controlling party asks for the process of duty to financial self-service equipment.
Fig. 5 is that controlling party and financial self-service equipment disconnect the process communicated to connect.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As Figure 1-5, the control communication means of financial self-service equipment of the present invention, comprises the following steps,
1) connect step: controlling party sends a handshake request bag to financial self-service equipment, financial self-service equipment receives the backward controlling party of handshake request bag and replys handshake response bag, communication connection after this process carries out twice between controlling party and financial self-service equipment is successfully established, the effect of shaking hands of having again is that " the replying handshake response bag " confirming to send above successfully receives, and ensures that the normal of connection is set up smoothly; Wherein the communication media of the communication of controlling party and financial self-service equipment can be the arbitrary forms such as RS-232 or USB;
2) the communication steps during free time: termly, as sent a handshake request bag every 150-250ms to financial self-service equipment, equipment receives the backward controlling party of handshake request bag and replys handshake response bag controlling party; Intermittent communication time idle, can ensure that controlling party knows the running status of financial self-service equipment in real time,
3) control command step is sent, controlling party sends control command to financial self-service equipment, financial self-service equipment receives control command and replys confirmation bag to it, controlling party sends handshake request bag to financial self-service equipment again, financial self-service equipment replys handshake response bag to it, and then financial self-service equipment starts fill order; The object of repeatedly shaking hands before control command transmission is exactly to ensure the deterministic success that communicates, and prevents maloperation, says the word by mistake; Meanwhile, repeatedly shake hands and require that Content of Communication must be entirely true, this is just effectively avoided the behavior such as error message or malicious attack.
4) obtain duty step, during financial self-service equipment performs control command, controlling party termly, as sent a handshake request bag every 150-250ms to financial self-service equipment, when:
(1), when financial self-service equipment normally works, financial self-service equipment returns handshake response bag to it;
(2) when financial self-service equipment occurs abnormal, financial self-service equipment is to the abnormal bag of its Returning equipment; Contain exception error code in unit exception bag, controlling party can process respectively according to error message;
(3) when financial self-service equipment executes order, financial self-service equipment is to its return command respond packet;
After controlling party receives the unit exception bag or command response bag that financial self-service equipment sends, send to financial self-service equipment and confirm that bag expression has acknowledged receipt of unit exception bag or command response bag, financial self-service equipment sends handshake response bag to controlling party after receiving and confirming bag; Simultaneously, controlling party makes respective handling according to mistake or abnormal information, as reporting information, break link, or restart the operations such as financial self-service equipment, wherein, each bag has fixing data layout, to have prevented personnel from can simulate communication according to data layout, and direct controlled circulation movement;
5) break step is connected: when financial self-service equipment power down or deadlock, controlling party can not receive response after sending any message bag, now this message bag is retransmitted repeatedly in controlling party compartment of terrain, as every 150-250ms, send three times, four times or five times altogether, if also confiscate any response, think and connect equipment failure and disconnect.
Beneficial effect is: under this kind of communication means, controlling party and financial self-service equipment keep real-time communication, controlling party can know the current state of financial self-service equipment in real time, when after device fails, controlling party learnt failure message after maximum 1 second, client and staff can be notified in time, decrease the stand-by period of user.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (4)
1. a control communication means for financial self-service equipment, is characterized in that, comprise the following steps,
1) connect step: controlling party sends a handshake request bag to financial self-service equipment, financial self-service equipment receives the backward controlling party of handshake request bag and replys handshake response bag, communication connection after this process carries out twice between controlling party and financial self-service equipment is successfully established
2) the communication steps during free time: controlling party sends a handshake request bag to financial self-service equipment termly, equipment receives the backward controlling party of handshake request bag and replys handshake response bag;
3) control command step is sent, controlling party sends control command to financial self-service equipment, financial self-service equipment receives control command and replys confirmation bag to it, controlling party sends handshake request bag to financial self-service equipment again, financial self-service equipment replys handshake response bag to it, and then financial self-service equipment starts fill order;
4) obtain duty step, controlling party sends a handshake request bag to financial self-service equipment termly, when:
(1), when financial self-service equipment normally works, financial self-service equipment returns handshake response bag to it;
(2) when financial self-service equipment occurs abnormal, financial self-service equipment is to the abnormal bag of its Returning equipment;
(3) when financial self-service equipment executes order, financial self-service equipment is to its return command respond packet;
After controlling party receives the unit exception bag or command response bag that financial self-service equipment sends, send confirm bag to financial self-service equipment, financial self-service equipment sends handshake response bag to controlling party after receiving and confirming bag;
5) break step is connected: when financial self-service equipment power down or deadlock, controlling party can not receive response after sending any message bag, now this message bag is retransmitted repeatedly in controlling party compartment of terrain, if also confiscate any response, thinks and connects equipment failure and disconnect.
2. the control communication means of financial self-service equipment as claimed in claim 1, is characterized in that, described step 2) and step 4) described in regular be every 150-250ms.
3. the control communication means of financial self-service equipment as claimed in claim 1, it is characterized in that, the communication media of described communication can be RS-232 or USB.
4. the control communication means of financial self-service equipment as claimed in claim 1, is characterized in that, described step 5) retransmit this message bag for controlling party sends three times, four times or five times every 150-250ms.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510437685.0A CN105045759B (en) | 2015-07-23 | 2015-07-23 | Control communication method of financial self-service equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510437685.0A CN105045759B (en) | 2015-07-23 | 2015-07-23 | Control communication method of financial self-service equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105045759A true CN105045759A (en) | 2015-11-11 |
CN105045759B CN105045759B (en) | 2020-10-27 |
Family
ID=54452317
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510437685.0A Active CN105045759B (en) | 2015-07-23 | 2015-07-23 | Control communication method of financial self-service equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105045759B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112002083A (en) * | 2020-10-27 | 2020-11-27 | 恒银金融科技股份有限公司 | Business blockage early warning system applied to bank self-service equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1510864A (en) * | 2002-12-21 | 2004-07-07 | 深圳市中兴通讯股份有限公司 | Method and system for charge data transmission |
CN101541038A (en) * | 2009-04-27 | 2009-09-23 | 杭州华三通信技术有限公司 | Method and device for strengthening upper layer application stability loaded by wireless local area network |
CN101567130A (en) * | 2008-04-23 | 2009-10-28 | 中国科学院自动化研究所 | Method and system for remote fault detection of traffic signal controller |
CN102291441A (en) * | 2011-08-02 | 2011-12-21 | 杭州迪普科技有限公司 | Method and security agent device for protecting against attack of synchronize (SYN) Flood |
US20120059489A1 (en) * | 2010-09-08 | 2012-03-08 | Integrated Device Technology, Inc. | System and method for communication handshaking between processors |
CN102664958A (en) * | 2012-04-27 | 2012-09-12 | 中山大学 | Transparent computing system |
CN103685188A (en) * | 2012-09-17 | 2014-03-26 | 中国科学院沈阳计算技术研究所有限公司 | Communication method of control command data interaction protocol for mine transportation |
-
2015
- 2015-07-23 CN CN201510437685.0A patent/CN105045759B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1510864A (en) * | 2002-12-21 | 2004-07-07 | 深圳市中兴通讯股份有限公司 | Method and system for charge data transmission |
CN101567130A (en) * | 2008-04-23 | 2009-10-28 | 中国科学院自动化研究所 | Method and system for remote fault detection of traffic signal controller |
CN101541038A (en) * | 2009-04-27 | 2009-09-23 | 杭州华三通信技术有限公司 | Method and device for strengthening upper layer application stability loaded by wireless local area network |
US20120059489A1 (en) * | 2010-09-08 | 2012-03-08 | Integrated Device Technology, Inc. | System and method for communication handshaking between processors |
CN102291441A (en) * | 2011-08-02 | 2011-12-21 | 杭州迪普科技有限公司 | Method and security agent device for protecting against attack of synchronize (SYN) Flood |
CN102664958A (en) * | 2012-04-27 | 2012-09-12 | 中山大学 | Transparent computing system |
CN103685188A (en) * | 2012-09-17 | 2014-03-26 | 中国科学院沈阳计算技术研究所有限公司 | Communication method of control command data interaction protocol for mine transportation |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112002083A (en) * | 2020-10-27 | 2020-11-27 | 恒银金融科技股份有限公司 | Business blockage early warning system applied to bank self-service equipment |
CN112002083B (en) * | 2020-10-27 | 2021-02-19 | 恒银金融科技股份有限公司 | Business blockage early warning system applied to bank self-service equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105045759B (en) | 2020-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3331197B1 (en) | A method and system for monitoring a connection status of a device | |
CN111866141A (en) | Robot monitoring method, system, device, storage medium and processor | |
CN107508916B (en) | Server link management method for intelligent robot | |
CN103516708B (en) | A kind of apparatus control method based on extension XMPP and system | |
CN116699964A (en) | Redundant operation method and system for industrial process controller | |
CN110809262B (en) | COAP protocol-based operation and maintenance management method for Internet of things equipment | |
CN107317731A (en) | A kind of detection method of client and server connection state | |
CN103001787A (en) | System and method for disaster recovery backup of data processing center | |
CN104243473B (en) | A kind of method and device of data transmission | |
CN108366129B (en) | USB data transmission method, device and USB are from device adapter | |
CN107333252B (en) | Communication exception handling method and device and smart card terminal | |
CN105045759A (en) | Control communication method of financial self-service equipment | |
CN102868945B (en) | The upgrade method of ONU in a kind of EPON | |
CN114567536B (en) | Abnormal data processing method, device, electronic equipment and storage medium | |
CN115834282A (en) | CAN bus communication method, device, equipment and readable storage medium | |
CN113992740B (en) | Middleware based on autonomous control and data transmission method | |
CN113259404B (en) | Industrial communication middleware based on TCP/IP protocol and use method thereof | |
CN114125021A (en) | Terminal information issuing system based on Netty message drive | |
CN110166506B (en) | Method for connecting hypertext transfer protocol Http and node equipment | |
CN102523157B (en) | Communication equipment, system and communication means | |
CN115580555B (en) | Distributed task cancellation method, device, system and electronic equipment | |
CN104185204B (en) | A kind of connection status inspection method and device | |
CN103795507A (en) | Instruction timeout retransmission method and instruction timeout retransmission system of EPON system | |
CN109245864B (en) | ETH-CAN communication front-end detection device based on self-feedback and error self-detection method | |
CN114745221B (en) | Modbus communication system and communication method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |