CN102497474B - Terminal and communication channel switching method - Google Patents

Terminal and communication channel switching method Download PDF

Info

Publication number
CN102497474B
CN102497474B CN201110400375.3A CN201110400375A CN102497474B CN 102497474 B CN102497474 B CN 102497474B CN 201110400375 A CN201110400375 A CN 201110400375A CN 102497474 B CN102497474 B CN 102497474B
Authority
CN
China
Prior art keywords
terminal
identification code
external equipment
communication port
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110400375.3A
Other languages
Chinese (zh)
Other versions
CN102497474A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201110400375.3A priority Critical patent/CN102497474B/en
Publication of CN102497474A publication Critical patent/CN102497474A/en
Application granted granted Critical
Publication of CN102497474B publication Critical patent/CN102497474B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a terminal and a communication channel switching method. The terminal comprises a switching module, wherein the switching module is used for receiving an identification code from external equipment of the terminal, selecting a communication channel between the terminal and the external equipment according to the received identification code, and switching to the selected communication channel. In the technical scheme, the corresponding communication channels can be automatically switched according to different identification codes, for example, when an earphone with different identification codes accesses the terminal, different network modules are switched by using the switching module.

Description

Terminal and communication channel switching method
Technical field
The present invention relates to moving communicating field, in particular to a kind of terminal and a kind of communication channel switching method.
Background technology
The mobile phone that we use now all has tail conventionally to be inserted, and it communicates mobile phone and external equipment for connecting external equipment.Tail is inserted and is connected with a diverter switch, by its handover operation, realizes the transfer of data between external equipment and AP and disparate modules, and its principle as shown in Figure 1.
When tail, insert 104 need to be with inner AP108 or module communication time, by artificial operation control, send instruction to AP108, then AP108 sends control signal, controls diverter switch 102 and carry out the switching of data channel, is connected to AP108 or other modules.The AP here refers to the application processor in mobile phone.
Instruction is sent in the artificial operation control here, specifically comprises: 1, when the system of AP does not start, by the Macintosh of outer handset, (as key+POWER key in volume, controlled diverter switch 102 and switch to C net module end; Key+POWER key under volume, controls diverter switch 102 and switches to G net module end) control the switching of diverter switch.2,, after the system of AP has started, by entering, touch screen is carried out to related option operations after operating system and control diverter switch 102, to switch different communication ports.
The defect of such scheme is: 1, no matter be after AP system does not start or starts, if will control the switching of diverter switch 102, all need active people for controlling, intelligent not, it is loaded down with trivial details that sometimes operation can show slightly.2, when AP does not start, adopt the mode diverter switch 102 of Macintosh can be subject to the restricted number of external key, there is certain drawback, such as there be N communication module in multi mode terminal, if want, between N passage, switch, various Macintoshs I'm afraid not enough, thereby cannot realize the switching of multiple module channels.
Therefore, need a kind of new method for switches communication channels, can solve following technical problem one of at least:
1, allow diverter switch realize intelligent switching, allow diverter switch insert the check code in transmission data by identifying tail, identify the communication port of required switching, automatically switch in the past, and without artificial active operation.
2, reduce taking of control line and AP resource, if can have more several control lines because diverter switch is carried out to control with AP in multi mode terminal, but also take the resource of AP.
3, save operating procedure and switching time, special in the debug phase of mobile phone, in the situation that AP system is not opened, need to download each module software or carry out the comprehensive survey of calibration of each module, need to avoid loaded down with trivial details switch step and the time as far as possible.
Summary of the invention
Technical problem to be solved by this invention is, a kind of new method for switches communication channels is provided, and can solve following technical problem one of at least:
1, allow diverter switch realize intelligent switching, allow diverter switch insert the check code in transmission data by identifying tail, identify the communication port of required switching, switch in the past automatically, and without artificial active operation.
2, reduce taking of control line and AP resource, if can have more several control lines because diverter switch is carried out to control with AP in multi mode terminal, but also take the resource of AP.
3, save operating procedure and switching time, special in the debug phase of mobile phone, in the situation that AP system is not opened, need to download each module software or carry out the comprehensive survey of calibration of each module, need to avoid loaded down with trivial details switch step and the time as far as possible.
In view of this, the invention provides a kind of terminal, comprising: handover module, receive the identification code of the external equipment of self terminal, and according to the identification code receiving, select the communication port between described terminal and described external equipment, and switch to selected communication port.In this technical scheme, according to different identification codes, can automatically switch to corresponding communication port, for example, when the earphone with different identification codes accesses terminal, make earphone be connected to different communication modules.
In technique scheme, preferably, comprising: module is set, for described terminal arranges identification code; Sending module, when described terminal is connected to other-end, is sent to described other-end by the identification code of described terminal.In this technical scheme, because terminal likely interconnects with Terminal Type with other, terminal self can arrange identification code, and after being connected with other-end, other-end can automatically switch to passage corresponding to identification code.
In technique scheme, preferably, also comprise: logging modle, records the corresponding relation between different identification codes and different communication passage; Described handover module, according to the identification code receiving, is selected the communication port between described terminal and described external equipment by described corresponding relation.In this technical scheme, because corresponding relation can carry out repeatedly record as required, specifically corresponding which passage of which identification code, can arrange flexibly.
In technique scheme, preferably, described handover module, when described terminal is connected with described external equipment by wired or wireless mode, receives the identification code from described external equipment.In this technical scheme, generally, be all that terminal is carried out wired being connected by jack with external equipment, and terminal and external equipment are while carrying out wireless connections, need antenna to connect handover module, send identification code after handover module, handover module is according to identification code switching channel.
In technique scheme, preferably, also comprise: notification module, generates and switched to the notice of described selected communication port, and be sent to described external equipment.In this technical scheme, after having automatically switched, need to notify external equipment, assurance external equipment is had gained some understanding to switching result.
The present invention also provides a kind of communication channel switching method, comprising: step 302, and reception carrys out the identification code of the external equipment of self terminal; Step 304, according to the identification code receiving, selects the communication port between described terminal and described external equipment, and switches to selected communication port.In this technical scheme, according to different identification codes, can automatically switch to corresponding communication port, for example, when the earphone with different identification codes accesses terminal, make earphone be connected to different communication modules.
In technique scheme, preferably, comprising: step 306, for described terminal arranges identification code; Step 308, when described terminal is connected to other-end, is sent to described other-end by the identification code of described terminal.In this technical scheme, because terminal likely interconnects with Terminal Type with other, terminal self can arrange identification code, and after being connected with other-end, other-end can automatically switch to passage corresponding to identification code.
In technique scheme, preferably, before described step 304, also comprise: record the corresponding relation between different identification codes and different communication passage; Described step 304 comprises: according to the identification code receiving, by described corresponding relation, select the communication port between described terminal and described external equipment.In this technical scheme, because corresponding relation can carry out repeatedly record as required, specifically corresponding which passage of which identification code, can arrange flexibly.
In technique scheme, preferably, described step 302 comprises: when described terminal is connected with described external equipment by wired or wireless mode, receive the identification code from described external equipment.In this technical scheme, generally, be all that terminal is carried out wired being connected by jack with external equipment, and terminal and external equipment are while carrying out wireless connections, need antenna to connect handover module, send identification code after handover module, handover module is according to identification code switching channel.
In technique scheme, preferably, described step 304 also comprises: generate and switched to the notice of described selected communication port, and be sent to described external equipment.In this technical scheme, after having automatically switched, need to notify external equipment, assurance external equipment is had gained some understanding to switching result.
By above technical scheme, can realize a kind of terminal and a kind of communication channel switching method, can realize automatic switchover, and without artificial active operation, need between AP and diverter switch, not be connected control line simultaneously, in order to avoid take the resource of AP, and finally avoid time of loaded down with trivial details switch step.
Accompanying drawing explanation
Fig. 1 is the principle schematic of existing communication channel switching method;
Fig. 2 is the block diagram of terminal according to an embodiment of the invention;
Fig. 3 is the flow chart of communication channel switching method according to an embodiment of the invention;
Fig. 4 is the principle schematic of communication channel switching method according to an embodiment of the invention;
Fig. 5 is the workflow diagram of terminal according to an embodiment of the invention.
Embodiment
In order more clearly to understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.
Set forth in the following description a lot of details so that fully understand the present invention, still, the present invention can also adopt other to be different from other modes described here and implement, and therefore, the present invention is not limited to the restriction of following public specific embodiment.
Fig. 2 is the block diagram of terminal according to an embodiment of the invention.
As shown in Figure 2, the invention provides a kind of terminal 200, comprising: handover module 202, receive the identification code of the external equipment of self terminal 200, and according to the identification code receiving, select the communication port between described terminal 200 and described external equipment, and switch to selected communication port.In this technical scheme, according to different identification codes, can automatically switch to corresponding communication port, for example, when the earphone with different identification codes accesses terminal, make earphone be connected to different communication modules.
In technique scheme, comprising: module 204 is set, for described terminal 200 arranges identification code; Sending module 206, when described terminal 200 is connected to other-end, is sent to described other-end by the identification code of described terminal 200.In this technical scheme, because terminal likely interconnects with Terminal Type with other, terminal self can arrange identification code, and after being connected with other-end, other-end can automatically switch to passage corresponding to identification code.
In technique scheme, also comprise: logging modle 206, records the corresponding relation between different identification codes and different communication passage; Described handover module 202, according to the identification code receiving, is selected the communication port between described terminal 200 and described external equipment by described corresponding relation.In this technical scheme, because corresponding relation can carry out repeatedly record as required, specifically corresponding which passage of which identification code, can arrange flexibly.
In technique scheme, described handover module 202, when described terminal 200 is connected with described external equipment by wired or wireless mode, receives the identification code from described external equipment.In this technical scheme, generally, be all that terminal is carried out wired being connected by jack with external equipment, and terminal and external equipment are while carrying out wireless connections, need antenna to connect handover module, send identification code after handover module, handover module is according to identification code switching channel.
In technique scheme, also comprise: notification module 208, generates and switched to the notice of described selected communication port, and be sent to described external equipment.In this technical scheme, after having automatically switched, need to notify external equipment, assurance external equipment is had gained some understanding to switching result.
Fig. 3 is the flow chart of communication channel switching method according to an embodiment of the invention.
As shown in Figure 3, the present invention also provides a kind of communication channel switching method, comprising: step 302, and reception carrys out the identification code of the external equipment of self terminal; Step 304, according to the identification code receiving, selects the communication port between described terminal and described external equipment, and switches to selected communication port.In this technical scheme, according to different identification codes, can automatically switch to corresponding communication port, for example, when the earphone with different identification codes accesses terminal, make earphone be connected to different communication modules.
In technique scheme, comprising: step 306, for described terminal arranges identification code; Step 308, when described terminal is connected to other-end, is sent to described other-end by the identification code of described terminal.In this technical scheme, because terminal likely interconnects with Terminal Type with other, terminal self can arrange identification code, and after being connected with other-end, other-end can automatically switch to passage corresponding to identification code.
In technique scheme, before described step 304, also comprise: record the corresponding relation between different identification codes and different communication passage; Described step 304 comprises: according to the identification code receiving, by described corresponding relation, select the communication port between described terminal and described external equipment.In this technical scheme, because corresponding relation can carry out repeatedly record as required, specifically corresponding which passage of which identification code, can arrange flexibly.
In technique scheme, described step 302 comprises: when described terminal is connected with described external equipment by wired or wireless mode, receive the identification code from described external equipment.In this technical scheme, generally, be all that terminal is carried out wired being connected by jack with external equipment, and terminal and external equipment are while carrying out wireless connections, need antenna to connect handover module, send identification code after handover module, handover module is according to identification code switching channel.
In technique scheme, described step 304 also comprises: generate and switched to the notice of described selected communication port, and be sent to described external equipment.In this technical scheme, after having automatically switched, need to notify external equipment, assurance external equipment is had gained some understanding to switching result.
Fig. 4 is the principle schematic of communication channel switching method according to an embodiment of the invention.
As shown in Figure 4, in one embodiment of the invention, by tail insert 404 be connected with external equipment 406 after, before data communication, external equipment 406 first sends one section of identification code, every kind of corresponding different passages of different identification codes, and diverter switch 402 is by the corresponding identification code of identification, carry out automatically the switching of passage, thus the intelligentized data communication that completes external equipment 406 and mobile phone A P408 and each module.
Compare the corresponding scheme of Fig. 1, in the present embodiment, removed the control port of AP connection diverter switch, make circuit simpler.In data transmission, in the technical scheme of the present embodiment, peripheral hardware 406 can be before carrying out data communication, first send one section of identification code, the passage that different check code is corresponding different, when diverter switch has been identified after corresponding identification code, switching over to corresponding passage, then internal unit (AP or the module) passage that can notify peripheral hardware and be attached thereto is opened, and then peripheral hardware and internal unit just start data communication.
Fig. 5 is the workflow diagram of terminal according to an embodiment of the invention.
As shown in Figure 5, step 502, inserts external equipment on the tail of mobile phone terminal and inserts;
Step 504, external equipment sends to mobile phone terminal by the identification code of self;
Step 506, diverter switch identifies this identification code;
Step 508, diverter switch is opened communication port corresponding to this identification code automatically;
Step 510, diverter switch also sends information notification peripheral hardware, handover success of the communication port of mobile phone terminal inside.
Step 512, external equipment and mobile phone terminal internal unit start data communication.
In sum, by above technical scheme, a kind of terminal and a kind of communication channel switching method have been realized, realized the intellectuality that tail is inserted switching channel, without manual operation, automatically carry out passage switching, saved a lot of loaded down with trivial details operating procedures, simplified circuit structure simultaneously.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (6)

1. a terminal, is characterized in that, comprising:
Handover module, receives the identification code of the external equipment of self terminal, and according to the identification code receiving, selects the communication port between described terminal and described external equipment, and switch to selected communication port;
Logging modle, records the corresponding relation between different identification codes and different communication passage;
Described handover module, according to the identification code receiving, is selected the communication port between described terminal and described external equipment by described corresponding relation;
Module is set, for described terminal arranges identification code;
Sending module, when described terminal is connected to other-end, is sent to described other-end by the identification code of described terminal.
2. terminal according to claim 1, is characterized in that, described handover module, when described terminal is connected with described external equipment by wired or wireless mode, receives the identification code from described external equipment.
3. terminal according to claim 1 and 2, is characterized in that, also comprises:
Notification module, generates and has switched to the notice of described selected communication port, and be sent to described external equipment.
4. a communication channel switching method, is characterized in that, comprising:
Step 302, reception carrys out the identification code of the external equipment of self terminal;
Step 304, according to the identification code receiving, selects the communication port between described terminal and described external equipment, and switches to selected communication port;
Wherein, before described step 304, also comprise:
Record the corresponding relation between different identification codes and different communication passage;
Described step 304 also comprises: according to the identification code receiving, by described corresponding relation, select the communication port between described terminal and described external equipment;
Step 306, for described terminal arranges identification code;
Step 308, when described terminal is connected to other-end, is sent to described other-end by the identification code of described terminal.
5. communication channel switching method according to claim 4, is characterized in that, described step 302 comprises:
When described terminal is connected with described external equipment by wired or wireless mode, receive the identification code from described external equipment.
6. according to the communication channel switching method described in claim 4 or 5, it is characterized in that, described step 304 also comprises:
Generate and switched to the notice of described selected communication port, and be sent to described external equipment.
CN201110400375.3A 2011-12-06 2011-12-06 Terminal and communication channel switching method Active CN102497474B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110400375.3A CN102497474B (en) 2011-12-06 2011-12-06 Terminal and communication channel switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110400375.3A CN102497474B (en) 2011-12-06 2011-12-06 Terminal and communication channel switching method

Publications (2)

Publication Number Publication Date
CN102497474A CN102497474A (en) 2012-06-13
CN102497474B true CN102497474B (en) 2014-05-07

Family

ID=46189259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110400375.3A Active CN102497474B (en) 2011-12-06 2011-12-06 Terminal and communication channel switching method

Country Status (1)

Country Link
CN (1) CN102497474B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932536B (en) * 2012-10-18 2014-12-24 小米科技有限责任公司 Communication processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6725061B1 (en) * 1999-01-12 2004-04-20 Qualcomm, Incorporated System and method for the automatic identification of accessories coupled to a wireless communication device
CN101604280A (en) * 2008-06-13 2009-12-16 华硕电脑股份有限公司 Computer apparatus and the control method that is connected computer peripheral device
CN101739375A (en) * 2008-11-10 2010-06-16 三星电子株式会社 Control method of portable device connected external device and external device operation system using the same
CN102164206A (en) * 2011-03-04 2011-08-24 深圳市同洲电子股份有限公司 Method for connecting mobile terminal and external equipment, mobile terminal and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6725061B1 (en) * 1999-01-12 2004-04-20 Qualcomm, Incorporated System and method for the automatic identification of accessories coupled to a wireless communication device
CN101604280A (en) * 2008-06-13 2009-12-16 华硕电脑股份有限公司 Computer apparatus and the control method that is connected computer peripheral device
CN101739375A (en) * 2008-11-10 2010-06-16 三星电子株式会社 Control method of portable device connected external device and external device operation system using the same
CN102164206A (en) * 2011-03-04 2011-08-24 深圳市同洲电子股份有限公司 Method for connecting mobile terminal and external equipment, mobile terminal and system

Also Published As

Publication number Publication date
CN102497474A (en) 2012-06-13

Similar Documents

Publication Publication Date Title
CN110536348B (en) Power consumption control method and device of terminal and storage medium
US7603107B2 (en) Radio telephone system allowing exchange of call setup parameters between associated or commonly owned mobile devices
KR101065341B1 (en) Dual standbay portable terminal and method for communicating thereof
US7957729B2 (en) Communication system and method for operating such a system
JP4415068B2 (en) Configuration for interoperability of global communications
KR101007200B1 (en) Dual standbay portable terminal and method for communicating thereof
US20060154691A1 (en) Architecture and protocol for software defined radio system
CN101243709B (en) Performing diagnostics in a wireless system
CN102860108B (en) A method for operating a mobile station
RU2010118515A (en) ACCESS TERMINAL CONFIGURATION AND ACCESS MANAGEMENT
SK1494A3 (en) Programmable universal modem system and method for using the same
CN101841348A (en) The method of mobile radio communication apparatus and control mobile radio communication apparatus
KR20170063904A (en) Routing method, near field communication controller, device host, and terminal
CN101491147A (en) Location update operations for idle mode terminals with a plurality of wireless communication interfaces
CN103597805A (en) Techniques for facilitating interoperation between an accessory and multiple devices
EP2424308A1 (en) Mobile communication device, mobile network sharing method and electronic device
KR20120025331A (en) Method and system for managing communication of a dual stand-by portable terminal
EP1901577A2 (en) Apparatus and method for controlling bluetooth in portable terminal
CN102724658B (en) Terminal is connected concurrent processing method with multichannel data
CN103428682A (en) Auxiliary information sending method, user equipment, network side configuration method and network side
CN101068409A (en) Mobile terminal for realizing TD-SCDMA/GSM and GSM/GSM double-mode and double-standby function
CN108882319A (en) Mobile network's switching method, mobile terminal and computer readable storage medium
WO2006026916A1 (en) A dual mode terminal and a method of realizing dual mode access thereof
CN102497474B (en) Terminal and communication channel switching method
CN106028468A (en) Multi-data channel transmission mobile terminal and method

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