CN107094152A - Data packet transmission system and method - Google Patents
Data packet transmission system and method Download PDFInfo
- Publication number
- CN107094152A CN107094152A CN201710397336.XA CN201710397336A CN107094152A CN 107094152 A CN107094152 A CN 107094152A CN 201710397336 A CN201710397336 A CN 201710397336A CN 107094152 A CN107094152 A CN 107094152A
- Authority
- CN
- China
- Prior art keywords
- packet
- application processor
- bag
- subdata bag
- buffer
- 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.)
- Withdrawn
Links
Classifications
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- 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
- 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/183—Processing at user equipment or user record carrier
-
- 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
- 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
Abstract
The invention discloses a kind of data packet transmission system and method, the system includes:Mobile terminal and external equipment, mobile terminal includes the first application processor, the first modem, the first radio-frequency module of embedded virtual user identifying card, and the entity user identification card being connected with the first modem, external equipment include the second application processor, second modem and the second radio-frequency module;When first application processor receives the packet acquisition request that the second application processor is sent by preset interface, corresponding packet is extracted from virtual or entity user identification card and is split, and identical identification information is added to each subdata bag after fractionation to cache into the extra buffer buffer of preset interface, each subdata bag is extracted from buffer for the second application processor and is combined according to identical identification information.Present invention, avoiding transmission of data packets, due to containing, value is excessive to cause terminal crash.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of data packet 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, can set up data service connection.Mobile terminal generally has two use
Family identification card and the modem being connected respectively with described two Subscriber Identity Modules, during two Subscriber Identity Module standard-sized sheets, one
Individual Subscriber Identity Module (SIM1) can use 4G (the 4th Generation Mobile Communication
Technology, forth generation mobile communication technology), such as LTE (Long Term Evolution, Long Term Evolution) network,
Another Subscriber Identity Module (SIM2) be only capable of using 2G (2-Generation wireless telephone technology,
Second generation mobile communication technical specification) or 3G (3rd Generation, 3rd generation mobile communication technology) network, SIM2 can not on
The reason for 4G, is mainly:Mobile terminal only has a set of radio frequency, and two cards are the relation of time-sharing multiplex using the set radio frequency, can not
Take simultaneously, during due to two card standard-sized sheets, only one card can use 4G networks, and another card can only use 2G or 3G nets
Network, causes the less efficient of data in mobile terminal transmission.
Therefore, in order that mobile terminal can support double LTE, to improve data transmission efficiency, mobile terminal can with it is external
Equipment connects (being provided with modem in the external equipment), to realize double LTE communication functions.But, current mobile terminal
Carried out with external equipment in transmission of data packets, if the Subscriber Identity Module in mobile terminal is telecommunications card, due to telecommunications card
The extra buffer buffer of data transfer capability value typically greater than between mobile terminal and external equipment, therefore buffer
A complete packet can not be cached, if directly carrying out data transmission, mobile terminal deadlock is easily caused.
The content of the invention
It is a primary object of the present invention to propose a kind of data packet transmission system and method, it is intended to solve existing packet
Transmission means, is easily caused the technical problem of mobile terminal deadlock.
To achieve the above object, a kind of data packet transmission system that the present invention is provided, the data packet transmission system includes
Mobile terminal, and the external equipment being connected by preset interface with the mobile terminal, the mobile terminal includes first should
With processor, the first modem and the first radio-frequency module of virtual user identifying card are embedded with, and is adjusted with described first
Modulator-demodulator connection entity user identification card, the external equipment include the second application processor, second modem and
Second radio-frequency module;
First application processor, for receiving the packet acquisition that the second application processor is sent by preset interface
During request, the packet is extracted from virtual user identifying card or entity user identification card and obtains the corresponding packet of request;
The packet of extraction is split, and identical is added to each subdata bag after the fractionation of same packet
Identification information;
Each subdata bag added with identification information is cached into the extra buffer buffer of the preset interface,
So that the second application processor extracts each subdata bag from the buffer, and subnumber is carried out according to identical identification information
According to the combination of bag.
Alternatively, first application processor, is additionally operable to recognize to Virtual User by first modem
Chip operating system in card or entity user identification card sends packet and obtains request, by the chip operating system virtual
The packet is extracted in file storage module in Subscriber Identity Module or entity user identification card and obtains the corresponding data of request
Bag, and feed back to first modem;
First application processor, is additionally operable to anti-by first modem reception chip operating system
The packet of feedback.
Alternatively, first application processor, is additionally operable to pair capability value for determining packet;
When the capability value for having packet is more than predetermined threshold value, the packet is split, each subdata is obtained
Bag;
Identical identification information is added in each corresponding packet header of subdata bag.
Alternatively, extraction packet include multiple packets, and split after each subdata bag correspondence it is different
During identification information, first application processor is additionally operable to each subdata bag by different identification information according to default suitable
Sequence is cached into the buffer of the preset interface.
Alternatively, extraction packet include multiple packets, and split after each subdata bag correspondence it is different
During identification information, first application processor is additionally operable to each subdata bag of same identification information being classified as a class;
According to the order of classification, each of a sort subdata bag is cached to the buffer of the preset interface successively
In.
In addition, to achieve the above object, the present invention also proposes a kind of data pack transmission method, applied to mobile terminal and
The external equipment being connected by preset interface with mobile terminal, the mobile terminal includes the first application processor, is embedded with void
Intend the first modem and the first radio-frequency module of Subscriber Identity Module, and the entity being connected with first modem
Subscriber Identity Module, the external equipment includes the second application processor, second modem and the second radio-frequency module, the side
Method includes:
When first application processor receives the packet acquisition request that the second application processor is sent by preset interface, from
The packet is extracted in virtual user identifying card or entity user identification card and obtains the corresponding packet of request;
The packet of extraction is split, and identical is added to each subdata bag after the fractionation of same packet
Identification information;
Each subdata bag added with identification information is cached into the extra buffer buffer of the preset interface,
So that the second application processor extracts each subdata bag from the buffer, and subnumber is carried out according to identical identification information
According to the combination of bag.
Alternatively, it is described that the packet acquisition request pair is extracted from virtual user identifying card or entity user identification card
The step of packet answered, includes:
First application processor is known by first modem to virtual user identifying card or entity user
Not Ka in chip operating system send packet obtain request, by the chip operating system in virtual user identifying card or reality
The packet is extracted in file storage module in body Subscriber Identity Module and obtains the corresponding packet of request, and is fed back to described
First modem;
First application processor receives the number that the chip operating system feeds back by first modem
According to bag.
Alternatively, the packet of described pair of extraction is split, and to each subdata after the fractionation of same packet
The step of bag addition identical identification information, includes:
First application processor determines the capability value of packet;
When the capability value for having packet is more than predetermined threshold value, the packet is split, each subdata is obtained
Bag;
Identical identification information is added in each corresponding packet header of subdata bag.
Alternatively, extraction packet include multiple packets, and split after each subdata bag correspondence it is different
It is described that each subdata bag added with identification information is cached to the step into the buffer of the preset interface during identification information
Suddenly include:
First application processor is by each subdata bag of different identification information according to default order buffer to institute
In the buffer for stating preset interface.
Alternatively, extraction packet include multiple packets, and split after each subdata bag correspondence it is different
It is described that each subdata bag added with identification information is cached to the step into the buffer of the preset interface during identification information
Suddenly also include:
Each subdata bag of same identification information is classified as a class by first application processor;
According to the order of classification, each of a sort subdata bag is cached to the buffer of the preset interface successively
In.
Data packet transmission system proposed by the present invention and method, the data packet transmission system include mobile terminal, and
The external equipment being connected by preset interface with the mobile terminal, the mobile terminal includes the first application processor, embedded
There are the first modem, the first radio-frequency module of virtual user identifying card, and be connected with first modem
Entity user identification card, the external equipment includes the second application processor, second modem and the second radio-frequency module;The
When one application processor receives the packet acquisition request that the second application processor is sent by preset interface, first from Virtual User
The packet is extracted in identification card or entity user identification card and obtains the corresponding packet of request, then the packet of extraction is entered
Row is split, and adds identical identification information to each subdata bag after same each packet fractionation, then will be added with mark
Each subdata bag for knowing information is cached into the buffer of the preset interface, so that the second application processor is from described
Each subdata bag is extracted in buffer, and the combination of subdata bag is carried out according to identical identification information, to complete packet
Transmission.This programme is first split in transmission packet to packet waiting for transmission, then by each subdata after fractionation
It is transmitted after bag addition identical identification information so that the capability value of the packet of transmission has reduced, and follow-up opposite end is received
Recombinated according to identical identification information after to each subdata bag, it is to avoid mobile terminal in data transmission procedure
The situation of deadlock.
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 a kind of entity signal of communication connection of mobile terminal and external equipment communication connection in the embodiment of the present invention
Figure;
Fig. 3 is mobile terminal and a kind of hardware architecture diagram of external equipment communication connection in the embodiment of the present invention;
Fig. 4 is the schematic flow sheet of data pack transmission method first embodiment of the present invention;
The refinement schematic flow sheet that Fig. 5 is step S10 in Fig. 4.
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.
It should be noted that in the case where not conflicting, the embodiment in the present invention and the feature in embodiment mutually can be tied arbitrarily
Close.
In order to which technical characteristic, purpose and effect to the present invention are more clearly understood from, now compare accompanying drawing and describe in detail
The embodiment of the present invention.
Fig. 1 is the signal of LTE (Long Term Evolution, Long Term Evolution) network architecture of one embodiment of the invention
Figure.The LTE network framework of one embodiment of the invention includes:One or more mobile terminals (user equipment, UE) 100,
External equipment 200, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, the UMTS of evolution
Land radio access web) (non-label in figure), evolution block core (EPC) (non-label in figure), home subscriber servers (HSS)
107th, 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).
Mobile terminal 1 00 passes through preset interface, such as USB (Universal Serial Bus, USB) data
Line 300 is connected with the communication of external equipment 200.
Fig. 2 is the entity schematic diagram of mobile terminal 1 00 of the present invention and the communication connection of external equipment 200.
As shown in Fig. 2 mobile terminal 1 00 is connected by USB data line 300 with the communication of external equipment 200, wherein, it is described
Mobile terminal includes but is not limited to mobile phone, PC (Personal Computer, PC) or PAD (Personal Digital
Assistant, personal digital assistant), the external equipment 200 is chosen as wireless Internet card or data card.
Fig. 3 is the structural representation of mobile terminal 1 00 of the present invention and the communication connection of external equipment 200.
The mobile terminal 1 00 of the embodiment of the present invention is connected by USB data line 300 with the communication of external equipment 200, based on shifting
Dynamic terminal 100 and the basis of the communication connection of external equipment 200, mobile terminal 1 00 can support double LTE.Specifically:
Mobile terminal 1 00 includes the first process chip 001 and first penetrating of being connected with first process chip 001
Frequency module 12, wherein, the first process chip 001 includes the first application processor, and (Application Processor use AP1 tables
Show) 10, the first modem 11 for being embedded with virtual user identifying card 11A and being connected with entity user identification card 14
(modem1), RPM (Resource Power Manager, resource power supervisor) 15.
Wherein, virtual user identifying card 11A includes memory module and virtual chip operating system (Virtual Chip
Operating System, VCOS), the memory module can be EFS (Encrypting File System, encryption file system
System), memory module is used for the authorization data for storing virtual user identifying card 11A.The entity user identification card 14 is SIM
(Subscriber Identity Module, subscriber identification module) blocks.
External equipment 200 includes second processing chip 002 and second penetrating of being connected with the second processing chip 002
Frequency module 22, wherein, second processing chip 002 includes the second application processor (being represented with AP2) 20 and second modem
(modem2)21。
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 one embodiment, application processor refers to Android operations system
System, and the various apk (Android Package, Android installation kit) based on Android operation system.In the reality of the present invention
Apply in example, the first application processor 10 and the second application processor 20 realize communication connection by USB data line, provide the user
Interactive interface, the operational order that user is inputted is (for example, the behaviour for the relevant startup video calling that user is inputted by user interface
Instruct) the first modem 11 or second modem 21 are transferred to, to realize data between two application processors
Definition and transmission, for example, it is suitable to carry out chip startup when the dormancy of two application processors, wake-ups, synchronous control, switching on and shutting down
Control of sequence etc..
It should be appreciated that in embodiments of the present invention, USB data line 300 is multiplexed out three data passages, is respectively used to
User data between first application processor 10 and the second application processor 20, control signaling data and SIM card authorization data
The data that interaction, i.e. the first application processor 10 and the second application processor 20 are transmitted by USB data line 300 include above-mentioned three
Plant data.Wherein, user data includes the data that online is produced, picture and chat message data;Control signaling data include opening
The control data of shutdown, switchs the control data of offline mode, the control data of dispaly state signal;SIM card authorization data bag
Include but be not limited to IMSI (International Mobile Subscriber Identification Number, world movement
CUSTOMER ID), Ki (key identifier, KI) etc..
In the present embodiment, the first application processor 10 and the second application processor 20 are entered by OTG (On-The-Go) technology
Row data interaction.By OTG technologies, the first modem 11 in mobile terminal 1 00 can pass through virtual user identifying card 11A
Or the SIM card parameter in entity user identification card 14 accesses the second modem 21 in eNodeB 101, external equipment
Also eNodeB 101 can be accessed by the SIM card parameter in entity user identification card 14 or virtual user identifying card 11A, institute
State SIM card parameter and include but is not limited to SIM card authorization data.Wherein, the buffer of USB interface is present in the first application processor
10 and second application processor 20 two ends, represented with buffer1 and buffer2.It should be noted that buffer1 and
Buffer2 correspond to same physical address, by the physical address, can control buffer1 and buffer2 capability values and state
Synchronous change.
Because buffer1 and buffer2 correspond to same physical address, therefore the first application processor 10 is by extraction
When data pack buffer is to buffer1, packet sends into buffer2 caching by the UART, and the second application processor 20 exists
When the packet is detected in buffer2, you can get the packet, to realize the transmission of packet.
The protocol stack of the network formats of first modem 11 and second modem 21 comprising various network interactions,
Protocol stack includes LTE (Long Term Evolution, Long Term Evolution)/WCDMA (W ideband Code Division
Multiple Access, WCDMA) and/GSM (Global Syste m for Mobile Communication, entirely
Ball GSM)/TD-SCDMA (Time Divisi on-Synchronous Code Division Multiple
Access, synchronous time division CDMA)/CDMA (C ode Division Multiple Access, CDMA)/EDGE
Inside communication standards such as (Enhanced Data Rate for G SM Evolution, strong type Data for GSM Evolution)
Defined protocol code.Mobile terminal 1 00 is interacted by agreement with carrier network, that is, carries out data traffic online, V
OLTE (Voice Over LTE) is made a phone call or CS (Circuit Switched, circuit switching) domain is made a phone call.First modulation
Demodulator 11 and second modem 21 are additionally operable to management and control to SIM card etc..
In embodiments of the present invention, the first radio-frequency module 12 is transmitted to after being used for the data processing of transmitting mobile terminal 1 00
ENodeB 101 (base station network), and for being transmitted to mobile terminal 1 00 after the data processing of transmitting eNodeB 101.Second
Radio-frequency module 22 is transmitted to eNodeB 101 (base station network) after being used for the data processing of transmitting external equipment 200, and is used for
External equipment 200 is transmitted to after the data processing that eNodeB 101 is transmitted.
Wireless access technology involved by first radio-frequency module 12 and the second radio-frequency module 22 can include LTE, GSM,
GPRS (General Packet Radio Service, general packet radio service), CDMA, EDGE, WLAN (Wireless
Local Area Networks, WLAN), CDMA-2000, TD-SCDMA, WCDMA, WIFI (Wireless
Fidelity, Wireless Fidelity) etc..
Entity user identification card 14 in mobile terminal 1 00 is connected with the first modem 11, virtual user identifying card
11A is embedded in the first modem 11 in the form of software, and virtual user identifying card 11A and entity user identification card 14 are stored
Different wireless communication standard associated user information.It should be appreciated that current mobile terminal only has a set of radio frequency, mobile terminal
Two internal Subscriber Identity Modules are the relation of time-sharing multiplex using the set radio frequency, can not be taken simultaneously.For example, in two use
During the identification card standard-sized sheet of family, a card can handle GSM calls, and another card can only handle the 4G network informations, which specific user
Which kind of network identification card performs, and does not limit.Therefore current this framework of radio frequency double card time-sharing multiplex has only accomplished LTE+GSM
(the corresponding technical standard of i.e. one Subscriber Identity Module is LTE, and the corresponding technical standard of another Subscriber Identity Module is GSM).
That is, although existing mobile terminal 1 00 can support Dual-user identification card, 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
Individual support 4G, can cause during the use of mobile terminal 1 00, surfing flow speed is slower, therefore in the present invention, mobile terminal
100 connect external equipment 200 by USB data line 300, and because external equipment 200 includes the second radio-frequency module 22, and second penetrates
Frequency module 22 supports 4G networks, and therefore, mobile terminal 1 00 can be interacted by USB line 300 with external equipment 200, so that moving
Dynamic terminal 100 possesses double LTE functions.
In the present embodiment, data packet transmission system includes mobile terminal 1 00 and external equipment 200, and mobile terminal 1 00 is led to
Crossing external equipment 200 and possessing the implementation process of double LTE functions to be:1. entity user identification card 14 passes through second modem
21 support LTE, and detailed process is:First modem 11 will need the number of access LTE network in entity user identification card 14
According to the first application processor 10 is sent to, received data is sent to external equipment by the first application processor 10 by USB
Received data is sent to second modem 21 by 200 the second application processor 20, the second application processor 20, by
Second modem 21 is transmitted to the second radio-frequency module 22, and received data is passed through LTE network by the second radio-frequency module 22
Send;And virtual user identifying card 11A 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 11A supports LTE by second modem 21, and detailed process is:At first application
Reason device 10 will need the data for accessing LTE network to be sent to the of external equipment 200 by USB in virtual user identifying card 11A
Received data is sent to second modem 21 by two application processors 20, the second application processor 20, is adjusted by second
Modulator-demodulator 21 is transmitted to the second radio-frequency module 22, and the second radio-frequency module 22 sends out received data by LTE network
Go;And entity user identification card 14 supports LTE by the first modem 11, to realize that it is double that mobile terminal 1 00 can be supported
LTE。
In embodiments of the present invention, virtual user identifying card 11A and entity user identification card 14 are used to provide mobile communication
Related data needed for business (CS speech businesses, PS data services and PS speech businesses), and its storage inside user profile,
Short message, execution authentication arithmetic and generation cryptographic keys etc..
When entity user identification card 14 is interacted with mobile terminal 1 00, mobile terminal 1 00 detects the entity user 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.
It should be noted that when virtual user identifying card 11A needs to carry out network registry, passing through the Wireless Fidelity of unlatching
(WIFI) network is sent downloads request to the corresponding cloud servers of virtual user identifying card 11A comprising service menu data,
To obtain virtual user identifying card 11A data message from cloud server.When the data for getting virtual user identifying card 11A
During information, in the memory module that data message is write to virtual user identifying card 11A, to realize virtual user identifying card 11A's
Network registry.Wherein, data message 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 of each operator in cloud server
Number resource.
In an embodiment of the present invention, virtual user identifying card 11A and the carrying information of entity user identification card 14, and root
Correspondence card parameter is returned according to external world's request, and authentication computing, the first radio-frequency module 12 and the second radio-frequency module are carried out to network
Wireless access technology involved by 22 is LTE.When mobile terminal 1 00 is connected by USB data line 300 with external equipment 200,
Virtual user identifying card 11A can support LTE by the second modem 21 in external equipment 200, and entity user is recognized
Card 14 supports LTE by the first modem 11;Or virtual user identifying card 11A can be 11 by the first modem
LTE is held, and entity user identification card 14 supports LTE by second modem 21, to realize that it is double that mobile terminal 1 00 can be supported
LTE。
RPM15 in 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.
After the whole system dormancy of mobile terminal 1 00, if to restart operation, it is necessary to wake up at the first application
Reason device 10 is interacted with the transmission for carrying out data.
In the case where mobile terminal 1 00 and external equipment 200 are by the communication connection of USB data line 300, wake-up mode bag
Include three kinds:
1st, when the first application processor 10 receives control signaling data, by the transmission detection bag of USB data line 300 to the
Two application processors 20, to wake up the second application processor 20.
2nd, when the second modem 21 of external equipment 200 receives user data, the second application processor 20 is waken up,
Detection bag is transmitted to the first application processor 10 by USB data line 300 by the second application processor 20, to wake up the first application
Processor 10.
3rd, second modem 21 periodically searches paging request, with active activation oneself, if receiving paging request,
The second application processor 20 is waken up, detection bag is sent to the first application by USB data line 300 by the second application processor 20
Device 10 is managed, 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.
It should be noted that the packet of transmission is SIM for user data, control signaling data or Subscriber Identity Module data
During card data, three kinds of data are transmitted all between application processor.
In the present embodiment, SIM card includes mobile card, UNICOM's card and telecommunications card, wherein, mobile card and UNICOM's card refer to use
The phonecard that 3GPP standard agreements are communicated, the capacity that 3GPP standard agreements define phonecard transmission packet can not exceed
Certain value, the value is set to 512 bytes;And telecommunications card refers to the phonecard using 3GPP2 standard agreements, GPP2 standard agreements
The capacity of the packet transmitted to telecommunications card is not limited, and the capacity of the packet of telecommunications card transmission can typically exceed 512 bytes.
Wherein, mobile card is the SIM card provided a user by China Mobile (operator), UNICOM's card be from CHINAUNICOM (operator) to
The SIM card that user provides, telecommunications card is the SIM card provided a user by China Telecom (operator).
Due to existing buffer capacity typically no more than 512 bytes.Therefore, when the void in mobile terminal 1 00
When plan Subscriber Identity Module 11A and entity user identification card 14 are all mobile card or UNICOM's card, due to movement card either connection
Logical Ka Shoufashuojubao data capacity is less than 512 bytes, and therefore, the first application processor 10 receives packet acquisition
During request, the packet got from virtual user identifying card 11A and entity user identification card 14 is also less than 512 bytes,
Accordingly, storage is also less than 512 bytes to buffer packet, therefore, packet can complete storage arrive
In buffer, subsequently, the second application processor 20 can also take out a complete packet.
But, because telecommunications card is generally higher than 512 bytes, therefore, in the first application processor 10 and the second application processing
In the data exchange process of device 20, if what is connected in the first application processor 10 is telecommunications card, it may appear that such situation:
It is mobile in the case where virtual user identifying card 11A and entity user identification card 14 are telecommunications card by taking Fig. 3 as an example
The application processor 10 of terminal 100 first by the first modem 11 from virtual user identifying card 11A or entity user know
14 a packet Ka not be extracted, because the packet is more than 512 bytes, and buffer can only disposably be cached and is no more than
The packet of 512 bytes, in this case, can be due to that can not forward big data bag to cause the system in case of system halt of mobile terminal.
The structure of Organization Chart and mobile terminal 1 00 and the communication connection of external equipment 200 based on above-mentioned LTE network is shown
It is intended to, proposes each embodiment of the present invention.
Reference picture 3, the present embodiment proposes a kind of data packet transmission system, and the data packet transmission system includes mobile terminal
100, and the external equipment 200 being connected by preset interface with the mobile terminal 1 00, the mobile terminal 1 00 includes the
One application processor 10, the first modem 11 for being embedded with virtual user identifying card 11A, the first radio-frequency module 12, and
The entity user identification card 14 being connected with first modem 11, the external equipment 200 includes the second application processing
Device 20, the radio-frequency module 22 of second modem 21 and second;
First application processor 10, for receiving the packet that the second application processor 20 is sent by preset interface
When obtaining request, the packet is extracted from virtual user identifying card 11A or entity user identification card 14 and obtains request correspondence
Packet;
The packet of extraction is split, and identical is added to each subdata bag after the fractionation of same packet
Identification information;
Each subdata bag added with identification information is cached into the buffer of the preset interface, for second should
Each subdata bag is extracted from the buffer with processor 20, and according to the group of identical identification information progress subdata bag
Close.
In the present embodiment, first application processor 10 receives the second application processor 20 by preset interface and sent
Packet obtain request, be also subsequently that packet is fed back to by second application processor 20 by the preset interface.
The preset interface is USB interface.
Wherein, when the second modem 21 of second processing chip 002 by the second radio-frequency module 22 receives base station
When the packet of transmission obtains request, packet is obtained into request and sent to the second application processor of second processing chip 002
In 20, when the second application processor 20, which receives packet, obtains request, first pass through USB data line 300 and obtain packet
Request is sent in the first application processor 10 of mobile terminal 1 00;First application processor 10 receives packet acquisition
During request, packet is obtained into request and is sent in the first modem 11 of mobile terminal 1 00, by the first modem
11 obtain request according to the packet obtains packet from virtual user identifying card 11A or entity user identification card 14;First
Modem 11 is got after packet, and packet is transmitted into the first application processor 10;First application processor
After 10 get packet, in order to ensure that the packet of transmission is not more than USB buffer capability value, first to acquisition
Packet is split, each subdata bag after being split, in order to prevent the packet subsequently forwarded imperfect, described to answer
Each subdata bag after being split with processor 10 to same packet adds identical identification information;Again will be added with mark
Each subdata bag of information is cached into USB buffer, to be sent to the second application processor 20;Second application processor
20 extract each subdata bag from buffer, the combination of subdata bag are carried out according still further to identical identification information, to obtain
Complete packet, is uploaded to base station, to complete the biography of packet eventually through the second radio-frequency module 22 by the packet of combination
It is defeated.
Specifically, first application processor 10, is additionally operable to by first modem 11 to Virtual User
Chip operating system in identification card 11A or entity user identification card 14 sends packet and obtains request, is operated in described
System is extracted the packet and obtained in the file storage module in virtual user identifying card 11A or entity user identification card 14
Corresponding packet is asked, and feeds back to first modem 11;
First application processor 10, is additionally operable to receive operation system in described by first modem 11
The packet for feedback of uniting.
In the present embodiment, it is necessary to data in explanation, virtual user identifying card 11A or entity user identification card 14
Bag is stored in file storage module, when the first modem 11 will obtain virtual user identifying card 11A or entity user knowledge
Ka be in 14 packet when, the first modem 11 will not be recognized directly with virtual user identifying card 11A or entity user
File storage module interaction in card 14, but the first COS into virtual user identifying card 11A or entity user identification card 14
It is Request that (Chip Operating System, chip operating system) operating system, which sends packet and obtains request, then
The COS operating systems of virtual user identifying card 11A or entity user identification card 14 are based on the Request in file storage module
Packet is obtained, the packet of acquisition is then transmitted further to the first modem 11, as long as the first modem 11 connects
The packet of COS operating systems feedback is received, follow-up first application processor 10 obtains number in the first modem 11
The acquisition process of packet can be achieved according to bag.
It is appreciated that because the first modem 11 can not be in virtual user identifying card 11A or entity user identification card
File storage module in 14 directly extracts packet, thus by with virtual user identifying card 11A or entity user identification card
14 COS operating systems are interacted, to realize the extraction of packet, it is ensured that follow-up data transmission procedure is normally run.
When the first application processor 10 extracts packet from virtual user identifying card 11A or entity user identification card 14
After the corresponding packet of acquisition request, then the packet of extraction is split, in the present embodiment, the first application processing
The mode that device 10 is split to packet, is chosen as:Packet is parsed, to obtain the corresponding data of packet, so
Data are decomposed according to preset capacity value afterwards, data are split into the data segment of multiple preset capacity values, then will
Each data segment after fractionation carries out package operation, to obtain each subdata bag.Wherein, the preset capacity value may be configured as
512 bytes, in other embodiments, may be alternatively provided as other values, as long as ensureing that the capability value of each follow-up subdata bag is less than
512 bytes, are not limited herein.
First application processor 10 is split to packet with after obtaining each subdata bag, you can packet is torn open
Point after each subdata bag addition identical identification information, most at last added with identification information each subdata bag cache to
In USB buffer, so that the second application processor 20 extracts each subdata bag from the buffer, and according to identical
Identification information carries out the combination of subdata bag, to complete the transmission of packet.
It should be noted that buffer is present in the two ends difference of the two ends of USB interface, i.e. USB interface in the present embodiment
It is provided with buffer1 and buffer2.The is sent to when packet is obtained request by USB interface by the second application processor 20
During one application processor 10, the first application processor 10 is by the first modem 11 from virtual user identifying card 11A or reality
Body Subscriber Identity Module 14 is extracted after packet, is first stored the packet of extraction into buffer1, to pass through USB transmission
Into buffer2, the second application processor 20 obtains packet from buffer2 again.
The data packet transmission system that the present embodiment is proposed, the first application processor is received at the second application by preset interface
When managing the packet acquisition request that device is sent, first the packet is extracted from the first Subscriber Identity Module or entity user identification card
The corresponding packet of request is obtained, then the packet of extraction is split, and to each after the fractionation of same packet
Subdata bag adds identical identification information, then each subdata bag added with identification information is cached to the preset interface
Buffer in, so that the second application processor extracts each subdata bag from the buffer, and identified according to identical
Information carries out the combination of subdata bag, to complete the transmission of packet.This programme is in transmission packet, first to number waiting for transmission
Split, then will be transmitted after each subdata bag addition identical identification information after fractionation according to bag so that transmission
The capability value of packet has reduced, and follow-up opposite end is weighed after receiving each subdata bag according to identical identification information
Group, it is to avoid the situation that mobile terminal crashes in data transmission procedure.
Further, data packet transmission system second embodiment of the present invention is proposed based on first embodiment.
The difference of data packet transmission system second embodiment and data packet transmission system first embodiment is,
First application processor 10, is additionally operable to pair capability value for determining packet;
When the capability value for having packet is more than predetermined threshold value, the packet is split, each subdata is obtained
Bag;
Identical identification information is added in each corresponding packet header of subdata bag.
In the present embodiment, request is obtained when the second application processor 20 sends packet to the first application processor 10
(Request) when, if virtual user identifying card 11A or entity user identification card 14 are telecommunications card, and the first modem 11
The packet extracted from the virtual user identifying card 11A or described entity users identification card 14 is more than predetermined threshold value such as 512
Byte, first application processor 10 can determine that the capability value of packet is more than predetermined threshold value, now due to buffer once
Property can only cache the packet no more than 512 bytes, therefore the first application processor 10 needs first to carry out the packet of extraction
Split, to split into multiple subdata bags, then again forwarded the storage of multiple subdata bags into buffer.
In the present embodiment, the packet that the first application processor 10 is extracted can be one or more, in the number of extraction
During according to including multiple, first application processor 10 can be split to multiple packets simultaneously, or according to each number
Split according to the sequence of extraction of bag, the first fractionation first extracted.
Specifically, during 10 splitting datagram of the first application processor, the bag of first each subdata bag after fractionation
Identical identification information is added in head, when the identification information is preferably the first 10 splitting datagram of application processor according to fractionation after
Packet perform package operation and added, package is exactly that plus packet header, so packet is just divided into one piece of data
Packet header and inclusion two parts content.
In the present embodiment it should be noted that packet header is actually fixed-size structure, wherein have individual structure into
Member's variable includes the length of attached bag body after splitting, and our fractionation identification information flag for defining, it will be understood that by one big
Wrapping the multiple attached bags split out has identical flag marks, and the information that is specifically identified of flag marks is not limited to bag name or pre-
If field information, it can be set, do not limited herein according to actual conditions.First application processor 10 has been performed after package operation,
The packet added with same identification information is stored in buffer successively again.
To be best understood from, it is exemplified below:Current in succession will transmit the packet of three telecommunications cards, and first big data bag is torn open
It is divided into after each subdata bag, flag is identified and is both configured to 0xF9F9, second big data bag splits into each subdata
Bao Hou, is both configured to 0x9F9F, the 3rd big data bag is split into after each subdata bag, by each attached bag by flag marks
Flag marks are both configured to 0XF9F9, and such three package identifications can just make a distinction, and receipt of subsequent end is the second application
Each subdata bag of flag mark identicals can be sorted out and reassemble into three big data bags by processor 20.
In the present embodiment, when it is determined that the capability value of packet is more than predetermined threshold value, fractured operation is just performed, data are prevented
Bag also carries out the waste that fractured operation causes system resource when being less than predetermined threshold value, and after fractured operation is carried out to packet,
Each subdata bag after same packet is split adds identical identification information, and follow-up opposite end can be identified according to identical
Information is recombinated, and prevents that the packet of forwarding is imperfect, improves packet forwarding accuracy.
Further, data packet transmission system 3rd embodiment of the present invention is proposed based on first embodiment.
The difference of data packet transmission system 3rd embodiment and data packet transmission system first embodiment is,
The corresponding different identification information of each subdata bag after the packet of extraction includes multiple packets, and fractionation
When, first application processor 10 is additionally operable to each subdata bag by different identification information according to default order buffer
Into the buffer of the preset interface.
In the present embodiment, each subdata bag correspondence after the packet of extraction includes multiple packets, and fractionation
During different identification information, now, first application processor 10 can by each subdata bag of different identification information according to
Preset order is cached into the buffer of the preset interface.In the present embodiment, the random sequence preferentially with each subdata
The genesis sequence of bag is consistent, i.e., split out a sub- packet, and subdata according to packet in the first application processor 10
Bag is added with after identification information, you can cache the subdata bag into the buffer of USB interface.
If it should be appreciated that the packet currently proposed includes multiple packets, then split obtained subdata bag
Also include it is multiple, and different pieces of information bag split after the corresponding identification information of subdata it is different, therefore, each after fractionation
When subdata bag corresponds to different identification informations, first application processor 10 can be by each subdata of different identification information
Bag is cached into the buffer of the USB interface successively according to the genesis sequence of subdata bag.Subsequently, the second application processing
Device 20 is extracted from the buffer after each subdata bag, and the side of the combination of subdata bag is carried out according to identical identification information
Formula is:Second application processor 20 extracts each subdata bag from buffer, by each subdata bag of extraction store to
Pre-set space, after the completion of then each subdata bag in buffer is extracted, recognizes each subdata bag of extraction successively
Identification information, a big data bag is included into by identification information identical subdata.
To be best understood from the present embodiment, it is exemplified below:
When first application processor 10 extracts tri- packets of X, Y, Z based on packet acquisition request, to each data
Bag is split, to obtain the corresponding multiple subdata bags of each packet, such as X packets correspondence x1, x2 and x3, Y data bag
Correspondence y1, y2 and y3, Z data bag correspondence z1, z2 and z3, now, if the genesis sequence of each subdata bag be successively x1,
Z1, x2, y1 ..., then, each subdata bag for being cached to buffer is just to be deposited successively according to x1, z1, x2, y1 order
Storage.In this case, when the second application processor 20 extracts subdata bag from buffer, first by each subdata of extraction
Bag is stored away in advance, and after the completion of extraction, the identification information of each subdata bag of extraction is recognized successively, then identification information is identical
Subdata include into a big data bag, and the big data after synthesis wrapped by the second radio-frequency module 23 reach base station.
In the present embodiment, each subdata bag correspondence after the packet of extraction includes multiple packets, and fractionation
During different identification information, each subdata bag of different identification information is cached to the preset interface according to preset order
In buffer, it is not necessary to have to same packet split after each subdata bag it is complete after, then all caching is connect to USB
In the buffer of mouth, but the subdata bag first split out is first cached, and improves the flexibility of packet transmission.
Further, data packet transmission system fourth embodiment of the present invention is proposed based on 3rd embodiment.
The difference of data packet transmission system fourth embodiment and data packet transmission system 3rd embodiment is,
The corresponding different identification information of each subdata bag after the packet of extraction includes multiple packets, and fractionation
When, first application processor 10 is additionally operable to each subdata bag of same identification information being classified as a class;
According to the order of classification, each of a sort subdata bag is cached to the buffer of the preset interface successively
In.
In the present embodiment, each subdata bag correspondence after the packet of extraction includes multiple packets, and fractionation
During different identification information, each subdata bag of same identification information first can be classified as one by first application processor 10
Class, then according to the order of classification, successively caches each of a sort subdata bag into the buffer of the preset interface.
In the present embodiment, the order of classification is preferably first classified as the order of a class, that is to say, that even if the first application processor 10 is extracted
Packet include multiple packets, and to each packet split after obtain each corresponding subdata bag, described first
Each subdata bag of same identification information still first can be classified as a class by application processor 10, then by according to the suitable of classification
Sequence, each of a sort subdata bag is cached into the buffer of the preset interface successively, the son of a class will be first classified as
Data pack buffer is finally completed the caching of the subdata bag of all categories into the buffer of the preset interface.
Subsequently, second application processor 20 extracts each subdata bag from the buffer, and according to identical
The mode that identification information carries out the combination of subdata bag includes:Second application processor 20 extracts subdata from buffer
Bag, recognizes the identification information of each subdata bag, is recognizing the mark of new subdata bag and a upper sub- packet successively
When knowledge information is identical, the subdata bag and a upper sub- packet that this is currently recognized are classified as a class, and it is next to continue identification
Subdata bag, when the subdata bag recognized that goes directly is different from the identification information of a upper sub- packet, the identification information by before
Each subdata of identical includes into a big data bag.
To be best understood from the present embodiment, it is exemplified below:
When first application processor 10 extracts tri- packets of X, Y, Z based on packet acquisition request, to each data
Bag is split, to obtain the corresponding multiple subdata bags of each packet, such as X packets correspondence x1, x2 and x3, Y data bag
Correspondence y1, y2 and y3, Z data bag correspondence z1, z2 and z3, now, a class are classified as by x1, x2 and x3, it is then determined that three class numbers
According to wrapping which class first splits completion, if now X classes first split completion, you can cache x1, x2 and x3 successively to the USB's
In buffer.Subsequently, after second application processor 20 extracts each subdata bag from the buffer, by x1, x2,
A class is classified as with x3, and continues to recognize next subdata bag, if it is y1 to recognize next, by x1, x2 and x3 before
Each subdata includes into a big data bag.
In the present embodiment, each subdata bag correspondence after the packet of extraction includes multiple packets, and fractionation
During different identification information, each subdata bag of same identification information is classified as a class, finally according to the order of classification, successively
Each of a sort subdata bag is cached into the buffer of the preset interface so that the transmission of subdata bag, be according to
Order buffer transmission, prevent subdata bag from situation about omitting occur, improve the accuracy of packet transmission.
In summary, in the embodiment of the present invention, when the packet of telecommunications card transmission in the mobile terminal 100 is larger, the
One application processor 10 is split to packet, with the desired value of change data bag, the packet of further cache to buffer
Buffer capability value would not be exceeded, then, it is to avoid the problem of transmission of big data bag causes to crash, while many to splitting into
Individual sub- packet addition identical identification information, the second application processor 20 can be recombinated according to identification information so that follow-up
The packet of forwarding is complete packet, it is to avoid packet forwards incomplete situation.
The present invention further provides a kind of data pack transmission method.
Reference picture 4, Fig. 4 is the schematic flow sheet of data pack transmission method preferred embodiment of the present invention.
The present embodiment proposes a kind of data pack transmission method, and there is provided the reality of data pack transmission method in the present embodiment
Example is applied, it is necessary to which explanation is, although show logical order in flow charts, but in some cases, can with different from
Order herein performs shown or described step.
In the present invention, data pack transmission method is applied to the mobile terminal being connected by preset interface with external equipment 200
100, the mobile terminal 1 00 includes the first application processor 10, is embedded with virtual user identifying card 11A the first modulation /demodulation
Device 11, the first radio-frequency module 12, and the entity user identification card 14 being connected with first modem 11, it is described external
Equipment 200 includes the second application processor 20, the radio-frequency module 22 of second modem 21 and second, and methods described includes:
Step S10, the first application processor receives the packet acquisition that the second application processor is sent by preset interface
During request, the packet is extracted from virtual user identifying card or entity user identification card and obtains the corresponding packet of request;
Step S20, splits to the packet of extraction, and to each subdata Bao Tian after the fractionation of same packet
Plus identical identification information;
Step S30, each subdata bag added with identification information is cached into the buffer of the preset interface, with
Each subdata bag is extracted from the buffer for the second application processor, and subdata is carried out according to identical identification information
The combination of bag.
In the present embodiment, first application processor 10 receives the second application processor 20 by preset interface and sent
Packet obtain request, be also subsequently that packet is fed back to by second application processor 20 by the preset interface.
The preset interface is USB interface.
Wherein, when the second modem 21 of second processing chip 002 by the second radio-frequency module 22 receives base station
When the packet of transmission obtains request, packet is obtained into request and sent to the second application processor of second processing chip 002
In 20, when the second application processor 20, which receives packet, obtains request, first pass through USB data line 300 and obtain packet
Request is sent in the first application processor 10 of mobile terminal 1 00;First application processor 10 receives packet acquisition
During request, packet is obtained into request and is sent in the first modem 11 of mobile terminal 1 00, by the first modem
11 obtain request according to the packet obtains packet from virtual user identifying card 11A or entity user identification card 14;First
Modem 11 is got after packet, and packet is transmitted into the first application processor 10;First application processor
After 10 get packet, in order to ensure that the packet of transmission is not more than USB buffer capability value, first to acquisition
Packet is split, each subdata bag after being split, in order to prevent the packet subsequently forwarded imperfect, described to answer
Each subdata bag after being split with processor 10 to same packet adds identical identification information;Again will be added with mark
Each subdata bag of information is cached into USB buffer, to be sent to the second application processor 20;Second application processor
20 extract each subdata bag from buffer, the combination of subdata bag are carried out according still further to identical identification information, to obtain
Complete packet, is uploaded to base station, to complete the biography of packet eventually through the second radio-frequency module 22 by the packet of combination
It is defeated.
Specifically, reference picture 5, the step S10 includes:
Step S11, first application processor is by first modem to the first Subscriber Identity Module or reality
Chip operating system in body Subscriber Identity Module sends packet and obtains request, is known by the chip operating system in the first user
Not Ka or entity user identification card in file storage module in extract the packet and obtain the corresponding packet of request, and instead
It is fed to first modem;
Step S12, first application processor receives the chip operating system by first modem
The packet of feedback.
In the present embodiment, it is necessary to data in explanation, virtual user identifying card 11A or entity user identification card 14
Bag is stored in file storage module, when the first modem 11 will obtain virtual user identifying card 11A or entity user knowledge
Ka be in 14 packet when, the first modem 11 will not be recognized directly with virtual user identifying card 11A or entity user
File storage module interaction in card 14, but the first COS into virtual user identifying card 11A or entity user identification card 14
It is Request that (Chip Operating System, chip operating system) operating system, which sends packet and obtains request, then
The COS operating systems of virtual user identifying card 11A or entity user identification card 14 are based on the Request in file storage module
Packet is obtained, the packet of acquisition is then transmitted further to the first modem 11, as long as the first modem 11 connects
The packet of COS operating systems feedback is received, follow-up first application processor 10 obtains number in the first modem 11
The acquisition process of packet can be achieved according to bag.
It is appreciated that because the first modem 11 can not be in virtual user identifying card 11A or entity user identification card
File storage module in 14 directly extracts packet, thus by with virtual user identifying card 11A or entity user identification card
14 COS operating systems are interacted, to realize the extraction of packet, it is ensured that follow-up data transmission procedure is normally run.
When the first application processor 10 extracts packet from virtual user identifying card 11A or entity user identification card 14
After the corresponding packet of acquisition request, then the packet of extraction is split, in the present embodiment, the first application processing
The mode that device 10 is split to packet, is chosen as:Packet is parsed, to obtain the corresponding data of packet, so
Data are decomposed according to preset capacity value afterwards, data are split into the data segment of multiple preset capacity values, then will
Each data segment after fractionation carries out package operation, to obtain each subdata bag.Wherein, the preset capacity value may be configured as
512 bytes, in other embodiments, may be alternatively provided as other values, as long as ensureing that the capability value of each follow-up subdata bag is less than
512 bytes, are not limited herein.
First application processor 10 is split to packet with after obtaining each subdata bag, you can packet is torn open
Point after each subdata bag addition identical identification information, most at last added with identification information each subdata bag cache to
In USB buffer, so that the second application processor 20 extracts each subdata bag from the buffer, and according to identical
Identification information carries out the combination of subdata bag, to complete the transmission of packet.
It should be noted that buffer is present in the two ends difference of the two ends of USB interface, i.e. USB interface in the present embodiment
It is provided with buffer1 and buffer2.The is sent to when packet is obtained request by USB interface by the second application processor 20
During one application processor 10, the first application processor 10 is by the first modem 11 from virtual user identifying card 11A or reality
Body Subscriber Identity Module 14 is extracted after packet, is first stored the packet of extraction into buffer1, to pass through USB transmission
Into buffer2, the second application processor 20 obtains packet from buffer2 again.
The data pack transmission method that the present embodiment is proposed, the first application processor is received at the second application by preset interface
When managing the packet acquisition request that device is sent, first the packet is extracted from the first Subscriber Identity Module or entity user identification card
The corresponding packet of request is obtained, then the packet of extraction is split, and to each after the fractionation of same packet
Subdata bag adds identical identification information, then each subdata bag added with identification information is cached to the preset interface
Buffer in, so that the second application processor extracts each subdata bag from the buffer, and identified according to identical
Information carries out the combination of subdata bag, to complete the transmission of packet.This programme is in transmission packet, first to number waiting for transmission
Split, then will be transmitted after each subdata bag addition identical identification information after fractionation according to bag so that transmission
The capability value of packet has reduced, and follow-up opposite end is weighed after receiving each subdata bag according to identical identification information
Group, it is to avoid the situation that mobile terminal crashes in data transmission procedure.
Further, data pack transmission method second embodiment of the present invention is proposed based on first embodiment.
The difference of data pack transmission method second embodiment and data pack transmission method first embodiment is, the step
S10 includes:
Step a, the first application processor determine the capability value of packet;
Step b, the capability value for having packet be more than predetermined threshold value when, the packet is split, each is obtained
Subdata bag;
Step c, the addition identical identification information in each corresponding packet header of subdata bag.
In the present embodiment, request is obtained when the second application processor 20 sends packet to the first application processor 10
(Request) when, if virtual user identifying card 11A or entity user identification card 14 are telecommunications card, and the first modem 11
The packet extracted from the virtual user identifying card 11A or described entity users identification card 14 is more than predetermined threshold value such as 512
Byte, first application processor 10 can determine that the capability value of packet is more than predetermined threshold value, now due to buffer once
Property can only cache the packet no more than 512 bytes, therefore the first application processor 10 needs first to carry out the packet of extraction
Split, to split into multiple subdata bags, then again forwarded the storage of multiple subdata bags into buffer.
In the present embodiment, the packet that the first application processor 10 is extracted can be one or more, in the number of extraction
During according to including multiple, first application processor 10 can be split to multiple packets simultaneously, or according to each number
Split according to the sequence of extraction of bag, the first fractionation first extracted.
Specifically, during 10 splitting datagram of the first application processor, the bag of first each subdata bag after fractionation
Identical identification information is added in head, when the identification information is preferably the first 10 splitting datagram of application processor according to fractionation after
Packet perform package operation and added, package is exactly that plus packet header, so packet is just divided into one piece of data
Packet header and inclusion two parts content.
In the present embodiment it should be noted that packet header is actually fixed-size structure, wherein have individual structure into
Member's variable includes the length of attached bag body after splitting, and our fractionation identification information flag for defining, it will be understood that by one big
Wrapping the multiple attached bags split out has identical flag marks, and the information that is specifically identified of flag marks is not limited to bag name or pre-
If field information, it can be set, do not limited herein according to actual conditions.First application processor 10 has been performed after package operation,
The packet added with same identification information is stored in buffer successively again.
To be best understood from, it is exemplified below:Current in succession will transmit the packet of three telecommunications cards, and first big data bag is torn open
It is divided into after each subdata bag, flag is identified and is both configured to 0xF9F9, second big data bag splits into each subdata
Bao Hou, is both configured to 0x9F9F, the 3rd big data bag is split into after each subdata bag, by each attached bag by flag marks
Flag marks are both configured to 0XF9F9, and such three package identifications can just make a distinction, and receipt of subsequent end is the second application
Each subdata bag of flag mark identicals can be sorted out and reassemble into three big data bags by processor 20.
In the present embodiment, when it is determined that the capability value of packet is more than predetermined threshold value, fractured operation is just performed, data are prevented
Bag also carries out the waste that fractured operation causes system resource when being less than predetermined threshold value, and after fractured operation is carried out to packet,
Each subdata bag after same packet is split adds identical identification information, and follow-up opposite end can be identified according to identical
Information is recombinated, and prevents that the packet of forwarding is imperfect, improves packet forwarding accuracy.
Further, data pack transmission method 3rd embodiment of the present invention is proposed based on first embodiment.
The difference of data pack transmission method 3rd embodiment and data pack transmission method first embodiment is, in extraction
When packet includes the different identification information of each subdata bag correspondence after multiple packets, and fractionation, the step S30 bags
Include:
First application processor is by each subdata bag of different identification information according to default order buffer to institute
In the buffer for stating preset interface.
In the present embodiment, each subdata bag correspondence after the packet of extraction includes multiple packets, and fractionation
During different identification information, now, first application processor 10 can by each subdata bag of different identification information according to
Preset order is cached into the buffer of the preset interface.In the present embodiment, the random sequence preferentially with each subdata
The genesis sequence of bag is consistent, i.e., split out a sub- packet, and subdata according to packet in the first application processor 10
Bag is added with after identification information, you can cache the subdata bag into the buffer of USB interface.
If it should be appreciated that the packet currently proposed includes multiple packets, then split obtained subdata bag
Also include it is multiple, and different pieces of information bag split after the corresponding identification information of subdata it is different, therefore, each after fractionation
When subdata bag corresponds to different identification informations, first application processor 10 can be by each subdata of different identification information
Bag is cached into the buffer of the USB interface successively according to the genesis sequence of subdata bag.Subsequently, the second application processing
Device 20 is extracted from the buffer after each subdata bag, and the side of the combination of subdata bag is carried out according to identical identification information
Formula is:Second application processor 20 extracts each subdata bag from buffer, by each subdata bag of extraction store to
Pre-set space, after the completion of then each subdata bag in buffer is extracted, recognizes each subdata bag of extraction successively
Identification information, a big data bag is included into by identification information identical subdata.
To be best understood from the present embodiment, it is exemplified below:
When first application processor 10 extracts tri- packets of X, Y, Z based on packet acquisition request, to each data
Bag is split, to obtain the corresponding multiple subdata bags of each packet, such as X packets correspondence x1, x2 and x3, Y data bag
Correspondence y1, y2 and y3, Z data bag correspondence z1, z2 and z3, now, if the genesis sequence of each subdata bag be successively x1,
Z1, x2, y1 ..., then, each subdata bag for being cached to buffer is just to be deposited successively according to x1, z1, x2, y1 order
Storage.In this case, when the second application processor 20 extracts subdata bag from buffer, first by each subdata of extraction
Bag is stored away in advance, and after the completion of extraction, the identification information of each subdata bag of extraction is recognized successively, then identification information is identical
Subdata include into a big data bag, and the big data after synthesis wrapped by the second radio-frequency module 23 reach base station.
In the present embodiment, each subdata bag correspondence after the packet of extraction includes multiple packets, and fractionation
During different identification information, each subdata bag of different identification information is cached to the preset interface according to preset order
In buffer, it is not necessary to have to same packet split after each subdata bag it is complete after, then all caching is connect to USB
In the buffer of mouth, but the subdata bag first split out is first cached, and improves the flexibility of packet transmission.
Further, data pack transmission method fourth embodiment of the present invention is proposed based on 3rd embodiment.
The difference of data pack transmission method fourth embodiment and data pack transmission method 3rd embodiment is, in extraction
When packet includes the different identification information of each subdata bag correspondence after multiple packets, and fractionation, the step S30 bags
Include:
Each subdata bag of same identification information is classified as a class by first application processor;
According to the order of classification, each of a sort subdata bag is cached to the buffer of the preset interface successively
In.
In the present embodiment, each subdata bag correspondence after the packet of extraction includes multiple packets, and fractionation
During different identification information, each subdata bag of same identification information first can be classified as one by first application processor 10
Class, then according to the order of classification, successively caches each of a sort subdata bag into the buffer of the preset interface.
In the present embodiment, the order of classification is preferably first classified as the order of a class, that is to say, that even if the first application processor 10 is extracted
Packet include multiple packets, and to each packet split after obtain each corresponding subdata bag, described first
Each subdata bag of same identification information still first can be classified as a class by application processor 10, then by according to the suitable of classification
Sequence, each of a sort subdata bag is cached into the buffer of the preset interface successively, the son of a class will be first classified as
Data pack buffer is finally completed the caching of the subdata bag of all categories into the buffer of the preset interface.
Subsequently, second application processor 20 extracts each subdata bag from the buffer, and according to identical
The mode that identification information carries out the combination of subdata bag includes:Second application processor 20 extracts subdata from buffer
Bag, recognizes the identification information of each subdata bag, is recognizing the mark of new subdata bag and a upper sub- packet successively
When knowledge information is identical, the subdata bag and a upper sub- packet that this is currently recognized are classified as a class, and it is next to continue identification
Subdata bag, when the subdata bag recognized that goes directly is different from the identification information of a upper sub- packet, the identification information by before
Each subdata of identical includes into a big data bag.
To be best understood from the present embodiment, it is exemplified below:
When first application processor 10 extracts tri- packets of X, Y, Z based on packet acquisition request, to each data
Bag is split, to obtain the corresponding multiple subdata bags of each packet, such as X packets correspondence x1, x2 and x3, Y data bag
Correspondence y1, y2 and y3, Z data bag correspondence z1, z2 and z3, now, a class are classified as by x1, x2 and x3, it is then determined that three class numbers
According to wrapping which class first splits completion, if now X classes first split completion, you can cache x1, x2 and x3 successively to the USB's
In buffer.Subsequently, after second application processor 20 extracts each subdata bag from the buffer, by x1, x2,
A class is classified as with x3, and continues to recognize next subdata bag, if it is y1 to recognize next, by x1, x2 and x3 before
Each subdata includes into a big data bag.
In the present embodiment, each subdata bag correspondence after the packet of extraction includes multiple packets, and fractionation
During different identification information, each subdata bag of same identification information is classified as a class, finally according to the order of classification, successively
Each of a sort subdata bag is cached into the buffer of the preset interface so that the transmission of subdata bag, be according to
Order buffer transmission, prevent subdata bag from situation about omitting occur, improve the accuracy of packet transmission.
In summary, in the embodiment of the present invention, when the packet of telecommunications card transmission in the mobile terminal 100 is larger, the
One application processor 10 is split to packet, with the desired value of change data bag, the packet of further cache to buffer
Buffer capability value would not be exceeded, then, it is to avoid the problem of transmission of big data bag causes to crash, while many to splitting into
Individual sub- packet addition identical identification information, the second application processor 20 can be recombinated according to identification information so that follow-up
The packet of forwarding is complete packet, it is to avoid packet forwards incomplete situation.
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.) perform method described in 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 packet transmission system, it is characterised in that the data packet transmission system includes mobile terminal, and by pre-
If the external equipment that interface is connected with the mobile terminal, the mobile terminal includes the first application processor, is embedded with virtually
The first modem, the first radio-frequency module of Subscriber Identity Module, and the entity being connected with first modem are used
Family identification card, the external equipment includes the second application processor, second modem and the second radio-frequency module;
First application processor, for receiving the packet acquisition request that the second application processor is sent by preset interface
When, the packet is extracted from virtual user identifying card or entity user identification card and obtains the corresponding packet of request;
The packet of extraction is split, and to each subdata bag addition identical mark after the fractionation of same packet
Information;
Each subdata bag added with identification information is cached into the extra buffer buffer of the preset interface, for
Second application processor extracts each subdata bag from the buffer, and carries out subdata bag according to identical identification information
Combination.
2. data packet transmission system as claimed in claim 1, it is characterised in that first application processor, is additionally operable to lead to
Cross chip operating system of first modem into virtual user identifying card or entity user identification card and send data
Bag obtains request, by file storage module of the chip operating system in virtual user identifying card or entity user identification card
It is middle to extract the corresponding packet of the packet acquisition request, and feed back to first modem;
First application processor, is additionally operable to receive what the chip operating system fed back by first modem
Packet.
3. data packet transmission system as claimed in claim 1, it is characterised in that first application processor, it is additionally operable to pair
Determine the capability value of packet;
When the capability value for having packet is more than predetermined threshold value, the packet is split, each subdata bag is obtained;
Identical identification information is added in each corresponding packet header of subdata bag.
4. the data packet transmission system as described in any one of claims 1 to 3, it is characterised in that include in the packet of extraction
When each subdata bag after multiple packets, and fractionation corresponds to different identification informations, first application processor is also used
In the buffer by each subdata bag of different identification information according to default order buffer to the preset interface.
5. data packet transmission system as claimed in claim 4, it is characterised in that include multiple data in the packet of extraction
When each subdata bag after bag, and fractionation corresponds to different identification informations, first application processor, being additionally operable to will be identical
Each subdata bag of identification information is classified as a class;
According to the order of classification, each of a sort subdata bag is cached into the buffer of the preset interface successively.
6. a kind of data pack transmission method, it is characterised in that applied to mobile terminal and pass through preset interface and mobile terminal
The external equipment of connection, the mobile terminal includes the first application processor, is embedded with the first modulation of virtual user identifying card
Demodulator, the first radio-frequency module, and the entity user identification card being connected with first modem, the external equipment
Including the second application processor, second modem and the second radio-frequency module, methods described includes:
First application processor by preset interface receive the packet that the second application processor sends obtain ask when, from virtual
The packet is extracted in Subscriber Identity Module or entity user identification card and obtains the corresponding packet of request;
The packet of extraction is split, and to each subdata bag addition identical mark after the fractionation of same packet
Information;
Each subdata bag added with identification information is cached into the extra buffer buffer of the preset interface, for
Second application processor extracts each subdata bag from the buffer, and carries out subdata bag according to identical identification information
Combination.
7. data pack transmission method as claimed in claim 6, it is characterised in that described to be used from virtual user identifying card or entity
The step of packet obtains request corresponding packet is extracted in the identification card of family to be included:
First application processor is by first modem to virtual user identifying card or entity user identification card
In chip operating system send packet and obtain request, used by the chip operating system in virtual user identifying card or entity
The packet is extracted in file storage module in the identification card of family and obtains the corresponding packet of request, and feeds back to described first
Modem;
First application processor receives the packet that the chip operating system feeds back by first modem.
8. data pack transmission method as claimed in claims 6 or 7, it is characterised in that the packet of described pair of extraction is torn open
The step of dividing, and add identical identification information to each subdata bag after the fractionation of same packet includes:
First application processor determines the capability value of packet;
When the capability value for having packet is more than predetermined threshold value, the packet is split, each subdata bag is obtained;
Identical identification information is added in each corresponding packet header of subdata bag.
9. data pack transmission method as claimed in claim 8, it is characterised in that include multiple data in the packet of extraction
It is described by each subnumber added with identification information when each subdata bag after bag, and fractionation corresponds to different identification informations
Include according to step of the bag caching into the buffer of the preset interface:
First application processor is by each subdata bag of different identification information according to default order buffer to described pre-
If in the buffer of interface.
10. data pack transmission method as claimed in claim 8, it is characterised in that include multiple data in the packet of extraction
It is described by each subnumber added with identification information when each subdata bag after bag, and fractionation corresponds to different identification informations
Also include according to step of the bag caching into the buffer of the preset interface:
Each subdata bag of same identification information is classified as a class by first application processor;
According to the order of classification, each of a sort subdata bag is cached into the buffer of the preset interface successively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710397336.XA CN107094152A (en) | 2017-05-27 | 2017-05-27 | Data packet transmission system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710397336.XA CN107094152A (en) | 2017-05-27 | 2017-05-27 | Data packet transmission system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107094152A true CN107094152A (en) | 2017-08-25 |
Family
ID=59638994
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710397336.XA Withdrawn CN107094152A (en) | 2017-05-27 | 2017-05-27 | Data packet transmission system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107094152A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111367853A (en) * | 2020-05-29 | 2020-07-03 | 腾讯科技(深圳)有限公司 | Data transmission method, device, equipment and computer readable storage medium |
CN111865741A (en) * | 2019-04-24 | 2020-10-30 | 瑞昱半导体股份有限公司 | Data transmission method and data transmission system |
-
2017
- 2017-05-27 CN CN201710397336.XA patent/CN107094152A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111865741A (en) * | 2019-04-24 | 2020-10-30 | 瑞昱半导体股份有限公司 | Data transmission method and data transmission system |
CN111367853A (en) * | 2020-05-29 | 2020-07-03 | 腾讯科技(深圳)有限公司 | Data transmission method, device, equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107466070A (en) | Data transmission system, method, external equipment and mobile terminal | |
CN107124737A (en) | Mobile terminal and data pack transmission method | |
CN107094152A (en) | Data packet transmission system and method | |
CN107094308A (en) | Data packet transmission system and method | |
CN107071832A (en) | Data packet transmission system and method | |
CN107124738A (en) | Mobile terminal and data pack transmission method | |
CN107247679A (en) | Data transmission system and method | |
CN107222429A (en) | Data transmission system and method | |
CN107182084A (en) | Mobile terminal and data pack transmission method | |
CN107182087A (en) | Data packet transmission system and method | |
CN107182085A (en) | Data packet transmission system and method | |
CN107466028A (en) | Data transmission system, method, external equipment and mobile terminal | |
CN107396400A (en) | Data transmission system, method, external equipment and mobile terminal | |
CN107466027A (en) | Data transmission system, method, external equipment and mobile terminal | |
CN107396399A (en) | Data transmission system, method, external equipment and mobile terminal | |
CN107231659A (en) | Mobile terminal and data pack transmission method | |
CN107148052A (en) | Mobile terminal and its data transmission method | |
CN107333258A (en) | Data packet transmission system and method | |
CN106953984A (en) | Data transmission system and method | |
CN107318131A (en) | Data transmission system, method, external equipment and mobile terminal | |
CN107370819A (en) | Data packet transmission system and method | |
CN107360564A (en) | Data packet transmission system and method | |
CN107396343A (en) | Data transmission system, method, external equipment and mobile terminal | |
CN107371150A (en) | Data transmission system, method, external equipment and mobile terminal | |
CN107332929A (en) | Data packet 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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170825 |