CN101707552A - CID information reporting method, system and device thereof - Google Patents
CID information reporting method, system and device thereof Download PDFInfo
- Publication number
- CN101707552A CN101707552A CN 200910211183 CN200910211183A CN101707552A CN 101707552 A CN101707552 A CN 101707552A CN 200910211183 CN200910211183 CN 200910211183 CN 200910211183 A CN200910211183 A CN 200910211183A CN 101707552 A CN101707552 A CN 101707552A
- Authority
- CN
- China
- Prior art keywords
- message
- end processor
- router
- calling number
- 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.)
- Granted
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a CID information reporting method which can be applied to a system comprising a POS machine, a router and a prepositive computer. The method comprises the following steps: the router receives a request for establishing physical connection sent by the POS machine; after extracting a calling number of the POS machine, the router can establish the physical connection with the POS machine; the router also can establish TCP short connection with the prepositive computer, lead the calling number to be encapsulated into TCP message, and send the TCP message into the prepositive computer; message-type field is carried by the TCP message and used for identifying whether the TCP message carries the calling number. In the method, the CID uploading function can be realized by an application layer above the TCP, and the influence for transparent transmission data can be minimized.
Description
Technical field
The present invention relates to communication technical field, relate in particular to a kind of cid information report method, system and device.
Background technology
For financial POS (Point of sale, electronics cash collecting system) access service, two class data are generally arranged: a class is a real-time transaction data, and characteristics are that data volume is little, real-time requires height, and the reliability requirement height is consumed the transaction of swiping the card such as POS; Another kind of is the transmission application of big data quantity, such as POS machine program download, application such as blacklist is downloaded, transaction data is uploaded, this type of transaction is insensitive to dialing time of shaking hands, but data volume is relatively large, need to adopt high-speed asynchronous Modem (modulator-demodulator) dialing (generally being adopted as V.90 agreement) mode, for this application, the router side can adopt AM (Analog Modem, analog modem) that dial-up access is provided.
As shown in Figure 1, set up physical path between the AM card of dialing of POS machine and router, if POS uploads business, the POS machine is by PSTN (Public Switched Telephone Network, PSTN) network sends message with the form of analog signal, arrive MSR (Multiple Services Router through PBX (Private BranchExchange private branch exchange), the open router of multi-service) AM interface, AM is a digital signal with analog signal conversion, router is not changed message content and message is sent to front end processor by what set up with front end processor (for example application server) short connection of TCP (Transmission ControlProtocol, transmission control protocol).If POS downloading service, physical path is set up with identical before between POS machine and the AM, but data are to send to router from front end processor by short connection of TCP, router goes the TCP encapsulation to message and does not change message content and be forwarded to the AM interface, the AM interface converts digital signal to analog signal again, by PBX message is sent on the POS machine.The above-mentioned forwarding form of not changing message content is exactly a data penetration transmission.
If client's front end processor then needs to collect CID (CALLER ID, the number of the caller POS machine) information of POS machine transaction for different POS machines being carried out the business statistics management.Yet, the whole penetration transmission schemes above using, router can not obtain the cid information of POS machine, and then this cid information of notice front end processor; Even can extract cid information on router, and cid information is sent to front end processor, it is cid information or regular traffic message that front end processor still can't be distinguished this message.
Summary of the invention
The invention provides a kind of cid information report method, system and device, give front end processor so that router obtains and transmit CID.
The invention provides a kind of cid information report method, be applied to comprise in the system of POS machine, router and front end processor, said method comprising the steps of:
Described router receives the physical connection request of setting up that described POS machine sends;
After described router extracts the calling number of described POS machine, the physical connection between foundation and the described POS machine;
Described router set up with described front end processor between TCP lack and be connected, described calling number is encapsulated as the TCP message, send to described front end processor, described TCP message carries message type field, and described message type field is used to identify the TCP message and whether carries calling number.
Describedly send to described front end processor, also comprise afterwards:
Described front end processor detects the message type field in the described TCP message, carries calling number if described message type field identifies described TCP message, then extracts described calling number, and replys confirmation message to described router; Otherwise according to the normal data Business Processing.
Also comprise:
If front end processor receives that two or more type of messages that send from same POS machine are the message that carries calling number, then reply first message.
Describedly send to described front end processor, also comprise afterwards:
Described router carries out data forwarding in the mode of transparent transmission after receiving described front end processor response confirmation message between front end processor and POS machine.
Describedly send to described front end processor, also comprise afterwards:
Described router is not received confirmation message in a period of time, then disconnect with front end processor between TCP be connected, and hang up and the POS machine between physical connection.
The invention provides a kind of cid information reporting system, comprise in POS machine, router and the front end processor, it is characterized in that,
Described POS machine when needing to upload business after being used to swipe the card, sends the physical connection request of setting up to described router;
Described router, be used to receive described POS machine sends set up the physical connection request after, extract the calling number of described POS machine after, set up and described POS machine between physical connection; And the TCP between foundation and the described front end processor is short is connected, and described calling number is encapsulated as the TCP message, sends to described front end processor, and described TCP message carries message type field, and described message type field is used to identify the TCP message and whether carries calling number;
Described front end processor, be used to receive the TCP message that described router sends, whether the type of message that detects described TCP message is for carrying calling number, when carrying calling number, extract described calling number, and to described router answer confirmation message, when not carrying calling number, according to the normal data Business Processing.
The invention provides a kind of router, be applied to comprise that described router comprises in the system of POS machine, router and front end processor:
The AM interface module is used to receive the physical connection request of setting up that described POS machine sends;
Control module is connected with described AM interface module, after being used to extract the calling number of described POS machine, and the physical connection between foundation and the described POS machine; And the TCP between foundation and the described front end processor is short is connected, and described calling number is encapsulated as the TCP message, sends to described front end processor, and described TCP message carries message type field, and described message type field is used to identify the TCP message and whether carries calling number.
Described control module after also being used to receive described front end processor and responding confirmation message, is carried out data forwarding in the mode of transparent transmission between front end processor and POS machine.
Described control module also is used for not receiving confirmation message in a period of time, then disconnect with front end processor between TCP be connected, and hang up and the POS machine between physical connection.
The invention provides a kind of front end processor, be applied to comprise that described front end processor comprises in the system of POS machine, router and front end processor:
Receiver module is used to receive the TCP message that described router sends;
Detection module is connected with described receiver module, and whether the message type field that is used for detecting described TCP message identifies described TCP message is carried calling number;
Processing module is connected with described detection module, is used to detect described message type field and identifies described TCP message when carrying calling number, extracts described calling number, and replys confirmation message to described router; Otherwise according to the normal data Business Processing.
Described processing module receives that two or more type of messages that send from same POS machine are the TCP message that carries calling number if also be used for front end processor, then replys first TCP message.
Compared with prior art, the present invention has the following advantages:
Among the present invention, the application layer on the TCP between POS machine and the router realizes the CID upload function, has realized the effectiveness affects minimum to transparent data simultaneously.
Description of drawings
Fig. 1 is a POS business realizing system construction drawing in the prior art;
Fig. 2 is a kind of cid information report method flow chart among the present invention;
Fig. 3 is a kind of router topology figure among the present invention;
Fig. 4 is a kind of front end processor structure chart among the present invention.
Embodiment
The invention provides a kind of cid information report method, be applied to comprise that wherein, the POS machine comprises the MODEM module in the system of at least one POS machine, router and front end processor, router comprises AM interface module and control module; This method may further comprise the steps as shown in Figure 2:
Wherein, message format is (not comprising the TCP encapsulation):
Message length (2 bytes) || type of message (4 bytes, this type of message represent send be calling number) || calling number length (1 byte) || calling number || CRC (4 bytes, verification and)
Wherein, message length is to begin to the length that finishes from type of message, and can limit calling number length and be no more than 40 bytes, and form is an ASCII character.
When type of message was set to 0x32 0x31 0x30 0x30 (being ASCII character " 2100 "), what expression sent was calling number.
Whether area code information is arranged in the calling number, and relevant with the configuration of PBX, PBX gives any number router just to extract what number to AM.
If router extracts less than calling number, it is 0 that calling number length then is set.
Message length (2 bytes) || type of message (4 bytes, this type of message is represented the affirmation of calling number) || calling number length (1 byte) || calling number || CRC (4 bytes, verification and)
What wherein, type of message was set to 0x32 0x31 0x31 0x30 (being ASCII character " 2110 ") expression transmission is that calling number is confirmed.
If type of message is not 0x32 0x31 0x30 0x30, then be illustrated as the normal data message, handle according to the normal data message.
If front end processor receives that two or more type of messages that send from same POS machine are the message of 0x32 0x31 0x30 0x30, then only need to reply first message, no longer doing of other replied.
After step 205, router receive front end processor response confirmation message, begin normal POS transaction, will between front end processor and POS machine, carry out data forwarding in the mode of transparent transmission, the trade time transaction of going forward side by side, TCP tore chain open after transaction was finished, the physical link dismounting.If router is not received confirmation message in a period of time, then disconnect with front end processor between TCP be connected, hang up and the POS machine between physical connection.
The invention provides a kind of cid information reporting system, comprise in POS machine, router and the front end processor,
Described POS machine when needing to upload business after being used to swipe the card, sends the physical connection request of setting up to described router;
Described router, be used to receive described POS machine sends set up the physical connection request after, extract the calling number of described POS machine after, set up and described POS machine between physical connection; And the TCP between foundation and the described front end processor is short is connected, and described calling number is encapsulated as the TCP message, sends to described front end processor, and described TCP message also carries message type field, and described message type field is used to identify the TCP message and whether carries calling number;
Described front end processor, be used to receive the TCP message that described router sends, whether the type of message that detects described TCP message is for carrying calling number, when carrying calling number, extract described calling number, and to described router answer confirmation message, when not carrying calling number, according to the normal data Business Processing.
The invention provides a kind of router, be applied to comprise that described router comprises as shown in Figure 3 in the system of POS machine, router and front end processor:
The invention provides a kind of front end processor, be applied to comprise that described front end processor comprises as shown in Figure 4 in the system of POS machine, router and front end processor:
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.
Claims (11)
1. a cid information report method is applied to comprise in the system of POS machine, router and front end processor, it is characterized in that, said method comprising the steps of:
Described router receives the physical connection request of setting up that described POS machine sends;
After described router extracts the calling number of described POS machine, the physical connection between foundation and the described POS machine;
Described router set up with described front end processor between TCP lack and be connected, described calling number is encapsulated as the TCP message, send to described front end processor, described TCP message carries message type field, and described message type field is used to identify the TCP message and whether carries calling number.
2. the method for claim 1 is characterized in that, the described front end processor that sends to also comprises afterwards:
Described front end processor detects the message type field in the described TCP message, carries calling number if described message type field identifies described TCP message, then extracts described calling number, and replys confirmation message to described router; Otherwise according to the normal data Business Processing.
3. method as claimed in claim 2 is characterized in that, also comprises:
If front end processor receives that two or more type of messages that send from same POS machine are the message that carries calling number, then reply first message.
4. method as claimed in claim 2 is characterized in that, describedly sends to described front end processor, also comprises afterwards:
Described router carries out data forwarding in the mode of transparent transmission after receiving described front end processor response confirmation message between front end processor and POS machine.
5. method as claimed in claim 2 is characterized in that, describedly sends to described front end processor, also comprises afterwards:
Described router is not received confirmation message in a period of time, then disconnect with front end processor between TCP be connected, and hang up and the POS machine between physical connection.
6. a cid information reporting system comprises in POS machine, router and the front end processor, it is characterized in that,
Described POS machine when being used for uploading business, sends the physical connection request of setting up to described router;
Described router is used to receive the physical connection request of setting up that described POS machine sends, and after extracting the calling number of described POS machine, the physical connection between foundation and the described POS machine; And the TCP between foundation and the described front end processor is short is connected, and described calling number is encapsulated as the TCP message, sends to described front end processor, and described TCP message carries message type field, and described message type field is used to identify the TCP message and whether carries calling number;
Described front end processor, be used to receive the TCP message that described router sends, detecting message type field in the described TCP message identifies described TCP message and whether carries calling number, when carrying calling number, extract described calling number, and to described router answer confirmation message, when not carrying calling number, according to the normal data Business Processing.
7. a router is applied to comprise in the system of POS machine, router and front end processor, and it is characterized in that, described router comprises:
The AM interface module is used to receive the physical connection request of setting up that described POS machine sends;
Control module is connected with described AM interface module, after being used to extract the calling number of described POS machine, and the physical connection between foundation and the described POS machine; And the TCP between foundation and the described front end processor is short is connected, and described calling number is encapsulated as the TCP message, sends to described front end processor, and described TCP message carries message type field, and described message type field is used to identify the TCP message and whether carries calling number.
8. router as claimed in claim 7 is characterized in that, described control module after also being used to receive described front end processor and responding confirmation message, is carried out data forwarding in the mode of transparent transmission between front end processor and POS machine.
9. router as claimed in claim 7 is characterized in that, described control module also is used for not receiving confirmation message in a period of time, then disconnect with front end processor between TCP be connected, and hang up and the POS machine between physical connection.
10. a front end processor is applied to comprise in the preceding system of POS machine, router and front end processor, it is characterized in that described front end processor comprises:
Receiver module is used to receive the TCP message that described router sends;
Detection module is connected with described receiver module, and whether the message type field that is used for detecting described TCP message identifies described TCP message is carried calling number;
Processing module is connected with described detection module, is used to detect described message type field and identifies described TCP message when carrying calling number, extracts described calling number, and replys confirmation message to described router; Otherwise according to the normal data Business Processing.
11. front end processor as claimed in claim 10, it is characterized in that, described processing module receives that two or more type of messages that send from same POS machine are the TCP message that carries calling number if also be used for front end processor, then replys first TCP message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910211183 CN101707552B (en) | 2009-11-06 | 2009-11-06 | CID information reporting method, system and device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910211183 CN101707552B (en) | 2009-11-06 | 2009-11-06 | CID information reporting method, system and device thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101707552A true CN101707552A (en) | 2010-05-12 |
CN101707552B CN101707552B (en) | 2012-03-14 |
Family
ID=42377747
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200910211183 Expired - Fee Related CN101707552B (en) | 2009-11-06 | 2009-11-06 | CID information reporting method, system and device thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101707552B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103108409A (en) * | 2012-11-12 | 2013-05-15 | 福建联迪商用设备有限公司 | Point-of-sale (POS) system and communication method based on soft-assembly program (AP) Soft-Access Point |
CN104539592A (en) * | 2014-12-16 | 2015-04-22 | 北京中交兴路车联网科技有限公司 | Transparent transmitting method and system for regulatory data of car machine |
CN106713036A (en) * | 2016-12-27 | 2017-05-24 | 中国建设银行股份有限公司 | Fault processing method and system of mobile terminal payment system |
WO2017166097A1 (en) * | 2016-03-30 | 2017-10-05 | 李昕光 | Server front positioning method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1334541A (en) * | 2001-09-03 | 2002-02-06 | 何长杰 | Method and system for procesisng different bank cards |
CN201289664Y (en) * | 2008-11-19 | 2009-08-12 | 中国工商银行股份有限公司山东省分行 | Device for settling shop telephone POS financing |
-
2009
- 2009-11-06 CN CN 200910211183 patent/CN101707552B/en not_active Expired - Fee Related
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103108409A (en) * | 2012-11-12 | 2013-05-15 | 福建联迪商用设备有限公司 | Point-of-sale (POS) system and communication method based on soft-assembly program (AP) Soft-Access Point |
CN104539592A (en) * | 2014-12-16 | 2015-04-22 | 北京中交兴路车联网科技有限公司 | Transparent transmitting method and system for regulatory data of car machine |
CN104539592B (en) * | 2014-12-16 | 2018-08-28 | 北京中交兴路车联网科技有限公司 | A kind of transmitting method and system of vehicle device supervision data |
WO2017166097A1 (en) * | 2016-03-30 | 2017-10-05 | 李昕光 | Server front positioning method |
CN106713036A (en) * | 2016-12-27 | 2017-05-24 | 中国建设银行股份有限公司 | Fault processing method and system of mobile terminal payment system |
CN106713036B (en) * | 2016-12-27 | 2020-06-30 | 中国建设银行股份有限公司 | Fault processing method and system for mobile terminal payment system |
Also Published As
Publication number | Publication date |
---|---|
CN101707552B (en) | 2012-03-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6529592B1 (en) | Internet-based message delivery with PSTN billing | |
JP4213667B2 (en) | How to archive multimedia messages | |
CN100454913C (en) | Method and apparatus for communicating via on-demand communication robot and mobile phone | |
CN101159890A (en) | Method of performing free group calling and intercommunication between multiple mobile phones in mobile communication network | |
JP2000508125A (en) | Method and apparatus for routing and transmitting voice telephone calls over a packet switched computer network | |
CN102611805A (en) | Communication information notifying method, information reporting method, server and communication terminals | |
CN101707552B (en) | CID information reporting method, system and device thereof | |
CN1099199C (en) | Service node for telephone network | |
US20080242327A1 (en) | System and method for sending sms and text messages | |
CN100499722C (en) | Device and method for realizing transmitting information to computer network real-time communication terminal by telephone | |
CN108055653A (en) | cloud broadcasting method and system | |
CN1653752A (en) | Method and device for modem relay termination | |
KR100417636B1 (en) | Method and apparatus for changing a sound source of supplementary service using a ring back tone on calling | |
CN102422656A (en) | Method for performing ussd services in a telecommunications network | |
US20080028018A1 (en) | Completion of Internet Session Notification Service | |
CN100367737C (en) | The implementation of the intellingent network in the next generation networks and its interconnection to the PSTN | |
CN1653795B (en) | Device to terminate a modem relay channel directly to an ip network | |
CN101378547B (en) | Method and system for issuing wireless advertisement | |
CN105122851A (en) | System for transmitting heterogeneous network-linked data and method therefor | |
CN102724054B (en) | Signalling analysis and system for data services network | |
CN1549573A (en) | Intelligent public telephone fast switch-in method | |
CN100471116C (en) | Instantaneous communication exchange system and method | |
CN1653766A (en) | Device for modem relay channel termination | |
RU2007139482A (en) | METHOD AND INFORMATION MANAGEMENT SYSTEM | |
US20030231619A1 (en) | Method and apparatus for voice/data notification system using personal computers and voice/data modems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Patentee after: Xinhua three Technology Co., Ltd. Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base Patentee before: Huasan Communication Technology Co., Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120314 Termination date: 20191106 |