CN102572797B - Method and system for transmitting data between terminal equipment and mobile terminal - Google Patents

Method and system for transmitting data between terminal equipment and mobile terminal Download PDF

Info

Publication number
CN102572797B
CN102572797B CN201210032058.5A CN201210032058A CN102572797B CN 102572797 B CN102572797 B CN 102572797B CN 201210032058 A CN201210032058 A CN 201210032058A CN 102572797 B CN102572797 B CN 102572797B
Authority
CN
China
Prior art keywords
mobile terminal
data
terminal equipment
terminal
port
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
CN201210032058.5A
Other languages
Chinese (zh)
Other versions
CN102572797A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201210032058.5A priority Critical patent/CN102572797B/en
Publication of CN102572797A publication Critical patent/CN102572797A/en
Application granted granted Critical
Publication of CN102572797B publication Critical patent/CN102572797B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method and a system for transmitting data between terminal equipment and a mobile terminal. The method comprises the following steps: the terminal equipment is connected with the mobile terminal by a communication port and a control port; when the type of transmitted data needs to be changed, the terminal equipment sends an instruction to the mobile terminal through the control port; after the mobile terminal receives the instruction, the data analysis procedure of the communication port is changed, and the instruction from the terminal equipment is responded after the change is finished; and the terminal equipment transmits a new data type after receiving the response of the mobile terminal. According to the invention, only two ports need to be used between the terminal equipment and the mobile terminal, the time-sharing transmission of multiple types of data on the communication port can be realized, and different types of data cannot interfere with others. By using the technique, the hardware cost is saved, the realization difficulty is reduced, and further the development time and the development cost are saved, and the competiveness of products in the mobile terminal is improved.

Description

The method and system of data are transmitted between a kind of terminal equipment and mobile terminal
Technical field
The present invention relates to mobile communication technology field, particularly relate to the method and system transmitting data between a kind of terminal equipment and mobile terminal.
Background technology
Mobile terminal (MS, as contained data card, mobile phone, fixed station etc.), be subsystem the closest with populace in mobile communication, mobile terminal can receive and dispatch the data of multiclass different-format, such as voice, grouped data etc.When mobile terminal and terminal equipment (TE, as PC) are connected, in order to transmit the data of all kinds of different-format, multiple port can be used to guarantee that every class data can with other data obfuscations.Also multiplex protocol (as the TS27.010 agreement that 3GPP provides) can be used simultaneously to carry out multiple session on a port, by the type of conversation area divided data, guarantee that they can not be obscured.
But in actual applications, port number limits by hardware condition, and the realization of multiplex protocol all acquires a certain degree of difficulty with debugging.
Summary of the invention
The object of the present invention is to provide a kind of method transmitting data between terminal equipment and mobile terminal, to realize multiple categorical data time sharing transmissions on a port.
Another object of the present invention is to provide the system transmitting data between a kind of terminal equipment and mobile terminal, there is the features such as cost is low, realization is simple, the development time is short.
The object of the invention is to be achieved through the following technical solutions.
Transmit a method for data between terminal equipment and mobile terminal, comprise step:
A: be connected by PORT COM and control port between terminal equipment with mobile terminal;
B: when changing wire data type, terminal equipment sends instruction by control port to mobile terminal;
C: after mobile terminal receives instruction, changes the Data Analysis program of PORT COM, and completes the instruction of changing rear response terminal equipment and sending;
D: transmit new data type by PORT COM after terminal equipment receives the response of mobile terminal.
Preferably, steps d also comprises the data transmission program that terminal equipment changes PORT COM.
Preferably, in step b, if mobile terminal request changes wire data type, then also comprise:
Mobile terminal reports its current state by control port, and informs its data type changed.
Preferably, described data type comprises pcm audio data, AT director data or grouped data.
Transmit a system for data between terminal equipment and mobile terminal, comprising: terminal equipment and mobile terminal, be connected by PORT COM and control port between terminal equipment with mobile terminal;
Described PORT COM is used between terminal equipment and mobile terminal, transmit all types of data,
Described control port for arranging the current data type transmitted in PORT COM,
Described terminal equipment, for when changing wire data type, sends instruction by control port to described mobile terminal as master control side;
Described mobile terminal, after receiving instruction, changes the Data Analysis program of PORT COM, and completes the instruction of changing the described terminal equipment of rear response and sending;
Described terminal equipment, also for receive described mobile terminal response after, transmit new data type by PORT COM.
The present invention compared with prior art, use two ports (PORT COM and control port) are only needed between terminal equipment of the present invention and mobile terminal, just can realize the time sharing transmissions of multiple categorical data in PORT COM, and Various types of data can not be disturbed mutually.Use this technology can save hardware cost, reduction realizes difficulty, and then save development time and development cost, improve the competitiveness of mobile terminal product.
Accompanying drawing explanation
Fig. 1 is the system block diagram transmitting data between terminal equipment of the present invention and mobile terminal;
Fig. 2 is the embodiment of the present invention one method flow diagram;
Fig. 3 is the embodiment of the present invention two method flow diagram.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to shown in Fig. 1, transmit the system block diagram of data between terminal equipment of the present invention and mobile terminal, comprising: terminal equipment and mobile terminal, be connected by PORT COM and control port between terminal equipment with mobile terminal.Wherein PORT COM is for transmitting all types of data, and control port is for arranging the current type at PORT COM transmitting data.
Terminal equipment is the master control side in data transmission procedure, PORT COM is transmitted which kind of data and is determined by terminal equipment.If terminal equipment initiatively changes the data type in PORT COM, terminal equipment just sends instruction to mobile terminal, informs the data type that mobile terminal is new on control port.After mobile terminal receives the control command that terminal equipment sends, change the Data Analysis program of PORT COM, and complete change after the instruction of sending of response terminal equipment.Terminal equipment receives the response of mobile terminal, can confirm that mobile terminal has been ready to receive data, PORT COM is transmitted new data.
If mobile terminal request changes the data type in PORT COM.Mobile terminal just reports the current state of mobile terminal by control port, indicate the data type expecting transmission.Terminal equipment receive mobile terminal report request after, just send instruction to mobile terminal, inform the data type that mobile terminal is new on control port, the consistent during data type that follow-up flow process initiatively changes in PORT COM with terminal equipment.
Embodiment one:
As shown in Figure 2, the data in PORT COM switch to pcm audio data flowchart by AT instruction, comprise step:
201, before switching, what PORT COM was transmitted is AT instruction, and what control port transmitted is also AT instruction.
202, when mobile terminal is called or has an electroshock bell, the state that mobile terminal reports oneself current by control port.
203, terminal equipment receives the reporting information of mobile terminal, sends instruction AT+SETPORTMODE=1 by control port to mobile terminal, represents that PORT COM will transmit pcm audio data.
204, mobile terminal changes the Data Analysis program of PORT COM, namely uses pcm audio Data Analysis program, prepares the pcm audio data that receiving terminal apparatus sends.
205, mobile terminal receives instruction AT+SETPORTMODE=1 on control port, responds " OK " as answer signal.
206, after terminal equipment receives " OK " response of mobile terminal instruction on control port, namely determine that mobile terminal is ready.Terminal equipment changes the data transmission program of PORT COM, namely uses pcm audio data transmission program.
207, switched, what PORT COM was transmitted is pcm audio data; What control port transmitted is AT instruction.
Embodiment two:
As shown in Figure 3, the data in PORT COM are AT instruction flow chart by pcm audio data exchange, comprise step:
301, before switching, what PORT COM was transmitted is pcm audio data, and what control port transmitted is AT instruction.
302, voice call terminates, and terminal equipment sends instruction AT+SETPORTMODE=0 by control port, represents and PORT COM will transmit AT instruction.
303, terminal equipment stops the data receiving PORT COM, stops in PORT COM and sends pcm audio data.
304, terminal equipment changes the data transmission program of PORT COM, namely uses AT instruction transmission program.
305, after mobile terminal receives instruction AT+SETPORTMODE=0 on control port, " OK " is responded as answer signal.
306, mobile terminal stops in PORT COM and receives pcm audio data.
307, mobile terminal changes the Data Analysis program of PORT COM, namely uses AT instructions parse program, prepares the AT instruction that receiving terminal apparatus sends.
308, after terminal equipment receives " OK " response of mobile terminal instruction on control port, namely determine that mobile terminal is ready.Terminal equipment sends AT instruction repertorie to mobile terminal in PORT COM.
309, switched, what PORT COM was transmitted is AT instruction, and what control port transmitted is also AT instruction.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (5)

1. transmit a method for data between terminal equipment and mobile terminal, it is characterized in that, comprise step:
A: be connected by PORT COM and control port between terminal equipment with mobile terminal;
B: when changing wire data type, terminal equipment sends instruction by control port to mobile terminal;
C: after mobile terminal receives instruction, changes the Data Analysis program of PORT COM, and completes the instruction of changing rear response terminal equipment and sending;
D: transmit new data type by PORT COM after terminal equipment receives the response of mobile terminal.
2. transmit the method for data as claimed in claim 1 between terminal equipment and mobile terminal, it is characterized in that, steps d also comprises the data transmission program that terminal equipment changes PORT COM.
3. transmit the method for data as claimed in claim 1 between terminal equipment and mobile terminal, it is characterized in that, in step b, if mobile terminal request changes wire data type, then also comprise:
Mobile terminal reports its current state by control port, and informs its data type changed.
4. the terminal equipment as described in any one of claims 1 to 3 and transmit the method for data between mobile terminal, it is characterized in that, described data type comprises pcm audio data, AT director data or grouped data.
5. transmit a system for data between terminal equipment and mobile terminal, it is characterized in that, comprising: terminal equipment and mobile terminal, be connected by PORT COM and control port between terminal equipment with mobile terminal;
Described PORT COM is used between terminal equipment and mobile terminal, transmit all types of data,
Described control port is for arranging the current data type transmitted in PORT COM;
Described terminal equipment, need for informing according to described mobile terminal change the data type of transmission, send instruction as master control side by control port to described mobile terminal, or, at the end of voice call, send instruction by control port to described mobile terminal;
Described mobile terminal, during for calling or having an electroshock bell, reports its current state by control port to described terminal equipment, informs the data type that need change transmission; After receiving instruction, change the Data Analysis program of PORT COM, and complete the instruction of changing the described terminal equipment of rear response and sending;
Described terminal equipment, also for receive described mobile terminal response after, transmit new data type by PORT COM.
CN201210032058.5A 2012-02-14 2012-02-14 Method and system for transmitting data between terminal equipment and mobile terminal Expired - Fee Related CN102572797B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210032058.5A CN102572797B (en) 2012-02-14 2012-02-14 Method and system for transmitting data between terminal equipment and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210032058.5A CN102572797B (en) 2012-02-14 2012-02-14 Method and system for transmitting data between terminal equipment and mobile terminal

Publications (2)

Publication Number Publication Date
CN102572797A CN102572797A (en) 2012-07-11
CN102572797B true CN102572797B (en) 2015-06-17

Family

ID=46417009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210032058.5A Expired - Fee Related CN102572797B (en) 2012-02-14 2012-02-14 Method and system for transmitting data between terminal equipment and mobile terminal

Country Status (1)

Country Link
CN (1) CN102572797B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102334A (en) * 2007-08-03 2008-01-09 中兴通讯股份有限公司 Method and device for establishing information transmission between terminal device and mobile terminal
WO2009151758A1 (en) * 2008-06-10 2009-12-17 Plantronics, Inc. Mobile telephony presence
CN101627633A (en) * 2006-09-05 2010-01-13 Lg电子株式会社 Method of transmitting link-adaptive transmission of data stream in a mobile communication system
CN101969454A (en) * 2010-09-06 2011-02-09 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for realizing data transmission between mobile terminal and computer
CN102307230A (en) * 2011-08-18 2012-01-04 中兴通讯股份有限公司 Service transmission method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101627633A (en) * 2006-09-05 2010-01-13 Lg电子株式会社 Method of transmitting link-adaptive transmission of data stream in a mobile communication system
CN101102334A (en) * 2007-08-03 2008-01-09 中兴通讯股份有限公司 Method and device for establishing information transmission between terminal device and mobile terminal
WO2009151758A1 (en) * 2008-06-10 2009-12-17 Plantronics, Inc. Mobile telephony presence
CN101969454A (en) * 2010-09-06 2011-02-09 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for realizing data transmission between mobile terminal and computer
CN102307230A (en) * 2011-08-18 2012-01-04 中兴通讯股份有限公司 Service transmission method and device

Also Published As

Publication number Publication date
CN102572797A (en) 2012-07-11

Similar Documents

Publication Publication Date Title
CN111405635B (en) Method, device and equipment for realizing capability opening and computer readable storage medium
CN108617034A (en) Connected state control method, equipment and the system of terminal
CN103312528A (en) Heartbeat message sending method and user terminal
CN104469694A (en) Communication method and device based on clustering system
CN103200530A (en) Method and device for achieving cluster group calling service
CN103533533A (en) Signal transmission method and device
CN103595978A (en) Negotiation coding resolution method used for video communication and system thereof
CN109451853A (en) Indicate method and device, terminal and the base station of multi-service data multiplexing transmission
CN105578438A (en) Fixed-line telephone sharing method and related equipment
CN103944918A (en) Digital trunking system and telephone system communication method, exchanger and system
CN106302093B (en) Communication method, system and server
CN111417199A (en) C L I measurement reference signal configuration, transceiving method, device, medium and equipment
CN103582032B (en) A kind of realize the wireless voice of multiple priority levels business and the method for data corresponding
CN110856213B (en) Method and device for switching data transmission modes, storage medium and electronic equipment
CN103856290A (en) Data transmission method and device
US9301295B1 (en) Redirection of wireless communication devices to target base stations that support requested media sessions
CN104837186A (en) Method and device for terminal voice communication
CN102572797B (en) Method and system for transmitting data between terminal equipment and mobile terminal
CN103458119A (en) Mobile communication terminal remote control system
CN109525972B (en) Method, terminal and system for controlling other terminals through Bluetooth information
CN104703291A (en) MiFi-based communication method and relevant MiFi
CN105634931A (en) Messaging service processing method and instant messaging server
CN101572695A (en) Method, system and device for switching transmission stream paths
CN103167432A (en) System and method for achieving near-field information sending based on bluetooth transmission protocol
MX2020009289A (en) Resource configuration method, first communication device, second communication device and system.

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 518000 Guangdong province Shenzhen city Nanshan District high tech park, No. 9018 North Central Avenue, building A, floor 10, Han's innovation

Applicant after: NUBIA TECHNOLOGY Co.,Ltd.

Address before: 518000 Guangdong province Shenzhen city Nanshan District high tech park, No. 9018 North Central Avenue, building A, floor 10, Han's innovation

Applicant before: SHENZHEN ZTE MOBILE TELECOM Co.,Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHENZHEN ZTE MOBILE TECH CO., LTD. TO: NUBIAN TECHNOLOGIES LTD.

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: 20150617

CF01 Termination of patent right due to non-payment of annual fee