CN106961719A - Data transmission system and method - Google Patents

Data transmission system and method Download PDF

Info

Publication number
CN106961719A
CN106961719A CN201710206638.4A CN201710206638A CN106961719A CN 106961719 A CN106961719 A CN 106961719A CN 201710206638 A CN201710206638 A CN 201710206638A CN 106961719 A CN106961719 A CN 106961719A
Authority
CN
China
Prior art keywords
application processor
keyword
state
wake
packet
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
CN201710206638.4A
Other languages
Chinese (zh)
Other versions
CN106961719B (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 CN201710206638.4A priority Critical patent/CN106961719B/en
Publication of CN106961719A publication Critical patent/CN106961719A/en
Application granted granted Critical
Publication of CN106961719B publication Critical patent/CN106961719B/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, this method is applied to mobile terminal and the external equipment being connected by preset interface with mobile terminal, mobile terminal includes the first application processor, entity user identification card and is embedded with the first modem of virtual user identifying card, and external equipment includes the second application processor and second modem;When the second application processor for entering wake-up states from resting state by keyword of shaking hands, which detects data, sends instruction, the packet in transmission state is whether there is in detection preset interface;If not there is no the packet in transmission state in preset interface, after the first preset time, packet to be sent is sent to the first application processor in wake-up states by the second application processor by preset interface.The present invention is realized during mobile terminal realizes double LTE communications 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 use 4G networks simultaneously.Because two cards in mobile terminal are complete When opening, only one card is to use 4G networks, and another card can only use 2G or 3G network, cause data in mobile terminal to transmit It is less efficient.If two SIM cards will use 4G networks simultaneously, it is necessary to two modems, and there was 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 with external equipment and (be provided with modem in the 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 is whole to movement 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 pass through it is outer Connect during the double LTE communications of equipment realization, the technology that identification mistake occurs in data interaction between mobile terminal and external equipment is asked Topic.
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 application processor, entity user identification card and the first modem for being embedded with virtual user identifying card, it is described external Equipment includes the second application processor and second modem;
Second application processor, for being detected after wake-up states are entered from resting state by keyword of shaking hands When data send instruction, detect and whether there is the packet in transmission state in the preset interface;
If second application processor is additionally operable in the preset interface not no presence of the packet in transmission state, After the first preset time, packet to be sent is sent to described in wake-up states by the preset interface One application processor.
Alternatively, second application processor is additionally operable to that the first data interaction request ought be received in a dormant state When, send first and shake hands keyword to first application processor, enter first from resting state and send state;
Second application processor is additionally operable to anti-when receiving first application processor in the second preset time Feedback with described first shake hands keyword corresponding second shake hands keyword when, shake hands keyword from described the according to described second One transmission state enters wake-up states.
Alternatively, first application processor, for second application processor ought to be received in a dormant state Described first sent shake hands keyword when, whether the keyword of shaking hands of detection described first is residual bag;
If it is not residual bag that first application processor, which is additionally operable to the described first keyword of shaking hands, enters second and send shape State, and feed back described second and shake hands keyword to second application processor;
First application processor is additionally operable to when feedback described second shakes hands keyword to second application processor Afterwards, wake-up states are entered from the second transmission state.
Alternatively, if second application processor is additionally operable to not receive described second in second preset time Shake hands keyword, then resend described first and shake hands keyword to first application processor;
If second application processor be additionally operable to resend described first shake hands keyword to described first application After processor, do not receive described second also in second preset time and shake hands keyword, then into resting state.
Alternatively, first application processor is additionally operable to work as receives the packet to be sent in wake-up states When, whether detection receives the second data interaction request in the 3rd preset time;
If first application processor is additionally operable to not receive the second data friendship in the 3rd preset time Mutually request, then enter resting state from wake-up states.
In addition, 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 in mobile terminal and by preset interface with the mobile terminal, the mobile terminal includes first should With processor, entity user identification card and it is embedded with the first modem of virtual user identifying card, the external equipment Including the second application processor and second modem;
When second application processor for entering wake-up states from resting state by keyword of shaking hands detects data When sending instruction, detect and whether there is the packet in transmission state in the preset interface;
If not there is no the packet in transmission state, after the first preset time, institute in the preset interface State the second application processor by the preset interface by packet to be sent be sent in wake-up states described first should Use processor.
Alternatively, it is described when second application processor for entering wake-up states from resting state by keyword of shaking hands When detecting data and sending instruction, the step of detecting the packet that whether there is in the preset interface in transmission state it Before, also include:
When second application processor in a dormant state receives the first data interaction request, send first and hold Hand keyword gives first application processor, and second application processor enters first from resting state and sends state;
When receiving being shaken hands keyword with described first for first application processor feedback in the second preset time Corresponding second shake hands keyword when, second application processor according to described second shake hands keyword from described first send State enters wake-up states.
Alternatively, the data transmission method also includes:
When first application processor in a dormant state is received described in the second application processor transmission First shake hands keyword when, whether the keyword of shaking hands of first application processor detection described first is residual bag;
If the described first keyword of shaking hands is not residual bag, first application processor enters second and sends state, and Feed back described second and shake hands keyword to second application processor;
After feeding back described second and shaking hands keyword to second application processor, first application processor is from the Two transmission states enter wake-up states.
Alternatively, it is described to be asked when second application processor in the resting state receives the first data interaction When asking, send first and shake hands keyword to first application processor, second application processor enters from resting state After the step of first transmission state, also include:
If second application processor does not receive described second in second preset time and shaken hands keyword, Resend described first and shake hands keyword to first application processor;
If shaking hands keyword to after first application processor resending described first, the second application processing Device does not receive described second also in second preset time and shaken hands keyword, then into resting state.
Alternatively, if not there is no the packet in transmission state in the preset interface, pre- by first If after the time, packet to be sent is sent in wake-up states by second application processor by the preset interface After the step of first application processor, also include:
When first application processor in wake-up states receives the packet to be sent, detect the 3rd Whether second data interaction request is received in preset time;
If not receiving the second data interaction request in the 3rd preset time, the first application processing Device enters resting state from wake-up states.
The present invention provides a kind of data transmission system and method, and the data transmission method is applied to mobile terminal and logical The external equipment that preset interface is connected with the mobile terminal is crossed, the mobile terminal includes the first application processor, entity and used Family identification card and the first modem for being embedded with virtual user identifying card, the external equipment are included at the second application Manage device and second modem;When second application for entering wake-up states from resting state by keyword of shaking hands is handled When device detects data transmission instruction, detect and whether there is the packet in transmission state in the preset interface;If described Not there is no the packet in transmission state in preset interface, then after the first preset time, second application is handled Packet to be sent is sent to first application processor in wake-up states by device by the preset interface.Realize Mobile terminal is realized by external equipment during double LTE communications, when presence is not in the data of transmission state in preset interface Bao Shi, only after the first preset time, the second application processor just sends packet to be sent and is sent to the first application Processor.Mobile terminal and external equipment are avoided in transmission of data packets, if external equipment is transmitted to mobile terminal The speed of packet is too fast, and multiple identification of data packets that mobile terminal can send external equipment go out for the situation of a packet It is existing, improve 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 is that the first application processor in the embodiment of the present invention and the second application processor enter wake-up shape from resting state The first schematic diagram of state;
Fig. 5 is that the first application processor in the embodiment of the present invention and the second application processor enter wake-up shape from resting state Second of schematic diagram of state;
Fig. 6 is that the first application processor in the embodiment of the present invention and the second application processor enter dormancy shape from wake-up states A kind of schematic diagram of state;
Fig. 7 is the schematic flow sheet of data transmission method first embodiment of the present invention;
Fig. 8 is the schematic flow sheet of data transmission method second embodiment of the present invention;
Fig. 9 is the schematic flow sheet of data transmission method 3rd embodiment of the present invention;
Figure 10 is the schematic flow sheet of data transmission method fourth embodiment of the present invention;
Figure 11 is the schematic flow sheet of the embodiment of data transmission method the 5th of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be explained referring to the drawings in conjunction with the embodiments.
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.
Describe to realize the mobile terminal of each embodiment of the invention referring now to accompanying drawing.In follow-up description, use For represent element such as " module ", " part " or " unit " suffix only for be conducive to the present invention explanation, 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 some other 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 Manage entity 106, gateway 103, and packet data network (PDN) gateway 105.Mobile management entity 104 is processing movement The control node of signaling between terminal 100 and EPC.Mobile management entity 104 provides carrying 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 pass through 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, the first modem 11 being connected with entity user identification card 14 (modem1), RPM (Resource Power Manager, resource power supervisor) 15 and the first timer 16, the first modulation Demodulator 11 is embedded with virtual user identifying card 13, and entity user identification card 14 is SIM card.External equipment 200 is included at second Reason chip 002 and the second radio-frequency module 22 being connected with second processing chip 002.Wherein, second processing chip 002 includes second Application processor 20, the timer 26 of second modem (modem2) 21 and second.
The inner frame of 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 embodiments of the present invention, application processor refers to Android operations system System, and the various apk (Android Package, Android installation kit) based on Android operation system.First application processing The application processor 20 of device 10 and second is realized by preset interface and connected, and interactive interface is provided the user, by the behaviour of user input (for example, the operational order for the relevant startup video calling that user is inputted by user interface) is instructed to be transferred to the first modulatedemodulate Device 11 or second modem 21 are adjusted, should for example, carrying out two to realize the definition and transmission of data between two processors Control with chip boot sequence when the dormancy of processor, wake-up, synchronous control, switching on and shutting down etc..
First application processor 10 is connected by preset interface with the second application processor 20, to realize mobile terminal 1 00 With the connection between external equipment 200.In embodiments of the present invention, preset interface be USB (Universal Serial Bus, USB).USB is multiplexed out three data passages, is respectively used to the first application processor 10 and the second application processor The interaction of user data, signaling data and SIM card authorization data between 20.That is the first application processor 10 and the second application processing Device 20 passes through USB transmission user data, signaling data and SIM card authorization data.Wherein, user data includes but is not limited to online The data of generation, picture and chat message data;Signaling data includes but is not limited to the control data of switching on and shutting down, switchs flight mould The control data of formula, the control data of dispaly state signal;SIM card authorization data includes but is not limited to IMSI (International Mobile Subscriber Identification Number, international mobile subscriber identity) and Ki (key identifier, KI).
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 pass through entity user identification card 14 or void Intend the SIM card parameter in Subscriber Identity Module 13 to access eNodeB 101, second modem 21 can be known by entity user Not Ka 14 or the SIM card parameter of virtual user identifying card 13 access eNodeB 101, SIM card parameter includes but is not limited to SIM Card authorization data.
The protocol stack of the network formats of 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. protocol code as defined in inside communication standard.Mobile terminal 1 00 is led to Agreement is crossed to interact 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 card etc..
First radio-frequency module 12 is transmitted to (the base station nets of eNodeB 101 after being used for the data processing of transmitting mobile terminal 1 00 Network), and for being transmitted to mobile terminal 1 00 after the data processing of transmitting eNodeB 101.Second radio-frequency module 22 is used for will ENodeB 101 (base station network) is transmitted to after the data processing that external equipment 200 is transmitted, and for eNodeB 101 to be transmitted Data processing after be transmitted to external equipment 200.
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..
Virtual user identifying card 13 in the form of software embed with the first modem 11 in, virtual user identifying card 13 Including memory module and virtual chip operating system (VCOS, Virtual Chip Operating System), the memory module Can be EFS (Encrypting File System, encrypted file system), memory module is used to store virtual user identifying card 13 Authorization data.
Entity user identification card 14 is connected with the first modem 11.Entity user identification card 14 and Virtual User identification Card 13 can store the user profile associated with similar and different technical standard, for providing mobile communication business (CS voices Business, PS data services and PS speech businesses) needed for related data, and in its storage inside user profile, short message, execution Authentication arithmetic and generation cryptographic keys etc..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, LTE), or any other movement The communication technology (for example, 4G etc.).
When virtual user identifying card 13 needs to carry out network registry, sent by Wireless Fidelity (WIFI) network of unlatching The corresponding cloud server of virtual user identifying card 13 is downloaded request to comprising service menu data, to be obtained from cloud server Take the data message of virtual user identifying card 13.When getting the data message of virtual user identifying card 13, by data message In the memory module for writing virtual user identifying card 13, to realize the network registry of virtual user identifying card 13.Wherein, data are believed Breath can include:IMSI, Ki (key identifier, KI), ICCID (Integrated Circuit Card Identifier), PIN (personal identification number, Personal Identification Number), PUK (PIN Unlocking Key).It is understood that storing the card number resource of each operator in cloud server.
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 module, can not be accounted for simultaneously With.For example, in two Subscriber Identity Module standard-sized sheets, wherein a Subscriber Identity Module only handles GSM calls, and another user knows The 4G network informations Ka not be handled, which specific Subscriber Identity Module performs which kind of network, does not limit herein.Therefore current radio frequency This framework of module double card time-sharing multiplex only accomplished LTE+GSM (the corresponding technical standard of i.e. one Subscriber Identity Module be LTE, The corresponding technical standard of another Subscriber Identity Module is GSM).
Although that is, existing mobile terminal 1 00 can support Dual-user identification card, because mobile terminal 1 00 exists In the case of registered network, what two Subscriber Identity Modules were supported is the network of different technologies standard, and one is supported 2G or 3G, another Open and support 4G, can cause during the use of mobile terminal 1 00, surfing flow speed is slower.In embodiments of the present invention, it is mobile whole End 100 is by USB connections external equipment 200, because external equipment 200 includes the radio-frequency module of second modem 21 and second 22, and the second radio-frequency module 22 supports 4G networks, therefore, mobile terminal 1 00 can be interacted by USB with external equipment 200, so that So that mobile terminal 1 00 possesses double LTE functions (technology that now virtual user identifying card 13 and entity user identification card 14 are managed Standard is LTE standard, and the wireless access technology involved by the first radio-frequency module 12 and the second radio-frequency module 22 is LTE).
In embodiments of the present invention, data transmission system includes mobile terminal 1 00 and external equipment 200, mobile terminal 1 00 The implementation process for possessing double LTE functions by external equipment 200 can be:1. entity user identification card 14 passes through the second modulation /demodulation Device 21 supports LTE, and detailed process is:First modem 11 will need to access LTE network in entity user identification card 14 Data are sent to the first application processor 10, and received data is sent to external set by the first application processor 10 by USB Received data is sent to second modem 21 by standby 200 the second application processor 20, the second application processor 20, Second radio-frequency module 22 is transmitted to by second modem 21, received data is passed through LTE nets by the second radio-frequency module 22 Network is sent;Virtual user identifying card 13 supports LTE by the first modem 11, to realize that mobile terminal 1 00 can be propped up Hold double LTE.2. virtual user identifying card 13 supports LTE by second modem 21, and detailed process is:First application processing Device 10 will need the data for accessing LTE network to be sent to the second of external equipment 200 by USB in virtual user identifying card 13 should With processor 20, received data is sent to second modem 21 by the second application processor 20, by the second modulatedemodulate Device 21 is adjusted to be transmitted to the second radio-frequency module 22, the second radio-frequency module 22 sends received data by LTE network;It is real Body Subscriber Identity Module 14 supports LTE by the first modem 11, to realize that mobile terminal 1 00 can support double LTE.
When mobile terminal 1 00 is not connected by USB with external equipment 200, the skill corresponding to entity user identification card 14 Art standard is GSM, and for carrying out speech communication, virtual user identifying card 13 is supported LTE by the first modem 11, is used for Data access is carried out by 4G networks.
Entity user identification card 14 with mobile terminal 1 00 when interacting, the detection entity user of mobile terminal 1 00 identification card 14 The signal of presence or absence is only in the instantaneous generation of start, in the presence of start can't detect entity user identification card 14, mobile terminal 100 will be prompted to " insertion Subscriber Identity Module ".After mobile terminal 1 00 is started shooting, mobile terminal 1 00 and entity user identification card 14 it Between communication in 28 seconds once, complete the communication check (for example, Subscriber Identity Module whether in place etc.) of some fixations.
The RPM15 of mobile terminal 1 00 is 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 managing chip The deadline that the interruption of dormancy awakening and application processor wake up.The subsystems of mobile terminal 1 00, are needing resource When, apply for resource to RPM15, subsystems include the first application processor 10, the first modem 11, PRONTO respectively (WIFI/ bluetooths, NFC (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, is specifically, Voting mechanisms of the RPM15 based on subsystems realizes that, when subsystems all throw dormancy ticket, RPM15 can just make movement The whole system of terminal 100 carries out dormancy.And working as mobile terminal 1 00 has a sub or multiple subsystems to throw the ticket for opposing dormancy, The whole system of mobile terminal 1 00 all can not dormancy.
In the case where mobile terminal 1 00 and external equipment 200 are by USB communication connections, wake-up mode can be following three Kind:
1st, when the first application processor 10 receives signaling data, by USB send shake hands keyword to second application at Device 20 is managed, 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 shakes hands keyword to the first application processor 10 by USB transmission, 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, and key of shaking hands is sent by USB by the second application processor 20 Word gives the first application processor 10, to wake up the second application processor 20.
In addition, second modem 21 can be with periodic wakeup oneself, to carry out location updating in mobile terminal 1 00 When, interaction of shaking hands is carried out with base station, the first application processor 10 need not be now waken up.
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 sleep state within a certain period of time, and the first application processor 10, first of control is adjusted Modulator-demodulator 11, the second application processor 20 and/or second modem 21 enter to fall asleep from wake-up states within a certain period of time Dormancy state.In embodiments of the present invention, mobile terminal 1 00 and the number of 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 00 of the present invention and the communication connection of external equipment 200. Mobile terminal 1 00 is connected by USB with the communication of external equipment 200, wherein, mobile terminal includes but is not limited to mobile phone, PC (Personal Computer, PC) or PAD (Personal Digital Assistant, personal digital assistant), outside 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 with it is external The link position of equipment 200 is not limited to shown in Fig. 3, and mobile terminal 1 00 can be set to be set by USB with external according to specific needs Standby 200 link position.
The hardware configuration for communicating connection based on above-mentioned LTE network framework figure, mobile terminal 1 00 and external equipment 200 shows It is intended to and entity structure schematic diagram, proposes each embodiment of the present 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 external equipment 200, mobile terminal 1 00 include the first application processor 10, First radio-frequency module 12, the first timer 16, entity user identification card 14 and it is embedded with the first of virtual user identifying card 13 Modem 11, wherein, the modem 11 of entity user identification card 14 and first is connected, and external equipment 200 includes second Application processor 20, the second radio-frequency module 22, the second timer 26 and second modem 21.
Second application processor 20, for detecting number after wake-up states are entered from resting state by keyword of shaking hands During according to sending instruction, the packet in transmission state is whether there is in detection preset interface.
If the second application processor 20 is additionally operable in preset interface not no presence of the packet in transmission state, passing through After first preset time, packet to be sent is sent to by preset interface by the first application processor in wake-up states 10。
Sent out when the second application processor 20 for entering wake-up states from resting state by keyword of shaking hands detects data When sending instruction, it whether there is the packet in transmission state in the second application processor 20 detection preset interface, that is, detect pre- If with the presence or absence of the packet not sent in interface.If not there is no the packet in transmission state in preset interface, open Dynamic second timer 26, and the second timer 26 is initialized, the value for making the second timer 26 is zero.When the value of the second timer 26 During equal to or more than the first preset time, i.e., after the first preset time, the second application processor 20 is connect by default Packet to be sent is sent to the first application processor 10 in wake-up states by mouth.
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, which is sent, 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..In the present embodiment, preset interface is USB, in other embodiments, is preset Interface can be with the interface with USB said functions.
Further, triggered when the data send instruction by second modem 21, and preset interface is USB When, transmitting procedure of the packet to be sent between mobile terminal 1 00 and external equipment 200 is specially:Second modem 21 are sent to packet to be sent at second application by smd (share memory driver, shared drive driving) passage Device 20 is managed, packet to be sent is sent to the first application processor 10 by the second application processor 20 by USB interface, and first should Packet to be sent is received with processor 10, packet to be sent is sent to by the first modem 11 by smd passages.
Further, when there is the packet in transmission state in preset interface, the second application processor 20 is 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 preset interface when the second application processor 20 is detected When, the second application processor 20, which is detected, whether there is packet to be sent in transmit queue.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, when still not having packet to be sent in transmit queue, the second application processor 20 from Wake-up states enter resting state.Setting time value can be set according to specific needs, in the present embodiment, and setting time value can It is set to 500ms, or 550ms etc..It is understood that memory space of the transmit queue for storage packet to be sent.Need It is noted that still not having to be sent when the value of the second timer 26 is more than or equal in setting time value, transmit queue During packet, call the dormancy function that USB interface agreement carries to perform USB sleep operation, USB dormancy release it is shared when Clock resource, to realize the dormancy of application processor and modem in mobile terminal 1 00 and external equipment 200.
In the present embodiment, when the second application processor 20 for entering wake-up states from resting state by keyword of shaking hands When detecting data transmission instruction, the packet in transmission state is whether there is in detection preset interface;If in preset interface Not there is no the packet in transmission state, then after the first preset time, the second application processor 20 is connect by default Packet to be sent is sent to the first application processor 10 in wake-up states by mouth.Mobile terminal 1 00 is realized by outer Connecing during equipment 200 realizes double LTE communications, when not there is no the packet in transmission state in preset interface, only existing After the first preset time, the second application processor 20 just sends packet to be sent and is sent to the first application processor 10. Mobile terminal 1 00 and external equipment 200 are avoided in transmission of data packets, if external equipment 200 is to mobile terminal 1 00 The speed of transmission packet is too fast, and multiple identification of data packets that mobile terminal 1 00 can send external equipment 200 are a data The situation of bag 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.
The difference of data transmission system second embodiment and data transmission system first embodiment is that the second application is handled Device 20 is additionally operable to when receiving the first data interaction request in a dormant state, is sent first and is shaken hands keyword to the first application Processor 10, enters first from resting state and sends state.
Second application processor 20 is additionally operable to work as receives the first application processor 10 feedback in the second preset time With first shake hands keyword corresponding second shake hands keyword when, according to second shake hands keyword from the first transmission state enter call out The state of waking up.
In the present embodiment, first shake hands keyword and the second keyword of shaking hands is not normal packet, be signaling number According to entering another state for controlling the first application processor 10 and the second application processor 20 from resting state.First holds Hand keyword and the second keyword of shaking hands can use the character mark of fixed word length, be the field for being not in normal data packet. It as in the present embodiment, can represent that first shakes hands keyword with 0xF9F9F9, represent that second shakes hands keyword with 0x9F9F9F, In other embodiments, it is also possible to be set to other keywords of shaking hands, such as 0xF3F3 and 0x3F3F.
First keyword of shaking hands represents that requirement enters wake-up states, and the second keyword of shaking hands represents that come in and enters wake-up states. Because the first application processor 10 and the second application processor 20 are in wake-up states, normal data packet can be just received.Therefore, exist Be not in the present embodiment, in the normal data transmitted between the first application processor 10 and the second application processor 20 and the One shake hands keyword, the second keyword word length of shaking hands is equal, content identical packet.If it exists, at the first application The reason application processor 20 of device 10 and second can abandon, content phase equal with the first shake hands keyword, the second keyword word length of shaking hands Same packet.
Reference picture 4, the second application processor 20 enters the specific mistake of wake-up states by keyword of shaking hands from resting state Cheng Wei:When the second application processor 20 in a dormant state receives the first data interaction request, send first and shake hands key Word gives the first application processor 10, it is desirable to which the first application processor 10 enters wake-up states.When the second application processor 20 is sent First shakes hands keyword to after the first application processor 10, and shape is sent from resting state into send keyword of shaking hands first State, and start the second timer 26, the second timer 26 is initialized, the initial value of the second timer 26 is equal to zero, starts meter When.When the second timer 26 starts timing, the testing mechanism of keyword while triggering second is shaken hands.If in the second timer 26 Value be less than or equal to the second preset time when, the second application processor 20 receive the first application processor 10 feedback with First keyword corresponding second of shaking hands is shaken hands keyword, and the request of the second application processor 20 enters wake-up states, i.e., when second Application processor 20 received in the second preset time second shake hands keyword when, the second application processor 20 is held according to second Hand keyword enters wake-up states from the first transmission state.
It should be noted that the first data interaction request that the second application processor 20 is received can be the second application processor 20 receive eNodeB 101 request of data, or the second application processor 20 needs to obtain virtual in mobile terminal 1 00 The data of Subscriber Identity Module 13 or entity user identification card 14, or the second application processor 20 have authentication requirement etc..It can manage Solution, the first transmission state is a kind of intermediateness that the second application processor 20 enters wake-up states from resting state.
Further, external equipment 200 also includes the 3rd timer.Reference picture 6, the second application processor 20 from wake up shape State enter resting state detailed process be:When the second application processor 20 enters wake-up states, the 3rd timer is initialized, The initial value for making the 3rd timer is zero, and starts timing.If the second application processor 20 is more than in the value of the 3rd timer Or the first data interaction request is all not received by during equal to preset duration, the second application processor 20 then enters from wake-up states Enter resting state.
It should be noted that in the present embodiment, the second preset time is 10ms, and preset duration is 500ms.In other realities Apply in example, preset duration and the second preset time could be arranged to other numerical value, such as the second preset time could be arranged to 12ms, Or 15ms, and preset duration could be arranged to 550ms, or it is set to 480ms etc..
The present embodiment passes through when the second application processor 20 in a dormant state receives the first data interaction request Keyword of shaking hands carries out wake-up states from resting state, to ensure that the second application processor 20 is counted with the first application processor 10 According in interaction, the first application processor 10 and the second application processor 20 are in complete wake-up states, mobile whole to realize Realize during double LTE communications that mobile terminal 1 00 and external equipment 200 can be with proper communications by external equipment 200 in end 100.
Further, data transmission system 3rd embodiment of the present invention is proposed.
The difference of data transmission system 3rd embodiment and data transmission system second embodiment is that the first application is handled Device 10, for when receive in a dormant state the second application processor 20 transmission first shake hands keyword when, detection first Whether keyword of shaking hands is residual bag.
If it is not residual bag that the first application processor 10, which is additionally operable to the first keyword of shaking hands, enters second and send state, and Feedback second shakes hands keyword to the second application processor 20.
First application processor 10 is additionally operable to after feedback second shakes hands keyword to the second application processor 20, from second Transmission state enters wake-up states.
Reference picture 4, the first application processor 10 from resting state enter wake-up states detailed process be:When in dormancy First application processor 10 of state receive the second application processor 20 transmission first shake hands keyword when, first application at Whether reason the first keyword of shaking hands of detection of device 10 is residual bag.If the first keyword of shaking hands is normal packet, at the first application Manage device 10 then enter second send state, and feed back with first shake hands keyword corresponding second shake hands keyword to second apply Processor 20.After the first application processor 10 feedback second shakes hands keyword to the second application processor 20, at the first application Reason device 10 enters wake-up states from the second transmission state.It is understood that the second transmission state is the first application processor 10 Enter a kind of intermediateness of wake-up states from resting state.Further, when the first application processor 10 feedback second is shaken hands Keyword is given after the second application processor 20, and the first application processor 10 can receive treating for the second application processor 20 transmission Send after packet, then enter wake-up states from the second transmission state.
Further, whether the keyword of shaking hands of the first application processor 10 detection first is that the detailed process of residual bag is:When First application processor 10 receive first shake hands keyword when, the first application processor 10 judges the first word for shaking hands keyword It is long whether to be equal to fixed word length.If the first word length for shaking hands keyword is equal to fixed word length, it is determined that first shakes hands keyword not It is residual bag;If the first word length for shaking hands keyword is not equal to fixed word length, it is determined that the first keyword of shaking hands is residual bag.It can manage Solution, whether the keyword of shaking hands of the first application processor 10 detection first is that the method for residual bag is not restricted to the present embodiment institute The method of description, such as when first, which shakes hands, contains watermark in keyword, the first application processor 10 can also be by judging first Whether the watermark shaken hands in keyword is complete, and whether watermark is tampered to detect whether the first keyword of shaking hands is residual bag.
Further, when the first keyword of shaking hands is residual bag, the first application processor 10 does not send second and shaken hands keyword To the second application processor 20, wait the second application processor 20 to send first again and shake hands keyword.
In the present embodiment, the first application processor 10 in a dormant state is shaken hands key by received first Word enters wake-up states from resting state, to ensure that the second application processor 20 is carrying out data friendship with the first application processor 10 During mutually, the first application processor 10 and the second application processor 20 are in complete wake-up states, to realize mobile terminal 1 00 During realizing double LTE communications by external equipment 200, mobile terminal 1 00 and external equipment 200 can be with proper communications.
Further, data transmission system fourth embodiment of the present invention is proposed.
The difference of data transmission system fourth embodiment and data transmission system second embodiment is that the second application is handled If device 20 is additionally operable to not receive second in the second preset time and shaken hands keyword, resend first shake hands keyword to First application processor 10.
If the second application processor 20 is additionally operable to shake hands keyword to after the first application processor 10 resending first, Do not receive second also in the second preset time to shake hands keyword, then into resting state.
Reference picture 5, shakes hands keyword, second if the second application processor 20 does not receive second in the second preset time Application processor 20 then enters the 3rd and sends state, resends first and shakes hands keyword to the first application processor 10, and again The second timer 26 of secondary initialization, makes the initial value of the second timer 26 be equal to zero, starts timing.Start in the second timer 26 During timing, the testing mechanism of keyword while triggering second is shaken hands.If the second application processor 20 is shaken hands resending first Keyword is given after the first application processor 10, does not receive second also in the second preset time and shakes hands keyword, then from the 3rd Transmission state enters resting state, i.e., when the value of the second timer 20 is equal to or more than the second preset time, the second application Processor 20 does not receive second also and shaken hands keyword, then into resting state.If receiving second in the second preset time Shake hands keyword, the second application processor 20 then enters wake-up states from the 3rd transmission state.It is understood that the 3rd sends State is a kind of intermediateness that the second application processor 20 enters wake-up states from resting state.It is understood that can root According to need set when the second application processor 20 do not received in the second preset time second shake hands keyword when, second application Processor 20 retransmits the first number of times for shaking hands keyword.
The present embodiment does not receive second by the second application processor 20 in the second preset time and shaken hands keyword, Two application processors 20 resend first and shake hands keyword to the first application processor 10, to avoid the second application processor 20 When sending packet to be sent to the first application processor 10, the first application processor 10 is also in incomplete wake-up states.
Further, the embodiment of data transmission system the 5th of the present invention is proposed.
The difference of the embodiment of data transmission system the 5th and data transmission system first embodiment is that the first application is handled Device 10 is additionally operable to when receiving packet to be sent in wake-up states, and whether detection receives the in the 3rd preset time Two data interactions are asked.
If the first application processor 10 is additionally operable to not receive the second data interaction request in the 3rd preset time, from Wake-up states enter resting state.
Reference picture 6, the first application processor 10 from wake-up states enter resting state detailed process be:When the first application Processor 10 enters after wake-up states, and whether detection receives the second data interaction request in the 3rd preset time.When first When application processor 10 does not receive the second data interaction request in the 3rd preset time, the first application processor 10 is from wake-up State enters resting state;When the first application processor 10 receives the second data interaction request in the 3rd preset time, First application processor 10 then continues to stay awake for.
Specifically, the first application processor 10 can be by the first timer 16 come timing.When the first application processor 10 enters Enter after wake-up states, start the first timer 16, initialize the first timer 16, the initial value for making the first timer 16 is zero. When the value of the first timer 16 is more than or equal to the 3rd preset time, and the first application processor 10 does not receive the second data During interaction request, the first application processor 10 then enters resting state from wake-up states.
In the present embodiment, the 3rd preset time is 500ms.In other embodiments, the 3rd preset time can be set For other numerical value, such as the 3rd preset time could be arranged to 550ms, or be set to 490ms etc..First application processor 10 connects The the second data interaction request received can receive eNodeB 101 request of data for the first application processor 10, or first should Needed to obtain the SIM card data of virtual user identifying card 13 or entity user identification card 14, or the first application with processor 10 Processor 10 will carry out data interaction etc. with the second application processor 20.
The present embodiment when the first application processor 10 in wake-up states in the 3rd preset time by not receiving When second data interaction is asked, enter resting state from wake-up states, the first application processor 10 is not required within a certain period of time When carrying out data interaction, into resting state, to reduce the power consumption of mobile terminal 1 00.
The present invention also provides a kind of data transmission method.
Reference picture 7, Fig. 7 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, , can be with different from herein it should be noted that, although show logical order in flow charts, but in some cases Order performs shown or described step.
Data transmission method is applied to pass through in the mobile terminal 1 00 that preset interface is connected with external equipment 200, mobile whole End 100 includes the first application processor 10, the first radio-frequency module 12, the first timer 16, entity user identification card 14 and interior The first modem 11 of virtual user identifying card 13 is embedded with, wherein, the modem of entity user identification card 14 and first 11 connections, external equipment 200 includes the second application processor 20, the second radio-frequency module 22, the second timer 26 and the second modulation Demodulator 21.
Step S10, when the second application processor 20 for entering wake-up states from resting state by keyword of shaking hands is detected When sending instruction to data, the packet in transmission state is whether there is in detection preset interface.
Step S20, if not there is no the packet in transmission state in preset interface, is passing through the first preset time Afterwards, packet to be sent is sent to the first application in wake-up states by preset interface and handled by the second application processor 20 Device 10.
Sent out when the second application processor 20 for entering wake-up states from resting state by keyword of shaking hands detects data When sending instruction, it whether there is the packet in transmission state in the second application processor 20 detection preset interface, that is, detect pre- If with the presence or absence of the packet not sent in interface.If not there is no the packet in transmission state in preset interface, open Dynamic second timer 26, and the second timer 26 is initialized, the value for making the second timer 26 is zero.When the value of the second timer 26 During equal to or more than the first preset time, i.e., after the first preset time, the second application processor 20 is connect by default Packet to be sent is sent to the first application processor 10 in wake-up states by mouth.
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, which is sent, 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..In the present embodiment, preset interface is USB, in other embodiments, is preset Interface can be with the interface with USB said functions.
Further, triggered when the data send instruction by second modem 21, and preset interface is USB When, transmitting procedure of the packet to be sent between mobile terminal 1 00 and external equipment 200 is specially:Second modem 21 are sent to packet to be sent at second application by smd (share memory driver, shared drive driving) passage Device 20 is managed, packet to be sent is sent to the first application processor 10 by the second application processor 20 by USB interface, and first should Packet to be sent is received with processor 10, packet to be sent is sent to by the first modem 11 by smd passages.
Further, when there is the packet in transmission state in preset interface, the second application processor 20 is 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 preset interface when the second application processor 20 is detected When, the second application processor 20, which is detected, whether there is packet to be sent in transmit queue.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, when still not having packet to be sent in transmit queue, the second application processor 20 from Wake-up states enter resting state.Setting time value can be set according to specific needs, in the present embodiment, and setting time value can It is set to 500ms, or 550ms etc..It is understood that memory space of the transmit queue for storage packet to be sent.Need It is noted that still not having to be sent when the value of the second timer 26 is more than or equal in setting time value, transmit queue During packet, call the dormancy function that USB interface agreement carries to perform USB sleep operation, USB dormancy release it is shared when Clock resource, to realize the dormancy of application processor and modem in mobile terminal 1 00 and external equipment 200.
In the present embodiment, when the second application processor 20 for entering wake-up states from resting state by keyword of shaking hands When detecting data transmission instruction, the packet in transmission state is whether there is in detection preset interface;If in preset interface Not there is no the packet in transmission state, then after the first preset time, the second application processor 20 is connect by default Packet to be sent is sent to the first application processor 10 in wake-up states by mouth.Mobile terminal 1 00 is realized by outer Connecing during equipment 200 realizes double LTE communications, when not there is no the packet in transmission state in preset interface, only existing After the first preset time, the second application processor 20 just sends packet to be sent and is sent to the first application processor 10. Mobile terminal 1 00 and external equipment 200 are avoided in transmission of data packets, if external equipment 200 is to mobile terminal 1 00 The speed of transmission packet is too fast, and multiple identification of data packets that mobile terminal 1 00 can send external equipment 200 are a data The situation of bag 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.
The difference of data transmission method second embodiment and data transmission method first embodiment is, reference picture 8, data Transmission method also includes:
Step S30, when the second application processor 20 in a dormant state receives the first data interaction request, sends First shakes hands keyword to the first application processor 10, and the second application processor 20 enters first from resting state and sends state.
Step S40, when receiving being shaken hands key with first for the first application processor 10 feedback in the second preset time Word corresponding second shake hands keyword when, the second application processor 20 enters according to the second keyword of shaking hands from the first transmission state Wake-up states.
In the present embodiment, first shake hands keyword and the second keyword of shaking hands is not normal packet, be signaling number According to entering another state for controlling the first application processor 10 and the second application processor 20 from resting state.First holds Hand keyword and the second keyword of shaking hands can use the character mark of fixed word length, be the field for being not in normal data packet. It as in the present embodiment, can represent that first shakes hands keyword with 0xF9F9F9, represent that second shakes hands keyword with 0x9F9F9F, In other embodiments, it is also possible to be set to other keywords of shaking hands, such as 0xF3F3 and 0x3F3F.
First keyword of shaking hands represents that requirement enters wake-up states, and the second keyword of shaking hands represents that come in and enters wake-up states. Because the first application processor 10 and the second application processor 20 are in wake-up states, normal data packet can be just received.Therefore, exist Be not in the present embodiment, in the normal data transmitted between the first application processor 10 and the second application processor 20 and the One shake hands keyword, the second keyword word length of shaking hands is equal, content identical packet.If it exists, at the first application The reason application processor 20 of device 10 and second can abandon, content phase equal with the first shake hands keyword, the second keyword word length of shaking hands Same packet.
Reference picture 4, the second application processor 20 enters the specific mistake of wake-up states by keyword of shaking hands from resting state Cheng Wei:When the second application processor 20 in a dormant state receives the first data interaction request, send first and shake hands key Word gives the first application processor 10, it is desirable to which the first application processor 10 enters wake-up states.When the second application processor 20 is sent First shakes hands keyword to after the first application processor 10, and shape is sent from resting state into send keyword of shaking hands first State, and start the second timer 26, the second timer 26 is initialized, the initial value of the second timer 26 is equal to zero, starts meter When.When the second timer 26 starts timing, the testing mechanism of keyword while triggering second is shaken hands.If in the second timer 26 Value be less than or equal to the second preset time when, the second application processor 20 receive the first application processor 10 feedback with First keyword corresponding second of shaking hands is shaken hands keyword, and the request of the second application processor 20 enters wake-up states, i.e., when second Application processor 20 received in the second preset time second shake hands keyword when, the second application processor 20 is held according to second Hand keyword enters wake-up states from the first transmission state.
It should be noted that the first data interaction request that the second application processor 20 is received can be the second application processor 20 receive eNodeB 101 request of data, or the second application processor 20 needs to obtain virtual in mobile terminal 1 00 The data of Subscriber Identity Module 13 or entity user identification card 14, or the second application processor 20 have authentication requirement etc..It can manage Solution, the first transmission state is a kind of intermediateness that the second application processor 20 enters wake-up states from resting state.
Further, external equipment 200 also includes the 3rd timer.Reference picture 6, the second application processor 20 from wake up shape State enter resting state detailed process be:When the second application processor 20 enters wake-up states, the 3rd timer is initialized, The initial value for making the 3rd timer is zero, and starts timing.If the second application processor 20 is more than in the value of the 3rd timer Or the first data interaction request is all not received by during equal to preset duration, the second application processor 20 then enters from wake-up states Enter resting state.
It should be noted that in the present embodiment, the second preset time is 10ms, and preset duration is 500ms.In other realities Apply in example, preset duration and the second preset time could be arranged to other numerical value, such as the second preset time could be arranged to 12ms, Or 15ms, and preset duration could be arranged to 550ms, or it is set to 480ms etc..
The present embodiment passes through when the second application processor 20 in a dormant state receives the first data interaction request Keyword of shaking hands carries out wake-up states from resting state, to ensure that the second application processor 20 is counted with the first application processor 10 According in interaction, the first application processor 10 and the second application processor 20 are in complete wake-up states, mobile whole to realize Realize during double LTE communications that mobile terminal 1 00 and external equipment 200 can be with proper communications by external equipment 200 in end 100.
Further, data transmission method 3rd embodiment of the present invention is proposed.
The difference of data transmission method 3rd embodiment and data transmission method second embodiment is, reference picture 9, data Transmission method also includes:
Step S50, when the first application processor 10 in a dormant state receives the transmission of the second application processor 20 First shake hands keyword when, whether the first application processor 10 the first keyword of shaking hands of detection is residual bag.
Step S60, if the first keyword of shaking hands is not residual bag, the first application processor 10 enters second and sends state, And feedback second shakes hands keyword to the second application processor 20.
Step S70, after feeding back second and shaking hands keyword to the second application processor 20, the first application processor 10 is from the Two transmission states enter wake-up states.
Reference picture 4, the first application processor 10 from resting state enter wake-up states detailed process be:When in dormancy First application processor 10 of state receive the second application processor 20 transmission first shake hands keyword when, first application at Whether reason the first keyword of shaking hands of detection of device 10 is residual bag.If the first keyword of shaking hands is normal packet, at the first application Manage device 10 then enter second send state, and feed back with first shake hands keyword corresponding second shake hands keyword to second apply Processor 20.After the first application processor 10 feedback second shakes hands keyword to the second application processor 20, at the first application Reason device 10 enters wake-up states from the second transmission state.It is understood that the second transmission state is the first application processor 10 Enter a kind of intermediateness of wake-up states from resting state.Further, when the first application processor 10 feedback second is shaken hands Keyword is given after the second application processor 20, and the first application processor 10 can receive treating for the second application processor 20 transmission Send after packet, then enter wake-up states from the second transmission state.
Further, whether the keyword of shaking hands of the first application processor 10 detection first is that the detailed process of residual bag is:When First application processor 10 receive first shake hands keyword when, the first application processor 10 judges the first word for shaking hands keyword It is long whether to be equal to fixed word length.If the first word length for shaking hands keyword is equal to fixed word length, it is determined that first shakes hands keyword not It is residual bag;If the first word length for shaking hands keyword is not equal to fixed word length, it is determined that the first keyword of shaking hands is residual bag.It can manage Solution, whether the keyword of shaking hands of the first application processor 10 detection first is that the method for residual bag is not restricted to the present embodiment institute The method of description, such as when first, which shakes hands, contains watermark in keyword, the first application processor 10 can also be by judging first Whether the watermark shaken hands in keyword is complete, and whether watermark is tampered to detect whether the first keyword of shaking hands is residual bag.
Further, when the first keyword of shaking hands is residual bag, the first application processor 10 does not send second and shaken hands keyword To the second application processor 20, wait the second application processor 20 to send first again and shake hands keyword.
In the present embodiment, the first application processor 10 in a dormant state is shaken hands key by received first Word enters wake-up states from resting state, to ensure that the second application processor 20 is carrying out data friendship with the first application processor 10 During mutually, the first application processor 10 and the second application processor 20 are in complete wake-up states, to realize mobile terminal 1 00 During realizing double LTE communications by external equipment 200, mobile terminal 1 00 and external equipment 200 can be with proper communications.
Further, data transmission method fourth embodiment of the present invention is proposed.
The difference of data transmission method fourth embodiment and data transmission method second embodiment is that reference picture 10 is counted Also include according to transmission method:
Step S80, shakes hands keyword if the second application processor 20 does not receive second in the second preset time, weighs New transmission first shakes hands keyword to the first application processor 10.
Step S90, if shaking hands keyword to after the first application processor 10 resending first, the second application processor 20 do not receive second also in the second preset time shakes hands keyword, then into resting state.
Reference picture 5, shakes hands keyword, second if the second application processor 20 does not receive second in the second preset time Application processor 20 then enters the 3rd and sends state, resends first and shakes hands keyword to the first application processor 10, and again The second timer 26 of secondary initialization, makes the initial value of the second timer 26 be equal to zero, starts timing.Start in the second timer 26 During timing, the testing mechanism of keyword while triggering second is shaken hands.If the second application processor 20 is shaken hands resending first Keyword is given after the first application processor 10, does not receive second also in the second preset time and shakes hands keyword, then from the 3rd Transmission state enters resting state, i.e., when the value of the second timer 20 is equal to or more than the second preset time, the second application Processor 20 does not receive second also and shaken hands keyword, then into resting state.If receiving second in the second preset time Shake hands keyword, the second application processor 20 then enters wake-up states from the 3rd transmission state.It is understood that the 3rd sends State is a kind of intermediateness that the second application processor 20 enters wake-up states from resting state.It is understood that can root According to need set when the second application processor 20 do not received in the second preset time second shake hands keyword when, second application Processor 20 retransmits the first number of times for shaking hands keyword.
The present embodiment does not receive second by the second application processor 20 in the second preset time and shaken hands keyword, Two application processors 20 resend first and shake hands keyword to the first application processor 10, to avoid the second application processor 20 When sending packet to be sent to the first application processor 10, the first application processor 10 is also in incomplete wake-up states.
Further, the embodiment of data transmission method the 5th of the present invention is proposed.
The difference of data transmission method fourth embodiment and data transmission method first embodiment is that reference picture 11 is counted Also include according to transmission method:
Step S110, when the first application processor 10 in wake-up states receives packet to be sent, detection exists Whether second data interaction request is received in 3rd preset time.
Step S120, if not receiving the second data interaction request, the first application processor in the 3rd preset time 10 enter resting state from wake-up states.
Reference picture 6, the first application processor 10 from wake-up states enter resting state detailed process be:When the first application Processor 10 enters after wake-up states, and whether detection receives the second data interaction request in the 3rd preset time.When first When application processor 10 does not receive the second data interaction request in the 3rd preset time, the first application processor 10 is from wake-up State enters resting state;When the first application processor 10 receives the second data interaction request in the 3rd preset time, First application processor 10 then continues to stay awake for.
Specifically, the first application processor 10 can be by the first timer 16 come timing.When the first application processor 10 enters Enter after wake-up states, start the first timer 16, initialize the first timer 16, the initial value for making the first timer 16 is zero. When the value of the first timer 16 is more than or equal to the 3rd preset time, and the first application processor 10 does not receive the second data During interaction request, the first application processor 10 then enters resting state from wake-up states.
In the present embodiment, the 3rd preset time is 500ms.In other embodiments, the 3rd preset time can be set For other numerical value, such as the 3rd preset time could be arranged to 550ms, or be set to 490ms etc..First application processor 10 connects The the second data interaction request received can receive eNodeB 101 request of data for the first application processor 10, or first should Needed to obtain the SIM card data of virtual user identifying card 13 or entity user identification card 14, or the first application with processor 10 Processor 10 will carry out data interaction etc. with the second application processor 20.
The present embodiment when the first application processor 10 in wake-up states in the 3rd preset time by not receiving When second data interaction is asked, enter resting state from wake-up states, the first application processor 10 is not required within a certain period of time When carrying out data interaction, into resting state, to reduce the power consumption of mobile terminal 1 00.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are 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 including the other key elements being not expressly set out, or also include for this process, method, article or system institute inherently 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 process, method, article or the system of key element.
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 embodiment.Understood based on such, technical scheme is substantially done to prior art in other words Going out the part of 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 make it that a station terminal equipment (can be mobile phone, computer, clothes It is engaged in 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, are not intended to limit the scope of the invention, 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 the first application processor, entity and used Family identification card and the first modem for being embedded with virtual user identifying card, the external equipment are included at the second application Manage device and second modem;
Second application processor, for detecting data after wake-up states are entered from resting state by keyword of shaking hands When sending instruction, detect and whether there is the packet in transmission state in the preset interface;
If second application processor is additionally operable in the preset interface not no presence of the packet in transmission state, in warp Cross after the first preset time, by the preset interface by packet to be sent be sent in wake-up states described first should Use processor.
2. data transmission system as claimed in claim 1, it is characterised in that second application processor is additionally operable to work as and is in When resting state receives the first data interaction request, send first and shake hands keyword to first application processor, from not Dormancy state enters first and sends state;
Second application processor is additionally operable to work as receives the first application processor feedback in the second preset time With described first shake hands keyword corresponding second shake hands keyword when, according to described second shake hands keyword from described first hair State is sent to enter wake-up states.
3. data transmission system as claimed in claim 2, it is characterised in that first application processor, is in for working as Resting state receive described first that second application processor sends shake hands keyword when, detection described first is shaken hands pass Whether key word is residual bag;
If it is not residual bag that first application processor, which is additionally operable to the described first keyword of shaking hands, enters second and send state, And feed back described second and shake hands keyword to second application processor;
First application processor is additionally operable to after feedback described second shakes hands keyword to second application processor, from Second transmission state enters wake-up states.
4. data transmission system as claimed in claim 2, it is characterised in that if second application processor is additionally operable in institute State and do not received in the second preset time described second and shake hands keyword, then resend described first and shake hands keyword to described First application processor;
If second application processor be additionally operable to resend described first shake hands keyword to described first application processing After device, do not receive described second also in second preset time and shake hands keyword, then into resting state.
5. the data transmission system as described in any one of Claims 1-4, it is characterised in that first application processor is also For when receiving the packet to be sent in wake-up states, whether detection to receive second in the 3rd preset time Data interaction is asked;
Please if first application processor is additionally operable to not receive second data interaction in the 3rd preset time Ask, then enter resting state from wake-up states.
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 application processor, entity user and recognized Card and be embedded with the first modem of virtual user identifying card, the external equipment include the second application processor and Second modem;
Sent when second application processor for entering wake-up states from resting state by keyword of shaking hands detects data During instruction, detect and whether there is the packet in transmission state in the preset interface;
If not there is no the packet in transmission state in the preset interface, after the first preset time, described the Packet to be sent is sent at first application in wake-up states by two application processors by the preset interface Manage device.
7. data transmission method as claimed in claim 6, it is characterised in that it is described when by keyword of shaking hands from resting state When detecting data into second application processors of wake-up states and send instruction, detect whether deposited in the preset interface Before the step of the packet in the state of transmission, also include:
When second application processor in a dormant state receives the first data interaction request, send first and shake hands pass Key word gives first application processor, and second application processor enters first from resting state and sends state;
When receiving the corresponding with the described first keyword of shaking hands of first application processor feedback in the second preset time Second shake hands keyword when, second application processor shakes hands keyword from the first transmission state according to described second Into wake-up states.
8. data transmission method as claimed in claim 7, it is characterised in that the data transmission method also includes:
When first application processor in a dormant state receives second application processor is sent described first Shake hands keyword when, whether the keyword of shaking hands of first application processor detection described first is residual bag;
If the described first keyword of shaking hands is not residual bag, first application processor enters second and sends state, and feeds back Described second shakes hands keyword to second application processor;
After feedback described second shakes hands keyword to second application processor, first application processor is sent out from second State is sent to enter wake-up states.
9. data transmission method as claimed in claim 7, it is characterised in that it is described when in the resting state described the When two application processors receive the first data interaction request, send first and shake hands keyword to first application processor, Second application processor into after the step of the first transmission state, also includes from resting state:
If second application processor does not receive described second in second preset time and shaken hands keyword, again Send described first and shake hands keyword to first application processor;
If shaking hands keyword to after first application processor resending described first, second application processor exists Do not receive described second in second preset time also to shake hands keyword, then into resting state.
10. the data transmission method as described in any one of claim 6 to 9, it is characterised in that if in the preset interface Not there is no the packet in transmission state, then after the first preset time, second application processor passes through described After the step of packet to be sent to be sent to preset interface first application processor in wake-up states, also wrap Include:
When first application processor in wake-up states receives the packet to be sent, detection is default the 3rd Whether second data interaction request is received in time;
If not receiving second data interaction request in the 3rd preset time, first application processor from Wake-up states enter resting state.
CN201710206638.4A 2017-03-30 2017-03-30 Data transmission system and method Active CN106961719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710206638.4A CN106961719B (en) 2017-03-30 2017-03-30 Data transmission system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710206638.4A CN106961719B (en) 2017-03-30 2017-03-30 Data transmission system and method

Publications (2)

Publication Number Publication Date
CN106961719A true CN106961719A (en) 2017-07-18
CN106961719B CN106961719B (en) 2020-12-22

Family

ID=59470542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710206638.4A Active CN106961719B (en) 2017-03-30 2017-03-30 Data transmission system and method

Country Status (1)

Country Link
CN (1) CN106961719B (en)

Citations (8)

* 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

Patent Citations (8)

* 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
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
CN106961719B (en) 2020-12-22

Similar Documents

Publication Publication Date Title
CN107087269A (en) Mobile terminal and its data transmission method
CN106900045A (en) Data transmission system and method
CN106953984A (en) Data transmission system and method
CN106982461A (en) Data transmission system and method
CN107087057A (en) Data transmission system and method
CN106961719A (en) Data transmission system and method
CN107071164A (en) Data transmission system and method
CN107087062A (en) Data transmission system and method
CN107087268A (en) Data transmission system and method
CN107094317A (en) Data transmission system and method
CN107087270A (en) Data transmission system and method
CN107071165A (en) Data transmission system and method
CN107087058A (en) Mobile terminal and its data transmission method
CN107018560A (en) Data transmission system and method
CN106953983A (en) Data transmission system and method
CN107466025A (en) Data packet transmission system and method
CN107466028A (en) Data transmission system, method, external equipment and mobile terminal
CN107466027A (en) Data transmission system, method, external equipment and mobile terminal
CN107087061A (en) Data transmission system and method
CN107087064A (en) Mobile terminal and its data transmission method
CN107094316A (en) Mobile terminal and its data transmission method
CN107396399A (en) Data transmission system, method, external equipment and mobile terminal
CN107333258A (en) Data packet transmission system and method
CN107018558A (en) Mobile terminal and its data transmission method
CN106900047A (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
GR01 Patent grant
GR01 Patent grant