CN104754673A - Method and device for dual-mode communication of GSM (global system for mobile communication) and PSTN (public switched telephone network) - Google Patents

Method and device for dual-mode communication of GSM (global system for mobile communication) and PSTN (public switched telephone network) Download PDF

Info

Publication number
CN104754673A
CN104754673A CN201510130903.6A CN201510130903A CN104754673A CN 104754673 A CN104754673 A CN 104754673A CN 201510130903 A CN201510130903 A CN 201510130903A CN 104754673 A CN104754673 A CN 104754673A
Authority
CN
China
Prior art keywords
gsm
pstn
module
control
information
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.)
Withdrawn
Application number
CN201510130903.6A
Other languages
Chinese (zh)
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.)
HUIZHOU NEW THINKING ELECTRONIC TECHNOLOGY Co Ltd
Original Assignee
HUIZHOU NEW THINKING ELECTRONIC TECHNOLOGY 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 HUIZHOU NEW THINKING ELECTRONIC TECHNOLOGY Co Ltd filed Critical HUIZHOU NEW THINKING ELECTRONIC TECHNOLOGY Co Ltd
Priority to CN201510130903.6A priority Critical patent/CN104754673A/en
Publication of CN104754673A publication Critical patent/CN104754673A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention is applicable to the technical field of communication, and provides a method for dual-mode communication of GSM (global system for mobile communication) and PSTN (public switched telephone network) and device for the dual-mode communication of GSM and PSTN. The method comprises the following steps: obtaining a current working mode; judging the current working mode; if it is a GSM mode, controlling a GSM module and sending a prompt message to an output module; if it is PSTN mode, controlling a PSTN module to send an off-hook instruction to the GSM module, and controlling the GSM module to send the prompt message to the output module; obtaining a user instruction, and connecting with the communication network under the current working mode according to the user instruction. The dual-mode communication of GSM and PSTN is realized; the GSM and the PSTN can be flexibly switched, the PSTN network utilization rate is improved, and cost is reduced.

Description

A kind of method of GSM and PSTN dual mode communication and device
Technical field
The invention belongs to the communications field, particularly relate to a kind of method and device of GSM and PSTN dual mode communication.
Background technology
Existing fixed network is substantially all with PSTN (Public Switched Telephone Network, PSTN) individual networks uses, mobile get up inconvenience, and to go wrong as circuit, cannot communicate, circuit lacks redundancy, and remote districts not easily cover.Along with mobile network is as gsm service (Global Systemfor Mobile Communication, global system for mobile communications) development, mobile communication equipment make the work of people and life more convenient, PSTN business is also excessive to mobile service gradually, and this will make original PSTN network usage decline, make the construction cost of the PSTN network in early stage cause waste, the decline of utilization rate also will make PSTN network operation cost increase on the other hand.
Summary of the invention
The invention provides a kind of method and device of GSM and PSTN dual mode communication, it achieves the dual mode communication of GSM and PSTN, GSM and PSTN can switch flexibly, improves PSTN network utilization, reduces cost.
On the one hand, provide a kind of method of GSM and PSTN dual mode communication, described method comprises:
Obtain current operation mode;
Judge current operation mode, if GSM mode, then control gsm module and information is sent to output module, if PSTN pattern, then control PSTN module sends off-hook instruction to gsm module, controls gsm module and information is sent to output module;
Obtain user instruction, be connected with communication network under current operation mode according to user instruction.
On the other hand, provide a kind of device of GSM and PSTN dual mode communication, described device comprises:
Obtain mode of operation unit, for obtaining current operation mode;
Judge mode of operation unit, for judging current operation mode, if GSM mode, then control gsm module and information is sent to output module, if PSTN pattern, then control PSTN module sends off-hook instruction to gsm module, controls gsm module and information is sent to output module;
Working cell, for obtaining user instruction, is connected with communication network under current operation mode according to user instruction.
Implement the present invention and there is following beneficial effect: the dual mode communication achieving GSM and PSTN, GSM and PSTN can switch flexibly, improves PSTN network utilization, reduces cost.
Accompanying drawing explanation
Fig. 1 is the realization flow figure of the method for a kind of GSM and PSTN dual mode communication provided by the invention;
Fig. 2 is the concrete structure block diagram of the device of a kind of GSM and PSTN dual mode communication provided by the invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Fig. 1 shows the realization flow of the method for a kind of GSM and PSTN dual mode communication that the embodiment of the present invention provides, and details are as follows:
Step S1, obtains current operation mode;
User is before carrying out off-hook or dialing, first system needs to obtain current mode of operation, mode of operation can be regarded as the network state of current connection, as being GSM mode, then now GSM network is in connection status, and gsm module obtains control, as being PSTN pattern, then now GSM network is in connection status, and gsm module obtains control.
Step S2, judges current operation mode, if GSM mode, then control gsm module and information is sent to output module, if PSTN pattern, then control PSTN module sends off-hook instruction to gsm module, controls gsm module and information is sent to output module;
It is worth mentioning that, in the present embodiment, described information comprises off-hook information or off-hook prompt tone; Described output module comprises LCD display and dio Output Modules.
Specifically, current mode of operation is GSM mode, then PSTN module does not respond, gsm module obtains control, information is sent to dio Output Modules by gsm module, exports prompt tone by dio Output Modules, specifically can be understood as the prompt tone that audio earphone sends off-hook, simultaneously information is sent to LCD display by gsm module, shows off-hook information now by LCD display.
Step S3, obtains user instruction, is connected according to user instruction under current operation mode with communication network.
Subscriber dialing, system is connected with GSM network or PSTN network in corresponding GSM mode or PSTN pattern according to user's dialing numbers, communicates.
Also step S0 is comprised before step 1:
Obtain user's switching command, if user's switching command is GSM mode, then control gsm module acquire the right of control and control gsm module the information of gsm module acquire the right of control is sent to control system, if user's switching command is PSTN pattern, then the acquire the right of control of control PSTN module controls gsm module and the information of PSTN module acquire the right of control is sent to control system.
Before user's off-hook or dialing, pattern switching can be carried out, user can select to switch to GSM mode or PSTN pattern, as switched to GSM mode, the then wicked control of corresponding control gsm module, gsm module is by the information feed back of acquire the right of control to control system, and as switched to PSTN pattern, then the information of PSTN module acquire the right of control is sent to control system by gsm module.
Also step S4 is comprised after step S3:
Obtain key information, judge current operation mode, if GSM mode, then control gsm module, according to key information, dual-tone multifrequency information is sent to communication network, if PSTN pattern, then control gsm module and send instruction to PSTN module, dual-tone multifrequency information is sent to communication network according to key information by control PSTN module.
Specifically, if user carries out button operation to phone in communication process, key information is then sent in corresponding network by system.
Also step S40 is comprised before step S4:
Monitor incoming information;
Judge incoming information, if incoming information is GSM mode, then control gsm module acquire the right of control, gsm module sends incoming information to PSTN module, gsm module sends incoming information to output module, if incoming information is PSTN pattern, then and control PSTN module acquire the right of control, PSTN module sends incoming information to gsm module, and gsm module sends incoming information to output module.
Specifically, when phone is in holding state, phone is monitored incoming call, as being GSM network incoming call, then gsm module acquire the right of control, gsm module sends incoming information to PSTN module, now PSTN module is in wait state, avoid conflict, simultaneously, gsm module sends incoming information to LCD display, incoming information shows by LCD display, as being PSTN network phone calls, then PSTN module acquire the right of control, PSTN module sends incoming information to gsm module, now gsm module is in wait state, avoid conflict, simultaneously, gsm module sends incoming information to LCD display, incoming information shows by LCD display
As shown in Figure 2, the present invention also provides a kind of device of GSM and PSTN dual mode communication, and described device comprises:
Obtain mode of operation unit 21, with judge mode of operation unit 22, working cell 23 is connected, for obtaining current operation mode;
Judge mode of operation unit 22, be connected with acquisition mode of operation unit 21, working cell 23, for judging current operation mode, if GSM mode, then control gsm module and information is sent to output module, if PSTN pattern, then control PSTN module sends off-hook instruction to gsm module, controls gsm module and information is sent to output module;
Working cell 23, with acquisition mode of operation unit 21, judging that mode of operation unit 22 is connected, for obtaining user instruction, being connected according to user instruction under current operation mode with communication network.
Further, described device also comprises:
Working mode changeover unit 20, with acquisition mode of operation unit 21, judge that mode of operation unit 22 is connected, for obtaining user's switching command, if user's switching command is GSM mode, then control gsm module acquire the right of control and control gsm module the information of gsm module acquire the right of control is sent to control system, if user's switching command is PSTN pattern, then the acquire the right of control of control PSTN module controls gsm module and the information of PSTN module acquire the right of control is sent to control system.
Further, described device also comprises:
Key information acquiring unit 24, be connected with working cell 23, for obtaining key information, judge current operation mode, if GSM mode, then control gsm module and according to key information, dual-tone multifrequency information is sent to communication network, if PSTN pattern, then control gsm module and send instruction to PSTN module, dual-tone multifrequency information is sent to communication network according to key information by control PSTN module.
Further, described device also comprises:
Incoming call access unit S25, and judges that mode of operation unit 22 is connected, for monitoring incoming information; Judge incoming information, if incoming information is GSM mode, then control gsm module acquire the right of control, gsm module sends incoming information to PSTN module, gsm module sends incoming information to output module, if incoming information is PSTN pattern, then and control PSTN module acquire the right of control, PSTN module sends incoming information to gsm module, and gsm module sends incoming information to output module.
Further, described information comprises off-hook information or off-hook prompt tone; Described output module comprises LCD display and dio Output Modules.
In actual applications, gsm module can be understood as GSM process chip, GSM process chip adopts MTK 6250M in the present embodiment, PSTN module can be understood as PSTN process chip, adopt EM78P806 in the present embodiment, the URAT interface of MTK 6250M and the PSTN_RXD of EM78P806, PSTN_TXD interface connects, MTK 6250M is communicated with EM78P806 by Handshake Protocol, MTK 6250M with EM78P806 is connected with the CPU of system respectively, realize MTK 6250M and EM78P806 and information is sent to system, MTK 6250M is connected with LCD display, the information of required display is all sent to LCD display by MTK 6250M and shows, EM78P806 is connected with button, for receiving keying input information, MTK 6250M and EM78P806 is also connected to miaow head and loudspeaker, for the output of audio frequency.
It should be noted that in said system embodiment, included unit is carry out dividing according to function logic, but is not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit, also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
In addition, one of ordinary skill in the art will appreciate that all or part of step realized in the various embodiments described above method is that the hardware that can carry out instruction relevant by program has come, corresponding program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a method for GSM and PSTN dual mode communication, is characterized in that, described method comprises:
Obtain current operation mode;
Judge current operation mode, if GSM mode, then control gsm module and information is sent to output module, if PSTN pattern, then control PSTN module sends off-hook instruction to gsm module, controls gsm module and information is sent to output module;
Obtain user instruction, be connected with communication network under current operation mode according to user instruction.
2. the method for GSM and PSTN dual mode communication as claimed in claim 1, is characterized in that, also comprised before the step of described acquisition current operation mode:
Obtain user's switching command, if user's switching command is GSM mode, then control gsm module acquire the right of control and control gsm module the information of gsm module acquire the right of control is sent to control system, if user's switching command is PSTN pattern, then the acquire the right of control of control PSTN module controls gsm module and the information of PSTN module acquire the right of control is sent to control system.
3. the method for GSM and PSTN dual mode communication as claimed in claim 1, is characterized in that, at described acquisition user instruction, also comprise after being connected according to user instruction under current operation mode with communication network:
Obtain key information, judge current operation mode, if GSM mode, then control gsm module, according to key information, dual-tone multifrequency information is sent to communication network, if PSTN pattern, then control gsm module and send instruction to PSTN module, dual-tone multifrequency information is sent to communication network according to key information by control PSTN module.
4. the method for GSM and PSTN dual mode communication as claimed in claim 1, is characterized in that, also comprise before described acquisition key information:
Monitor incoming information;
Judge incoming information, if incoming information is GSM mode, then control gsm module acquire the right of control, gsm module sends incoming information to PSTN module, gsm module sends incoming information to output module, if incoming information is PSTN pattern, then and control PSTN module acquire the right of control, PSTN module sends incoming information to gsm module, and gsm module sends incoming information to output module.
5. the method for GSM and the PSTN dual mode communication as described in any one of claim 1-4, is characterized in that, described information comprises off-hook information or off-hook prompt tone;
Described output module comprises LCD display and dio Output Modules.
6. a device for GSM and the PSTN dual mode communication as described in any one of claim 1 to 5, is characterized in that, described device comprises:
Obtain mode of operation unit, for obtaining current operation mode;
Judge mode of operation unit, for judging current operation mode, if GSM mode, then control gsm module and information is sent to output module, if PSTN pattern, then control PSTN module sends off-hook instruction to gsm module, controls gsm module and information is sent to output module;
Working cell, for obtaining user instruction, is connected with communication network under current operation mode according to user instruction.
7. the device of GSM and PSTN dual mode communication as claimed in claim 6, is characterized in that, also comprise:
Working mode changeover unit, for obtaining user's switching command, if user's switching command is GSM mode, then control gsm module acquire the right of control and control gsm module the information of gsm module acquire the right of control is sent to control system, if user's switching command is PSTN pattern, then the acquire the right of control of control PSTN module controls gsm module and the information of PSTN module acquire the right of control is sent to control system.
8. the device of GSM and PSTN dual mode communication as claimed in claim 6, is characterized in that, also comprise:
Key information acquiring unit, for obtaining key information, judge current operation mode, if GSM mode, then control gsm module, according to key information, dual-tone multifrequency information is sent to communication network, if PSTN pattern, then control gsm module and send instruction to PSTN module, dual-tone multifrequency information is sent to communication network according to key information by control PSTN module.
9. the device of GSM and PSTN dual mode communication as claimed in claim 6, is characterized in that, also comprise:
Incoming call access unit, for monitoring incoming information; Judge incoming information, if incoming information is GSM mode, then control gsm module acquire the right of control, gsm module sends incoming information to PSTN module, gsm module sends incoming information to output module, if incoming information is PSTN pattern, then and control PSTN module acquire the right of control, PSTN module sends incoming information to gsm module, and gsm module sends incoming information to output module.
10. the device of GSM and the PSTN dual mode communication as described in any one of claim 6-9, is characterized in that, described information comprises off-hook information or off-hook prompt tone; Described output module comprises LCD display and dio Output Modules.
CN201510130903.6A 2015-03-24 2015-03-24 Method and device for dual-mode communication of GSM (global system for mobile communication) and PSTN (public switched telephone network) Withdrawn CN104754673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510130903.6A CN104754673A (en) 2015-03-24 2015-03-24 Method and device for dual-mode communication of GSM (global system for mobile communication) and PSTN (public switched telephone network)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510130903.6A CN104754673A (en) 2015-03-24 2015-03-24 Method and device for dual-mode communication of GSM (global system for mobile communication) and PSTN (public switched telephone network)

Publications (1)

Publication Number Publication Date
CN104754673A true CN104754673A (en) 2015-07-01

Family

ID=53593621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510130903.6A Withdrawn CN104754673A (en) 2015-03-24 2015-03-24 Method and device for dual-mode communication of GSM (global system for mobile communication) and PSTN (public switched telephone network)

Country Status (1)

Country Link
CN (1) CN104754673A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201467239U (en) * 2009-07-31 2010-05-12 德赛电子(惠州)有限公司 Two-lane access telephone
CN201699771U (en) * 2010-07-15 2011-01-05 德赛电子(惠州)有限公司 Wireless office fixed phone
CN103888620A (en) * 2012-12-19 2014-06-25 上海晨兴希姆通电子科技有限公司 Communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201467239U (en) * 2009-07-31 2010-05-12 德赛电子(惠州)有限公司 Two-lane access telephone
CN201699771U (en) * 2010-07-15 2011-01-05 德赛电子(惠州)有限公司 Wireless office fixed phone
CN103888620A (en) * 2012-12-19 2014-06-25 上海晨兴希姆通电子科技有限公司 Communication system

Similar Documents

Publication Publication Date Title
CN101668350B (en) Mobile-terminal state-switching method and mobile terminal
US6763231B2 (en) Radio communication device, parent communication device, parent-child communication device and radio communication system
EP3537734B1 (en) Method and device for connecting a bluetooth device
TWI419540B (en) Method and system for handling hands-free device
CN105681568A (en) Mobile terminal and communication method thereof
CN102647527B (en) A kind of intelligent communications terminal and service operation method, device
CN111818503A (en) Voice communication method, system, chip, electronic equipment and storage medium
KR20090081310A (en) Apparatus and method for providing host function in a multi-standby portable terminal
CN201608742U (en) Intelligent fixed phone
CN102752030A (en) Method and system for connecting incoming call to Bluetooth headset
CN101478717A (en) Call recording method, system and mobile communication terminal
CN101854705B (en) Audio switching method, audio switching device, audio codec and terminal device
CN102035907A (en) Intelligent fixed-line telephone
CN101257679A (en) Split type mobile terminal calling record synchronies method and system thereof
CN102387258A (en) Double-mode and dual-standby mobile terminal comprising LTE (Long Term Evolution) network mode
CN101159452B (en) Calling and called process method, process module and terminal system of multi-card terminal
CN101945404A (en) Terminal monitoring method and terminal
CN104717375A (en) Method and device for saving electricity for terminal
CN101340727A (en) Mobile terminal, multipath call control method and system
CN101616205A (en) The system and method for answering mobile phone calls by voice
CN101247597A (en) Single-chip dual-SIM dual-standby communication terminal short message management method
CN200941675Y (en) Radio switch-in station
JP3629537B2 (en) Wireless communication method, wireless communication system, wide area wireless communication base station, and wireless communication terminal
CN202190310U (en) Wireless cordless-host telephone
CN104378505A (en) Conference mode setting method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 516001 Investment Mansion, No. 10, Yunshan West Road, Jiangbei, Guangdong Province, 7

Applicant after: Huizhou several meters union Technology Co., Ltd.

Address before: 516003 Investment Mansion, No. 10, Yunshan West Road, Huicheng District, Huicheng District, Huizhou City, Guangdong

Applicant before: HUIZHOU NEW THINKING ELECTRONIC TECHNOLOGY CO., LTD.

WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20150701