CN104836929A - Communication channel multiplexing device, communication channel multiplexing system and communication channel multiplexing method - Google Patents

Communication channel multiplexing device, communication channel multiplexing system and communication channel multiplexing method Download PDF

Info

Publication number
CN104836929A
CN104836929A CN201510142457.0A CN201510142457A CN104836929A CN 104836929 A CN104836929 A CN 104836929A CN 201510142457 A CN201510142457 A CN 201510142457A CN 104836929 A CN104836929 A CN 104836929A
Authority
CN
China
Prior art keywords
communication channel
mode
backstage
requesting party
data
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
Application number
CN201510142457.0A
Other languages
Chinese (zh)
Other versions
CN104836929B (en
Inventor
兰骏
廖永坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Dongjin Software Development Co ltd
Shenzhen Donjin Communication Tech Co Ltd
Original Assignee
Shenzhen Dongjin Software Development Co ltd
Shenzhen Donjin Communication Tech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Dongjin Software Development Co ltd, Shenzhen Donjin Communication Tech Co Ltd filed Critical Shenzhen Dongjin Software Development Co ltd
Priority to CN201510142457.0A priority Critical patent/CN104836929B/en
Publication of CN104836929A publication Critical patent/CN104836929A/en
Application granted granted Critical
Publication of CN104836929B publication Critical patent/CN104836929B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the present invention discloses a communication channel multiplexing device, a communication channel multiplexing system and a communication channel multiplexing method. The method comprises an incoming call reception step of receiving an incoming call signal of requiring connection sent by a request party via a communication channel; a mode determination step of determining the current working mode is a first working mode or a second working mode, if the current working mode is the first working mode, entering a first working step, and if the current working mode is the second working mode, entering a second working step; the first working step of adopting the first working mode to butt the request party, if the butt joint is successful, receiving the data of a first format and sending the data to a first background; and the second working step of adopting the second working mode to butt the request party, if the butt joint is successful, receiving the data of a second format and sending the data to a second background. According to the embodiment of the present invention, the technical means of firstly determining the current working mode, and then carrying out the corresponding butt communication according to the current working mode is adopted, so that the technical effects that the error possibility is small, the operation cost is low, and the utilization rate of a PSTN-E1 channel is high are realized.

Description

Communication channel multiplexer, system and method
Technical field
The present invention relates to communication technique field, particularly relate to a kind of communication channel multiplexer, system and method.
Background technology
Prior art passes through PSTN (Public Switched Telephone Network in process POS terminal, when PSTN) carrying out speech communication with net control device, all adopt at different PSTN-E1 passages by configuration, process MODEM voice messaging and shift keying modulation (Frequency-shift keying, FSK) voice messaging respectively.
But, different POS terminal, when adopting different MODEM and FSK voice to send, just must configure different call numbers, add the possibility of makeing mistakes, in addition, POS terminal user also must apply for different PSTN-E1 passages, add operation cost, and the utilance of PSTN-E1 passage is reduced.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, provides a kind of communication channel multiplexer, system and method, reduces the possibility of makeing mistakes, cuts operating costs, and improves the utilance of PSTN-E1 passage.
In order to solve the problems of the technologies described above, the embodiment of the present invention proposes a kind of communication channel multiplexing method, comprising:
Incoming call receiving step: the incoming signal being received the request connection that requesting party sends by a communication channel;
Mode decision step: confirm that current is the first mode of operation or the second mode of operation, if the first mode of operation then enters the first job step, if the second mode of operation then enters the second job step;
First job step: adopt the first mode of operation to dock with requesting party, docks and successfully then receives the first formatted data and be sent to the first backstage; And
Second job step: adopt the second mode of operation to dock with requesting party, docks and successfully then receives the second formatted data and be sent to the second backstage.
Further, the first mode of operation is MODEM pattern, and the first job step comprises:
First sends sub-step: send MODEM audio signal to requesting party;
First docking judges sub-step: if receive the MODEM signal of requesting party's feedback, then dock successfully; And
First communicator step: receive the first formatted data and be sent to MODEM finance backstage.
Further, the second mode of operation is FSK pattern, and the second job step comprises:
Second sends sub-step: send fsk data tone signal 0x81 to requesting party;
Second docking judges sub-step: if receive the fsk data tone signal 0x82 of requesting party's feedback, then dock successfully; And
Second communication sub-step: receive the second formatted data and be sent to FSK finance backstage.
Further, timeout treatment step is also comprised after described first job step and the second job step: docking exceedes the scheduled time still unsuccessful then process ends.
Further, the first formatted data is MODEM packet, and form is " indexed variable+destination address+source address+data ".
Further, the second formatted data is fsk data bag, and form is " type of message+data length+random number+synchronous sequence number+data ".
The embodiment of the present invention additionally provides a kind of communication channel multiplexer, and it comprises:
The incoming call receiver module of the incoming signal of the request connection that requesting party sends is received by a communication channel;
Confirm that current is the mode decision module of the first mode of operation or the second mode of operation;
Adopt the first mode of operation to dock with requesting party, dock and successfully then receive the first formatted data and the first operational module being sent to the first backstage; And
Adopt the second mode of operation to dock with requesting party, dock and successfully then receive the second formatted data and the second operational module being sent to the second backstage.
Further, described communication channel multiplexer also comprises: docking exceedes the timeout treatment module of the scheduled time still unsuccessful then process ends.
The embodiment of the present invention additionally provides a kind of communication channel multiplex system, and described system comprises:
Produce and send request the incoming signal of connection, and carrying out the requesting party of communication when successful connection;
Communication channel multiplexer as above, described communication channel multiplexer is connected to requesting party by PSTN-E1 communication channel; And
The first backstage and second backstage of communication channel multiplexer is connected to by TCP/IP.
Further, described request side is POS terminal, and described communication channel multiplexer is net control device, and the first backstage is MODEM finance backstage, and the second backstage is FSK finance backstage.
The embodiment of the present invention judges by adopting advanced row current operation mode, then carries out the technological means of corresponding docking communication according to current operation mode, and reach fallibility little, operation cost is low, the technique effect that PSTN-E1 channel utilization index is high.
Accompanying drawing explanation
Fig. 1 is the structural representation of the communication channel multiplex system of the embodiment of the present invention.
Fig. 2 is the communication channel multiplex system theory diagram of the embodiment of the present invention.
Fig. 3 is the schematic flow sheet of the communication channel multiplexing method of the embodiment of the present invention.
Fig. 4 is a kind of preferred MODEM data packet format of the embodiment of the present invention.
Fig. 5 is a kind of preferred fsk data packet format of the embodiment of the present invention.
Fig. 6 is the schematic flow sheet of the first job step of the embodiment of the present invention.
Fig. 7 is the schematic flow sheet of the second job step of the embodiment of the present invention.
Embodiment
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can be combined with each other, and are described in further detail the present invention below in conjunction with the drawings and specific embodiments.
The embodiment of the present invention uses same PSTN-E1 passage to process different MODEM and FSK voice messagings, thus different POS terminal, just can configure identical call number, reduce the possibility of makeing mistakes, in addition, POS terminal user can reduce the application quantity of PSTN-E1 passage, reduces operation cost, improves the utilance of PSTN-E1 passage.
Refer to Fig. 1 and Fig. 2, embodiments provide a kind of communication channel multiplexer 10 and system, described communication channel multiplexer 10 is preferably net control device, comprising: incoming call receiver module 11, mode decision module 12, first operational module 13 and the second operational module 14.
The incoming signal that incoming call receiver module 11 is connected for the request sent by a communication channel reception requesting party 20.Preferably, described communication channel is PSTN-E1 passage; Adopt the mode of pstn telephone incoming call to set up passage, and use same message structure to carry out transfer of data.
Mode decision module 12 is for confirming that current is the first mode of operation or the second mode of operation.
First operational module 13 adopts the first mode of operation to dock with requesting party 20, docks and successfully then receives the first formatted data and be sent to the first backstage 30.Preferably, the first mode of operation is MODEM pattern.
Second operational module 14 adopts the second mode of operation to dock with requesting party 20, docks and successfully then receives the second formatted data and be sent to the second backstage 40.Preferably, the second mode of operation is FSK pattern.
As a kind of execution mode, described communication channel multiplexer 10 also comprises: docking exceedes the timeout treatment module 15 of the scheduled time still unsuccessful then process ends.Wherein, the scheduled time can be 1 second to 20 seconds, is preferably 5 seconds.
The communication channel multiplex system of the embodiment of the present invention, comprises requesting party 20, communication channel multiplexer 10, first backstage 30 and the second backstage 40.
Requesting party 20 produces and sends request the incoming signal of connection, and carries out communication when successful connection.Preferably, requesting party 20 is POS terminal.
The structure of communication channel multiplexer 10 is described above, and is connected to requesting party 20 by PSTN-E1 communication channel.
First backstage 30 and the second backstage 40 are connected to communication channel multiplexer 10 by TCP/IP, namely carry out data communication by TCP/IP.Preferably, the first backstage 30 is MODEM finance backstage, and the second backstage 40 is FSK finance backstage.
Refer to Fig. 3, the embodiment of the present invention additionally provides a kind of communication channel multiplexing method, and described communication channel multiplexing method comprises following several step.
Incoming call receiving step S1: the incoming signal being received the request connection that requesting party 20 sends by a communication channel.
Mode decision step S2: confirm that current is the first mode of operation or the second mode of operation, if the first mode of operation then enters the first job step, if the second mode of operation then enters the second job step.
First job step S3: adopt the first mode of operation to dock with requesting party 20, docks and successfully then receives the first formatted data and be sent to the first backstage 30.Preferably, the first formatted data is MODEM packet, and form is " indexed variable+destination address+source address+data ", and Fig. 4 is just a kind of preferred MODEM data packet format.
Second job step S4: adopt the second mode of operation to dock with requesting party 20, docks and successfully then receives the second formatted data and be sent to the second backstage 40.Preferably, the second formatted data is fsk data bag, and form is " type of message+data length+random number+synchronous sequence number+data ", and Fig. 5 is just a kind of preferred fsk data packet format.
As a kind of execution mode, after described first job step S3 and the second job step S4, also comprise timeout treatment step S5: docking exceedes the scheduled time still unsuccessful then process ends, disconnects, wait for the incoming call of next pstn telephone with POS terminal.
Refer to Fig. 6, the first mode of operation is MODEM pattern, and the first job step S3 comprises following sub-step.
First sends sub-step S31: send MODEM audio signal to requesting party 20;
First docking judges sub-step S32: if receive the MODEM signal of requesting party 20 feedback, then dock successfully;
First communicator step S33: receive the first formatted data and be sent to MODEM finance backstage.
Refer to Fig. 7, the second mode of operation is FSK pattern, and the second job step S4 comprises following sub-step.
Second sends sub-step S41: send fsk data tone signal 0x81 to requesting party 20;
Second docking judges sub-step S42: if receive the fsk data tone signal 0x82 of requesting party 20 feedback, then dock successfully;
Second communication sub-step S43: receive the second formatted data and be sent to FSK finance backstage.
Art technology people be also understandable that, described first mode of operation also can be FSK pattern, and accordingly, the second mode of operation is MODEM pattern.
As a kind of execution mode, the flow process of described communication channel multiplexing method is: when receiving incoming signal, judge currently whether be in MODEM mode of operation, if then send MODEM audio signal to requesting party, if received the MODEM signal of requesting party's feedback in 5 seconds, then dock successfully, carry out MODEM modulation signal, otherwise turn to FSK mode of operation, MODEM mode of operation is not in if current, then send fsk data tone signal 0x81, if received the fsk data tone signal 0x82 of requesting party's feedback in 5 seconds, then representing docks successfully, carry out the second format data transmission, otherwise by time-out failure, terminate this flow process, wait for the incoming call of next pstn telephone.
The above is the specific 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 are also considered as protection scope of the present invention.

Claims (10)

1. a communication channel multiplexing method, is characterized in that, described communication channel multiplexing method comprises:
Incoming call receiving step: the incoming signal being received the request connection that requesting party sends by a communication channel;
Mode decision step: confirm that current is the first mode of operation or the second mode of operation, if the first mode of operation then enters the first job step, if the second mode of operation then enters the second job step;
First job step: adopt the first mode of operation to dock with requesting party, docks and successfully then receives the first formatted data and be sent to the first backstage; And
Second job step: adopt the second mode of operation to dock with requesting party, docks and successfully then receives the second formatted data and be sent to the second backstage.
2. communication channel multiplexing method as claimed in claim 1, it is characterized in that, the first mode of operation is MODEM pattern, and the first job step comprises:
First sends sub-step: send MODEM audio signal to requesting party;
First docking judges sub-step: if receive the MODEM signal of requesting party's feedback, then dock successfully; And
First communicator step: receive the first formatted data and be sent to MODEM finance backstage.
3. communication channel multiplexing method as claimed in claim 1, it is characterized in that, the second mode of operation is FSK pattern, and the second job step comprises:
Second sends sub-step: send fsk data tone signal 0x81 to requesting party;
Second docking judges sub-step: if receive the fsk data tone signal 0x82 of requesting party's feedback, then dock successfully; And
Second communication sub-step: receive the second formatted data and be sent to FSK finance backstage.
4. communication channel multiplexing method as claimed in claim 1, is characterized in that, also comprise timeout treatment step after described first job step and the second job step: docking exceedes the scheduled time still unsuccessful then process ends.
5. communication channel multiplexing method as claimed in claim 1 or 2, it is characterized in that, the first formatted data is MODEM packet, and form is " indexed variable+destination address+source address+data ".
6. the communication channel multiplexing method as described in claim 1 or 3, is characterized in that, the second formatted data is fsk data bag, and form is " type of message+data length+random number+synchronous sequence number+data ".
7. a communication channel multiplexer, is characterized in that, described communication channel multiplexer comprises:
The incoming call receiver module of the incoming signal of the request connection that requesting party sends is received by a communication channel;
Confirm that current is the mode decision module of the first mode of operation or the second mode of operation;
Adopt the first mode of operation to dock with requesting party, dock and successfully then receive the first formatted data and the first operational module being sent to the first backstage; And
Adopt the second mode of operation to dock with requesting party, dock and successfully then receive the second formatted data and the second operational module being sent to the second backstage.
8. communication channel multiplexer as claimed in claim 7, it is characterized in that, described communication channel multiplexer also comprises: docking exceedes the timeout treatment module of the scheduled time still unsuccessful then process ends.
9. a communication channel multiplex system, is characterized in that, described system comprises:
Produce and send request the incoming signal of connection, and carrying out the requesting party of communication when successful connection;
Communication channel multiplexer as claimed in claim 7 or 8, described communication channel multiplexer is connected to requesting party by PSTN-E1 communication channel; And
The first backstage and second backstage of communication channel multiplexer is connected to by TCP/IP.
10. communication channel multiplex system as claimed in claim 9, it is characterized in that, described request side is POS terminal, and described communication channel multiplexer is net control device, and the first backstage is MODEM finance backstage, and the second backstage is FSK finance backstage.
CN201510142457.0A 2015-03-27 2015-03-27 Communication channel multiplexer, system and method Active CN104836929B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510142457.0A CN104836929B (en) 2015-03-27 2015-03-27 Communication channel multiplexer, system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510142457.0A CN104836929B (en) 2015-03-27 2015-03-27 Communication channel multiplexer, system and method

Publications (2)

Publication Number Publication Date
CN104836929A true CN104836929A (en) 2015-08-12
CN104836929B CN104836929B (en) 2018-06-19

Family

ID=53814551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510142457.0A Active CN104836929B (en) 2015-03-27 2015-03-27 Communication channel multiplexer, system and method

Country Status (1)

Country Link
CN (1) CN104836929B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5343477A (en) * 1990-09-17 1994-08-30 Omron Corporation Data processing system with data transmission failure recovery measures
CN101895650A (en) * 2010-07-21 2010-11-24 广州中道电子科技有限公司 Integrated access server system and implementation method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5343477A (en) * 1990-09-17 1994-08-30 Omron Corporation Data processing system with data transmission failure recovery measures
CN101895650A (en) * 2010-07-21 2010-11-24 广州中道电子科技有限公司 Integrated access server system and implementation method thereof

Also Published As

Publication number Publication date
CN104836929B (en) 2018-06-19

Similar Documents

Publication Publication Date Title
CN102223257B (en) Heartbeat interval adjusting method, server, client terminal and communication system
JP3747702B2 (en) DSL power supply method, DSL power supply system, subscriber-side network terminator, and station-side line terminator
CN101989902B (en) Data retransmission method and device
CN104158752A (en) Method and device of processing business flow
CN101162923A (en) Transmission method and reception apparatus of ultra-long bluetooth short message
CN101867978B (en) Semi-static scheduling cycle management method, user equipment, base station and communication system
US9083847B2 (en) Video communication method and terminal
CN101453790B (en) Communication method and device for user terminal
CN101635660B (en) Chain circuit switching method, customer premises equipment and chain circuit switching system
CN100407669C (en) Network monitoring processing method and system
CN110493022B (en) Method, device and system for establishing three-party session
JP2001036499A (en) Communication band setting method and communication system
CN101702749B (en) Dual tone multiple frequency event frame processing method, system and media gateway
CN104836929A (en) Communication channel multiplexing device, communication channel multiplexing system and communication channel multiplexing method
CN109495158A (en) A kind of system and method improving satellite communication rate
CN104994054A (en) Method of transmitting grouped data based on TD-SCDMA transparent transmission voice channel, and mobile terminal
CN102413308A (en) Video conference terminal point-to-point call method and video conference terminal
CN104683607A (en) Method and device for enhancing softphone call completing rate
CN100499718C (en) Method for transmitting IP address by public switched telephone network
CN201467148U (en) Mixed scheduling device and mixed scheduling system
CN101146065B (en) A method for realizing dual-path dialing of remote gateway device
CN104994546A (en) Method of transmitting grouped data based on CDMA transparent transmission voice channel, and mobile terminal
CN106304405A (en) The Dialing Method of voice call and device
CN110582102A (en) Method and system for automatically recovering call after network switching
JP2008211628A (en) Wireless communication method, system and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518000 Guangdong city of Shenzhen province Futian District Che Kung Temple Tairan Industrial Park Cangsong Tairan six road building room 2101

Applicant after: Shenzhen Dongjin technology Limited by Share Ltd

Applicant after: Shenzhen Dongjin Software Development Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province Futian District Che Kung Temple Tairan Industrial Park Cangsong Tairan six road building room 2101

Applicant before: Dongjin Communication Technology Co., Ltd., Shenzhen City

Applicant before: Shenzhen Dongjin Software Development Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant