CN107087057A - Data transmission system and method - Google Patents
Data transmission system and method Download PDFInfo
- Publication number
- CN107087057A CN107087057A CN201710204469.0A CN201710204469A CN107087057A CN 107087057 A CN107087057 A CN 107087057A CN 201710204469 A CN201710204469 A CN 201710204469A CN 107087057 A CN107087057 A CN 107087057A
- Authority
- CN
- China
- Prior art keywords
- application processor
- timer
- sent
- packet
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72484—User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/20—Transfer of user or subscriber data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/20—Transfer of user or subscriber data
- H04W8/205—Transfer to or from user equipment or user record carrier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
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, the first modem for being embedded with virtual user identifying card, the first timer and entity user identification card, and external equipment includes the second application processor, second modem and the second timer;Instruction is sent when the second application processor in wake-up states detects data, and when detecting the packet for not existing in preset interface and being in transmission state, initializes the second timer;When the value of the second timer is equal to or more than the first preset time, packet to be sent is sent to the first application processor in wake-up states by the second application processor by preset interface.The present invention is realized in mobile terminal realizes double LTE communication function courses by external equipment, improves the accuracy rate of the packet transmitted by mobile terminal identification external equipment.
Description
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,
3rd generation mobile communication technology) 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 equipment to realize in double LTE communication function courses, the skill of identification mistake occurs in data interaction between mobile terminal and external equipment
Art problem.
To achieve the above object, a kind of data transmission system that the present invention is provided, the data transmission system includes movement
Terminal and external equipment, the mobile terminal are connected by preset interface with the external equipment, and the mobile terminal includes the
One application processor, the first modem for being embedded with virtual user identifying card, the first timer and with described first adjust
Modulator-demodulator connection entity user identification card, the external equipment include the second application processor, second modem and
Second timer;
Second application processor, detects data transmission instruction, and detect described for working as in wake-up states
When there is no the packet in transmission state in preset interface, second timer is initialized;When second timer
Value be equal to or more than the first preset time when, by the preset interface by packet to be sent be sent in wake up shape
First application processor of state.
Alternatively, second application processor be additionally operable to ought in a dormant state, and receive data interaction request when,
Enter wake-up states from the resting state, detection bag is sent to first application processor by the preset interface, and
Initialize second timer;When the value of second timer is equal to or more than the second preset time, detect whether
Detect data and send instruction.
Alternatively, first application processor is additionally operable to when receiving the detection bag in a dormant state, according to
The detection bag enters the wake-up states from the resting state, and initializes first timer;When the described first meter
When device value when being equal to or more than three preset time, receive the packet to be sent, and handle described to be sent
Packet, wherein, the difference between second preset time and the 3rd preset time is equal to or less than default value.
Alternatively, first application processor is additionally operable to judge whether the value of first timer is equal to or more than
3rd preset time;If the value of first timer is less than the 3rd preset time, and receives the data to be sent
Bag, then abandon the packet to be sent.
Alternatively, second application processor is additionally operable to when the value of second timer is less than the described 3rd and preset
Between when, interval preset duration after again by the preset interface send it is described detection bag to first application processor.
In addition, to achieve the above object, the present invention also proposes a kind of data transmission method, the data transmission method application
In mobile terminal and the external equipment being connected with the mobile terminal by preset interface, the mobile terminal includes first should
With processor, the first modem for being embedded with virtual user identifying card, the first timer and with first modulatedemodulate
The entity user identification card of device connection is adjusted, the external equipment includes the second application processor, second modem and second
Timer;
Instruction is sent when second application processor in wake-up states detects data, and is detected described default
When there is no the packet in transmission state in interface, second timer is initialized;
When the value of second timer is equal to or more than the first preset time, second application processor passes through
Packet to be sent is sent to first application processor in wake-up states by the preset interface.
Alternatively, it is described to send instruction, and inspection when second application processor in wake-up states detects data
Measure in the preset interface when there is no the packet in transmission state, the step of initializing second timer it
Before, in addition to:
When second application processor in a dormant state, and second application processor receive data interaction please
When asking, second application processor enters wake-up states from the resting state, and detection bag is sent by the preset interface
To first application processor, and initialize second timer;
When the value of second timer is equal to or more than the second preset time, the second application processor detection
Whether detect data and send instruction.
Alternatively, second application processor enters wake-up states from the resting state, passes through the preset interface
After the step of detection bag is sent to first application processor, and initializes second timer, in addition to:
When first application processor in a dormant state receives the detection bag, the first application processing
Device enters the wake-up states according to the detection bag from the resting state, and initializes first timer;
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, in addition to:
When the value of first timer is equal to or more than three preset time, first application processor
The packet to be sent is received, and handles the packet to be sent, wherein, second preset time and described 3rd pre-
If the difference between the time is equal to or less than default value.
Alternatively, when the value of first timer is equal to or more than three preset time, described first should
Before the step of packet to be sent being received with processor, and handles the packet to be sent, in addition to:
First application processor judges whether the value of first timer is equal to or more than the 3rd preset time;
If the value of first timer is less than the 3rd preset time, and first application processor receives institute
Packet to be sent is stated, first application processor then abandons the packet to be sent.
Alternatively, second application processor enters wake-up states from the resting state, passes through the preset interface
After the step of detection bag is sent to first application processor, and initializes second timer, in addition to:
When the value of second timer is less than three preset time, second application processor is pre- at interval
If sending the detection bag to first application processor again by the preset interface after duration.
The present invention provides a kind of data transmission system and method, and the data transmission method is applied to mobile terminal and logical
The external equipment that preset interface is connected with the mobile terminal is crossed, the mobile terminal includes the first application processor, is embedded with
The first modem, the first timer and the entity user being connected with the first modem of virtual user identifying card
Identification card, the external equipment includes the second application processor, second modem and the second timer;When in wake-up shape
Second application processor of state detects data and sends instruction, and detects in the preset interface in the presence of in transmission
During the packet of state, second timer is initialized;Preset when the value of second timer is equal to or more than first
During the time, packet to be sent is sent to the institute in wake-up states by second application processor by the preset interface
State the first application processor.Realize mobile terminal to realize in double LTE communication function courses by external equipment, work as preset interface
In do not exist in transmission state packet when, only the second timer value be equal to or more than the first preset time
When, the second application processor just sends packet to be sent and is sent to the first application processor.Avoid mobile terminal and external
Equipment is in transmission of data packets, if external equipment is too fast to the speed of mobile terminal transmission packet, mobile terminal meeting
Multiple identification of data packets that external equipment is sent are that the situation of a packet occurs, and improve mobile terminal and recognize external set
The accuracy rate of standby transmitted packet.
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 diagram schematic diagram of external equipment communication connection in the embodiment of the present invention;
Fig. 4 be the embodiment of the present invention between the first application processor and the second application processor data transfer the first
Schematic diagram;
Fig. 5 is in the embodiment of the present invention second of data transfer between the first application processor and the second application processor
Schematic diagram;
Fig. 6 is one kind of data transfer is shown between the first modem and second modem in the embodiment of the present invention
It is intended to;
Fig. 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 be the embodiment of the present invention between the first application processor and the second application processor data transfer the third
Schematic diagram;
Figure 10 is the schematic flow sheet of data transmission method fourth embodiment 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 provides the user interactive interface, the behaviour that user is inputted
(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, to realize the definition and transmission of data between two application processors, for example, carrying out two
Control of chip boot sequence the etc. when dormancy of individual application processor, wake-up, synchronous control, switching on and shutting down.
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 an embodiment of the present invention, preset interface is USB (Universal Serial
Bus, USB).USB is multiplexed out three data passages, is respectively used at the first application processor 10 and the second application
The interaction of user data, signaling data and SIM card authorization data between reason device 20.That is the first application processor 10 and the second application
Processor 20 passes through USB transmission user data, signaling data and SIM card authorization data.Wherein, user data includes but is not limited to
The data that online is produced, picture and chat message data;Signaling data includes but is not limited to the control data of switching on and shutting down, and switch flies
The control data of row mode, 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 may be used also
Management and control etc. is carried out to SIM card.
First modem 11 is embedded with virtual user identifying card 13, virtual user identifying card 13 include 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 for the authentication for storing virtual user identifying card 13
Data.
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 skill involved by first radio-frequency module 12 and the second radio-frequency module 22
Art 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..
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 it is understood that existing mobile terminal 1 00 can support Dual-user identification card, mobile terminal
100 in the case of registered network, and what two Subscriber Identity Modules were supported is the network of different technologies standard, one support 2G or
3G, another support 4G, can cause during the use of mobile terminal 1 00, surfing flow speed is slower.In the embodiment of the present invention
In, mobile terminal 1 00 is by USB connections external equipment 200, because external equipment 200 includes second modem 21 and the
Two radio-frequency modules 22, and the second radio-frequency module 22 supports 4G networks, therefore, mobile terminal 1 00 can pass through USB and external equipment
200 interactions, so that mobile terminal 1 00 possesses double LTE functions (now virtual user identifying card 13 and entity user identification card
The technical standard of 14 management is LTE standard, the wireless access skill involved by the first radio-frequency module 12 and the second radio-frequency module 22
Art is LTE).
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 modulation /demodulation
Device 11 will need the data for accessing LTE network to be sent to the first application processor 10, the first application in virtual user identifying card 13
Received data is sent to the second application processor 20 of external equipment 200, the second application processing by processor 10 by USB
Received data is sent to second modem 21 by device 20, and the second radio-frequency module is transmitted to by second modem 21
22, the second radio-frequency module 22 sends received data by LTE network;Entity user identification card 14 is adjusted by first
Modulator-demodulator 11 supports LTE, 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.
RPM15 be used for the various resources of management and control, including clock sources, bus resource, PMIC (Power Management IC,
The voltage of power management integrated circuit, i.e. each chip), DDR (Memory Allocation), and the dormancy awakening of managing chip interruption
The deadline waken up with application processor.The subsystems of mobile terminal 1 00, when needing resource, apply providing to RPM15
Source, subsystems include the first application processor 10, the first modem 11, PRONTO (WIFI/ bluetooths, NFC respectively
(Near Field Communication, near-field communication) etc.), LPASS (Low power audio subsystem, low-power consumption
Audio subsystem), RPM15 is used for determining the resting state of the system of mobile terminal 1 00, is specifically, and RPM15 is based on subsystems
Voting mechanism realize, when subsystems all throw dormancy ticket, RPM15 can just make the whole system of mobile terminal 1 00 carry out
Dormancy.And when mobile terminal 1 00 has a sub or multiple subsystems to throw the ticket for opposing dormancy, mobile terminal 1 00 is entirely
System 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, detection bag is sent to the second application processor by USB
20, to wake up the second application processor 20.
2nd, when second modem 21 receives user data, the second application processor 20 is waken up, by the second application
Device 20 is managed by USB transmission detection bags to the first application processor 10, to wake up the first application processor 10.
3rd, second modem 21 periodically searches paging request, with active activation oneself.If receiving paging request,
Second modem 21 then wakes up the second application processor 20, by the second application processor 20 by USB send detection bag to
First application processor 10, to wake up the second application processor 20.
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 resting 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 from wake-up states within a certain period of time stops
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 diagram signal of mobile terminal 1 00 of the present invention and the communication connection of external equipment 200
Figure.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, mobile terminal 1 00 can be set to be set by USB with external according to specific needs
Standby 200 link position.
Based on the hardware architecture diagram of above-mentioned LTE network framework figure, mobile terminal 1 00 and external equipment 200, 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 modem 11 for being embedded with virtual user identifying card 13, the first timer 16 and with
The entity user identification card 14 of one modem 11 connection, external equipment 200 includes the second application processor 20, the second radio frequency
Module 22, the timer 26 of second modem 21 and second.
Second application processor 20, detects data transmission instruction, and detect default connect for working as in wake-up states
When there is no the packet in transmission state in mouthful, the second timer 26 is initialized;Be equal to when the value of the second timer 26 or
When person is more than the first preset time, packet to be sent is sent to by preset interface at the first application in wake-up states
Manage device 10.
When the second application processor 20 in wake-up states, which detects data, sends instruction, the second application processor 20
Detect and whether there is the packet in transmission state in preset interface, that is, detect and whether there is what is do not sent in preset interface
Packet.If not there is no the packet in transmission state in preset interface, start the second timer 26, and initialize second
Timer 26, makes the value of the second timer 26 be equal to zero.When the value of the second timer 26 is equal to or more than the first preset time
When, 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.
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.That is 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..Preset interface is USB.In other embodiments, preset interface can be with
With the interface of USB said functions.
Further, triggered when the data send instruction by second modem 21, the tool of packet to be sent
Body transmission process is:Second modem 21 is by smd (share memory driver, smd) passages by data to be sent
Bag is sent to the second application processor 20, and packet to be sent is sent to first by the second application processor 20 by USB interface
Application processor 10, the first application processor 10 receives packet to be sent, is sent to packet to be sent by smd passages
First modem 11 (now, demonstrates the need for packet to be sent being sent to the first modem 11, if need not be by
Packet to be sent is sent to the first modem 11, and packet to be sent is not then sent to by the first application processor 10
One modem 11).
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, does not still there is packet to be sent in transmit queue, the second application processor 20 then from
Wake-up states enter resting state.Setting time value can be set according to specific needs, 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 the value for working as the second timer 26 is more than or equal to setting time value, and still do not have in transmit queue pending
When sending packet, the dormancy function for calling USB interface agreement to carry performs USB sleep operation, and USB dormancy discharges shared
Clock sources, to realize the dormancy of application processor and modem.
The present embodiment by when the second application processor 20 in wake-up states detect data send instruction when, and inspection
When surveying the packet for not existing in preset interface and being in transmission state, the second timer 26 is initialized;When the second timer 26
When value is equal to or more than the first preset time, packet to be sent is sent to by the second application processor 20 by preset interface
The first application processor 10 in wake-up states.Realize mobile terminal 1 00 and double LTE communications are realized by external equipment 200
In function course, when not there is no the packet in transmission state in preset interface, and be equal in the value of the second timer 26 or
When person is more than the first preset time, the second application processor 20 just sends packet to be sent and is sent to the first application processor
10, it is to avoid mobile terminal 1 00 and external equipment 200 are in transmission of data packets, if external equipment 200 is to mobile terminal
The speed of 100 transmission packets is too fast, and multiple identification of data packets that mobile terminal 1 00 can send external equipment 200 are one
The situation of packet occurs, and improves the accuracy rate of the packet transmitted by the identification external equipment 200 of mobile terminal 1 00.
Further, data transmission system second embodiment of the present invention is proposed.
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 that in a dormant state, and when receiving data interaction request, wake-up states ought be entered from resting state, by pre-
If interface sends detection bag to the first application processor 10, and initializes the second timer 26.
Second application processor 20 is additionally operable to when the value of the second timer 26 is equal to or more than the second preset time, inspection
Whether survey detects data and sends instruction;
When the second application processor 20 in a dormant state, and the second application processor 20 receive data interaction request
When, the second application processor 20 enters wake-up states from resting state.After the second application processor 20 enters wake-up states, the
Two application processors 20 send detection bag to the first application processor 10, and start the second timer 26 execution Clocked operation.
When starting the second timer 26, the second timer 26 is initialized, so that the value of the second timer 26 is equal to zero.Wherein, second answer
The data interaction request received with processor 20 can receive eNodeB 101 request of data for the second application processor 20, or
The second application processor of person 20 needs to obtain the number of entity user identification card 14 or virtual user identifying card 13 in mobile terminal 1 00
According to, or the second application processor 20 has authentication requirement etc..
When the value of the second timer 26 is equal to or more than the second preset time, the second application processor 20 is detected whether
Detect data and send instruction, wherein, the data send instruction to send the instruction of packet to be sent.Second preset time can
Set according to specific needs, in the present embodiment, the second preset time is set to 30ms, in other embodiments, also may be used
Second preset time is set to 34ms, or 40ms etc..
It should be noted that detection bag can use the character mark of fixed word length, the detection bag is not normal packet, is
The field for being not in normal data packet.As detection bag in the present embodiment, can be represented with 0xF9F9F9, in other embodiments
In, it is also possible to it is set to the detection bag of other forms, such as 0xF3F3 and 0x3F3F.
The present embodiment by when the second application processor 20 in a dormant state receive data interaction ask when, actively
Enter wake-up states from resting state, and send detection bag to the first application processor 10, for the first application processor 10
Enter wake-up states from resting state according to detection bag, in order to which the second application processor 20 can enter with the first application processor 10
The normal data interaction of row.
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 is additionally operable to, when receiving detection bag in a dormant state, enter wake-up states from resting state according to detection bag, and just
The first timer of beginningization 16.
Reference picture 9, when the first application processor 10 in a dormant state receives detection bag, the first application processor
10 enter wake-up states from resting state, and start the first timer 16 execution Clocked operation, when starting the first timer 16,
The first timer 16 is initialized, so that the value of the first timer 16 is equal to zero.First application processor 10 judges the first timer
Whether 16 value is equal to or more than the 3rd preset time.Wherein, the 3rd preset time can be set according to specific needs, at this
In embodiment, the 3rd preset time is set to 20ms, in other embodiments, the 3rd preset time can be also set to
25ms, or 28ms etc..
It should be noted that work as the second application processor 20 sends detection data by USB to the first application processor 10
Bao Hou, MPM (the interruption detection module still survived under terminal deep sleep state) detect the data outage on USB, and MPM is called out
Wake up RPM, wakes up correspondence subsystem CPU according to terminal signaling source by RPM, then corresponding subsystem is to be waken up processing event.This
Need what is waken up to have modem and application processor in example.
First application processor 10 is additionally operable to, when the value of the first timer 16 is equal to or more than three preset times, connect
Packet to be sent is received, and handles packet to be sent, wherein, difference between the second preset time and the 3rd preset time etc.
In or less than default value.
When the value of the first timer 16 is equal to or more than three preset times, the first application processor 10 receives pending
Packet is sent, and handles packet to be sent.Such as when packet to be sent is to need the first application processor 10 to be responded, the
One application processor 10 then responds the packet to be sent;If the packet to be sent needs to be sent to the first modem
11, then packet to be sent is sent to the first modem 11.It is understood that the processing of the first application processor 10 is treated
The essence for sending packet is that packet to be sent is sent into corresponding module according to the attribute of packet to be sent or entered
The corresponding processing of row.
In order to ensure that mobile terminal 1 00 can normally receive the packet to be sent transmitted by external equipment 200, second presets
Time should be more than difference between the 3rd preset time, and the second preset time and the 3rd preset time and should be equal to or less than in advance
If numerical value.It is understood that the first application processor 10 should be less than from the time that resting state is changed to wake-up states or
Equal to default value.In the present embodiment, default value is set to 10ms, in other embodiments, and default value may be configured as
8ms, or 9ms etc..
Comparison diagram 4 and Fig. 5 understood, the first application processor 10 can be waited from the time that resting state is changed to wake-up states
It is now, between the 3rd preset time and default value and equal to the second preset time in default value (as shown in Figure 4).The
One application processor 10 from resting state change to wake-up states time can be less than default value (as shown in Figure 5), now,
It is between 3rd preset time and default value and less than the second preset time.
Further, the first application processor 10 is additionally operable to judge whether the value of the first timer 16 is equal to or more than the
Three preset times;If the value of the first timer is less than the 3rd preset time, and receives packet to be sent, then abandon to be sent
Packet.
After the first application processor 10 is changed to wake-up states from resting state, the first application processor 10 judges first
Whether the value of timer 16 is equal to or more than the 3rd preset time.If the value of the first timer 16 is less than the 3rd preset time,
And first application processor 10 receive packet to be sent, the first application processor 10 then abandons the packet to be sent, no
The packet to be sent is reported into upper strata.
Further, reference picture 6, when the detection bag is triggered by second modem 21, detect the specific hair of bag
Passing through journey is:Second modem 21 by smd (share memory driver) passages will detect bag be sent to second should
With processor 20, the second application processor 20 will detect bag by USB and be sent to the first application processor 10, the first application processing
The detection bag received is sent to the first modem 11 by smd passages and (now, demonstrates the need for waking up the first tune by device 10
Modulator-demodulator 11, if the first modem 11 need not be waken up, the first application processor 10 is not then by the detection bag received
It is sent to the first modem 11).It will be appreciated from fig. 6 that when detecting bag is triggered by second modem 21, the second modulation
The wake-up mechanism and data transmitting mechanisms of the modem 11 of demodulator 21 and first, should with the first application processor 10 and second
Wake-up mechanism with processor 20 is similar with data transmitting mechanisms, will not be repeated here.
The present embodiment by when the first application processor 10 in a dormant state when, the second application processor 20 send detection
Wrap to the first application processor 10, to wake up the first application processor 10.And enter wake-up states in the first application processor 10
Afterwards, the time difference between the first timer 16 and the second timer 26 is passed through, it is to avoid second application processor 20 sends data
When wrapping to the first application processor 10, the first application processor 10 is in incomplete wake-up states, causes the first application processor
The situation of 10 received data packets failure occurs.Double LTE communication function courses are realized by external equipment 200 in mobile terminal 1 00
In, improve the success rate of external equipment 200 and the data transfer of mobile terminal 1 00.
Further, data transmission system fourth embodiment of the present invention is proposed.
The difference of data transmission system fourth embodiment and data transmission system second embodiment is that the second application is handled
Device 20 is additionally operable to, when the value of the second timer 26 is less than three preset times, connect again by default after the preset duration of interval
Mouth sends detection bag to the first application processor 10.
When the second application processor 20 by preset interface sends detection bag to the first application processor 10, and initialization the
After two timers 26, the second application processor 20 judges whether the value of the second timer 26 is less than the 3rd preset time.When second
When the value of timer 26 is less than three preset times, the second application processor 20 connects after the preset duration of interval again by default
Mouth sends detection bag to the first application processor 10.In the present embodiment, preset duration can be set according to specific needs, but be
Ensure that detection bag will not be mistakenly considered the normal data packet that the second application processor 20 is sent by the first application processor 10, i.e.,
Detection bag is mistakenly considered the packet to be sent that the second application processor 20 is sent, preset duration should be less than the 3rd it is default when
Between.Preset duration can be such as set to 4ms, 6ms or 8ms etc..When the 3rd preset time is 20ms, preset duration is 6ms
When, the second application processor 20 sends detection bag to the first application processor 10 after at interval of 6ms again by preset interface,
That is the second application processor 20 have sent altogether three detection bags to the first application processor 10.
The present embodiment by when the second timer 26 value be less than three preset times when, the second application processor 20
Every sending detection bag to the first application processor 10 again by preset interface after preset duration, to avoid the second application processor
20 during transmission detection bag is to the first application processor 10, detects packet loss, or detection is wrapped situations such as damaging and occurred, with
Cause to fail to receive detection and wrap from resting state in the first application processor 10 to enter wake-up states.
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 modem 11 for being embedded with virtual user identifying card 13, the first radio frequency mould
Block 12, the first timer 16 and the entity user identification card 14 being connected with the first modem 11, external equipment 200 are wrapped
Include the second application processor 20, the second radio-frequency module 22, the timer 26 of second modem 21 and second.
Step S10, sends instruction, and detect pre- when the second application processor 20 in wake-up states detects data
If there is no the packet in transmission state in interface, the second timer 26 is initialized.
Step S20, when the value of the second timer 26 is equal to or more than the first preset time, the second application processor 20
Packet to be sent is sent to by preset interface by the first application processor 10 in wake-up states.
When the second application processor 20 in wake-up states, which detects data, sends instruction, the second application processor 20
Detect and whether there is the packet in transmission state in preset interface, that is, detect and whether there is what is do not sent in preset interface
Packet.If not there is no the packet in transmission state in preset interface, start the second timer 26, and initialize second
Timer 26, makes the value of the second timer 26 be equal to zero.When the value of the second timer 26 is equal to or more than the first preset time
When, 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.
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.That is 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..Preset interface is USB.In other embodiments, preset interface can be with
With the interface of USB said functions.
Further, triggered when the data send instruction by second modem 21, the tool of packet to be sent
Body transmission process is:Second modem 21 is by smd (share memory driver, smd) passages by data to be sent
Bag is sent to the second application processor 20, and packet to be sent is sent to first by the second application processor 20 by USB interface
Application processor 10, the first application processor 10 receives packet to be sent, is sent to packet to be sent by smd passages
First modem 11 (now, demonstrates the need for packet to be sent being sent to the first modem 11, if need not be by
Packet to be sent is sent to the first modem 11, and packet to be sent is not then sent to by the first application processor 10
One modem 11).
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, does not still there is packet to be sent in transmit queue, the second application processor 20 then from
Wake-up states enter resting state.Setting time value can be set according to specific needs, 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 the value for working as the second timer 26 is more than or equal to setting time value, and still do not have in transmit queue pending
When sending packet, the dormancy function for calling USB interface agreement to carry performs USB sleep operation, and USB dormancy discharges shared
Clock sources, to realize the dormancy of application processor and modem.
The present embodiment by when the second application processor 20 in wake-up states detect data send instruction when, and inspection
When surveying the packet for not existing in preset interface and being in transmission state, the second timer 26 is initialized;When the second timer 26
When value is equal to or more than the first preset time, packet to be sent is sent to by the second application processor 20 by preset interface
The first application processor 10 in wake-up states.Realize mobile terminal 1 00 and double LTE communications are realized by external equipment 200
In function course, when not there is no the packet in transmission state in preset interface, and be equal in the value of the second timer 26 or
When person is more than the first preset time, the second application processor 20 just sends packet to be sent and is sent to the first application processor
10, it is to avoid mobile terminal 1 00 and external equipment 200 are in transmission of data packets, if external equipment 200 is to mobile terminal
The speed of 100 transmission packets is too fast, and multiple identification of data packets that mobile terminal 1 00 can send external equipment 200 are one
The situation of packet occurs, and improves the accuracy rate of the packet transmitted by the identification external equipment 200 of mobile terminal 1 00.
Further, data transmission method second embodiment of the present invention is proposed.
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, and the second application processor 20 receive data friendship
Mutually during request, the second application processor 20 enters wake-up states from resting state, and detection bag is sent to first by preset interface
Application processor 10, and initialize the second timer 26.
Step S40, when the value of the second timer 26 is equal to or more than the second preset time, the second application processor 20
Detect whether that detecting data sends instruction.
When the second application processor 20 in a dormant state, and the second application processor 20 receive data interaction request
When, the second application processor 20 enters wake-up states from resting state.After the second application processor 20 enters wake-up states, the
Two application processors 20 send detection bag to the first application processor 10, and start the second timer 26 execution Clocked operation.
When starting the second timer 26, the second timer 26 is initialized, so that the value of the second timer 26 is equal to zero.Wherein, second answer
The data interaction request received with processor 20 can receive eNodeB 101 request of data for the second application processor 20, or
The second application processor of person 20 needs to obtain the number of entity user identification card 14 or virtual user identifying card 13 in mobile terminal 1 00
According to, or the second application processor 20 has authentication requirement etc..
When the value of the second timer 26 is equal to or more than the second preset time, the second application processor 20 is detected whether
Detect data and send instruction, wherein, the data send instruction to send the instruction of packet to be sent.Second preset time can
Set according to specific needs, in the present embodiment, the second preset time is set to 30ms, in other embodiments, also may be used
Second preset time is set to 34ms, or 40ms etc..
It should be noted that detection bag can use the character mark of fixed word length, the detection bag is not normal packet, is
The field for being not in normal data packet.As detection bag in the present embodiment, can be represented with 0xF9F9F9, in other embodiments
In, it is also possible to it is set to the detection bag of other forms, such as 0xF3F3 and 0x3F3F.
The present embodiment by when the second application processor 20 in a dormant state receive data interaction ask when, actively
Enter wake-up states from resting state, and send detection bag to the first application processor 10, for the first application processor 10
Enter wake-up states from resting state according to detection bag, in order to which the second application processor 20 can enter with the first application processor 10
The normal data interaction of row.
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, data transmission method
Also include:
Step a, when the first application processor 10 in a dormant state receives detection bag, the first application processor 10
Wake-up states are entered from resting state according to detection bag, and initialize the first timer 16.
Reference picture 9, when the first application processor 10 in a dormant state receives detection bag, the first application processor
10 enter wake-up states from resting state, and start the first timer 16 execution Clocked operation, when starting the first timer 16,
The first timer 16 is initialized, so that the value of the first timer 16 is equal to zero.First application processor 10 judges the first timer
Whether 16 value is equal to or more than the 3rd preset time.Wherein, the 3rd preset time can be set according to specific needs, at this
In embodiment, the 3rd preset time is set to 20ms, in other embodiments, the 3rd preset time can be also set to
25ms, or 28ms etc..
It should be noted that work as the second application processor 20 sends detection data by USB to the first application processor 10
Bao Hou, MPM (the interruption detection module still survived under terminal deep sleep state) detect the data outage on USB, and MPM is called out
Wake up RPM, wakes up correspondence subsystem CPU according to terminal signaling source by RPM, then corresponding subsystem is to be waken up processing event.This
Need what is waken up to have modem and application processor in example.
Step b, when the value of the first timer 16 is equal to or more than three preset times, the first application processor 10 connects
Packet to be sent is received, and handles packet to be sent, wherein, difference between the second preset time and the 3rd preset time etc.
In or less than default value.
When the value of the first timer 16 is equal to or more than three preset times, the first application processor 10 receives pending
Packet is sent, and handles packet to be sent.Such as when packet to be sent is to need the first application processor 10 to be responded, the
One application processor 10 then responds the packet to be sent;If the packet to be sent needs to be sent to the first modem
11, then packet to be sent is sent to the first modem 11.It is understood that the processing of the first application processor 10 is treated
The essence for sending packet is that packet to be sent is sent into corresponding module according to the attribute of packet to be sent or entered
The corresponding processing of row.
In order to ensure that mobile terminal 1 00 can normally receive the packet to be sent transmitted by external equipment 200, second presets
Time should be more than difference between the 3rd preset time, and the second preset time and the 3rd preset time and should be equal to or less than in advance
If numerical value.It is understood that the first application processor 10 should be less than from the time that resting state is changed to wake-up states or
Equal to default value.In the present embodiment, default value is set to 10ms, in other embodiments, and default value may be configured as
8ms, or 9ms etc..
Comparison diagram 4 and Fig. 5 understood, the first application processor 10 can be waited from the time that resting state is changed to wake-up states
It is now, between the 3rd preset time and default value and equal to the second preset time in default value (as shown in Figure 4).The
One application processor 10 from resting state change to wake-up states time can be less than default value (as shown in Figure 5), now,
It is between 3rd preset time and default value and less than the second preset time.
Further, data transmission method also includes:
Step c, when the first application processor 10 judges whether the value of the first timer 16 is default equal to or more than the 3rd
Between.
Step d, if the value of the first timer 16 be less than the 3rd preset time, and the first application processor 10 receive it is pending
Packet is sent, the first application processor 10 then abandons packet to be sent.
After the first application processor 10 is changed to wake-up states from resting state, the first application processor 10 judges first
Whether the value of timer 16 is equal to or more than the 3rd preset time.If the value of the first timer 16 is less than the 3rd preset time,
And first application processor 10 receive packet to be sent, the first application processor 10 then abandons the packet to be sent, no
The packet to be sent is reported into upper strata.
Further, reference picture 6, when the detection bag is triggered by second modem 21, detect the specific hair of bag
Passing through journey is:Second modem 21 by smd (share memory driver) passages will detect bag be sent to second should
With processor 20, the second application processor 20 will detect bag by USB and be sent to the first application processor 10, the first application processing
The detection bag received is sent to the first modem 11 by smd passages and (now, demonstrates the need for waking up the first tune by device 10
Modulator-demodulator 11, if the first modem 11 need not be waken up, the first application processor 10 is not then by the detection bag received
It is sent to the first modem 11).It will be appreciated from fig. 6 that when detecting bag is triggered by second modem 21, the second modulation
The wake-up mechanism and data transmitting mechanisms of the modem 11 of demodulator 21 and first, should with the first application processor 10 and second
Wake-up mechanism with processor 20 is similar with data transmitting mechanisms, will not be repeated here.
The present embodiment by when the first application processor 10 in a dormant state when, the second application processor 20 send detection
Wrap to the first application processor 10, to wake up the first application processor 10.And enter wake-up states in the first application processor 10
Afterwards, the time difference between the first timer 16 and the second timer 26 is passed through, it is to avoid second application processor 20 sends data
When wrapping to the first application processor 10, the first application processor 10 is in incomplete wake-up states, causes the first application processor
The situation of 10 received data packets failure occurs.Double LTE communication function courses are realized by external equipment 200 in mobile terminal 1 00
In, improve the success rate of external equipment 200 and the data transfer of mobile terminal 1 00.
Further, data transmission method fourth embodiment of the present invention is proposed.
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 S50, when the value of the second timer 26 is less than three preset times, the second application processor 20 is pre- at interval
If sending detection bag to the first application processor 10 again by preset interface after duration.
When the second application processor 20 by preset interface sends detection bag to the first application processor 10, and initialization the
After two timers 26, the second application processor 20 judges whether the value of the second timer 26 is less than the 3rd preset time.When second
When the value of timer 26 is less than three preset times, the second application processor 20 connects after the preset duration of interval again by default
Mouth sends detection bag to the first application processor 10.In the present embodiment, preset duration can be set according to specific needs, but be
Ensure that detection bag will not be mistakenly considered the normal data packet that the second application processor 20 is sent by the first application processor 10, i.e.,
Detection bag is mistakenly considered the packet to be sent that the second application processor 20 is sent, preset duration should be less than the 3rd it is default when
Between.Preset duration can be such as set to 4ms, 6ms or 8ms etc..When the 3rd preset time is 20ms, preset duration is 6ms
When, the second application processor 20 sends detection bag to the first application processor 10 after at interval of 6ms again by preset interface,
That is the second application processor 20 have sent altogether three detection bags to the first application processor 10.
The present embodiment by when the second timer 26 value be less than three preset times when, the second application processor 20
Every sending detection bag to the first application processor 10 again by preset interface after preset duration, to avoid the second application processor
20 during transmission detection bag is to the first application processor 10, detects packet loss, or detection is wrapped situations such as damaging and occurred, with
Cause to fail to receive detection and wrap from resting state in the first application processor 10 to enter wake-up states.
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 to cause 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, is embedded with
The first modem, the first timer and the entity being connected with first modem of virtual user identifying card
Subscriber Identity Module, the external equipment includes the second application processor, second modem and the second timer;
Second application processor, detects data transmission instruction, and detect described default for working as in wake-up states
When there is no the packet in transmission state in interface, second timer is initialized;When the value of second timer
During equal to or more than the first preset time, packet to be sent is sent in wake-up states by the preset interface
First application processor.
2. data transmission system as claimed in claim 1, it is characterised in that second application processor is additionally operable to work as and is in
Resting state, and when receiving data interaction request, enter wake-up states from the resting state, sent out by the preset interface
Detection bag is sent to first application processor, and initializes second timer;When the value of second timer is equal to
Or during more than the second preset time, detect whether that detecting data sends instruction.
3. data transmission system as claimed in claim 2, it is characterised in that first application processor is additionally operable to work as and is in
When resting state receives the detection bag, the wake-up states are entered from the resting state according to the detection bag, and just
Beginningization first timer;When the value of first timer is equal to or more than three preset time, institute is received
Packet to be sent is stated, and handles the packet to be sent, wherein, second preset time and the 3rd preset time
Between difference be equal to or less than default value.
4. data transmission system as claimed in claim 3, it is characterised in that first application processor is additionally operable to judge institute
Whether the value for stating the first timer is equal to or more than the 3rd preset time;If the value of first timer is less than the described 3rd
Preset time, and receive the packet to be sent, then abandon the packet to be sent.
5. data transmission system as claimed in claim 2, it is characterised in that second application processor is additionally operable to when described
When the value of second timer is less than three preset time, sent after the preset duration of interval again by the preset interface
The detection bag is to first application processor.
6. a kind of data transmission method, it is characterised in that the data transmission method is applied to mobile terminal and by default
The external equipment that interface is connected with the mobile terminal, the mobile terminal includes the first application processor, is embedded with virtual use
The first modem, the first timer and the entity user knowledge being connected with first modem of family identification card
Do not block, the external equipment includes the second application processor, second modem and the second timer;
Instruction is sent when second application processor in wake-up states detects data, and detects the preset interface
In when there is no the packet in transmission state, initialize second timer;
When the value of second timer is equal to or more than the first preset time, second application processor passes through described
Packet to be sent is sent to first application processor in wake-up states by preset interface.
7. data transmission method as claimed in claim 6, it is characterised in that described when be in wake-up states described second should
Data are detected with processor and send instruction, and detect the packet for not existing in the preset interface and being in transmission state
When, initialize second timer the step of before, in addition to:
When second application processor in a dormant state, and second application processor receive data interaction request
When, second application processor enters wake-up states from the resting state, by the preset interface send detection bag to
First application processor, and initialize second timer;
When the value of second timer is equal to or more than the second preset time, second application processor is detected whether
Detect data and send instruction.
8. data transmission method as claimed in claim 7, it is characterised in that second application processor is from the dormancy shape
State enters wake-up states, sends detection bag to first application processor by the preset interface, and initialize described the
After the step of two timers, in addition to:
When first application processor in a dormant state receives the detection bag, the first application processor root
Enter the wake-up states from the resting state according to the detection bag, and initialize first timer;
Packet to be sent is sent in described in wake-up states by second application processor by the preset interface
After the step of first application processor, in addition to:
When the value of first timer is equal to or more than three preset time, first application processor is received
The packet to be sent, and handle the packet to be sent, wherein, second preset time and it is described 3rd it is default when
Between between difference be equal to or less than default value.
9. data transmission method as claimed in claim 8, it is characterised in that when the value of first timer is equal to or greatly
When three preset time, first application processor receives the packet to be sent, and handles described to be sent
Before the step of packet, in addition to:
First application processor judges whether the value of first timer is equal to or more than the 3rd preset time;
If the value of first timer is less than the 3rd preset time, and first application processor receives described treat
Packet is sent, first application processor then abandons the packet to be sent.
10. data transmission method as claimed in claim 7, it is characterised in that second application processor is from the dormancy
State enters wake-up states, sends detection bag to first application processor by the preset interface, and initialize described
After the step of second timer, in addition to:
When the value of second timer is less than three preset time, second application processor is when interval is default
The detection bag is sent to first application processor again by the preset interface after length.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710204469.0A CN107087057B (en) | 2017-03-30 | 2017-03-30 | Data transmission system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710204469.0A CN107087057B (en) | 2017-03-30 | 2017-03-30 | Data transmission system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107087057A true CN107087057A (en) | 2017-08-22 |
CN107087057B CN107087057B (en) | 2020-11-03 |
Family
ID=59615063
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710204469.0A Active CN107087057B (en) | 2017-03-30 | 2017-03-30 | Data transmission system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107087057B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109429290A (en) * | 2017-08-23 | 2019-03-05 | 展讯通信(上海)有限公司 | The control method of data transfer controller and data flow |
Citations (8)
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 |
CN101925160A (en) * | 2009-06-11 | 2010-12-22 | 上海易狄欧电子科技有限公司 | Wireless data transceiving method and system |
CN202696911U (en) * | 2012-05-25 | 2013-01-23 | 深圳市江波龙电子有限公司 | Wireless communication system and wireless communication expansion device |
CN102958042A (en) * | 2011-08-17 | 2013-03-06 | 联发科技股份有限公司 | Wireless communication device and service restoration method |
EP2879363A1 (en) * | 2013-11-28 | 2015-06-03 | Ricoh Company, Ltd. | Apparatus, system, and method of managing counterpart terminal information, and carrier medium |
CN104702767A (en) * | 2013-12-04 | 2015-06-10 | 中国电信股份有限公司 | Method, subscriber identity module card and system used for sending messages |
CN105960000A (en) * | 2016-06-12 | 2016-09-21 | 努比亚技术有限公司 | Dormancy awakening method and processor |
CN106550352A (en) * | 2016-10-31 | 2017-03-29 | 努比亚技术有限公司 | A kind of method and terminal for realizing communication process |
-
2017
- 2017-03-30 CN CN201710204469.0A patent/CN107087057B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101925160A (en) * | 2009-06-11 | 2010-12-22 | 上海易狄欧电子科技有限公司 | Wireless data transceiving method and system |
CN101730270A (en) * | 2009-11-23 | 2010-06-09 | 中国电信股份有限公司 | Method for optimizing data transmission of mobile terminal and mobile terminal |
CN102958042A (en) * | 2011-08-17 | 2013-03-06 | 联发科技股份有限公司 | Wireless communication device and service restoration method |
CN202696911U (en) * | 2012-05-25 | 2013-01-23 | 深圳市江波龙电子有限公司 | Wireless communication system and wireless communication expansion device |
EP2879363A1 (en) * | 2013-11-28 | 2015-06-03 | Ricoh Company, Ltd. | Apparatus, system, and method of managing counterpart terminal information, and carrier medium |
CN104702767A (en) * | 2013-12-04 | 2015-06-10 | 中国电信股份有限公司 | Method, subscriber identity module card and system used for sending messages |
CN105960000A (en) * | 2016-06-12 | 2016-09-21 | 努比亚技术有限公司 | Dormancy awakening method and processor |
CN106550352A (en) * | 2016-10-31 | 2017-03-29 | 努比亚技术有限公司 | A kind of method and terminal for realizing communication process |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109429290A (en) * | 2017-08-23 | 2019-03-05 | 展讯通信(上海)有限公司 | The control method of data transfer controller and data flow |
CN109429290B (en) * | 2017-08-23 | 2021-04-23 | 展讯通信(上海)有限公司 | Data transmission control device and data flow control method |
Also Published As
Publication number | Publication date |
---|---|
CN107087057B (en) | 2020-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107466070A (en) | Data transmission system, method, external equipment and mobile terminal | |
CN106900045A (en) | Data transmission system and method | |
CN107087269A (en) | Mobile terminal and its data transmission method | |
CN107087057A (en) | Data transmission system and method | |
CN107087062A (en) | Data transmission system and method | |
CN106953984A (en) | Data transmission system and method | |
CN106982461A (en) | Data transmission system and method | |
CN107087059A (en) | Data transmission system and method | |
CN106961718A (en) | Data transmission system and method | |
CN106961720A (en) | Data transmission system and method | |
CN106900047A (en) | Data transmission system and method | |
CN107087060A (en) | Data transmission system and method | |
CN107396400A (en) | Data transmission system, method, external equipment and mobile terminal | |
CN107466025A (en) | Data packet transmission system and method | |
CN107087063A (en) | Data transmission system and method | |
CN106900049A (en) | Mobile terminal and its data transmission method | |
CN106900048A (en) | Data transmission system and method | |
CN107087058A (en) | Mobile terminal and its data transmission method | |
CN106961719A (en) | Data transmission system and method | |
CN107087268A (en) | Data transmission system and method | |
CN106900046A (en) | Data transmission system and method | |
CN107087270A (en) | Data transmission system and method | |
CN107087064A (en) | Mobile terminal and its data transmission method | |
CN107071165A (en) | Data transmission system and method | |
CN107071164A (en) | Data transmission system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20201010 Address after: Room 158, block a, Gaoliu hi tech Industrial Park, Xinyi City, Xuzhou City, Jiangsu Province Applicant after: Xinyi Moore Network Technology Co., Ltd Address before: 518057 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor Applicant before: NUBIA TECHNOLOGY Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |