CN106900046A - Data transmission system and method - Google Patents

Data transmission system and method Download PDF

Info

Publication number
CN106900046A
CN106900046A CN201710206575.2A CN201710206575A CN106900046A CN 106900046 A CN106900046 A CN 106900046A CN 201710206575 A CN201710206575 A CN 201710206575A CN 106900046 A CN106900046 A CN 106900046A
Authority
CN
China
Prior art keywords
application processor
timer
sent
packet
value
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
CN201710206575.2A
Other languages
Chinese (zh)
Other versions
CN106900046B (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.)
Shandong yunshang big data 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 CN201710206575.2A priority Critical patent/CN106900046B/en
Publication of CN106900046A publication Critical patent/CN106900046A/en
Application granted granted Critical
Publication of CN106900046B publication Critical patent/CN106900046B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a kind of data transmission system and method, the method is applied to mobile terminal and the external equipment being connected with mobile terminal by preset interface, mobile terminal includes the first modem, the first application processor and the first timer that are connected with first user identification card and second user identification card, and external equipment includes the second application processor, the second timer and second modem;When the second application processor in wake-up states detects data is activation instruction, and detect when there is no the packet in transmission state in preset interface, initialize the second timer;When the value of the second timer is equal to or more than the first Preset Time, packet to be sent is sent to the first application processor in wake-up states by preset interface for the second application processor.The present invention is realized in mobile terminal realizes double LTE communication function courses by external equipment, improves the accuracy rate of the packet transmitted by mobile terminal identification external equipment.

Description

Data transmission system and method
Technical field
The present invention relates to communication technical field, more particularly to a kind of data transmission system and method.
Background technology
With the development of mobile communication technology, increasing mobile terminal such as smart mobile phone has the work(of double card bilateral Can so that user realize speech business it is standby simultaneously, data service link can be set up.Existing mobile terminal can be realized Two SIM (Subscriber Identity Module, subscriber identification card) cards are surfed the Net simultaneously, but an if SIM 4G (the 4th Generation Mobile Communication Technology, forth generation mobile communication skill on card Art), such as LTE (Long Term Evolution, Long Term Evolution), another card can only go up 3G (3rd Generation, G mobile communication) network or 2G (2-Generation wireless telephone technology, Two generation mobile communication technical specifications), i.e. two SIM cards can not simultaneously use 4G networks.Two cards in due to mobile terminal are complete When opening, to use 4G networks, another card can only use 2G or 3G network, cause data in mobile terminal to transmit only one card It is less efficient.If two SIM cards will simultaneously use 4G networks, it is necessary to two modems, and only one in mobile terminal Individual modem.
Therefore, it is mobile to improve data transmission efficiency in order that two SIM cards in mobile terminal support double LTE simultaneously Terminal can be connected (be provided with modem in the external equipment) with external equipment, so that two SIM cards pair of mobile terminal Different modems are answered, so as to realize double LTE communication functions.
But, current mobile terminal and external equipment are carried out in transmission of data packets, if external equipment to it is mobile eventually Hold the speed of transmission packet too fast, multiple identification of data packets that mobile terminal can send external equipment are a packet, Data interaction between mobile terminal and external equipment is caused the situation of identification mistake occur.
The content of the invention
It is a primary object of the present invention to propose a kind of data transmission system and method, it is intended to solve mobile terminal by outer Connect in the double LTE communication function courses of equipment realization, the skill of identification mistake occurs in data interaction between mobile terminal and external equipment Art problem.
To achieve the above object, a kind of data transmission system that the present invention is provided, the data transmission system includes movement Terminal and external equipment, the mobile terminal are connected by preset interface with the external equipment, and the mobile terminal includes the One modem, the first application processor and the first timer, first modem are recognized with first user respectively Card and the connection of second user identification card, the external equipment include the second application processor, the second timer and the second modulatedemodulate Adjust device;
Second application processor, detects data is activation instruction, and detect described for working as in wake-up states When there is no the packet in transmission state in preset interface, second timer is initialized;When second timer Value be equal to or more than the first Preset Time when, by the preset interface by packet to be sent be sent in wake up shape First application processor of state.
Alternatively, second application processor be additionally operable to ought in a dormant state, and receive data interaction ask when, Enter wake-up states from the resting state, detection bag is sent to first application processor by the preset interface, and Initialize second timer;When the value of second timer is equal to or more than the second Preset Time, detect whether Detect data is activation instruction.
Alternatively, first application processor be additionally operable to when receive in a dormant state it is described detection bag when, according to The detection bag enters the wake-up states from the resting state, and initializes first timer;When the described first meter When device value when being equal to or more than three Preset Time, receive the packet to be sent, and process described to be sent Packet, wherein, the difference between second Preset Time and the 3rd Preset Time is equal to or less than default value.
Alternatively, first application processor is additionally operable to judge whether the value of first timer is equal to or more than 3rd Preset Time;If the value of first timer is less than the 3rd Preset Time, and receives the data to be sent Bag, then abandon the packet to be sent.
Alternatively, second application processor is additionally operable to when the value of second timer is default less than the described 3rd Between when, be spaced preset duration after again by the preset interface send it is described detection bag to first application processor.
Additionally, to achieve the above object, the present invention also proposes a kind of data transmission method, the data transmission method application The external equipment being connected with the mobile terminal in mobile terminal and by preset interface, the mobile terminal includes that first adjusts Modulator-demodulator, the first application processor and the first timer, first modem respectively with first user identification card and Second user identification card is connected, and the external equipment includes the second application processor, the second timer and second modem;
When second application processor in wake-up states detects data is activation instruction, and detect described default When there is no the packet in transmission state in interface, second timer is initialized;
When the value of second timer is equal to or more than the first Preset Time, second application processor passes through Packet to be sent is sent to the preset interface first application processor in wake-up states.
Alternatively, it is described when second application processor for being in wake-up states detects data is activation instruction, and inspection Measure when there is no the packet in transmission state in the preset interface, the step of initialize second timer it Before, also include:
When second application processor in a dormant state, and second application processor receive data interaction please When asking, second application processor enters wake-up states from the resting state, and detection bag is sent by the preset interface To first application processor, and initialize second timer;
When the value of second timer is equal to or more than the second Preset Time, the second application processor detection Whether data is activation instruction is detected.
Alternatively, second application processor enters wake-up states from the resting state, by the preset interface After the step of detection bag being sent to first application processor, and initializes second timer, also include:
When first application processor in a dormant state receives the detection bag, the first application treatment Device enters the wake-up states according to the detection bag from the resting state, and initializes first timer;
Be sent to packet to be sent in wake-up states by the preset interface by second application processor After the step of first application processor, also include:
When the value of first timer is equal to or more than three Preset Time, first application processor The packet to be sent is received, and processes the packet to be sent, wherein, second Preset Time and described 3rd pre- If the difference between the time is equal to or less than default value.
Alternatively, when the value of first timer is equal to or more than three Preset Time, described first should Before the step of receiving the packet to be sent with processor, and process the packet to be sent, also include:
First application processor judges whether the value of first timer is equal to or more than the 3rd Preset Time;
If the value of first timer is less than the 3rd Preset Time, and first application processor receives institute Packet to be sent is stated, first application processor then abandons the packet to be sent.
Alternatively, second application processor enters wake-up states from the resting state, by the preset interface After the step of detection bag being sent to first application processor, and initializes second timer, also include:
When the value of second timer is less than three Preset Time, second application processor is pre- at interval If sending the detection bag to first application processor again by the preset interface after duration.
The present invention provides a kind of data transmission system and method, and the data transmission method is applied to mobile terminal and leads to The external equipment that preset interface is connected with mobile terminal is crossed, the mobile terminal includes the first modem and the first timing Device, first modem is connected with first user identification card and second user identification card respectively, the external equipment bag Include the second timer and second modem;When second application processor in wake-up states detects data is activation Instruction, and detect when there is no the packet in transmission state in the preset interface, initialize second timer; When the value of second timer is equal to or more than the first Preset Time, second application processor is by described default Packet to be sent is sent to interface first application processor in wake-up states.Mobile terminal is realized by outer Connecing in the double LTE communication function courses of equipment realization, when not there is no the packet in transmission state in preset interface, only existing When the value of the second timer is equal to or more than the first Preset Time, the second application processor just sends packet to be sent and sends To the first application processor.Mobile terminal and external equipment are avoided in transmission of data packets, if external equipment is to shifting The speed of dynamic terminal transmission data bag is too fast, and multiple identification of data packets that mobile terminal can send external equipment are a data The situation of bag occurs, and improves the accuracy rate of the packet transmitted by mobile terminal identification external equipment.
Brief description of the drawings
Fig. 1 is the schematic diagram of the LTE network framework of one embodiment of the invention;
Fig. 2 is mobile terminal and a kind of hardware architecture diagram of external equipment communication connection in the embodiment of the present invention;
Fig. 3 is mobile terminal and a kind of entity structure schematic diagram of external equipment communication connection in the embodiment of the present invention;
Fig. 4 be the embodiment of the present invention between the first application processor and the second application processor data transfer the first Schematic diagram;
Fig. 5 is in the embodiment of the present invention second of data transfer between the first application processor and the second application processor Schematic diagram;
Fig. 6 be the embodiment of the present invention between the first application processor and the second application processor data transfer the third Schematic diagram;
Fig. 7 is for one kind of data transfer is shown between the first modem and second modem in the embodiment of the present invention It is intended to;
Fig. 8 is the schematic flow sheet of data transmission method first embodiment of the present invention;
Fig. 9 is the schematic flow sheet of data transmission method second embodiment of the present invention;
Figure 10 is the schematic flow sheet of data transmission method fourth embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be explained referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the invention is realized referring now to Description of Drawings.In follow-up description, use For represent element such as " module ", " part " or " unit " suffix only for being conducive to explanation of the invention, itself Not specific meaning.Therefore, " module " can be used mixedly with " part ".
Fig. 1 is the schematic diagram of the LTE network framework of one embodiment of the invention.The LTE network framework of one embodiment of the invention Including:One or more mobile terminals (user equipment, UE) 100, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, the UMTS Terrestrial radio access network of evolution) (non-label in figure), evolution point Group core (EPC) (non-label in figure), home subscriber servers (HSS) 107, network (for example, internet) (non-label in figure) And circuit switching system (non-label in figure).
E-UTRAN includes evolution B node (eNodeB) 101 and other eNodeB 102.ENodeB 101 is provided towards shifting The user plane of dynamic terminal 100 and the protocol terminations of chain of command.ENodeB 101 can be connected to other eNodeB via X2 interface. ENodeB 101 is alternatively referred to as base station, base transceiver station, radio base station, wireless set, transceiver function, basic service Collection, extended service set or other certain suitable terms.ENodeB 101 is that mobile terminal 1 00 provides the access for going to EPC Point.
ENodeB 101 is connected to EPC by S1 interfaces.EPC includes mobile management entity (EEM) 104, other moving tubes Reason entity 106, gateway 103, and packet data network (PDN) gateway 105.Mobile management entity 104 is treatment movement The control node of the signaling between terminal 100 and EPC.Mobile management entity 104 is provided and carried and connection management.All User IPs Packet is transmitted by gateway 103, and gateway 103 is itself coupled to PDN Gateway 105.PDN Gateway 105 provides UE IP Address is distributed and other functions.PDN Gateway 105 is connected to network, for example, internet.
Circuit switching system includes interaction solution module (IWS) 108, mobile switching centre (MSC) 109, base station 110 With movement station 111.In one aspect, circuit switching system can be by IWS and MME (Mobility Management Entity, mobile management entity) communicated with EPS (Evolved Packet System, the grouping system of evolution).
Fig. 2 is mobile terminal and a kind of hardware architecture diagram of external equipment communication connection in the embodiment of the present invention. In the embodiment of the present invention, mobile terminal 1 00 is connected by preset interface with external equipment 200.Mobile terminal 1 00 is included at first Reason chip 001 and the first radio-frequency module 12 being connected with the first process chip 001.Wherein, the first process chip 001 includes first Application processor (Application Processor) 10 and first user identification card 13 and second user identification card 14 are connected The first modem 11 (modem1), RPM (Resource Power Manager, resource power supervisor) 15 and first Timer 16, first user identification card 13 and second user identification card 14 are SIM.External equipment 200 includes second processing core Piece 002 and the second radio-frequency module 22 being connected with second processing chip 002.Second processing chip 002 includes the second application treatment The timer 26 of device 20, second modem (modem2) 21 and second.
The inner frame of the first application processor 10 and the second application processor 20 includes application layer, ccf layer etc., can locate Manage the logical operation of complexity and carry out task distribution etc..In one embodiment, application processor refers to Android operations system System, and the various apk (Android Package, Android installation kit) based on Android operation system.In reality of the invention Apply in example, the first application processor 10 and the second application processor 20 are realized connecting by preset interface, provide the user interaction Interface, by the operational order of user input (for example, the operation of relevant startup video calling that user is input into by user interface refers to Make) be transferred to the first modem 11 or second modem 21, with realize between two processors the definition of data with Transmission, for example, carrying out the control of chip boot sequence when two dormancy of application processor, wake-up, control, the switching on and shutting down of synchronization Deng.
In an embodiment of the present invention, preset interface is USB (Universal Serial Bus, USB). USB is multiplexed out three data passages, be respectively used to user data between the first application processor 10 and the second application processor 20, The interaction of signaling data and SIM authorization data.That is the first application processor 10 and the second application processor 20 pass through USB transmission User data, signaling data and SIM authorization data.Wherein, user data includes but is not limited to the data that online is produced, picture With chat message data;Signaling data includes but is not limited to the control data of switching on and shutting down, and the control data of switch offline mode shows Show the control data of status signal;SIM authorization data includes but is not limited to IMSI (International Mobile Subscriber Identification Number, international mobile subscriber identity) and Ki (key identifier, authentication Key).
Specifically, the first application processor 10 and the second application processor 20 enter line number by OTG (On-The-Go) technology According to interaction.By OTG technologies, the first modem 11 in mobile terminal 1 00 can be by first user identification card 13 or the SIM parameter in two Subscriber Identity Modules 14 accesses eNodeB 101, and second modem 21 can be known by first user Not Ka 13 or the SIM parameter of second user identification card 14 access eNodeB 101, SIM parameter includes but is not limited to SIM Card authorization data.
The protocol stack of the network formats of the first modem 11 and second modem 21 comprising various network interactions, Protocol stack includes LTE/WCDMA (Wideband Code Division Multiple Access, WCDMA)/GSM (Global System for Mobile Communication, global system for mobile communications)/TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, synchronous time division CDMA)/CDMA (Code Division Multiple Access, CDMA)/EDGE (Enhanced Data Rate for GSM Evolution, strong type Data for GSM Evolution) etc. communication standard the inside regulation protocol code.Mobile terminal 1 00 is led to Agreement is crossed to be interacted with carrier network, that is, carry out data traffic online, VOLTE (Voice Over LTE) make a phone call or Make a phone call in CS (Circuit Switched, circuit switching) domain.First modem 11 and second modem 21 are also used In management and control to SIM etc..
In embodiments of the present invention, the first radio-frequency module 12 is transmitted to after being used for the data processing for transmitting mobile terminal 1 00 ENodeB 101 (base station network), and for being transmitted to mobile terminal 1 00 after the data processing of transmitting eNodeB 101.Second Radio-frequency module 22 is transmitted to eNodeB 101 (base station network) after being used for the data processing for transmitting external equipment 200, and is used for External equipment 200 is transmitted to after the data processing that eNodeB 101 is transmitted.
Wireless access technology involved by first radio-frequency module 12 and the second radio-frequency module 22 can include LTE, GSM, GPRS (General Packet Radio Service, general packet radio service), CDMA, EDGE, WLAN (Wireless Local Area Networks, WLAN), CDMA-2000, TD-SCDMA, WCDMA, WIFI (Wireless Fidelity, Wireless Fidelity) etc..
First user identification card 13 and second user identification card 14 are connected with the first modem 11, for providing movement Related data needed for communication service (CS speech businesses, PS data services and PS speech businesses), and in its storage inside user Information, short message, execution authentication arithmetic and generation cryptographic keys etc..First user identification card 13 and second user identification card 14 can The user profile that storage is associated with similar and different technical standard.In specific non-limiting examples, technical standard can be The 2G communication technologys, for example, GSM, EDGE), the 3G communication technologys (for example, WCDMA, TD-SCDMA), the 4G communication technologys (for example, ), or any other mobile communication technology (for example, 4G etc.) LTE.
Because current mobile terminal 1 00 only has a set of radio-frequency module, when mobile terminal 1 00 has two Subscriber Identity Modules When, two Subscriber Identity Modules of mobile terminal 1 00 are the relation of time-sharing multiplex using the set radio frequency, can not be taken simultaneously.Example Such as, in two Subscriber Identity Module standard-sized sheets, wherein a Subscriber Identity Module only processes GSM and converses, and another Subscriber Identity Module The treatment 4G network informations, specific which Subscriber Identity Module performs which kind of network, does not limit herein.Therefore current radio frequency double card This framework of time-sharing multiplex has only accomplished that (the corresponding technical standard of i.e. one Subscriber Identity Module is LTE, another use to LTE+GSM Identification card corresponding technical standard in family is GSM).
Although it is understood that existing mobile terminal 1 00 can support Dual-user identification card, due to mobile terminal 100 in the case of registered network, and what two Subscriber Identity Modules were supported is the network of different technologies standard, one support 2G or 3G, another support 4G, can cause during the use of mobile terminal 1 00, surfing flow speed is slower.In the embodiment of the present invention In, mobile terminal 1 00 connects external equipment 200 by USB, because external equipment 200 includes second modem 21 and the Two radio-frequency modules 22, and the second radio-frequency module 22 supports 4G networks, therefore, mobile terminal 1 00 can be by USB and external equipment 200 interactions, so that mobile terminal 1 00 possesses double LTE functions (now first user identification card 13 and second user identification card The technical standard of 14 management is LTE standard, the wireless access skill involved by the first radio-frequency module 12 and the second radio-frequency module 22 Art is LTE).
First user identification card 13 and/or second user identification card 14 when being interacted with mobile terminal 1 00, mobile terminal The signal of 100 detection Subscriber Identity Module presence or absence only in the instantaneous generation of start, exists when start can't detect Subscriber Identity Module When, will be prompted to " insertion Subscriber Identity Module ".After mobile terminal 1 00 is started shooting, 28 seconds between mobile terminal 1 00 and Subscriber Identity Module Whether communication once, completes the communication check (for example, Subscriber Identity Module in place etc.) of some fixations.
In an embodiment of the present invention, first user identification card 13 and the technical standard of the management of second user identification card 14 are equal It is LTE standard, the wireless access technology involved by the first radio-frequency module 12 and the second radio-frequency module 22 is LTE.Work as mobile terminal 100 with external equipment 200 by USB when not being connected, and the technical standard corresponding to first user identification card 13 is GSM, be used for into Row speech communication, second user identification card 14 supports LTE by the first modem 11, for carrying out data by 4G networks Access.When mobile terminal 1 00 is connected by USB with external equipment 200, first user identification card 13 can be by external equipment Second modem 21 in 200 supports LTE, and second user identification card 14 supports LTE by the first modem 11, To realize that mobile terminal 1 00 can support double LTE.
RPM15 be used for the various resources of management and control, including clock sources, bus resource, PMIC (Power Management IC, The voltage of power management integrated circuit, i.e. each chip), DDR (Memory Allocation), and the dormancy awakening of managing chip interruption The deadline waken up with application processor.The subsystems of mobile terminal 1 00, when resource is needed, apply providing to RPM15 Source, subsystems include the first application processor 10, the first modem 11, PRONTO (WIFI/ bluetooths, NFC respectively (Near Field Communication, near-field communication) etc.), LPASS (Low power audio subsystem, low-power consumption Audio subsystem), RPM15 is used for determining the resting state of the system of mobile terminal 1 00, and specifically, RPM15 is based on subsystems Voting mechanism realize that, when subsystems all throw dormancy ticket, RPM15 just can carry out the whole system of mobile terminal 1 00 Dormancy.And when mobile terminal 1 00 has a son or multiple subsystems throw the ticket for opposing dormancy, mobile terminal 1 00 is entirely System all cannot dormancy.
In the case where mobile terminal 1 00 and external equipment 200 communicate connection by USB, wake-up mode can be following three Kind:
1st, when the first application processor 10 receives signaling data, detection bag is sent to the second application processor by USB 20, to wake up the second application processor 20.
2nd, when second modem 21 receives user data, the second application processor 20 is waken up, by the second application Reason device 20 transmits detection bag to the first application processor 10 by USB, to wake up the first application processor 10.
3rd, second modem 21 periodically searches paging request, with active activation oneself.If receiving paging request, Second modem 21 then wakes up the second application processor 20, by the second application processor 20 by USB send detection bag to First application processor 10, to wake up the second application processor 20.
Additionally, second modem 21 can carry out location updating with periodic wakeup oneself with mobile terminal 1 00 When, interaction of shaking hands is carried out with base station, need not now wake up the first application processor 10.
When first timer 16 and the second timer 26 are used in mobile terminal 1 00 and the interaction of external equipment 200 Between calculating, to control the first application processor 10, the first modem 11, the second application processor 20 and/or second adjust Modulator-demodulator 21 enters wake-up states from resting state within a certain period of time, and the first application processor of control 10, first is adjusted Modulator-demodulator 11, the second application processor 20 and/or second modem 21 enter from wake-up states within a certain period of time stops Dormancy state.In embodiments of the present invention, the number of mobile terminal 1 00 and the Timer of external equipment 200 can be one, or It is multiple.
Reference picture 3, Fig. 3 is the entity structure schematic diagram of mobile terminal 1 of the present invention 00 and the communication connection of external equipment 200. Mobile terminal 1 00 is communicated with external equipment 200 by USB 300 and is connected, wherein, mobile terminal includes but is not limited to mobile phone, PC (Personal Computer, PC) or PAD (Personal Digital Assistant, personal digital assistant), outward Connect equipment 200 and include but is not limited to wireless Internet card and data card.It should be noted that mobile terminal 1 00 by USB 300 with The link position of external equipment 200 is not limited to shown in Fig. 3, can according to specific needs set mobile terminal 1 00 by USB 300 With the link position of external equipment 200.
Hardware architecture diagram and reality based on above-mentioned LTE network framework figure, mobile terminal 1 00 and external equipment 200 Body structural representation, proposes each embodiment of the invention.
The present embodiment proposes a kind of data transmission system, and data transmission system includes mobile terminal 1 00 and external equipment 200, mobile terminal 1 00 is connected by preset interface with the external equipment 200, and the mobile terminal 1 00 includes the first application Processor 10, the first modem 11, the first radio-frequency module 12 and the first timer 16, first modem 11 Be connected with first user identification card and second user identification card respectively, the external equipment 200 include the second application processor 20, Second radio-frequency module 22, the second timer 26 and second modem 21.
Second application processor 20, detects data is activation instruction, and detect default connecing for working as in wake-up states When there is no the packet in transmission state in mouthful, the second timer 26 is initialized;When the second timer 26 value be equal to or When person is more than the first Preset Time, packet to be sent is sent at the first application in wake-up states by preset interface Reason device 10.
When the second application processor 20 in wake-up states detects data is activation to be instructed, the second application processor 20 With the presence or absence of the packet in transmission state in detection preset interface, i.e., whether there is what is do not sent in detection preset interface Packet.If not there is no the packet in transmission state in preset interface, start the second timer 26, and initialize second Timer 26, the value for making the second timer 26 is 0.When the value of the second timer 26 is equal to or more than the first Preset Time, Packet to be sent is sent to the first application processor in wake-up states by preset interface for second application processor 20 10。
When the value of the second timer 26 is less than the first Preset Time, the pause of the second application processor 20 sends number to be sent According to bag to the first application processor 10.I.e. the second application processor 20 sends and treats response data packet to the first application processor 10 Time interval is the first Preset Time.In the present embodiment, the first Preset Time is set to 3ms, in other embodiments, first Preset Time may be alternatively provided as 4ms or 5ms etc..Preset interface is that (Universal Serial Bus, general serial is total for USB Line).In other embodiments, preset interface can be with the interface with USB said functions.
Further, when data is activation instruction is triggered by second modem 21, and preset interface is USB When, the detailed process for sending packet to be sent is:Second modem 21 by smd (share memory driver, Smd) packet to be sent is sent to the second application processor 20 by passage, and the second application processor 20 will be treated by USB interface Send packet and be sent to the first application processor 10, the first application processor 10 receives packet to be sent, by smd passages Packet to be sent is sent to the first modem 11.
Further, when there is the packet in transmission state in preset interface, the second application processor 20 is then waited The packet in transmission state is completely sent to the first application processor 10 in preset interface.
Further, not there is no the packet in transmission state in the second application processor 20 detects preset interface When, whether there is packet to be sent in the detection transmit queue of the second application processor 20.If existing in transmit queue to be sent Packet, then initialize the second timer 26, when the value of the second timer 26 is equal to or more than the first Preset Time, passes through Packet to be sent is sent to the first application processor 10 by preset interface.If there is no packet to be sent in transmit queue, The second timer 26 is then initialized, when the value of the second timer 26 is equal to or more than the first Preset Time, in transmit queue There is not packet to be sent also, the second application processor 20 then initializes the second timer 26 again.When the second timer 26 Value is more than or equal to setting time value, does not still there is packet to be sent in transmit queue, the second application processor 20 then from Wake-up states enter resting state.Setting time value can be set according to specific needs, and in the present embodiment, setting time value can It is set to 500ms, or 550ms etc..It is understood that transmit queue is the memory space for storing packet to be sent.Need It is noted that when the value of the second timer 26 is more than or equal to setting time value, still not having in transmit queue to be sent During packet, call the dormancy function that USB interface agreement carries to perform the sleep operation of USB, USB dormancy release it is shared when Clock resource, to realize the dormancy of application processor and modem.
The present embodiment by when the second application processor 20 in wake-up states detect data is activation instruct when, and inspection When there is no the packet in transmission state in survey preset interface, the second timer 26 is initialized;When the second timer 26 When value is equal to or more than the first Preset Time, be sent to for packet to be sent by preset interface by the second application processor 20 The first application processor 10 in wake-up states.Realize mobile terminal 1 00 and double LTE communications are realized by external equipment 200 In function course, when in preset interface do not exist in transmission state packet, and the second timer 26 value be equal to or When person is more than the first Preset Time, the second application processor 20 just sends packet to be sent and is sent to the first application processor 10, it is to avoid mobile terminal 1 00 and external equipment 200 in transmission of data packets, if external equipment 200 is to mobile terminal The speed of 100 transmission packets is too fast, and multiple identification of data packets that mobile terminal 1 00 can send external equipment 200 are one The situation of packet occurs, and improves the accuracy rate of the packet transmitted by the identification external equipment 200 of mobile terminal 1 00.
Further, data transmission system second embodiment of the present invention is proposed.
Data transmission system second embodiment is that the second application is processed with the difference of data transmission system first embodiment Device 20 is additionally operable to that in a dormant state, and when receiving data interaction request, wake-up states ought be entered from resting state, by pre- If interface sends detection bag to the first application processor 10, and initializes the second timer 26.
Second application processor 20 is additionally operable to when the value of the second timer 26 is equal to or more than the second Preset Time, inspection Whether survey detects data is activation instruction;
When the second application processor 20 in a dormant state, and the second application processor 20 receive data interaction request When, the second application processor 20 enters wake-up states from resting state.After the second application processor 20 enters wake-up states, the Two application processor 20 sends detection bag to the first application processor 10, and starts the execution Clocked operation of the second timer 26. When starting the second timer 26, the second timer 26 is initialized, so that the value of the second timer 26 is 0.Wherein, at the second application The data interaction request that reason device 20 is received can be the request of data that the second application processor 20 receives eNodeB 101, Huo Zhe Two application processors 20 need to obtain the number of the first user identification card or second user identification card in the first application processor 10 According to request, or the second application processor 20 has authentication requirement etc..
When the value of the second timer 26 is equal to or more than the second Preset Time, the second application processor 20 is then detected is It is no to detect data is activation instruction, wherein, data is activation instruction is the instruction of transmission packet to be sent.Second Preset Time Can according to specific needs set, in the present embodiment, the second Preset Time is set to 30ms, in other embodiments, Second Preset Time can be set to 34ms, or 40ms etc..
It should be noted that detection bag can use the character mark of fixed word length, the detection bag is not normal packet, is The field for being not in normal data packet.As in the present embodiment, detection bag can be represented with 0xF9F9F9, in other embodiments In, it is also possible to it is set to the detection bag of other forms, such as 0xF3F3 and 0x3F3F.
The present embodiment by when the second application processor 20 in a dormant state receive data interaction ask when, actively Enter wake-up states from resting state, and send detection bag to the first application processor 10, for the first application processor 10 Enter wake-up states from resting state according to detection bag, can enter with the first application processor 10 in order to the second application processor 20 The normal data interaction of row.
Further, data transmission system 3rd embodiment of the present invention is proposed.
Data transmission system 3rd embodiment is that the first application is processed with the difference of data transmission system second embodiment Device 10 is additionally operable to, when detection bag is received in a dormant state, wake-up states be entered from resting state according to detection bag, and just The first timer of beginningization 16.
Reference picture 4, when the first application processor 10 in a dormant state receives detection bag, the first application processor 10 enter wake-up states from resting state, and start the execution Clocked operation of the first timer 16, when the first timer 16 is started, The first timer 16 is initialized, so that the value of the first timer 16 is 0.First application processor 10 judges the first timer 16 Whether value is equal to or more than the 3rd Preset Time.Wherein, the 3rd Preset Time can be set according to specific needs, in this implementation In example, the 3rd Preset Time is set to 20ms, in other embodiments, also the 3rd Preset Time can be set to 25ms, or Person 28ms etc..
It should be noted that when preset interface is USB, the second application processor 20 is by USB to the first application treatment After device 10 sends probe data packet, MPM (the interruption detection module still survived under terminal deep sleep state) is detected on USB Data outage, MPM wakes up RPM, correspondence subsystem CPU waken up according to terminal signaling source by RPM, then corresponding subsystem is quilt Wake up treatment event.Needing what is waken up in this example has modem and application processor.
First application processor 10 is additionally operable to, when the value of the first timer 16 is equal to or more than three Preset Times, connect Packet to be sent is received, and processes packet to be sent, wherein, difference between the second Preset Time and the 3rd Preset Time etc. In or less than default value.
When the value of the first timer 16 is equal to or more than three Preset Times, the first application processor 10 receives pending Packet is sent, and processes packet to be sent.Such as when packet to be sent is to need the first application processor 10 to be responded, then First application processor 10 responds the packet to be sent;If the packets need to be sent is sent to first user identification card 13, then packet to be sent is sent to first user identification card 13.It is understood that the treatment of the first application processor 10 is treated The essence for sending packet is according to the attribute of packet to be sent packet to be sent to be sent into corresponding module or entered The corresponding treatment of row.
In order to ensure that mobile terminal 1 00 can normally receive the packet to be sent transmitted by external equipment 200, second presets Time should be more than difference between the 3rd Preset Time, and the second Preset Time and the 3rd Preset Time should be equal to or less than in advance If numerical value.It is understood that the first application processor 10 be should be less than from the time that resting state is changed to wake-up states or Equal to default value.In the present embodiment, default value is set to 10ms, and in other embodiments, default value may be configured as 8ms, or 9ms etc..
Comparison diagram 5 and Fig. 6 understood, the first application processor 10 can be waited from the time that resting state is changed to wake-up states It is now, between the 3rd Preset Time and default value and equal to the second Preset Time in default value (as shown in Figure 5).The One application processor 10 from resting state change to wake-up states time can less than default value (as shown in Figure 6), now, It is between 3rd Preset Time and default value and less than the second Preset Time.
Further, the first application processor 10 is additionally operable to judge whether the value of the first timer 16 is equal to or more than the Three Preset Times;If the value of the first timer is less than the 3rd Preset Time, and receives packet to be sent, then abandon to be sent Packet.
After the first application processor 10 is changed to wake-up states from resting state, the first application processor 10 judges first Whether the value of timer 16 is equal to or more than the 3rd Preset Time.If the value of the first timer 16 is less than the 3rd Preset Time, And first application processor 10 receive packet to be sent, the first application processor 10 then abandons the packet to be sent, no The packet to be sent is reported into upper strata.
Further, reference picture 7, when the detection bag is triggered by second modem 21, and preset interface is USB When, the detailed process for sending detection bag is:Second modem 21 will by smd (share memory driver) passage Detection bag is sent to the second application processor 20, and the second application processor 20 will detect bag and is sent at the first application by USB Reason device 10, the first application processor 10 is sent to the first modem 11 by the detection bag that smd passages will be received.By scheming 7 understand, when detection bag is when being triggered by second modem 21, the modem 11 of second modem 21 and first Wake-up mechanism and data transmitting mechanisms, wake-up mechanism and data with the first application processor 10 and the second application processor 20 are sent out Send mechanism to be similar to, will not be repeated here.
The present embodiment by when the first application processor 10 in a dormant state when, the second application processor 20 send detection Wrap to the first application processor 10, to wake up the first application processor 10.And enter wake-up states in the first application processor 10 Afterwards, by the time difference between the first timer 16 and the second timer 26, it is to avoid the second application processor 20 sends data Wrap during to the first application processor 10, the first application processor 10 is in incomplete wake-up states, causes the first application processor 10 situations for receiving packet failure occur.Double LTE communication function courses are realized by external equipment 200 in mobile terminal 1 00 In, improve the success rate of external equipment 200 and the data transfer of mobile terminal 1 00.
Further, data transmission system fourth embodiment of the present invention is proposed.
Data transmission system fourth embodiment is that the second application is processed with the difference of data transmission system second embodiment Device 20 is additionally operable to, when the value of the second timer 26 is less than three Preset Times, be connect again by default after preset duration is spaced Mouth sends detection bag to the first application processor 10.
When the second application processor 20 sends detection bag to the first application processor 10 by preset interface, and initialization the After two timers 26, whether the second application processor 20 judges the value of the second timer 26 less than the 3rd Preset Time.When second When the value of timer 26 is less than three Preset Times, the second application processor 20 connects after preset duration is spaced again by default Mouth sends detection bag to the first application processor 10.In the present embodiment, preset duration can be set according to specific needs, but be Ensure the first application processor 10 will not detection bag be mistakenly considered the normal data packet that the second application processor 20 sends, i.e., Detection bag is mistakenly considered the packet to be sent that the second application processor 20 sends, preset duration should be less than the 3rd it is default when Between.Such as preset duration can be set to 4ms, 6ms or 8ms etc..When the 3rd Preset Time is 20ms, preset duration is 6ms When, the second application processor 20 sends detection bag to the first application processor 10 after at interval of 6ms again by preset interface, That is the second application processor 20 have sent altogether three detection bags to the first application processor 10.
The present embodiment by when the second timer 26 value be less than three Preset Times when, the second application processor 20 Every detection bag is sent to the first application processor 10 again by preset interface after preset duration, to avoid the second application processor 20 during transmission detection bag is to the first application processor 10, detects packet loss, or detection is wrapped situations such as damaging and occurred, with Cause to fail to receive detection and wrap in the first application processor 10 to enter wake-up states from resting state.
The present invention also provides a kind of data transmission method.
Reference picture 8, Fig. 8 is the schematic flow sheet of data transmission method first embodiment of the present invention.
The present embodiment proposes a kind of data transmission method, in the present embodiment, there is provided the embodiment of data transmission method, It should be noted that, although show logical order in flow charts, but in some cases, can be with different from herein Order performs shown or described step.
Data transmission method is applied in the mobile terminal 1 00 being connected with external equipment 200 by preset interface, mobile whole End 100 includes the first modem 11, the first radio-frequency module 12, the first application processor 10 and the first timer 16, first Modem 11 is connected with first user identification card and second user identification card respectively, and external equipment 200 includes the second application Processor 20, the second radio-frequency module 22, the second timer 26 and second modem 21.
Step S10, when the second application processor 20 in wake-up states detects data is activation instruction, and detects pre- If there is no the packet in transmission state in interface, the second timer 26 is initialized.
Step S20, when the value of the second timer 26 is equal to or more than the first Preset Time, the second application processor 20 Packet to be sent is sent to by preset interface for the first application processor 10 in wake-up states.
When the second application processor 20 in wake-up states detects data is activation to be instructed, the second application processor 20 With the presence or absence of the packet in transmission state in detection preset interface, i.e., whether there is what is do not sent in detection preset interface Packet.If not there is no the packet in transmission state in preset interface, start the second timer 26, and initialize second Timer 26, the value for making the second timer 26 is 0.When the value of the second timer 26 is equal to or more than the first Preset Time, Packet to be sent is sent to the first application processor in wake-up states by preset interface for second application processor 20 10。
When the value of the second timer 26 is less than the first Preset Time, the pause of the second application processor 20 sends number to be sent According to bag to the first application processor 10.I.e. the second application processor 20 sends and treats response data packet to the first application processor 10 Time interval is the first Preset Time.In the present embodiment, the first Preset Time is set to 3ms, in other embodiments, first Preset Time may be alternatively provided as 4ms or 5ms etc..Preset interface is that (Universal Serial Bus, general serial is total for USB Line).In other embodiments, preset interface can be with the interface with USB said functions.
Further, when data is activation instruction is triggered by second modem 21, and preset interface is USB When, the detailed process for sending packet to be sent is:Second modem 21 by smd (share memory driver, Smd) packet to be sent is sent to the second application processor 20 by passage, and the second application processor 20 will be treated by USB interface Send packet and be sent to the first application processor 10, the first application processor 10 receives packet to be sent, by smd passages Packet to be sent is sent to the first modem 11.
Further, when there is the packet in transmission state in preset interface, the second application processor 20 is then waited The packet in transmission state is completely sent to the first application processor 10 in preset interface.
Further, not there is no the packet in transmission state in the second application processor 20 detects preset interface When, whether there is packet to be sent in the detection transmit queue of the second application processor 20.If existing in transmit queue to be sent Packet, then initialize the second timer 26, when the value of the second timer 26 is equal to or more than the first Preset Time, passes through Packet to be sent is sent to the first application processor 10 by preset interface.If there is no packet to be sent in transmit queue, The second timer 26 is then initialized, when the value of the second timer 26 is equal to or more than the first Preset Time, in transmit queue There is not packet to be sent also, the second application processor 20 then initializes the second timer 26 again.When the second timer 26 Value is more than or equal to setting time value, does not still there is packet to be sent in transmit queue, the second application processor 20 then from Wake-up states enter resting state.Setting time value can be set according to specific needs, and in the present embodiment, setting time value can It is set to 500ms, or 550ms etc..It is understood that transmit queue is the memory space for storing packet to be sent.Need It is noted that when the value of the second timer 26 is more than or equal to setting time value, still not having in transmit queue to be sent During packet, call the dormancy function that USB interface agreement carries to perform the sleep operation of USB, USB dormancy release it is shared when Clock resource, to realize the dormancy of application processor and modem.
The present embodiment by when the second application processor 20 in wake-up states detect data is activation instruct when, and inspection When there is no the packet in transmission state in survey preset interface, the second timer 26 is initialized;When the second timer 26 When value is equal to or more than the first Preset Time, be sent to for packet to be sent by preset interface by the second application processor 20 The first application processor 10 in wake-up states.Realize mobile terminal 1 00 and double LTE communications are realized by external equipment 200 In function course, when in preset interface do not exist in transmission state packet, and the second timer 26 value be equal to or When person is more than the first Preset Time, the second application processor 20 just sends packet to be sent and is sent to the first application processor 10, it is to avoid mobile terminal 1 00 and external equipment 200 in transmission of data packets, if external equipment 200 is to mobile terminal The speed of 100 transmission packets is too fast, and multiple identification of data packets that mobile terminal 1 00 can send external equipment 200 are one The situation of packet occurs, and improves the accuracy rate of the packet transmitted by the identification external equipment 200 of mobile terminal 1 00.
Further, data transmission method second embodiment of the present invention is proposed.
Data transmission method second embodiment is with the difference of data transmission method first embodiment, reference picture 9, data Transmission method also includes:
Step S30, when the second application processor 20 in a dormant state, and the second application processor 20 receive data friendship Mutually during request, the second application processor 20 enters wake-up states from resting state, and detection bag is sent to first by preset interface Application processor 10, and initialize the second timer 26.
Step S40, when the value of the second timer 26 is equal to or more than the second Preset Time, the second application processor 20 Detect whether to detect data is activation instruction.
When the second application processor 20 in a dormant state, and the second application processor 20 receive data interaction request When, the second application processor 20 enters wake-up states from resting state.After the second application processor 20 enters wake-up states, the Two application processor 20 sends detection bag to the first application processor 10, and starts the execution Clocked operation of the second timer 26. When starting the second timer 26, the second timer 26 is initialized, so that the value of the second timer 26 is 0.Wherein, at the second application The data interaction request that reason device 20 is received can be the request of data that the second application processor 20 receives eNodeB 101, Huo Zhe Two application processors 20 need to obtain the number of the first user identification card or second user identification card in the first application processor 10 According to request, or the second application processor 20 has authentication requirement etc..
When the value of the second timer 26 is equal to or more than the second Preset Time, the second application processor 20 is then detected is It is no to detect data is activation instruction, wherein, data is activation instruction is the instruction of transmission packet to be sent.Second Preset Time Can according to specific needs set, in the present embodiment, the second Preset Time is set to 30ms, in other embodiments, Second Preset Time can be set to 34ms, or 40ms etc..
It should be noted that detection bag can use the character mark of fixed word length, the detection bag is not normal packet, is The field for being not in normal data packet.As in the present embodiment, detection bag can be represented with 0xF9F9F9, in other embodiments In, it is also possible to it is set to the detection bag of other forms, such as 0xF3F3 and 0x3F3F.
The present embodiment by when the second application processor 20 in a dormant state receive data interaction ask when, actively Enter wake-up states from resting state, and send detection bag to the first application processor 10, for the first application processor 10 Enter wake-up states from resting state according to detection bag, can enter with the first application processor 10 in order to the second application processor 20 The normal data interaction of row.
Further, data transmission method 3rd embodiment of the present invention is proposed.
Data transmission method 3rd embodiment is with the difference of data transmission method second embodiment, data transmission method Also include:
Step a, when the first application processor 10 in a dormant state receives detection bag, the first application processor 10 Wake-up states are entered from resting state according to detection bag, and initializes the first timer 16.
Reference picture 4, when the first application processor 10 in a dormant state receives detection bag, the first application processor 10 enter wake-up states from resting state, and start the execution Clocked operation of the first timer 16, when the first timer 16 is started, The first timer 16 is initialized, so that the value of the first timer 16 is 0.First application processor 10 judges the first timer 16 Whether value is equal to or more than the 3rd Preset Time.Wherein, the 3rd Preset Time can be set according to specific needs, in this implementation In example, the 3rd Preset Time is set to 20ms, in other embodiments, also the 3rd Preset Time can be set to 25ms, or Person 28ms etc..
It should be noted that when preset interface is USB, the second application processor 20 is by USB to the first application treatment After device 10 sends probe data packet, MPM (the interruption detection module still survived under terminal deep sleep state) is detected on USB Data outage, MPM wakes up RPM, correspondence subsystem CPU waken up according to terminal signaling source by RPM, then corresponding subsystem is quilt Wake up treatment event.Needing what is waken up in this example has modem and application processor.
Step b, when the value of the first timer 16 is equal to or more than three Preset Times, the first application processor 10 connects Packet to be sent is received, and processes packet to be sent, wherein, difference between the second Preset Time and the 3rd Preset Time etc. In or less than default value.
When the value of the first timer 16 is equal to or more than three Preset Times, the first application processor 10 receives pending Packet is sent, and processes packet to be sent.Such as when packet to be sent is to need the first application processor 10 to be responded, then First application processor 10 responds the packet to be sent;If the packets need to be sent is sent to first user identification card 13, then packet to be sent is sent to first user identification card 13.It is understood that the treatment of the first application processor 10 is treated The essence for sending packet is according to the attribute of packet to be sent packet to be sent to be sent into corresponding module or entered The corresponding treatment of row.
In order to ensure that mobile terminal 1 00 can normally receive the packet to be sent transmitted by external equipment 200, second presets Time should be more than difference between the 3rd Preset Time, and the second Preset Time and the 3rd Preset Time should be equal to or less than in advance If numerical value.It is understood that the first application processor 10 be should be less than from the time that resting state is changed to wake-up states or Equal to default value.In the present embodiment, default value is set to 10ms, and in other embodiments, default value may be configured as 8ms, or 9ms etc..
Comparison diagram 5 and Fig. 6 understood, the first application processor 10 can be waited from the time that resting state is changed to wake-up states It is now, between the 3rd Preset Time and default value and equal to the second Preset Time in default value (as shown in Figure 5).The One application processor 10 from resting state change to wake-up states time can less than default value (as shown in Figure 6), now, It is between 3rd Preset Time and default value and less than the second Preset Time.
Further, data transmission method also includes:
Step c, when the first application processor 10 judges whether the value of the first timer 16 is default equal to or more than the 3rd Between.
Step d, if the value of the first timer 16 be less than the 3rd Preset Time, and the first application processor 10 receive it is pending Packet, the first application processor 10 is sent then to abandon packet to be sent.
After the first application processor 10 is changed to wake-up states from resting state, the first application processor 10 judges first Whether the value of timer 16 is equal to or more than the 3rd Preset Time.If the value of the first timer 16 is less than the 3rd Preset Time, And first application processor 10 receive packet to be sent, the first application processor 10 then abandons the packet to be sent, no The packet to be sent is reported into upper strata.
Further, reference picture 7, when the detection bag is triggered by second modem 21, and preset interface is USB When, the detailed process for sending detection bag is:Second modem 21 will by smd (share memory driver) passage Detection bag is sent to the second application processor 20, and the second application processor 20 will detect bag and is sent at the first application by USB Reason device 10, the first application processor 10 is sent to the first modem 11 by the detection bag that smd passages will be received.By scheming 7 understand, when detection bag is when being triggered by second modem 21, the modem 11 of second modem 21 and first Wake-up mechanism and data transmitting mechanisms, wake-up mechanism and data with the first application processor 10 and the second application processor 20 are sent out Send mechanism to be similar to, will not be repeated here.
The present embodiment by when the first application processor 10 in a dormant state when, the second application processor 20 send detection Wrap to the first application processor 10, to wake up the first application processor 10.And enter wake-up states in the first application processor 10 Afterwards, by the time difference between the first timer 16 and the second timer 26, it is to avoid the second application processor 20 sends data Wrap during to the first application processor 10, the first application processor 10 is in incomplete wake-up states, causes the first application processor 10 situations for receiving packet failure occur.Double LTE communication function courses are realized by external equipment 200 in mobile terminal 1 00 In, improve the success rate of external equipment 200 and the data transfer of mobile terminal 1 00.
Further, data transmission method fourth embodiment of the present invention is proposed.
Data transmission method fourth embodiment is that reference picture 10 is counted with the difference of data transmission method second embodiment Also include according to transmission method:
Step S50, when the value of the second timer 26 is less than three Preset Times, the second application processor 20 is pre- at interval If sending detection bag to the first application processor 10 again by preset interface after duration.
When the second application processor 20 sends detection bag to the first application processor 10 by preset interface, and initialization the After two timers 26, whether the second application processor 20 judges the value of the second timer 26 less than the 3rd Preset Time.When second When the value of timer 26 is less than three Preset Times, the second application processor 20 connects after preset duration is spaced again by default Mouth sends detection bag to the first application processor 10.In the present embodiment, preset duration can be set according to specific needs, but be Ensure the first application processor 10 will not detection bag be mistakenly considered the normal data packet that the second application processor 20 sends, i.e., Detection bag is mistakenly considered the packet to be sent that the second application processor 20 sends, preset duration should be less than the 3rd it is default when Between.Such as preset duration can be set to 4ms, 6ms or 8ms etc..When the 3rd Preset Time is 20ms, preset duration is 6ms When, the second application processor 20 sends detection bag to the first application processor 10 after at interval of 6ms again by preset interface, That is the second application processor 20 have sent altogether three detection bags to the first application processor 10.
The present embodiment by when the second timer 26 value be less than three Preset Times when, the second application processor 20 Every detection bag is sent to the first application processor 10 again by preset interface after preset duration, to avoid the second application processor 20 during transmission detection bag is to the first application processor 10, detects packet loss, or detection is wrapped situations such as damaging and occurred, with Cause to fail to receive detection and wrap in the first application processor 10 to enter wake-up states from resting state.
It should be noted that herein, term " including ", "comprising" or its any other variant be intended to non-row His property is included, so that process, method, article or system including a series of key elements not only include those key elements, and And also include other key elements being not expressly set out, or also include for this process, method, article or system institute are intrinsic Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably implementation method.Based on such understanding, technical scheme is substantially done to prior art in other words The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used to so that a station terminal equipment (can be mobile phone, computer, clothes Business device, air-conditioner, or network equipment etc.) method that performs each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of data transmission system, it is characterised in that the data transmission system includes mobile terminal and external equipment, described Mobile terminal is connected by preset interface with the external equipment, and the mobile terminal includes that the first modem, first answer With processor and the first timer, first modem connects with first user identification card and second user identification card respectively Connect, the external equipment includes the second application processor, the second timer and second modem;
Second application processor, detects data is activation instruction, and detect described default for working as in wake-up states When there is no the packet in transmission state in interface, second timer is initialized;When the value of second timer During equal to or more than the first Preset Time, packet to be sent is sent in wake-up states by the preset interface First application processor.
2. data transmission system as claimed in claim 1, it is characterised in that second application processor is additionally operable to when being in Resting state, and when receiving data interaction request, wake-up states are entered from the resting state, sent out by the preset interface Detection bag is sent to first application processor, and initializes second timer;When the value of second timer is equal to Or during more than the second Preset Time, detect whether to detect data is activation instruction.
3. data transmission system as claimed in claim 2, it is characterised in that first application processor is additionally operable to when being in When resting state receives the detection bag, the wake-up states are entered from the resting state according to the detection bag, and just Beginningization first timer;When the value of first timer is equal to or more than three Preset Time, institute is received Packet to be sent is stated, and processes the packet to be sent, wherein, second Preset Time and the 3rd Preset Time Between difference be equal to or less than default value.
4. data transmission system as claimed in claim 3, it is characterised in that first application processor is additionally operable to judge institute Whether the value for stating the first timer is equal to or more than the 3rd Preset Time;If the value of first timer is less than the described 3rd Preset Time, and receive the packet to be sent, then abandon the packet to be sent.
5. data transmission system as claimed in claim 2, it is characterised in that second application processor is additionally operable to when described When the value of the second timer is less than three Preset Time, sent again by the preset interface after preset duration is spaced The detection bag is to first application processor.
6. a kind of data transmission method, it is characterised in that the data transmission method is applied to mobile terminal and by default The external equipment that interface is connected with the mobile terminal, the mobile terminal includes the first modem, the first application treatment Device and the first timer, first modem are connected with first user identification card and second user identification card respectively, institute Stating external equipment includes the second application processor, the second timer and second modem;
When second application processor in wake-up states detects data is activation instruction, and detect the preset interface In when there is no the packet in transmission state, initialize second timer;
When the value of second timer is equal to or more than the first Preset Time, second application processor is by described Packet to be sent is sent to preset interface first application processor in wake-up states.
7. data transmission method as claimed in claim 6, it is characterised in that described when be in wake-up states described second should Data is activation is detected with processor to instruct, and detect and not there is no the packet in transmission state in the preset interface When, initialize second timer the step of before, also include:
When second application processor in a dormant state, and second application processor receive data interaction request When, second application processor enters wake-up states from the resting state, by the preset interface send detection bag to First application processor, and initialize second timer;
When the value of second timer is equal to or more than the second Preset Time, second application processor is detected whether Detect data is activation instruction.
8. data transmission method as claimed in claim 7, it is characterised in that second application processor is from the dormancy shape State enters wake-up states, sends detection bag to first application processor by the preset interface, and initialize described the After the step of two timers, also include:
When first application processor in a dormant state receives the detection bag, the first application processor root Enter the wake-up states from the resting state according to the detection bag, and initialize first timer;
Be sent to packet to be sent in described in wake-up states by the preset interface by second application processor After the step of first application processor, also include:
When the value of first timer is equal to or more than three Preset Time, first application processor is received The packet to be sent, and process the packet to be sent, wherein, second Preset Time and it is described 3rd it is default when Between between difference be equal to or less than default value.
9. data transmission method as claimed in claim 8, it is characterised in that when the value of first timer is equal to or big When three Preset Time, first application processor receives the packet to be sent, and processes described to be sent Before the step of packet, also include:
First application processor judges whether the value of first timer is equal to or more than the 3rd Preset Time;
If the value of first timer is less than the 3rd Preset Time, and first application processor receives described treating Packet is sent, first application processor then abandons the packet to be sent.
10. data transmission method as claimed in claim 7, it is characterised in that second application processor is from the dormancy State enters wake-up states, sends detection bag to first application processor by the preset interface, and initialize described After the step of second timer, also include:
When the value of second timer is less than three Preset Time, second application processor is when interval is default The detection bag is sent to first application processor again by the preset interface after length.
CN201710206575.2A 2017-03-30 2017-03-30 Data transmission system and method Active CN106900046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710206575.2A CN106900046B (en) 2017-03-30 2017-03-30 Data transmission system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710206575.2A CN106900046B (en) 2017-03-30 2017-03-30 Data transmission system and method

Publications (2)

Publication Number Publication Date
CN106900046A true CN106900046A (en) 2017-06-27
CN106900046B CN106900046B (en) 2020-10-09

Family

ID=59192962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710206575.2A Active CN106900046B (en) 2017-03-30 2017-03-30 Data transmission system and method

Country Status (1)

Country Link
CN (1) CN106900046B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101730270A (en) * 2009-11-23 2010-06-09 中国电信股份有限公司 Method for optimizing data transmission of mobile terminal and mobile terminal
CN202696911U (en) * 2012-05-25 2013-01-23 深圳市江波龙电子有限公司 Wireless communication system and wireless communication expansion device
US20130316769A1 (en) * 2012-05-25 2013-11-28 Samsung Electronics Co. Ltd. Dormancy mode control method and apparatus of portable terminal
CN203745958U (en) * 2013-12-30 2014-07-30 比亚迪股份有限公司 SIM card extension device and mobile terminal extension system with same
CN104702767A (en) * 2013-12-04 2015-06-10 中国电信股份有限公司 Method, subscriber identity module card and system used for sending messages
US20160205624A1 (en) * 2015-01-14 2016-07-14 Kyoto University Communication control method and communication device
CN105960000A (en) * 2016-06-12 2016-09-21 努比亚技术有限公司 Dormancy awakening method and processor
CN106372012A (en) * 2016-08-25 2017-02-01 长沙丰灼通讯科技有限公司 Serial port awakening system not using handshake control line and serial port communication method
CN106559086A (en) * 2015-09-30 2017-04-05 努比亚技术有限公司 Mobile terminal and wireless communications method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101730270A (en) * 2009-11-23 2010-06-09 中国电信股份有限公司 Method for optimizing data transmission of mobile terminal and mobile terminal
CN202696911U (en) * 2012-05-25 2013-01-23 深圳市江波龙电子有限公司 Wireless communication system and wireless communication expansion device
US20130316769A1 (en) * 2012-05-25 2013-11-28 Samsung Electronics Co. Ltd. Dormancy mode control method and apparatus of portable terminal
CN104702767A (en) * 2013-12-04 2015-06-10 中国电信股份有限公司 Method, subscriber identity module card and system used for sending messages
CN203745958U (en) * 2013-12-30 2014-07-30 比亚迪股份有限公司 SIM card extension device and mobile terminal extension system with same
US20160205624A1 (en) * 2015-01-14 2016-07-14 Kyoto University Communication control method and communication device
CN106559086A (en) * 2015-09-30 2017-04-05 努比亚技术有限公司 Mobile terminal and wireless communications method
CN105960000A (en) * 2016-06-12 2016-09-21 努比亚技术有限公司 Dormancy awakening method and processor
CN106372012A (en) * 2016-08-25 2017-02-01 长沙丰灼通讯科技有限公司 Serial port awakening system not using handshake control line and serial port communication method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
G. JUNG 等: "Performance improvements of Universal Mobile Telecommunications System enhanced uplink using mitigation scheme in single Tx and dual Rx dual-SIM dual-active devices", 《IEEE》 *
严晨哲: "《无线传感器网络GPRS功能开发中的双向数据传输》", 《数据通信》 *

Also Published As

Publication number Publication date
CN106900046B (en) 2020-10-09

Similar Documents

Publication Publication Date Title
CN107087269B (en) Mobile terminal and data transmission method thereof
CN107466070A (en) Data transmission system, method, external equipment and mobile terminal
CN106900045A (en) Data transmission system and method
CN107087057A (en) Data transmission system and method
CN107087062A (en) Data transmission system and method
CN106953984A (en) Data transmission system and method
CN106900046A (en) Data transmission system and method
CN106982461A (en) Data transmission system and method
CN107087058A (en) Mobile terminal and its data transmission method
CN106900047A (en) Data transmission system and method
CN107087063A (en) Data transmission system and method
CN106900048A (en) Data transmission system and method
CN106953983A (en) Data transmission system and method
CN107087061A (en) Data transmission system and method
CN107087059A (en) Data transmission system and method
CN107087060A (en) Data transmission system and method
CN106961718A (en) Data transmission system and method
CN106961720A (en) Data transmission system and method
CN106900049A (en) Mobile terminal and its data transmission method
CN107466025A (en) Data packet transmission system and method
CN107071165A (en) Data transmission system and method
CN106953981A (en) Mobile terminal and its data transmission method
CN107071875A (en) Mobile terminal and its data transmission method
CN107087270A (en) Data transmission system and method
CN107087268A (en) Data transmission system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200908

Address after: Room 601, 6 / F, office building, No.7, Huajian 1st block, hi tech Zone, Liaocheng City, Shandong Province

Applicant after: Shandong yunshang big data Co., Ltd

Address before: 518057 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant