CN100589618C - Method of performing dual-mode mobile communication logical control and dual-mode mobile phone - Google Patents

Method of performing dual-mode mobile communication logical control and dual-mode mobile phone Download PDF

Info

Publication number
CN100589618C
CN100589618C CN200610112853A CN200610112853A CN100589618C CN 100589618 C CN100589618 C CN 100589618C CN 200610112853 A CN200610112853 A CN 200610112853A CN 200610112853 A CN200610112853 A CN 200610112853A CN 100589618 C CN100589618 C CN 100589618C
Authority
CN
China
Prior art keywords
protocol stack
scdma
phs
module
machine interface
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.)
Expired - Fee Related
Application number
CN200610112853A
Other languages
Chinese (zh)
Other versions
CN101141719A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200610112853A priority Critical patent/CN100589618C/en
Publication of CN101141719A publication Critical patent/CN101141719A/en
Application granted granted Critical
Publication of CN100589618C publication Critical patent/CN100589618C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention discloses a method for performing the double mode mobile communication logic control and a double mode mobile phone. The present invention is characterized in that a double modecontrol module is established in the double mode mobile phone, the required functions for calling the TD-SCDMA protocol stack and the PHS protocol stack are provided for a man machine interface through the function library module in the double mode control module, and the processing of the returning messages of the TD-SCDMA protocol stack and the PHS protocol stack are realized through the TD-SCDMA thread module and the PHS thread module in the double mode control module, the returned processing result is returned to the man machine interface, and thus the integrating control of the separate TD-SCDMA protocol stack and the PHS protocol stack is realized through the double mode control module.

Description

Carry out the method and the dual-mode handset thereof of bimodule mobile communication logic control
Technical field
The present invention relates to moving communicating field, relate in particular to module and method that a kind of TD-SCDMA/PHS of realization dual-mode handset carries out the bimodule mobile communication logic control.
Background technology
3G is the abbreviation of English 3rd Generation, is representing the 3G (Third Generation) Moblie technology.International Telecommunication Union determines that in May, 2000 W-CDMA, CDMA2000 and TD-SCDMA are three big main flow air interface standard.
TD-SCDMA (Time Division-Synchronous CDMA) standard is the 3G standard that is proposed by company of Chinese Datang Telecom.This standard is melted into current technology leading in the world such as intelligent radio, synchronization CDMA and software radio wherein.
Though the TD-SCDMA technology standard is better than other two big standards in theory, aspect commercialization and industrialization level, advance slower.Especially at the initial stage of TD-SCDMA networking,, can't use the TD-SCDMA mobile phone in some place because the scope of the network coverage is incomplete.Iff carrying out traditional making a phone call and sending short messages, use existing P HS (Personal Handy-phone System) network, rate can compare cheaply undoubtedly.And the TD-SCDMA network coverage less than the place, if there is the PHS network, we can communicate with the PHS network, remedy the infull defective of the initial stage TD-SCDMA network coverage.
Dual-mode handset is realized the software controlling technique of bimodulus, and two kinds of methods are arranged usually, and a kind of is the mobile communication that protocol stack itself is supported two kinds of patterns, this technology, the protocol stack more complicated, the inheritance of software is poor, protocol stack sofeware needs exploitation again usually, and development is difficulty relatively; Another method, be on a single mode mobile phone, communicate by the communication interface of increase expansion and the extended mobile phone module of another pattern, the two shared cover antenna system, shared display screen, keyboard, voice system, common source etc. are realized the two idle functions of dual network.
Second method has higher software and hardware inheritance, and the difficulty of development also reduces greatly.
If can be at second kind of situation, by a bimodulus Logic control module, independently TD-SCDMA protocol stack and PHS protocol stack are carried out unified software control, just can effectively realize the two idle functions of dual network of mobile phone, by relevant patent retrieval, do not find that this technology is disclosed.
Summary of the invention
Technical problem to be solved by this invention provides a kind of method and dual-mode handset thereof that carries out the bimodule mobile communication logic control, solves the technical problem that prior art can not be carried out unified software control to independently TD-SCDMA protocol stack and PHS protocol stack.
For achieving the above object, the invention provides a kind of method of in dual-mode handset, carrying out the bimodule mobile communication logic control, its characteristics are, in described dual-mode handset, make up a bimodulus control module, provide visit TD-SCDMA protocol stack and the required function of PHS protocol stack by the function library module in this bimodulus control module to man-machine interface, come correspondence to finish processing by TD-SCDMA thread module in this bimodulus control module and PHS thread module to the return messages of TD-SCDMA protocol stack and PHS protocol stack, and the result that needs return turned back to described man-machine interface, thereby finish the independently unified control of TD-SCDMA protocol stack and PHS protocol stack by this bimodulus control module.
Above-mentioned method, its characteristics are, further comprise the steps:
Step 1, described man-machine interface are called API (the ApplicationProgramming Interface API) function in the described function library module;
Step 2, the parameter that described api function imports into according to described man-machine interface are determined the corresponding protocol stack of needs visit, and structure is visited the protocol stack parameter that described corresponding protocol stack needs;
Step 3, described api function are visited described corresponding protocol stack, and described protocol stack parameter is offered described corresponding protocol stack;
Step 4, described corresponding protocol stack is carried out according to described protocol stack parameter and is handled, and generation execution result, if described corresponding protocol stack is the TD-SCDMA protocol stack, then described execution result returns to described TD-SCDMA thread module, if described corresponding protocol stack is the PHS protocol stack, then described execution result returns to described PHS thread module;
Step 5, judge whether described execution result needs to be reported to described man-machine interface, be that then described TD-SCDMA thread module or PHS thread module are carried out the encapsulation again of message format and reported described man-machine interface described execution result, otherwise described TD-SCDMA thread module or PHS thread module are directly handled described execution result.
Above-mentioned method, its characteristics are, in described step 2, described api function imports access module parameter in the parameter into according to described man-machine interface, determine that needing the described corresponding protocol stack of visit is TD-SCDMA protocol stack or PHS protocol stack, then according to the requirement of access protocal stack, other parameters in the parameter of importing into according to described man-machine interface except that the access module parameter, the described protocol stack parameter that structure visit corresponding protocols stack needs.
Above-mentioned method, its characteristics be, in described step 3, described api function is visited described corresponding protocol stack by the mode of the protocol stack function that sends message and provide to the mode of protocol stack or by the invocation protocol stack.
Above-mentioned method, its characteristics are, in described step 2, also comprise following fault monitoring process: if the pattern that the user is provided with is the single mode pattern, has only a protocol stack operation among described TD-SCDMA protocol stack and the described PHS protocol stack, then in the parameter that described man-machine interface provides, require the off-duty protocol stack of visit, then return the code of makeing mistakes by described api function.
Above-mentioned method, its characteristics are, in described step 5, again the message that encapsulates through described TD-SCDMA thread module or described PHS thread module has identical message addresses and message format, and include an indication field in message content at least, being used to indicate present informed source still is the PHS protocol stack in the TD-SCDMA protocol stack.
Above-mentioned method, its characteristics are, also comprise: described man-machine interface is according to described indication field, and the described message of encapsulation is again carried out respective handling under the different mode.
In order better to realize purpose of the present invention, the present invention also provides a kind of dual-mode handset that carries out the bimodule mobile communication logic control, and its characteristics are, comprise man-machine interface, TD-SCDMA protocol stack, PHS protocol stack and bimodulus control module; Described bimodulus control module is connected between described man-machine interface and described TD-SCDMA protocol stack, the PHS protocol stack, and also comprises function library module, TD-SCDMA thread module and PHS thread module in the described bimodulus control module; Described function library module is used for, and provides visit TD-SCDMA protocol stack and the required function of PHS protocol stack to described man-machine interface; Described TD-SCDMA thread module and PHS thread module are used for, correspondence is finished the processing to the return messages of TD-SCDMA protocol stack and PHS protocol stack, and the result that needs return turned back to described man-machine interface, thereby finish the independently unified control of TD-SCDMA protocol stack and PHS protocol stack by this bimodulus control module.
Technique effect of the present invention is: the invention provides module and method that a kind of TD-SCDMA/PHS dual-mode handset carries out the bimodule mobile communication logic control, can be provided at the communications of Mobile Terminals under two kinds of network condition of TD-SCDMA and PHS.
Further describe specific embodiments of the invention below in conjunction with accompanying drawing.
Description of drawings
Fig. 1 is a module structure drafting of the present invention;
Fig. 2 is that DMP realizes the flow process that bimodulus is handled;
Fig. 3 is the processing of dual-mode protocol stack reporting message.
Embodiment
At present, realizing bimodule mobile communication, is to increase a PHS module on original TD-SCDMA single mode mobile phone in way common on the mobile phone hardware, and this PHS module has independently hardware configuration and software version, has independently PHS protocol stack support.The TD-SCDMA mobile phone communicates and the PHS module is controlled by specific hardware interface and PHS module.
Under this hardware frame, for realizing the control of bimodulus, need to increase bimodulus Control Software module, finish control to TD-SCDMA and PHS business.
Accompanying drawing 1 is the structure chart of this module.Part in the frame of broken lines realizes the module 31 of bimodule service logic control for the present invention, and this bimodulus control module is positioned between MMI (man-machine interface) 301 and the protocol stack 302,303.
By accompanying drawing 1 as seen, bimodulus control module among the present invention comprises three parts, is respectively DMP (Dual-Mode Processing) 311, TBThread thread 312 (the TD-SCDMA thread module in the corresponding summary of the invention), PBThread thread 313 (the PHS thread module in the corresponding summary of the invention).Wherein DMP is the function library that provides in the API mode, and this function library provides the function of visit TD-SCDMA protocol stack and PHS protocol stack.The TBThread thread is responsible for receiving and handling the message that reports from the TD-SCDMA protocol stack.The PBThread thread is responsible for receiving and handling the message that reports from the PHS protocol stack.
Note that TD-SCDMA protocol stack described herein and PHS protocol stack, be meant outside this bimodulus control module, finish the software section of TD-SCDMA business and PHS business, comprising being the software intermediate layer of carrying out interface with this bimodulus control module.
Accompanying drawing 2 is main flow processs that this module realizes the bimodule service logic control.Main step is as follows:
Step S100, MMI calls the api function that DMP provides for realizing the bimodule service function.All api functions that DMP provides, it goes into to join the minimum parameter WorkMode (for sake of convenience, this sentences WorkMode and represents this parameter) that comprises, and what this parameter indication needed visit is the TD-SCDMA protocol stack or the function of PHS protocol stack.This parameter is by MMI appointment when calling the api function that DMP provides.
Step S105, begin is the realization flow of api function of DMP herein.At first WorkMode being judged, is TD-SCDMA business or PHS business with what determine to need visit.Visit is the TD-SCDMA business if desired, changes step S110 so, otherwise changes step S135.
Step S110, need visit this moment is TD-SCDMA business in the bimodulus.Judge at first whether the TD-SCDMA protocol stack moves,, return the code of makeing mistakes and give MMI, the not operation of indication TD-SCDMA protocol stack if step S130 is changeed in not operation so.If the TD-SCDMA protocol stack moves, change step S115 so.
Step S115 is for visit TD-SCDMA protocol stack carries out the preparation of parameter.According to the mode of visit TD-SCDMA protocol stack, by the parameter that MMI provides, the structure of the TD-SCDMA protocol stack parameter that conducts interviews.
Step S120, TD-SCDMA protocol stack provide function call access mode or message access mode usually.The parameter that provides according to step S115 is according to the visiting demand of the TD-SCDMA protocol stack TD-SCDMA protocol stack that conducts interviews.The api function end of run of DMP returns the operation result value at this moment.For adopting the function call mode to visit the mode of TD-SCDMA protocol stack, return the operation return value of TD-SCDMA protocol stack function.
Step S125, protocol stack is handled.Dispose, result is returned in the mode of message usually, and its flow process is referring to accompanying drawing 3.
For the processing of PHS business, flow process is as follows.
Step S135, need visit this moment is PHS business in the bimodulus.Judge at first whether the PHS protocol stack moves,, return the code of makeing mistakes and give MMI, the not operation of indication PHS protocol stack if step S150 is changeed in not operation so.If the PHS protocol stack moves, change step S140 so.
Step S140 is for visit PHS protocol stack carries out the preparation of parameter.According to the mode of visit PHS protocol stack, by the parameter that MMI provides, the structure of the PHS protocol stack parameter that conducts interviews.
Step S145, PHS protocol stack provide function call access mode or message access mode usually.The parameter that provides according to step S140 is according to the visiting demand of the PHS protocol stack PHS protocol stack that conducts interviews.The api function end of run of DMP returns the operation result value at this moment.For adopting the function call mode to visit the mode of PHS protocol stack, return the operation return value of PHS protocol stack function.
Step S125, protocol stack is handled.Dispose, result is returned in the mode of message usually, and its flow process is referring to accompanying drawing 3.
Note that TD-SCDMA protocol stack and PHS protocol stack can move simultaneously, a protocol stack operation also can only be arranged, determine when this is normally started shooting by MMI.
Accompanying drawing 3 is after protocol stack disposes, the handling process of return messages.Because TD-SCDMA is identical with the handling process of PHS protocol stack return messages, only handles herein and introduced with the return messages of TD-SCDMA protocol stack.
Step S200, the TD-SCDMA protocol stack returns the message that reports.This message may be to call the return messages of the api function triggering of DMP owing to MMI in the accompanying drawing 2, also may be the message that the TD-SCDMA protocol stack initiatively reports.
Step S205, the TBThread thread is received the message that the TD-SCDMA protocol stack reports, and changes step S210.
Step S210 judges whether it is the message of need handling, if do not need the message handled, changes step S230 so, abandons this message.
Step S215 judges whether this message needs to report MMI.If do not need to report MMI, change step S235, the TBThread thread is handled this message, after disposing, in step S240 the result who handles is returned to protocol stack.
Step S220, this message need report MMI, so the content of this message is decoded, and according to the requirement of the message format that reports MMI, carries out the combination of message again, and in step S225, the message after encapsulating again reports MMI then.
, report the message of MMI by protocol stack herein, all contain a field in the message content at least, indicating this informed source still is the PHS protocol stack in the TD-SCDMA protocol stack.MMI carries out corresponding processing the under the different mode according to this field.
In the narration of the present invention, be the convenience of narration, name for the part in the module with English, this name only is for narrating facility, the name when not representing specific implementation.
The above is preferred embodiment of the present invention only, is not to be used for limiting practical range of the present invention; Every according to equivalence variation and modification that the present invention did, all contained by claim of the present invention.

Claims (8)

1, a kind of method of in dual-mode handset, carrying out the bimodule mobile communication logic control, it is characterized in that, in described dual-mode handset, make up a bimodulus control module, provide visit TD-SCDMA protocol stack and the required function of PHS protocol stack by the function library module in this bimodulus control module to man-machine interface, come correspondence to finish processing by TD-SCDMA thread module in this bimodulus control module and PHS thread module to the return messages of TD-SCDMA protocol stack and PHS protocol stack, and the result that needs return turned back to described man-machine interface, thereby finish the independently unified control of TD-SCDMA protocol stack and PHS protocol stack by this bimodulus control module.
2, method according to claim 1 is characterized in that, further comprises the steps:
Step 1, described man-machine interface are called the api function in the described function library module;
Step 2, the parameter that described api function imports into according to described man-machine interface are determined the corresponding protocol stack of needs visit, and structure is visited the protocol stack parameter that described corresponding protocol stack needs;
Step 3, described api function are visited described corresponding protocol stack, and described protocol stack parameter is offered described corresponding protocol stack;
Step 4, described corresponding protocol stack is carried out according to described protocol stack parameter and is handled, and generation execution result, if described corresponding protocol stack is the TD-SCDMA protocol stack, then described execution result returns to described TD-SCDMA thread module, if described corresponding protocol stack is the PHS protocol stack, then described execution result returns to described PHS thread module;
Step 5, judge whether described execution result needs to be reported to described man-machine interface, be that then described TD-SCDMA thread module or PHS thread module are carried out the encapsulation again of message format and reported described man-machine interface described execution result, otherwise described TD-SCDMA thread module or PHS thread module are directly handled described execution result.
3, method according to claim 2, it is characterized in that, in described step 2, described api function imports access module parameter in the parameter into according to described man-machine interface, determine that needing the described corresponding protocol stack of visit is TD-SCDMA protocol stack or PHS protocol stack, then according to the requirement of the anti-view of visit stack, other parameters in the parameter of importing into according to described man-machine interface except that the access module parameter, structure visit corresponding protocols stack need described protocol stack parameter.
4, method according to claim 2 is characterized in that, in described step 3, described api function is visited described corresponding protocol stack by the mode of the protocol stack function that sends message and provide to the mode of protocol stack or by the invocation protocol stack.
5, method according to claim 2, it is characterized in that, in described step 2, also comprise following fault monitoring process: if the pattern that is provided with product is the single mode pattern, has only a protocol stack operation among described TD-SCDMA protocol stack and the described PHS protocol stack, then in the parameter that described man-machine interface provides, require the off-duty protocol stack of visit, then return the code of makeing mistakes by described api function.
6, method according to claim 2, it is characterized in that, in described step 5, again the message that encapsulates through described TD-SCDMA thread module or described PHS thread module has identical message addresses and message format, and include an indication field in message content at least, being used to indicate present informed source still is the PHS protocol stack in the TD-SCDMA protocol stack.
7, method according to claim 6 is characterized in that, also comprises: described man-machine interface is according to described indication field, and the described message of encapsulation is again carried out respective handling under the different mode.
8, a kind of dual-mode handset that carries out the bimodule mobile communication logic control is characterized in that, comprises man-machine interface, TD-SCDMA protocol stack, PHS protocol stack and bimodulus control module;
Described bimodulus control module is connected between described man-machine interface and described TD-SCDMA protocol stack, the PHS protocol stack, and also comprises function library module, TD-SCDMA thread module and PHS thread module in the described bimodulus control module;
Described function library module is used for, and provides visit TD-SCDMA protocol stack and the required function of PHS protocol stack to described man-machine interface;
Described TD-SCDMA thread module and PHS thread module are used for, correspondence is finished the processing to the return messages of TD-SCDMA protocol stack and PHS protocol stack, and the result that needs return turned back to described man-machine interface, thereby finish the independently unified control of TD-SCDMA protocol stack and PHS protocol stack by this bimodulus control module.
CN200610112853A 2006-09-05 2006-09-05 Method of performing dual-mode mobile communication logical control and dual-mode mobile phone Expired - Fee Related CN100589618C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610112853A CN100589618C (en) 2006-09-05 2006-09-05 Method of performing dual-mode mobile communication logical control and dual-mode mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610112853A CN100589618C (en) 2006-09-05 2006-09-05 Method of performing dual-mode mobile communication logical control and dual-mode mobile phone

Publications (2)

Publication Number Publication Date
CN101141719A CN101141719A (en) 2008-03-12
CN100589618C true CN100589618C (en) 2010-02-10

Family

ID=39193407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610112853A Expired - Fee Related CN100589618C (en) 2006-09-05 2006-09-05 Method of performing dual-mode mobile communication logical control and dual-mode mobile phone

Country Status (1)

Country Link
CN (1) CN100589618C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917779A (en) * 2010-06-12 2010-12-15 中兴通讯股份有限公司 Method and device for automatically adapting to wireless modules with different network standards
CN102625399B (en) * 2012-03-22 2014-08-13 福州瑞芯微电子有限公司 Method for quickly switching network system on mobile platform

Also Published As

Publication number Publication date
CN101141719A (en) 2008-03-12

Similar Documents

Publication Publication Date Title
CN102664983B (en) Method and device for implementation of one touch dial
US20060009204A1 (en) Telephone functionality for generic applications in a mobile handset
US20080092149A1 (en) Modular architecture for a device interface component
CN103491653A (en) WiFi and 3G coexisting method based on Android intelligent terminal
CN101980555A (en) Time setting method for mobile terminal and mobile terminal
CN1685693A (en) Middleware application message/event model
CN109639829A (en) Communication means, communication unit, service support unit and system based on service
US8469267B2 (en) Method for implementing a wireless personal communication protocol for an IC card
CN106791207A (en) The method for controlling dialing and mobile terminal of a kind of mobile terminal
CN100589618C (en) Method of performing dual-mode mobile communication logical control and dual-mode mobile phone
CN101287252A (en) Network connection selecting method and apparatus for multi-card mobile phone based on mobile window platform
CN101052175B (en) Double mode mobile terminal turn-on method
CN101540965A (en) Method for processing dual-card multimedia message based on Windows Mobile platform
CN102573125B (en) Vehicle-mounted intelligent communication system
CN101257679A (en) Split type mobile terminal calling record synchronies method and system thereof
CN109040981A (en) Message method, device, storage medium and mobile terminal
CN100568178C (en) A kind of control adding method
CN101068389A (en) Double-mode double-standby mobile terminal calling out method
CN102014433A (en) Multi-standard mobile access integrated gateway device
CN105898718A (en) Mobile phone arrearage reminding method and device
CN101068391A (en) Double-mode double-standby mobile terminal menu displaying and operating method
CN101212472B (en) Method for enabling mobile terminals to establish a plurality of point-to-point connections
CN104424004A (en) Service execution method and device, service execution driving method and device and mobile terminal
CN101287245B (en) Network switching method and device based on browser
CA2745837C (en) Automatic population of feature capabilities on a communication 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
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100210

Termination date: 20150905

EXPY Termination of patent right or utility model