CN102497474A - Terminal and communication channel switching method - Google Patents

Terminal and communication channel switching method Download PDF

Info

Publication number
CN102497474A
CN102497474A CN2011104003753A CN201110400375A CN102497474A CN 102497474 A CN102497474 A CN 102497474A CN 2011104003753 A CN2011104003753 A CN 2011104003753A CN 201110400375 A CN201110400375 A CN 201110400375A CN 102497474 A CN102497474 A CN 102497474A
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.)
Granted
Application number
CN2011104003753A
Other languages
Chinese (zh)
Other versions
CN102497474B (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

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 port changing method
Technical field
The present invention relates to moving communicating field, in particular to a kind of terminal and a kind of communication port changing method.
Background technology
The mobile phone that we use now all has tail usually to be inserted, and it is used to connect external equipment, and mobile phone and external equipment are communicated.Tail is inserted and is connected with a diverter switch, through its handover operation, realizes the transfer of data between external equipment and AP and the disparate modules, and its principle is as shown in Figure 1.
Insert 104 need be with inner AP108 or module communication the time when tail, through artificial controling, send instruction and give AP108, AP108 sends control signal then, and control its switch 102 is carried out the switching of data channel, is connected to AP108 or other modules.The AP here is meant the application processor in the mobile phone.
Instruction is sent in artificial the controling here, specifically comprises: 1, when the system of AP does not start, (like key on the volume+POWER key, control its switch 102 switches to C net module end to the Macintosh through outer handset; Key under the volume+POWER key, control its switch 102 switch to G net module end) come the switching of control its switch.2, after the system of AP has started, come control its switch 102 through after the entering operating system touch screen being carried out related option operations, to switch different communication ports.
The defective of such scheme is: 1, no matter be after the AP system does not start or starts, all need the active people for controlling if will carry out the switching of control its switch 102, intelligent inadequately, it is loaded down with trivial details that operation sometimes can show slightly.2, when AP does not start; The mode diverter switch 102 of employing Macintosh can receive the restricted number of external key; Certain drawback is arranged, such as N communication module arranged, if want between N passage, to switch in multi mode terminal; Then various Macintoshs I'm afraid not enough, thereby can't realize the switching of a plurality of module channels.
Therefore, need a kind of new method that is used for switches communication channels, can solve following technical problem one of at least:
1, lets diverter switch realize intelligent the switching, promptly let diverter switch insert the check code in the transmission data, discern the communication port of required switching, automatically switch in the past, and need not artificial active operation through discerning tail.
2, reduce taking of control line and AP resource,, but also take the resource of AP because in multi mode terminal, can have more quite a few control lines as if diverter switch being controlled with AP.
3, save operating procedure and switching time, special in the debug phase of mobile phone, under the situation that the AP system does not open, survey is combined in the calibration that needs to download each module software or carry out each module, need 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 that is used for switches communication channels is provided, and can solve following technical problem one of at least:
1, lets diverter switch realize intelligent the switching, promptly let diverter switch insert the check code in the transmission data, discern the communication port of required switching, switch in the past automatically, and need not artificial active operation through discerning tail.
2, reduce taking of control line and AP resource,, but also take the resource of AP because in multi mode terminal, can have more quite a few control lines as if diverter switch being controlled with AP.
3, save operating procedure and switching time, special in the debug phase of mobile phone, under the situation that the AP system does not open, survey is combined in the calibration that needs to download each module software or carry out each module, need avoid loaded down with trivial details switch step and the time as far as possible.
In view of this, the present invention provides a kind of terminal, comprising: handover module; Receive the identification code of the external equipment of self terminal; And, select the communication port between said terminal and the said external equipment, and switch to selected communication port according to the identification code that receives.In this technical scheme, according to different identification codes, can automatically switch to corresponding communication port, when the earphone that for example has different identification codes accesses terminal, make earphone be connected to different communication modules.
In technique scheme, preferably, comprising: module is set, for said terminal is provided with identification code; Sending module when being connected to other-end at said terminal, is sent to said other-end with the identification code at said terminal.In this technical scheme, because the terminal might interconnect with Terminal Type with other, then terminal self can be provided with identification code, and after other-end was connected, other-end can automatically switch to the corresponding passage of identification code.
In technique scheme, preferably, also comprise: logging modle, write down the corresponding relation between different identification codes and the different communication passage; Said handover module is selected the communication port between said terminal and the said external equipment according to the identification code that receives by said 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 be provided with flexibly.
In technique scheme, preferably, when said handover module is connected with said external equipment through wired or wireless mode at said terminal, receive identification code from said external equipment.In this technical scheme, generally speaking, all be that the terminal is carried out wired being connected through jack with external equipment; And terminal and external equipment are when carrying out wireless connections; Need antenna to connect handover module, send identification code behind handover module, handover module is according to the identification code switching channel.
In technique scheme, preferably, also comprise: notification module generates and has switched to the notice of said selected communication port, and is sent to said external equipment.In this technical scheme, automatically switch after the completion, need notify external equipment, the assurance external equipment is had gained some understanding to switching result.
The present invention also provides a kind of communication port changing method, comprising: step 302, and reception comes the identification code of the external equipment of self terminal; Step 304 according to the identification code that receives, is selected the communication port between said terminal and the said external equipment, and is switched to selected communication port.In this technical scheme, according to different identification codes, can automatically switch to corresponding communication port, when the earphone that for example has different identification codes accesses terminal, make earphone be connected to different communication modules.
In technique scheme, preferably, comprising: step 306, for said terminal is provided with identification code; Step 308 when being connected to other-end at said terminal, is sent to said other-end with the identification code at said terminal.In this technical scheme, because the terminal might interconnect with Terminal Type with other, then terminal self can be provided with identification code, and after other-end was connected, other-end can automatically switch to the corresponding passage of identification code.
In technique scheme, preferably, before said step 304, also comprise: write down the corresponding relation between different identification codes and the different communication passage; Said step 304 comprises: according to the identification code that receives, select the communication port between said terminal and the said external equipment by said 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 be provided with flexibly.
In technique scheme, preferably, said step 302 comprises: when being connected with said external equipment through wired or wireless mode at said terminal, receive the identification code from said external equipment.In this technical scheme, generally speaking, all be that the terminal is carried out wired being connected through jack with external equipment; And terminal and external equipment are when carrying out wireless connections; Need antenna to connect handover module, send identification code behind handover module, handover module is according to the identification code switching channel.
In technique scheme, preferably, said step 304 also comprises: generate and switched to the notice of said selected communication port, and be sent to said external equipment.In this technical scheme, automatically switch after the completion, need notify external equipment, the assurance external equipment is had gained some understanding to switching result.
Through above technical scheme; Can realize a kind of terminal and a kind of communication port changing method; Can realize automaticallying switch, and need not 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.
Description of drawings
Fig. 1 is the principle schematic of existing communication port changing method;
Fig. 2 is the block diagram at terminal according to an embodiment of the invention;
Fig. 3 is the flow chart of communication port changing method according to an embodiment of the invention;
Fig. 4 is the principle schematic of communication port changing method according to an embodiment of the invention;
Fig. 5 is the workflow diagram at terminal according to an embodiment of the invention.
Embodiment
In order more to be expressly understood above-mentioned purpose of the present invention, feature and advantage, the present invention is further described in detail below in conjunction with accompanying drawing and embodiment.
Set forth a lot of details in the following description so that make much of 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 disclosed specific embodiment.
Fig. 2 is the block diagram at terminal according to an embodiment of the invention.
As shown in Figure 2, the present invention provides a kind of terminal 200, comprising: handover module 202; Receive the identification code of the external equipment of self terminal 200; And, select the communication port between said terminal 200 and the said external equipment, and switch to selected communication port according to the identification code that receives.In this technical scheme, according to different identification codes, can automatically switch to corresponding communication port, when the earphone that for example has different identification codes accesses terminal, make earphone be connected to different communication modules.
In technique scheme, comprising: module 204 is set, for said terminal 200 is provided with identification code; Sending module 206 when being connected to other-end at said terminal 200, is sent to said other-end with the identification code at said terminal 200.In this technical scheme, because the terminal might interconnect with Terminal Type with other, then terminal self can be provided with identification code, and after other-end was connected, other-end can automatically switch to the corresponding passage of identification code.
In technique scheme, also comprise: logging modle 206, write down the corresponding relation between different identification codes and the different communication passage; Said handover module 202 is selected the communication port between said terminal 200 and the said external equipment according to the identification code that receives by said 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 be provided with flexibly.
In technique scheme, when said handover module 202 is connected with said external equipment through wired or wireless mode at said terminal 200, receive identification code from said external equipment.In this technical scheme, generally speaking, all be that the terminal is carried out wired being connected through jack with external equipment; And terminal and external equipment are when carrying out wireless connections; Need antenna to connect handover module, send identification code behind handover module, handover module is according to the identification code switching channel.
In technique scheme, also comprise: notification module 208 generates and has switched to the notice of said selected communication port, and is sent to said external equipment.In this technical scheme, automatically switch after the completion, need notify external equipment, the assurance external equipment is had gained some understanding to switching result.
Fig. 3 is the flow chart of communication port changing method according to an embodiment of the invention.
As shown in Figure 3, the present invention also provides a kind of communication port changing method, comprising: step 302, and reception comes the identification code of the external equipment of self terminal; Step 304 according to the identification code that receives, is selected the communication port between said terminal and the said external equipment, and is switched to selected communication port.In this technical scheme, according to different identification codes, can automatically switch to corresponding communication port, when the earphone that for example has different identification codes accesses terminal, make earphone be connected to different communication modules.
In technique scheme, comprising: step 306, for said terminal is provided with identification code; Step 308 when being connected to other-end at said terminal, is sent to said other-end with the identification code at said terminal.In this technical scheme, because the terminal might interconnect with Terminal Type with other, then terminal self can be provided with identification code, and after other-end was connected, other-end can automatically switch to the corresponding passage of identification code.
In technique scheme, before said step 304, also comprise: write down the corresponding relation between different identification codes and the different communication passage; Said step 304 comprises: according to the identification code that receives, select the communication port between said terminal and the said external equipment by said 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 be provided with flexibly.
In technique scheme, said step 302 comprises: when being connected with said external equipment through wired or wireless mode at said terminal, receive the identification code from said external equipment.In this technical scheme, generally speaking, all be that the terminal is carried out wired being connected through jack with external equipment; And terminal and external equipment are when carrying out wireless connections; Need antenna to connect handover module, send identification code behind handover module, handover module is according to the identification code switching channel.
In technique scheme, said step 304 also comprises: generate and switched to the notice of said selected communication port, and be sent to said external equipment.In this technical scheme, automatically switch after the completion, need notify external equipment, the assurance external equipment is had gained some understanding to switching result.
Fig. 4 is the principle schematic of communication port changing method according to an embodiment of the invention.
As shown in Figure 4, in one embodiment of the invention, insert 404 with after external equipment 406 is connected through tail; Before data communication; External equipment 406 sends one section identification code earlier, every kind of corresponding different passages of different identification codes, and diverter switch 402 is through the corresponding identification code of identification; Come to carry out automatically the switching of passage, thus the data communication of intelligentized completion external equipment 406 and mobile phone A P408 and each module.
Compare the pairing 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 present embodiment, peripheral hardware 406 can be before carrying out data communication; Send one section identification code earlier; The passage that different check codes is corresponding different after diverter switch has been discerned corresponding identification code, switches to switch on the corresponding passage; Can notify peripheral hardware opened with internal unit (AP or the module) passage that is attached thereto then, peripheral hardware and internal unit just begin data communication then.
Fig. 5 is the workflow diagram at terminal according to an embodiment of the invention.
As shown in Figure 5, step 502 is inserted external equipment on the tail of mobile phone terminal and is inserted;
Step 504, external equipment sends to mobile phone terminal with the identification code of self;
Step 506, diverter switch identify this identification code;
Step 508, diverter switch are opened the corresponding communication port of this identification code automatically;
Step 510, diverter switch are also sent the information notification peripheral hardware, and the communication port of mobile phone terminal inside is handover success.
Step 512, external equipment and mobile phone terminal internal unit begin data communication.
In sum, through above technical scheme, a kind of terminal and a kind of communication port changing method have been realized; Realized the intellectuality that tail is inserted switching channel; Need not manual operation and carry out the passage switching automatically, saved a lot of complex operating steps, simplified circuit structure simultaneously.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

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 that receives, selects the communication port between said terminal and the said external equipment, and switches to selected communication port.
2. terminal according to claim 1 is characterized in that, comprising:
Module is set, for said terminal is provided with identification code;
Sending module when being connected to other-end at said terminal, is sent to said other-end with the identification code at said terminal.
3. terminal according to claim 1 is characterized in that, also comprises:
Logging modle writes down the corresponding relation between different identification codes and the different communication passage;
Said handover module is selected the communication port between said terminal and the said external equipment according to the identification code that receives by said corresponding relation.
4. terminal according to claim 1 is characterized in that, when said handover module is connected with said external equipment through wired or wireless mode at said terminal, receives the identification code from said external equipment.
5. according to each described terminal in the claim 1 to 4, it is characterized in that, also comprise:
Notification module generates and has switched to the notice of said selected communication port, and is sent to said external equipment.
6. a communication port changing method is characterized in that, comprising:
Step 302, reception comes the identification code of the external equipment of self terminal;
Step 304 according to the identification code that receives, is selected the communication port between said terminal and the said external equipment, and is switched to selected communication port.
7. communication port changing method according to claim 6 is characterized in that, comprising:
Step 306 is for said terminal is provided with identification code;
Step 308 when being connected to other-end at said terminal, is sent to said other-end with the identification code at said terminal.
8. communication port changing method according to claim 6 is characterized in that, before said step 304, also comprises:
Write down the corresponding relation between different identification codes and the different communication passage;
Said step 304 comprises: according to the identification code that receives, select the communication port between said terminal and the said external equipment by said corresponding relation.
9. communication port changing method according to claim 6 is characterized in that, said step 302 comprises:
When being connected with said external equipment through wired or wireless mode, receive identification code from said external equipment at said terminal.
10. according to each described communication port changing method in the claim 6 to 9, it is characterized in that said step 304 also comprises:
Generate and switched to the notice of said selected communication port, and be sent to said 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 true CN102497474A (en) 2012-06-13
CN102497474B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932536A (en) * 2012-10-18 2013-02-13 北京小米科技有限责任公司 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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932536A (en) * 2012-10-18 2013-02-13 北京小米科技有限责任公司 Communication processing method and device
CN102932536B (en) * 2012-10-18 2014-12-24 小米科技有限责任公司 Communication processing method and device
RU2602824C2 (en) * 2012-10-18 2016-11-20 Сяоми Инк. Communication control method and device

Also Published As

Publication number Publication date
CN102497474B (en) 2014-05-07

Similar Documents

Publication Publication Date Title
JP4415068B2 (en) Configuration for interoperability of global communications
CN101742464B (en) Method and device for the neighbor cell monitoring in a dual standby mobile terminal
US20100009716A1 (en) Dual standby portable terminal and communication method thereof
US20060154691A1 (en) Architecture and protocol for software defined radio system
US7817579B2 (en) Access point having at least one or more configurable radios
KR102081760B1 (en) Routing method, near field communication controller, device host, and terminal
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
KR20160135228A (en) Single antenna sharing for multiple wireless connections
CN105848235A (en) Communication control method and device
CN104539799A (en) Communication control method and system based on multiple devices
CN106028468A (en) Multi-data channel transmission mobile terminal and method
CN101754481A (en) Method and system for controlling running mode switching of multimode wireless device
EP2276314A1 (en) Method, system and adapter for connecting a plurality of devices
CN102497474B (en) Terminal and communication channel switching method
US20150072724A1 (en) Terminal for wireless voice communication
CN104205649B (en) It is applicable to limit mobile phone and the operational cell of this phone of access area
CN101815370B (en) A kind of multi-chip mobile terminal and equipment control implementation method thereof
RU121411U1 (en) WIRELESS VOICE TERMINAL
CN1330163C (en) Wireless terminal with double mode and realization thereof
CN115776666A (en) Network parameter configuration method and related equipment
CN110366152B (en) Method and system for realizing far-field communication connection of equipment based on near-field communication identity recognition
CN111050377B (en) Method for sharing network connection by mobile terminal and mobile terminal
US11223392B2 (en) Radio module configurations for antennas
JP2009224876A (en) Mobile terminal unit, access method thereof, and program

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