CN101247600B - Device for implementing multi-serial port in multi-module mobile phone system - Google Patents

Device for implementing multi-serial port in multi-module mobile phone system Download PDF

Info

Publication number
CN101247600B
CN101247600B CN200810065722XA CN200810065722A CN101247600B CN 101247600 B CN101247600 B CN 101247600B CN 200810065722X A CN200810065722X A CN 200810065722XA CN 200810065722 A CN200810065722 A CN 200810065722A CN 101247600 B CN101247600 B CN 101247600B
Authority
CN
China
Prior art keywords
submodule
serial ports
agreement
port
mode terminal
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
CN200810065722XA
Other languages
Chinese (zh)
Other versions
CN101247600A (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 CN200810065722XA priority Critical patent/CN101247600B/en
Publication of CN101247600A publication Critical patent/CN101247600A/en
Application granted granted Critical
Publication of CN101247600B publication Critical patent/CN101247600B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Systems (AREA)

Abstract

The invention disclosed a device for achieving multi-serial multiplexing in a multi-mode mobile phone system, which includes that: an interface simulation submodule and a protocol support submodule; the interface simulation submodule is used for processing an operation request submitted by an application programme, and an operation result returned by the protocol support submodule is returned to the application programme; the protocol support submodule is used for processing the operation request processed by the interface simulation submodule, and the operation result is returned to the interface simulation submodule. The technical scheme of the invention achieves the multi-serial multiplexing in the multi-mode mobile phone system at the same time.

Description

Realize the device of many serial ports in a kind of multi mode terminal system
Technical field
The present invention relates to a kind of device of realizing many serial ports, realize the device of many serial ports in the especially a kind of multi mode terminal system.
Background technology
In the design of mobile phone; System is divided into communication subsystem and application subsystem usually; Carry out communication through a global functional serial port between two sub-systems, application subsystem is operated communication subsystem through AT order (AT always is used for the beginning of order, so abbreviate the AT order as).Common serial ports has command mode and two kinds of patterns of data attitude, and both can not exist simultaneously.Solving data is to introduce MUX (multiplexed) with the concurrent universal method of order, on a physical channel, sets up a plurality of logical channels, each channel transfer data of different types.
The appearance of multi mode terminal is had higher requirement and difficulty to serial port.MUX is an important agreement among the GSM (Global Sytem Mobile Communication, digital cellular telephone system net), in GSM07.10, this agreement has been done detailed description.Its groundwork is to be modeled to a plurality of serial ports to a serial ports.Yet in the multi mode terminal system, each wireless module uses a serial ports and application subsystem to communicate respectively.For realize and communication subsystem between operate as normal, application subsystem just must be respectively each wireless module provides a MUX module to carry out multiplexing to corresponding serial ports.There is following problem in simple like this duplicating: at first, cause resource waste, especially in the nervous relatively embedded device of this resource of mobile phone, any resource all need obtain using fully efficiently; Secondly, limited the extensibility of equipment, for later further expanding of equipment hides some dangers for.
Summary of the invention
The technical problem that the present invention will solve provides the device of realizing many serial ports in a kind of multi mode terminal system, and is multiplexing when having realized in the multi mode terminal system a plurality of serial ports.
The technical solution adopted for the present invention to solve the technical problems is:
Realize the device of many serial ports in a kind of multi mode terminal system, comprising: port emulation submodule and agreement support submodule;
Said port emulation submodule be used to handle the operation requests that application program is submitted to, and the operating result of supporting submodule to return said agreement returns to said application program;
Said agreement is supported submodule, is used to handle the said operation requests after said port emulation submodule is handled, and said operating result is returned to said port emulation submodule.
In the such scheme, said device can move one or more than one agreement support submodule simultaneously, and an agreement supports submodule to serve a serial ports that needs are multiplexing of said port emulation submodule.
In the such scheme, said port emulation submodule is set up corresponding data buffer zone for the virtual serial port equipment interface that wherein needs multiplexing serial ports to comprise.
In the such scheme, said port emulation submodule carries out the transmission of data and order through said virtual serial port equipment interface and said application program.
In the such scheme, the said operation requests encapsulation after said port emulation submodule will be handled is submitted to the processing that said agreement support submodule is waited in corresponding data buffer zone.
In the such scheme, said agreement supports submodule mutual through virtual unit file interface and said port emulation submodule.
In the such scheme, said agreement supports that submodule has encapsulated the GSM07.10 agreement, and the data link channel number of definition is corresponding with the virtual serial port equipment interface number that the multiplexing serial ports of said needs comprises.
In the such scheme, the virtual serial port equipment interface number that the multiplexing serial ports of said needs comprises is 8.
In the such scheme, said agreement supports that submodule carries out physical link through global functional serial port and communication subsystem.
Beneficial effect of the present invention mainly shows: agreement supports that submodule has encapsulated the GSM07.10 agreement in the technical scheme provided by the invention; It is simultaneously multiplexing to use a plurality of agreements to support submodule to realize a plurality of serial ports; Solve the resource redundancy problem of multi mode terminal system, made things convenient for the expansion of system.
Description of drawings
Fig. 1 is for realizing the device operation principle sketch map of many serial ports in the multi mode terminal of the present invention system.
Embodiment
Below in conjunction with accompanying drawing the present invention is done further description.
With reference to Fig. 1, realize the device of many serial ports in a kind of multi mode terminal system, comprise that port emulation submodule 103 and agreement support submodule 104, respectively it is carried out detailed description below:
Port emulation submodule 103 receives the operation requests that application program is sent through virtual serial port equipment interface 101, encapsulates after operation requests is handled, and is submitted to corresponding data buffer zone 102, supports the processing of submodule 104 to wait for agreement.Port emulation submodule 103 and application program are carried out the transmission of data and order through virtual serial port equipment interface 101, and different application programs can reach parallel effect through visiting different virtual serial port equipment interfaces 101; Data buffer zone 102 is that system is that the virtual serial port equipment interface 101 that is included in the port emulation submodule 103 is set up, and promptly only in needs, just can dynamically set up, thereby avoid too much occupying and wasting of resource.
Agreement supports submodule 104 to pass through the mutual of 106 realizations of virtual unit file interface and port emulation submodule 103; After the read operation request; GSM07.10 agreement according to wherein encapsulation is handled, and operating result is returned to port emulation submodule 103, simultaneously; Agreement supports submodule 104 to carry out physical link through global functional serial port 107 and communication subsystem, and the wireless module 108 that provides with communication subsystem carries out communication.
Each agreement supports that data link channel 105 numbers of submodule 104 definition are corresponding with virtual serial port equipment interface 101 numbers that serial ports comprises, is 8.An agreement is supported a serial ports that needs are multiplexing of submodule 104 serve port emulation submodules 103; The i.e. corresponding serial ports of wireless module 108; And; Can move one or more than one agreement simultaneously and support submodule 104, simultaneously n serial ports set up when multiplexing, need move n agreement support submodule 104 simultaneously when needs.Therefore, can be according to concrete applicable cases, the agreement that selection needs supports the quantity of submodule 104 and each agreement to support the serial ports that submodule 104 is served, thereby has increased the use flexibility, has avoided the unnecessary waste of resource.
In application shown in Figure 1, the virtual multiplex channel of each serial ports, promptly virtual serial port equipment interface 101 numbers are 8, needing multiplexing serial ports number is 2.When concrete the application; As long as simple defining needs multiplexing serial ports number just can realize the expansion to module in port emulation submodule 103; Thereby problems such as the wasting of resources that has produced when having solved a plurality of MUX instance of direct application and expansion difficulty have realized simultaneously a plurality of serial ports in the multi mode terminal system being carried out multiplexing effect.
Those skilled in the art can also carry out various modifications to above content under the condition that does not break away from the definite the spirit and scope of the present invention of claims.Therefore scope of the present invention is not limited in above explanation, but confirm by the scope of claims.

Claims (8)

1. realize the device of many serial ports in the multi mode terminal system, it is characterized in that, comprising: port emulation submodule and agreement support submodule;
Said port emulation submodule be used to handle the operation requests that application program is submitted to, and the operating result of supporting submodule to return said agreement returns to said application program;
Said agreement is supported submodule, is used for according to the said operation requests after the said port emulation of the GSM07.10 protocol processes submodule processing of wherein encapsulation, and said operating result is returned to said port emulation submodule;
Said device can move more than one agreement simultaneously and support submodule, and an agreement supports submodule to serve a serial ports that needs are multiplexing of said port emulation submodule.
2. realize the device of many serial ports in the multi mode terminal as claimed in claim 1 system, it is characterized in that: said port emulation submodule is set up corresponding data buffer zone for the virtual serial port equipment interface that the multiplexing serial ports of needs wherein comprises.
3. realize the device of many serial ports in the multi mode terminal as claimed in claim 2 system, it is characterized in that: said port emulation submodule carries out the transmission of data and order through said virtual serial port equipment interface and said application program.
4. realize the device of many serial ports in the multi mode terminal as claimed in claim 3 system, it is characterized in that: the said operation requests encapsulation after said port emulation submodule will be handled is submitted to the processing that said agreement support submodule is waited in corresponding data buffer zone.
5. realize the device of many serial ports in the multi mode terminal as claimed in claim 2 system, it is characterized in that: said agreement supports submodule mutual through virtual unit file interface and said port emulation submodule.
6. realize the device of many serial ports in the multi mode terminal as claimed in claim 5 system; It is characterized in that: said agreement supports that submodule has encapsulated the GSM07.10 agreement, and the data link channel number of definition is corresponding with the virtual serial port equipment interface number that the multiplexing serial ports of said needs comprises.
7. realize the device of many serial ports in the multi mode terminal as claimed in claim 6 system, it is characterized in that: the virtual serial port equipment interface number that the multiplexing serial ports of said needs comprises is 8.
8. realize the device of many serial ports in the multi mode terminal as claimed in claim 7 system, it is characterized in that: said agreement supports that submodule carries out physical link through global functional serial port and communication subsystem.
CN200810065722XA 2008-02-26 2008-02-26 Device for implementing multi-serial port in multi-module mobile phone system Expired - Fee Related CN101247600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810065722XA CN101247600B (en) 2008-02-26 2008-02-26 Device for implementing multi-serial port in multi-module mobile phone system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810065722XA CN101247600B (en) 2008-02-26 2008-02-26 Device for implementing multi-serial port in multi-module mobile phone system

Publications (2)

Publication Number Publication Date
CN101247600A CN101247600A (en) 2008-08-20
CN101247600B true CN101247600B (en) 2012-06-06

Family

ID=39947747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810065722XA Expired - Fee Related CN101247600B (en) 2008-02-26 2008-02-26 Device for implementing multi-serial port in multi-module mobile phone system

Country Status (1)

Country Link
CN (1) CN101247600B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894041A (en) * 2010-07-15 2010-11-24 中兴通讯股份有限公司 Multivirtual serial port system and communication method thereof
CN103294630B (en) * 2013-05-07 2015-11-04 福建鑫诺通讯技术有限公司 The method that serial ports is multiplexed is realized in a kind of flush type LINUX system
CN104619042A (en) * 2013-11-04 2015-05-13 福建鑫诺通讯技术有限公司 Method and device for realizing GSM0710 protocol in LINUX kernel
CN106060012A (en) * 2016-05-17 2016-10-26 北京神州绿盟信息安全科技股份有限公司 Multiplexing method and apparatus
CN110675613A (en) * 2019-10-29 2020-01-10 广东沅朋网络科技有限公司 Communication method and device between 4G communication module and metering ammeter, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6058433A (en) * 1996-07-23 2000-05-02 Gateway 2000, Inc. System and method for providing increased throughput through a computer serial port to a modem communications port
CN2842941Y (en) * 2005-11-16 2006-11-29 中兴通讯股份有限公司 GSM/PHS double-mode submachine series interface debugging information output control circuit
CN2842887Y (en) * 2005-05-23 2006-11-29 海尔集团公司 Multi plexing communication interface circuit
CN101035343A (en) * 2007-04-24 2007-09-12 中兴通讯股份有限公司 Multi-mode mobile phone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6058433A (en) * 1996-07-23 2000-05-02 Gateway 2000, Inc. System and method for providing increased throughput through a computer serial port to a modem communications port
CN2842887Y (en) * 2005-05-23 2006-11-29 海尔集团公司 Multi plexing communication interface circuit
CN2842941Y (en) * 2005-11-16 2006-11-29 中兴通讯股份有限公司 GSM/PHS double-mode submachine series interface debugging information output control circuit
CN101035343A (en) * 2007-04-24 2007-09-12 中兴通讯股份有限公司 Multi-mode mobile phone

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘洲洲,张捷.基于虚拟多通道的嵌入式Linux无线通讯模组设计与实现.《西南民族大学学报》.2006,第32卷(第4期),842-846. *

Also Published As

Publication number Publication date
CN101247600A (en) 2008-08-20

Similar Documents

Publication Publication Date Title
US20080045254A1 (en) Method and Apparatus for Maximizing Resource Utilization of Base Stations in a Communication Network
CN101247600B (en) Device for implementing multi-serial port in multi-module mobile phone system
EP2521418B1 (en) Methods for transmitting or receiving common public radio interface data in wireless base station and wireless base station
CN101188818B (en) Base station, processing method for its baseband signal and wireless communication system
CN101894042A (en) Realization method for sharing application among a plurality of operating systems, system and mobile terminal
CN104467925A (en) Dual-mode Bluetooth communication control method and dual-mode Bluetooth communication switching device
EP2880900B1 (en) Methods and systems for processing network messages in an accelerated processing device
CN102647813B (en) Wireless communication method and distributed base station system
CN103368688A (en) Data processing device
WO2013166779A1 (en) Data transmission method and device
JP2015537277A (en) Service processing method and apparatus
CN101695192A (en) Method and system for realizing resource distribution between baseband processing unit and radio frequency unit
CN102707997B (en) Device and method for driving multi-PDP data communication of mobile broadband equipment
CN1086896C (en) Radio communication system
CN102014463A (en) Access method and device
JP2021510266A (en) Network slice configuration method, first network element and second network element
CN102143109B (en) Modem architecture
CN104348510A (en) Control information transceiving device and method
CN101217786A (en) Baseband resource sharing method, communication system and device
WO2012155497A1 (en) Multimode terminal and method for implementing multimode multi-waiting
CN102474505A (en) Method and apparatus for providing interoperability between a first protocol and a second protocol
CN102546840B (en) Method, device and system for binding virtual serial port and physical serial port
CN101626431B (en) Processing method and processing system capable of adapting to communication mode
CN101316416B (en) Two-card two-standby mobile phone chip communication system and communication method
CN104144519A (en) Method and device for device-to-device communication

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120606

Termination date: 20170226