CN107333258A - Data packet transmission system and method - Google Patents

Data packet transmission system and method Download PDF

Info

Publication number
CN107333258A
CN107333258A CN201710644979.XA CN201710644979A CN107333258A CN 107333258 A CN107333258 A CN 107333258A CN 201710644979 A CN201710644979 A CN 201710644979A CN 107333258 A CN107333258 A CN 107333258A
Authority
CN
China
Prior art keywords
data
data forwarding
reading
client
interface node
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
Application number
CN201710644979.XA
Other languages
Chinese (zh)
Inventor
龙浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710644979.XA priority Critical patent/CN107333258A/en
Publication of CN107333258A publication Critical patent/CN107333258A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Abstract

The invention discloses a kind of data packet transmission system and method, this method is applied to mobile terminal and the external equipment being connected by preset interface with the mobile terminal, the first data forwarding client, for monitoring the first interface node that the first reading and writing data forwarding module is connected;When the first interface node is monitored successfully, the packet that the second data forwarding client is forwarded by the second reading and writing data forwarding module is read from the first interface node;The packet of reading is sent to the first data transmitting server.In the present invention, pass through the first data forwarding client of the application processor of mobile terminal first, the first interface node that first reading and writing data forwarding module is connected is monitored, to read the packet of the second application processor in external equipment, the packet of reading is sent to the first data transmitting server of the modem of mobile terminal first again, to realize the transmission of data packets between mobile terminal and external equipment.

Description

Data packet transmission system and method
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, mobile terminal has become user and carried with, and essential electronics is set It is standby.In leading for operator and major OEM (Original Equipment Manufacturer, original equipment manufacturer) manufacturers Under head, 3G (3rd Generation, 3rd generation mobile communication technology), 4G (the 4th Generation Mobile Communication Technology, forth generation mobile communication technology), CA (Carrier Aggregation, using carrier wave Polymerization technique) and newest 5G (5th-Generation, the 5th third-generation mobile communication technology) arise at the historic moment, the mesh of these technologies Be to improve the online bandwidth of user.Under such a background, a kind of mode for improving user's online bandwidth is also quietly given birth to, Mobile terminal connects two modems, and each modem has corresponding SIM (Subscriber Identification Module) card, and each modem can independently surf the Net, and then access user on upper strata The network network speed that carries out two data networks according to actual conditions be superimposed, so as to reach the purpose for improving online bandwidth.Due to Monopolization and limitation of the operator to legacy user's online bandwidth, manufacturer terminal can pass through the network speed superimposing technique scheme and increase use Family online bandwidth, effectively incorporates the online resource of two SIM cards in mobile terminal, and realize DSDA (Dual SIM Dual active, double card bilateral), and the double LTE (Long Term Evolution, Long Term Evolution) of double card are standby.
Therefore, in order that mobile terminal connects two modems, it is necessary to by mobile terminal with containing modem External equipment be attached.To realize that the packet between mobile terminal and external equipment is transmitted, still, mobile terminal and outer The connection for connecing equipment is connected in application processor, and packet is sent from modem, due between modem Striding equipment, is connected without physical link, causes packet not transmit.
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 mobile terminal and pass through During the double LTE communications of external equipment realization, the technical problem that the packet between external equipment and mobile terminal can not be transmitted.
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 being embedded with The first application processor, the first modem of virtual user identifying card, and be connected with first modem Entity user identification card, first modem includes the first data transmitting server, the first application processor bag Include the first reading and writing data forwarding module and the first data forwarding client being connected with first data transmitting server;It is described External equipment includes the second application processor and second modem, and the second modem includes the second data forwarding Server, second application processor includes what is be connected by the preset interface with the first reading and writing data forwarding module Second reading and writing data forwarding module, and the second data forwarding client being connected with second data transmitting server;
The first data forwarding client, for entering to the first interface node that the first reading and writing data forwarding module is connected Row is monitored;
When the first interface node is monitored successfully, the second data forwarding client is read from the first interface node The packet forwarded by the second reading and writing data forwarding module;
The packet of reading is sent to the first data transmitting server.
Alternatively, the first data forwarding client, is additionally operable to call default client framework, initial to carry out Change;
After successful initialization, the annexation with the first data transmitting server is set up, so as to the connection based on foundation The first interface node of the first reading and writing data of relation pair forwarding module connection is monitored.
Alternatively, the first data forwarding client, is additionally operable to when the first interface node monitors failure, described First data forwarding client is with first interface node described in prefixed time interval poll, to monitor the first interface node, Until the first interface node is monitored successfully.
Alternatively, the first data forwarding client, is additionally operable to receive the data of the first data transmitting server feedback Bag;
The packet received is written to the first interface node of the first reading and writing data forwarding module connection, with logical The first reading and writing data forwarding module is crossed to transmit to the second data forwarding client.
Alternatively, the data forwarding process where the first data forwarding client, the mould increased newly positioned at mobile terminal In block.
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 the mobile terminal, the mobile terminal includes being embedded with virtual user identifying card The first application processor, the first modem, and the entity user identification card being connected with first modem, First modem includes the first data transmitting server, and first application processor turns including the first reading and writing data Hair module and the first data forwarding client being connected with first data transmitting server;The external equipment includes second Application processor and second modem, the second modem include the second data transmitting server, described second The second reading and writing data that application processor includes being connected with the first reading and writing data forwarding module by the preset interface turns Send out module, and the second data forwarding client being connected with second data transmitting server;Methods described includes:
The first interface node that first data forwarding client is connected to the first reading and writing data forwarding module is monitored;
When the first interface node is monitored successfully, the second data forwarding client is read from the first interface node The packet forwarded by the second reading and writing data forwarding module;
The packet of reading is sent to the first data transmitting server.
Alternatively, the first interface node that the first data forwarding client is connected to the first reading and writing data forwarding module Before the step of being monitored, methods described also includes:
The default client framework of first data forwarding client call, to be initialized;
After successful initialization, the connection that the first data forwarding client is set up with the first data transmitting server is closed System, so that the first interface node that the annexation based on foundation is connected to the first reading and writing data forwarding module is monitored.
Alternatively, the first interface node that the first data forwarding client is connected to the first reading and writing data forwarding module After the step of being monitored, methods described also includes:
When the first interface node monitors failure, the first data forwarding client is with prefixed time interval poll The first interface node, to monitor the first interface node, until the first interface node is monitored successfully.
Alternatively, the data pack transmission method also includes:
The first data forwarding client receives the packet of the first data transmitting server feedback;
The packet received is written to the first interface node of the first reading and writing data forwarding module connection, with logical The first reading and writing data forwarding module is crossed to transmit to the second data forwarding client.
Alternatively, the data forwarding process where the first data forwarding client, the mould increased newly positioned at mobile terminal In block.
The present invention provides a kind of data packet transmission system and method, the first data forwarding client, for first The first interface node of reading and writing data forwarding module connection is monitored, when the first interface node is monitored successfully, from institute State first interface node and read the packet that the second data forwarding client is forwarded by the second reading and writing data forwarding module, will read The packet taken is sent to the first data transmitting server.In the present invention, pass through the first of the application processor of mobile terminal first Data forwarding client, is monitored the first interface node that the first reading and writing data forwarding module is connected, to read external set The packet that second data forwarding client of the second application processor is forwarded by the second reading and writing data forwarding module in standby, then The packet of reading is sent to the first data transmitting server of the modem of mobile terminal first, to realize mobile terminal Transmission of data packets between external equipment.
Brief description of the drawings
Fig. 1 is the schematic diagram of the LTE network framework of one embodiment of the invention;
Fig. 2 is a kind of entity structure schematic diagram of mobile terminal of the present invention and external equipment communication connection;
Fig. 3 is a kind of hardware architecture diagram of mobile terminal of the present invention and external equipment communication connection;
Fig. 4 is the internal hardware structural representation of mobile terminal of the present invention and external equipment communication connection;
Fig. 5 is the schematic flow sheet of data pack transmission method first embodiment in the present invention;
Fig. 6 is the schematic flow sheet of data pack transmission method second embodiment in the present invention;
Fig. 7 is the schematic flow sheet of data pack transmission method 3rd embodiment in the present invention;
Fig. 8 is the schematic flow sheet of data pack transmission method fourth embodiment in the present invention.
The realization, functional characteristics and advantage of the object of the invention will be explained referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention. 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, described referring now to accompanying drawing Realize the mobile terminal of each embodiment of the invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be conducive to the explanation of the present invention, itself do not have a specific meaning.Therefore, " module " can mixedly make with " part " With.
Fig. 1 is the schematic diagram of the LTE network framework of one embodiment of the invention.The LTE network framework of one embodiment of the invention Including:One or more mobile terminals (user equipment, UE) 100, external equipment 200, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, the UMTS Terrestrial radio access network of evolution) (non-label in figure), Evolution block core (EPC) (non-label in figure), home subscriber servers (HSS) 107, network (for example, internet) are (in figure not Label) 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 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 with the communication of external equipment 200, wherein, the movement 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 mobile terminal and a kind of hardware architecture diagram of external equipment communication connection in the embodiment of the present invention.
The mobile terminal 1 00 of the embodiment of the present invention is connected by USB data line with the communication of external equipment 200, based on movement 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 be connected with first process chip 001 is penetrated Frequency module 12, wherein, the first process chip 001 includes being embedded with virtual user identifying card 10A the first application processor (Application Processor, represented with AP1) 10, the first modem 11 being connected with entity user identification card 14 (modem1), RPM (Resource Power Manager, resource power supervisor) 15.
Wherein, virtual user identifying card 10A 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 10A.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 be connected with the second processing chip 002 is penetrated 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 is multiplexed out three data passages, is respectively used to The friendship of user data, control signaling data and SIM card authorization data between one application processor 10 and the second application processor 20 Mutually, i.e. the data that the first application processor 10 and the second application processor 20 are transmitted by USB data line include above-mentioned three kinds of numbers According to.Wherein, user data includes the data that online is produced, picture and chat message data;Control signaling data include switching on and shutting down Control data, switch offline mode control data, the control data of dispaly state signal, SIM card authorization data include but It is not limited to IMSI (International Mobile Subscriber Identification Number, international mobile subscriber Identification code), 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 10A 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 10A, it is described SIM card parameter includes but is not limited to SIM card authorization data.
The protocol stack of the network formats of first modem 11 and second modem 21 comprising various network interactions, Protocol stack includes LTE (Long Term Evolution, Long Term Evolution)/WCDMA (Wideband Code Division Multiple Access, WCDMA) and/GSM (Global Syste m for Mobile Communication, entirely Ball GSM)/TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, synchronous time division CDMA)/CDMA (Code Division Multiple Access, CDMA)/EDGE Inside communication standards such as (Enhanced Data Rate for GSM Evolution, strong type Data for GSM Evolution) Defined protocol code.Mobile terminal 1 00 is interacted by agreement with carrier network, that is, carry out data traffic online, VOLTE (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 10A is embedded in the first application processor 10 in the form of software, and virtual user identifying card 10A 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, because external equipment 200 includes the second radio-frequency module 22, and the second radio frequency Module 22 supports 4G networks, therefore in the present invention, mobile terminal 1 00 can be interacted by USB line with external equipment 200, so that Obtain mobile terminal 1 00 and possess double LTE functions.
In the present embodiment, identification of data packets 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 10A 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 10A 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 10A 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 10A 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 10A 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 10A comprising service menu data, To obtain virtual user identifying card 10A data message from cloud server.When the data for getting virtual user identifying card 10A During information, in the memory module that data message is write to virtual user identifying card 10A, to realize virtual user identifying card 10A'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 10A 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.It is empty when mobile terminal 1 00 is connected by USB data line with external equipment 200 LTE can be supported by the second modem 21 in external equipment 200 by intending Subscriber Identity Module 10A, and entity user identification card 14 support LTE by the first modem 11;Or virtual user identifying card 10A can be by first in external equipment 200 Modem 11 supports LTE, and entity user identification card 14 supports LTE by second modem 21, to realize movement Double LTE can be supported in the case of the connection external equipment 200 of terminal 100.
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 USB data line communication connection, wake-up mode includes Three kinds:
1st, when the first application processor 10 receives control signaling data, by USB data line transmission detection bag to second Application processor 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, By the second application processor 20 by USB data line transmission detection bag to the first application processor 10, to wake up at the first application Manage device 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, send detection bag by USB data line by the second application processor 20 is handled to the first application Device 10, to wake up the second application processor 20.
In addition, second modem 21 can be with periodic wakeup oneself, to carry out location updating in mobile terminal 1 00 When, interaction of shaking hands is carried out with base station, the first application processor 10 need not be now waken up.
Reference picture 4, Fig. 4 is the internal hardware structural representation of mobile terminal of the present invention and external equipment communication connection.
As shown in Figure 4, the first modem 11 includes UIM (User Identity Module) drivings 112, first SIM card module agency 113, the blocking module of remote sim data access _ server (remote data access service device) 114, first 115 and data forwarding _ server1 (the first data transmitting server) 116.First application processor 10 include data forwarding _ Client1 (the first data forwarding client) 011 and the first reading and writing data forwarding module 012.
Second modem 21 includes modem Non-Access Stratums part 211, the second SIM card module agency 213, remote sim The blocking module 215 of data access _ client (remote data access client) 214, second and data forwarding _ server2 (second Data transmitting server) 216, the second application processor 20 includes data forwarding _ client2 (the second data forwarding client) 021 and the second reading and writing data forwarding module 022.
Wherein, UIM drivings 112 store the necessary data of access network, such as UIM ID (Identification, body Part), authorization data, IMSI number etc..
Remote sim data access _ server114 and remote sim data access _ client214 is used to realize the first modulation The transmission of SIM card data between demodulator 11 and second modem 21.
First blocking module 115 is used to intercept the SIM card number transmitted needed for remote sim data access _ server114 According to;Second blocking module 215 is used to intercept the SIM card data transmitted needed for remote sim data access _ client214.Pass through First blocking module 115 and the second blocking module 215 realize that remote sim data access _ server214 and remote sim data are visited Ask _ client114 in SIM card data interaction, specifically:First blocking module 115 or the second blocking module 215 are truncated to number After, by the data transfer of interception to the first data transmitting server 116 or the second data transmitting server 216, to realize The transmission of data.
Second data transmitting server 216 and the second data forwarding client 021 are corresponding, for realizing the second modulatedemodulate Adjust the data transfer between the application processor 20 of device 21 and second;First data transmitting server 116 and the first data forwarding visitor Family end 011 is corresponding, for realizing the data transfer between the first modem 11 and the first application processor 10.
First reading and writing data forwarding module 012 and the second reading and writing data forwarding module 022 are used to realize that second should by USB With the data transfer between the application processor 10 of processor 20 and first.
In embodiments of the present invention, it is necessary to explanation, due to mobile terminal 1 00 and external equipment 200 all include should With processor and modem, and the first data transmitting server 116 and the second data transmitting server 216 are located at modulatedemodulate Device is adjusted, the first data forwarding client 011 and the second data forwarding client 021 are located at application processor.
Therefore, in the present embodiment, data transmission procedure can both occur in mobile terminal, can also occur in external equipment In, and the data forwarding mechanism of mobile terminal each embodiment consistent, of the invention with the data forwarding mechanism of external equipment In, using mobile terminal as executive agent, the data transmission procedure of the first data forwarding client 011 of detailed description, but this area skill Art personnel are it should be appreciated that when replacing the mobile terminal in the present invention with external equipment, can equally realize the present invention's Transmission of data packets.
Wherein, data forwarding _ client mode includes two kinds:
Mobile terminal:
Mode one, data forwarding _ client1 of mobile terminal are receiving the number that Local Data forwarding _ server1 is sent During according to bag, the packet received is sent into data forwarding _ client2 of external equipment;
Mode two, mobile terminal data forwarding _ client1 in data forwarding _ client2 of external equipment is received During the packet of forwarding, the packet received is sent into Local Data forwarding _ server1.
External equipment:
Mode one, data forwarding _ client2 of external equipment are receiving the number that Local Data forwarding _ server2 is sent During according to bag, the packet received is sent into data forwarding _ client1 of mobile terminal;
Mode two, external equipment data forwarding _ client2 in data forwarding _ client1 of mobile terminal is received During the packet of forwarding, the packet received is sent into Local Data forwarding _ server1.
The hardware configuration for communicating connection based on above-mentioned LTE network framework figure, mobile terminal 1 00 and external equipment 200 shows The problem of intention, entity structure schematic diagram and prior art are present, proposes each embodiment of the present invention.
The present embodiment proposes a kind of identification of data packets system, and the data packet transmission system includes mobile terminal 1 00, and The external equipment 200 being connected by preset interface with the mobile terminal 1 00;The mobile terminal 1 00 includes being embedded with virtually Subscriber Identity Module 10A the first application processor 10, the first modem 11, and connect with first modem 11 The entity user identification card 14 connect, first modem 11 includes the first data transmitting server 116, and described first should First for including the first reading and writing data forwarding module 012 with processor 10 and being connected with first data transmitting server 116 Data forwarding client 011;The external equipment 200 includes the second application processor 20 and second modem 21, described Second modem 21 includes the second data transmitting server 216, and second application processor 20 is included by described pre- If the second reading and writing data forwarding module 022 that interface is connected with the first reading and writing data forwarding module 012, and with described Second data forwarding client 021 of two data transmitting servers 216 connection;
The first data forwarding client, for entering to the first interface node that the first reading and writing data forwarding module is connected Row is monitored;
When the first interface node is monitored successfully, the second data forwarding client is read from the first interface node The packet forwarded by the second reading and writing data forwarding module;
The packet of reading is sent to the first data transmitting server.
In the present embodiment, the first interface that the first data forwarding client is first connected to the first reading and writing data forwarding module Node is monitored, wherein, the first interface node is virtual serial port, i.e., USB interface mentioned above, the first interface section Point can select ttyUSB0 nodes and represent, in the present embodiment, what the first data forwarding client was monitored first interface node Mode is:Open is carried out to the circulation of ttyUSB0 nodes.It should be noted that first interface node is monitored, it is necessary to Module is monitored in insertion in first data forwarding client, realizes the monitoring of the virtual serial port.
In the present embodiment, when preferably the first data forwarding client is to first interface node open successes, it is believed that this first Interface node is monitored successfully, when the first interface node is monitored successfully, and the second data are read from the first interface node The packet that forwarding client is forwarded by the second reading and writing data forwarding module, then sends the packet of reading to the first number According to forwarding server.
It should be noted that the packet that the second data forwarding client is forwarded by the second reading and writing data forwarding module, It is that the second data forwarding client receives the packet that the second blocking module is transmitted by the second data transmitting server, second blocks The packet for cutting module transfer is the packet intercepted from SIM data accesses _ client.When the first data transmitting server connects After receiving packet, then packet transmitted into the first blocking module, to be uploaded to remote sim number by the first blocking module According in access _ server, so as to realize the data transmission procedure of mobile terminal and external equipment.
The data packet transmission system of the present embodiment, the first data forwarding client, for turning to the first reading and writing data The first interface node of hair module connection is monitored, when the first interface node is monitored successfully, from the first interface Node reads the packet that the second data forwarding client is forwarded by the second reading and writing data forwarding module, by the packet of reading Send to the first data transmitting server.In the present invention, pass through the first data forwarding visitor of the application processor of mobile terminal first Family end, is monitored the first interface node that the first reading and writing data forwarding module is connected, and is answered with reading in external equipment second The packet forwarded with the second data forwarding client of processor by the second reading and writing data forwarding module, then by the number of reading Sent according to bag to the first data transmitting server of the modem of mobile terminal first, to realize mobile terminal and external equipment Between transmission of data packets.
Further, the second embodiment of data packet transmission system of the present invention is proposed.
The difference of the second embodiment and first embodiment of data packet transmission system is:The first data forwarding client End, is additionally operable to call default client framework, to be initialized;
After successful initialization, the annexation with the first data transmitting server is set up, so as to the connection based on foundation The first interface node of the first reading and writing data of relation pair forwarding module connection is monitored.
In the present embodiment, the first interface section that the first data forwarding client is connected to the first reading and writing data forwarding module Before point is monitored, the first data forwarding client first calls default client framework, to be initialized, the visitor Family end frame is client_framework.After the client framework is initialized successfully, the first data forwarding client The annexation with the first data transmitting server is set up, so that the annexation based on foundation forwards mould to the first reading and writing data The first interface node of block connection is monitored, that is to say, that after client framework is initialized successfully, and first data turn Client foundation and the annexation of the first data transmitting server are sent out, subsequently first interface node is monitored again.
In the present embodiment, first client framework is initialized, then sets up the foundation of the first data forwarding client With the annexation of the first data transmitting server, when subsequently being monitored first interface node and getting packet, i.e., Packet can be transmitted to the first data transmitting server, prevent the first data transmitting server from not pulling up also, just transmission number According to bag to the first data transmitting server, this invention ensures that the normal transmission of packet, it is to avoid packet transmission is lost The situation of bag.
Further, the 3rd embodiment of data packet transmission system of the present invention is proposed.
The difference of the 3rd embodiment of data packet transmission system and the second embodiment of data packet transmission system is, described First data forwarding client, is additionally operable to when the first interface node monitors failure, the first data forwarding client With first interface node described in prefixed time interval poll, to monitor the first interface node, until the first interface section Point is monitored successfully.
In the present embodiment, after the first data forwarding client is monitored first interface node, if this first connects Mouth node monitors failure, illustrates that the first data forwarding client fails to first interface node open, now, first data Forward client can according to first interface node described in prefixed time interval repeatedly poll, to monitor the first interface node, Until the first interface node is monitored successfully.Wherein, the prefixed time interval is set according to actual conditions, for example, setting For 6S.
In addition, in the embodiment of the present invention, when the first default client framework of data forwarding client call, to carry out just Beginningization, and when initializing unsuccessfully, then the data forwarding process exited where the first data forwarding client equally, also can be anti- First interface node described in multiple training in rotation, untill the first interface node is monitored successfully.
In the present embodiment, when first interface node monitors failure, first interface node described in poll repeatedly, until this When first interface node can use, follow-up packet transmission operation is performed, to ensure the timely transmission of packet.
Further, the fourth embodiment of data packet transmission system of the present invention is proposed.
The fourth embodiment of data packet transmission system is with first to 3rd embodiment difference:First data turn Client is sent out, is additionally operable to receive the packet of the first data transmitting server feedback;
The packet received is written to the first interface node of the first reading and writing data forwarding module connection, with logical The first reading and writing data forwarding module is crossed to transmit to the second data forwarding client.
In the present embodiment, when the first data transmitting server receives the packet of the first data forwarding client transmission Afterwards, the packet is uploaded to remote sim data access _ server by blocking module, by remote sim data access _ The packet that server is fed back based on the packet, then the first data transmitting server is by the packet active of feedback Report to the first data forwarding client.
First data forwarding client is received after the packet of the first data transmitting server feedback, and this is received Packet be written to the first interface node, with by the first reading and writing data forwarding module transmit to the second data forwarding visitor Packet in the modem of local terminal first, i.e., be transferred in the first application processor of external equipment by family end.
Further, in the present invention in embodiment, the data forwarding process where the first data forwarding client Module (data_forward modules), including two kinds of plans of establishment:
Scheme one, the data_forward modules can be added to ril (Radio Interface Layer, wave point Layer) in process.
Scheme two, the data_forward modules can be independently into the scheduler module of oneself, i.e., described first data turn The data forwarding scheduler module where client is sent out, in the module increased newly positioned at mobile terminal.
It should be appreciated that because ril processes have many authorities in itself, therefore be to subtract using the advantage of scheme one Few development difficulty, can avoid running into most of rights concerns such as selinux (safe enhanced Linux) and socket;It is bad Gesture is that the stability of the data_forward modules influences whether communication process, and after extend this data_forward module continuous When, the bigger degree of meeting influences whether the stabilization of ril processes, and is inconvenient to debug.
It is that the data_forward modules are easy to transplant, extended using the advantage of scheme two, and to the other modules of system Influence is little, and the convenient debugging (started by mode in shell and kill mode just can be debugged) of early stage;Wherein, Shell refers to that there is provided the program for accessing the service that kernel is provided in operating system;Kill refers to send out a specific signal (signal) it is pid (port ID, interface ID) stroke to stroke id, and specific action is done according to the signal, if does not have Specify, default is to send out the signal for terminating (term).Therefore, the consideration based on stability, the preferably side of taking of the embodiment of the present invention Case two.
In the present embodiment, in the data packet transmission system:
Second data forwarding client, for being supervised to the second interface node that the second reading and writing data forwarding module is connected Listen;
When the second interface node is monitored successfully, the first data forwarding client is read from the second interface node The packet forwarded by the first reading and writing data forwarding module;
The packet of reading is sent to the second data transmitting server.
In the present embodiment, the second interface node is similarly virtual serial port, i.e., USB interface mentioned above, and this Two interface nodes are located at one end where the second reading and writing data forwarding module, and the second interface node can select ttyGS0 node tables Show.
In the present invention, the second interface node that the second data forwarding client is connected to the second reading and writing data forwarding module enters The mode that row is monitored, and when monitoring successfully, the mode that read data packet is forwarded and the first data forwarding client above The operating process at end is consistent, does not repeat herein.
In addition, the second data forwarding client, is additionally operable to call default client framework, to be initialized;
After successful initialization, the connection that the second data forwarding client is set up with the second data transmitting server is closed System, so that the second interface node that the annexation based on foundation is connected to the second reading and writing data forwarding module is monitored.
In addition, the second data forwarding client, is additionally operable to when the second interface node monitors failure, with default Second interface node described in time interval poll, to monitor the second interface node, until the second interface node is monitored Success.
In the present embodiment, the same client_framework of client framework, the second data forwarding client pair Second interface node snoop procedure and the first data forwarding client after the initialization procedure of client framework, and initialization Unanimously, here is omitted.
It should be noted that the second data forwarding client is with second interface node described in prefixed time interval poll The time spent and the first data forwarding client are different, in the present embodiment, the second data forwarding client wheel The time of inquiry is longer than the time of the second data forwarding client, for example, the time of the second data forwarding clients poll sets It is set to 13S.Pass through this setup, it is ensured that the data forwarding scheduler module of mobile terminal, found prior to external equipment USB interface can use.
In addition, the second data forwarding client, is additionally operable to receive the packet of the second data transmitting server feedback;
The packet received is written to the second interface node of the second reading and writing data forwarding module connection, with logical The second reading and writing data forwarding module is crossed to transmit to the first data forwarding client.
In the present embodiment, the second data forwarding client receives the packet of the second data transmitting server feedback, And second interface node is write in the way of transmitting to the first data forwarding client, the execution with the first data forwarding client Process is consistent, does not repeat equally herein.
In the present embodiment, the second data forwarding client of external equipment can equally perform transmission of data packets, and And transmitting procedure and the first data forwarding client of mobile terminal are basically identical, the difference is that only second interface node with First interface node is different, and the time that the second data forwarding clients poll second interface node is spent is than the first data The time that forwarding clients poll first interface node is spent is long,
In the present invention in embodiment, the data forwarding scheduler module (data_ where the second data forwarding client Forward modules), it is preferably placed in the existing presetting module of external equipment.
That is, that the data_forward modules where the second data forwarding client are transplanted into external equipment is existing default Module, such as mifi (Mobile WIFI, mobile router) module.It is start self-starting that the mifi modules are designed in itself.So Data_forward modules can be pulled up when mifi modules start.Therefore, when external equipment start loading mifi modules, Because the data_forward modules of external equipment belong to mifi modules, so after start mifi modules are got up, data_ Forward module sections directly just get up, without individually one process of pull-up again.
The present invention further provides a kind of data pack transmission method.
Reference picture 5, Fig. 5 is the schematic flow sheet of data pack transmission method first 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 mobile terminal 1 00 and whole by preset interface and the movement The external equipment 200 of connection is held, the mobile terminal 1 00 includes being embedded with virtual user identifying card 10A the first application processing Device 10, the first modem 11, and the entity user identification card 14 being connected with first modem 11, described One modem 11 includes the first data transmitting server 116, and first application processor 10 includes the first reading and writing data Forwarding module 012 and the first data forwarding client 011 being connected with first data transmitting server 116;It is described external Equipment 200 includes the second application processor 20 and second modem 21, and the second modem 21 includes the second number According to forwarding server 216, second application processor 20 includes turning by the preset interface and first reading and writing data The second reading and writing data forwarding module 022 of the connection of module 012 is sent out, and be connected with second data transmitting server 216 Second data forwarding client 021;Methods described includes:
Step S10, the first interface node that the first data forwarding client is connected to the first reading and writing data forwarding module enters Row is monitored;
Step S20, when the first interface node is monitored successfully, reads the second data from the first interface node and turns The packet that hair client is forwarded by the second reading and writing data forwarding module;
Step S30, the packet of reading is sent to the first data transmitting server.
In the present embodiment, the first interface that the first data forwarding client is first connected to the first reading and writing data forwarding module Node is monitored, wherein, the first interface node is virtual serial port, i.e., USB interface mentioned above, the first interface section Point can select ttyUSB0 nodes and represent, in the present embodiment, what the first data forwarding client was monitored first interface node Mode is:Open is carried out to the circulation of ttyUSB0 nodes.It should be noted that first interface node is monitored, it is necessary to Module is monitored in insertion in first data forwarding client, realizes the monitoring of the virtual serial port.
In the present embodiment, when preferably the first data forwarding client is to first interface node open successes, it is believed that this first Interface node is monitored successfully, when the first interface node is monitored successfully, and the second data are read from the first interface node The packet that forwarding client is forwarded by the second reading and writing data forwarding module, then sends the packet of reading to the first number According to forwarding server.
It should be noted that the packet that the second data forwarding client is forwarded by the second reading and writing data forwarding module, It is that the second data forwarding client receives the packet that the second blocking module is transmitted by the second data transmitting server, second blocks The packet for cutting module transfer is the packet intercepted from SIM data accesses _ client.When the first data transmitting server connects After receiving packet, then packet transmitted into the first blocking module, to be uploaded to remote sim number by the first blocking module According in access _ server, so as to realize the data transmission procedure of mobile terminal and external equipment.
The data pack transmission method of the present embodiment, the first data forwarding client is connected to the first reading and writing data forwarding module First interface node monitored, when the first interface node is monitored successfully, the is read from the first interface node The packet that two data forwarding clients are forwarded by the second reading and writing data forwarding module, the packet of reading is sent to first Data transmitting server.In the present invention, by the first data forwarding client of the application processor of mobile terminal first, to first The first interface node of reading and writing data forwarding module connection is monitored, to read the of the second application processor in external equipment The packet that two data forwarding clients are forwarded by the second reading and writing data forwarding module, then the packet of reading is sent to shifting First data transmitting server of the dynamic modem of terminal first, to realize the packet between mobile terminal and external equipment Transmitting procedure.
Further, reference picture 6, propose the second embodiment of data pack transmission method of the present invention.
The difference of the second embodiment of data pack transmission method and the first embodiment of data pack transmission method is, described Before step S10, methods described includes:
Step S40, the default client framework of the first data forwarding client call, to be initialized;
Step S50, after successful initialization, the first data forwarding client are set up and the first data transmitting server Annexation, the first interface node connected to the first reading and writing data forwarding module so as to the annexation based on foundation carries out Monitor.
In the present embodiment, the first interface section that the first data forwarding client is connected to the first reading and writing data forwarding module Before point is monitored, the first data forwarding client first calls default client framework, to be initialized, the visitor Family end frame is client_framework.After the client framework is initialized successfully, the first data forwarding client The annexation with the first data transmitting server is set up, so that the annexation based on foundation forwards mould to the first reading and writing data The first interface node of block connection is monitored, that is to say, that after client framework is initialized successfully, and first data turn Client foundation and the annexation of the first data transmitting server are sent out, subsequently first interface node is monitored again.
In the present embodiment, first client framework is initialized, then sets up the foundation of the first data forwarding client With the annexation of the first data transmitting server, when subsequently being monitored first interface node and getting packet, i.e., Packet can be transmitted to the first data transmitting server, prevent the first data transmitting server from not pulling up also, just transmission number According to bag to the first data transmitting server, this invention ensures that the normal transmission of packet, it is to avoid packet transmission is lost The situation of bag.
Further, reference picture 7, propose the 3rd embodiment of data pack transmission method of the present invention.
The difference of the 3rd embodiment of data pack transmission method and the first or second embodiments of data pack transmission method exists In after the step S10, methods described also includes:
Step S60, when the first interface node monitors failure, the first data forwarding client is with preset time First interface node described in poll is spaced, to monitor the first interface node, until the first interface node is monitored successfully.
In the present embodiment, after the first data forwarding client is monitored first interface node, if this first connects Mouth node monitors failure, illustrates that the first data forwarding client fails to first interface node open, now, first data Forward client can according to first interface node described in prefixed time interval repeatedly poll, to monitor the first interface node, Until the first interface node is monitored successfully.Wherein, the prefixed time interval is set according to actual conditions, for example, setting For 6S.
In addition, in the embodiment of the present invention, when the first default client framework of data forwarding client call, to carry out just Beginningization, and when initializing unsuccessfully, then the data forwarding process exited where the first data forwarding client equally, also can be anti- First interface node described in multiple training in rotation, untill the first interface node is monitored successfully.
In the present embodiment, when first interface node monitors failure, first interface node described in poll repeatedly, until this When first interface node can use, follow-up packet transmission operation is performed, to ensure the timely transmission of packet.
Further, reference picture 8, propose the fourth embodiment of data pack transmission method of the present invention.
The difference of the fourth embodiment of data pack transmission method and the first of data pack transmission method to 3rd embodiment exists In methods described also includes:
Step S70, the first data forwarding client receives the packet of the first data transmitting server feedback;
Step S80, the packet received is written to the first interface of the first reading and writing data forwarding module connection Node, to be transmitted by the first reading and writing data forwarding module to the second data forwarding client.
In the present embodiment, when the first data transmitting server receives the packet of the first data forwarding client transmission Afterwards, the packet is uploaded to remote sim data access _ server by blocking module, by remote sim data access _ The packet that server is fed back based on the packet, then the first data transmitting server is by the packet active of feedback Report to the first data forwarding client.
First data forwarding client is received after the packet of the first data transmitting server feedback, and this is received Packet be written to the first interface node, with by the first reading and writing data forwarding module transmit to the second data forwarding visitor Packet in the modem of local terminal first, i.e., be transferred in the first application processor of external equipment by family end.
In the present invention in embodiment, the data forwarding scheduler module (data_ where the first data forwarding client Forward modules), including two kinds of plans of establishment:
Scheme one, the data_forward modules can be added to ril (Radio Interface Layer, wave point Layer) in process.
Scheme two, the data_forward modules can be independently into the scheduler module of oneself, i.e., described first data turn The data forwarding scheduler module where client is sent out, in the module increased newly positioned at mobile terminal.
It should be appreciated that because ril processes have many authorities in itself, therefore be to subtract using the advantage of scheme one Few development difficulty, can avoid running into most of rights concerns such as selinux (safe enhanced Linux) and socket;It is bad Gesture is that the stability of the data_forward modules influences whether communication process, and after extend this data_forward module continuous When, the bigger degree of meeting influences whether the stabilization of rild processes, and is inconvenient to debug.
It is that the data_forward modules are easy to transplant, extended using the advantage of scheme two, and to the other modules of system Influence is little, and the convenient debugging (started by mode in shell and kill mode just can be debugged) of early stage;Wherein, Shell refers to that there is provided the program for accessing the service that kernel is provided in operating system;Kill refers to send out a specific signal (signal) it is pid stroke to stroke id, and specific action is done according to the signal, if not specifying, default is to send out Terminate the signal of (term).Therefore, the consideration based on stability, the embodiment of the present invention preferably takes scheme two.
The present invention further proposes a kind of data pack transmission method.
Data pack transmission method in above-mentioned first to fourth embodiment is applied in mobile terminal, in the present embodiment, The data pack transmission method is applied to external equipment.
In the present embodiment, methods described includes:
Step A, the second interface node that the second data forwarding client is connected to the second reading and writing data forwarding module is carried out Monitor;
Step B, when the second interface node is monitored successfully, the first data forwarding is read from the second interface node The packet that client is forwarded by the first reading and writing data forwarding module;
Step C, the packet of reading is sent to the second data transmitting server.
In the present embodiment, the second interface node is similarly virtual serial port, i.e., USB interface mentioned above, and this Two interface nodes are located at one end where the second reading and writing data forwarding module, and the second interface node can select ttyGS0 node tables Show.
In the present invention, the second interface node that the second data forwarding client is connected to the second reading and writing data forwarding module enters The mode that row is monitored, and when monitoring successfully, the mode that read data packet is forwarded and the first data forwarding client above The operating process at end is consistent, does not repeat herein.
In addition, before the step A, methods described also includes:
Step D, the default client framework of the second data forwarding client call, to be initialized;
Step E, after successful initialization, the second data forwarding client are set up and the second data transmitting server Annexation, so that the second interface node that the annexation based on foundation is connected to the second reading and writing data forwarding module is supervised Listen.
In addition, after the step A, methods described also includes:
Step F, when the second interface node monitors failure, the second data forwarding client is between preset time Every second interface node described in poll, to monitor the second interface node, until the second interface node is monitored successfully.
In the present embodiment, the same client_framework of client framework, the second data forwarding client pair Second interface node snoop procedure and the first data forwarding client after the initialization procedure of client framework, and initialization Unanimously, here is omitted.
It should be noted that the second data forwarding client is with second interface node described in prefixed time interval poll The time spent and the first data forwarding client are different, in the present embodiment, the second data forwarding client wheel The time of inquiry is longer than the time of the second data forwarding client, for example, the time of the second data forwarding clients poll sets It is set to 13S.Pass through this setup, it is ensured that
In addition, methods described also includes:
Step G, the second data forwarding client receives the packet of the second data transmitting server feedback;
Step H, the packet received is written to the second interface section of the second reading and writing data forwarding module connection Point, to be transmitted by the second reading and writing data forwarding module to the first data forwarding client.
In the present embodiment, the second data forwarding client receives the packet of the second data transmitting server feedback, And second interface node is write in the way of transmitting to the first data forwarding client, the execution with the first data forwarding client Process is consistent, does not repeat equally herein.
In the present embodiment, the second data forwarding client of external equipment can equally perform transmission of data packets, and And transmitting procedure and the first data forwarding client of mobile terminal are basically identical, the difference is that only second interface node with First interface node is different, and the time that the second data forwarding clients poll second interface node is spent is than the first data The time that forwarding clients poll first interface node is spent is long,
In the present invention in embodiment, the data forwarding scheduler module (data_ where the second data forwarding client Forward modules), it is preferably placed in the existing presetting module of external equipment.
That is, that the data_forward modules where the second data forwarding client are transplanted into external equipment is existing default Module, such as mifi (Mobile WIFI, mobile router) module.It is start self-starting that the mifi modules are designed in itself.So Data_forward modules can be pulled up when mifi modules start.Therefore, when external equipment start loading mifi modules, Because the data_forward modules of external equipment belong to mifi modules, so after start mifi modules are got up, data_ Forward module sections directly just get up, without individually one process of pull-up again.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property is included, so that process, method, article or system including a series of key elements not only include those key elements, and And also including the other key elements being not expressly set out, or also include for this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in process, method, article or the system of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal equipment (can be mobile phone, computer, clothes It is engaged in device, air conditioner, or network equipment etc.) method that performs each embodiment of the invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of data 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 being embedded with the first of virtual user identifying card Application processor, the first modem, and the entity user identification card being connected with first modem, described One modem includes the first data transmitting server, and first application processor includes the first reading and writing data forwarding module With the first data forwarding client being connected with first data transmitting server;The external equipment is included at the second application Device and second modem are managed, the second modem is included at the second data transmitting server, second application Reason device includes the second reading and writing data forwarding module being connected by the preset interface with the first reading and writing data forwarding module, And the second data forwarding client being connected with second data transmitting server;
The first data forwarding client, for being supervised to the first interface node that the first reading and writing data forwarding module is connected Listen;
When the first interface node is monitored successfully, read the second data forwarding client from the first interface node and pass through The packet of second reading and writing data forwarding module forwarding;
The packet of reading is sent to the first data transmitting server.
2. data packet transmission system as claimed in claim 1, it is characterised in that the first data forwarding client, is also used In calling default client framework, to be initialized;
After successful initialization, the annexation with the first data transmitting server is set up, so as to the annexation based on foundation The first interface node that first reading and writing data forwarding module is connected is monitored.
3. data packet transmission system as claimed in claim 1, it is characterised in that the first data forwarding client, is also used In when the first interface node monitors failure, the first data forwarding client is with described in prefixed time interval poll the One interface node, to monitor the first interface node, until the first interface node is monitored successfully.
4. data packet transmission system as claimed in claim 1, it is characterised in that the first data forwarding client, is also used In the packet for receiving the first data transmitting server feedback;
The packet received is written to the first interface node of the first reading and writing data forwarding module connection, to pass through the One reading and writing data forwarding module is transmitted to the second data forwarding client.
5. the data packet transmission system as described in claim any one of 1-4, it is characterised in that the first data forwarding client In data forwarding process where end, the module increased newly positioned at mobile terminal.
6. a kind of data pack transmission method, it is characterised in that applied to mobile terminal and pass through preset interface and the movement The external equipment of terminal connection, the mobile terminal includes being embedded with the first application processor of virtual user identifying card, first Modem, and the entity user identification card being connected with first modem, the first modem bag The first data transmitting server is included, first application processor includes the first reading and writing data forwarding module and counted with described first The the first data forwarding client connected according to forwarding server;The external equipment includes the second application processor and the second modulation Demodulator, the second modem includes the second data transmitting server, and second application processor includes passing through institute State the second reading and writing data forwarding module that preset interface is connected with the first reading and writing data forwarding module, and with described second Second data forwarding client of data transmitting server connection;Methods described includes:
The first interface node that first data forwarding client is connected to the first reading and writing data forwarding module is monitored;
When the first interface node is monitored successfully, read the second data forwarding client from the first interface node and pass through The packet of second reading and writing data forwarding module forwarding;
The packet of reading is sent to the first data transmitting server.
7. data pack transmission method as claimed in claim 6, it is characterised in that the first data forwarding client is to first Before the step of first interface node of reading and writing data forwarding module connection is monitored, methods described also includes:
The default client framework of first data forwarding client call, to be initialized;
After successful initialization, the first data forwarding client sets up the annexation with the first data transmitting server, So that the first interface node that the annexation based on foundation is connected to the first reading and writing data forwarding module is monitored.
8. data pack transmission method as claimed in claim 6, it is characterised in that the first data forwarding client is to first After the step of first interface node of reading and writing data forwarding module connection is monitored, methods described also includes:
When the first interface node monitors failure, the first data forwarding client is with described in prefixed time interval poll First interface node, to monitor the first interface node, until the first interface node is monitored successfully.
9. data pack transmission method as claimed in claim 6, it is characterised in that the data pack transmission method also includes:
The first data forwarding client receives the packet of the first data transmitting server feedback;
The packet received is written to the first interface node of the first reading and writing data forwarding module connection, to pass through the One reading and writing data forwarding module is transmitted to the second data forwarding client.
10. the data pack transmission method as described in claim any one of 6-9, it is characterised in that the first data forwarding visitor In data forwarding process where the end of family, the module increased newly positioned at mobile terminal.
CN201710644979.XA 2017-07-31 2017-07-31 Data packet transmission system and method Withdrawn CN107333258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710644979.XA CN107333258A (en) 2017-07-31 2017-07-31 Data packet transmission system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710644979.XA CN107333258A (en) 2017-07-31 2017-07-31 Data packet transmission system and method

Publications (1)

Publication Number Publication Date
CN107333258A true CN107333258A (en) 2017-11-07

Family

ID=60225112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710644979.XA Withdrawn CN107333258A (en) 2017-07-31 2017-07-31 Data packet transmission system and method

Country Status (1)

Country Link
CN (1) CN107333258A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301170A (en) * 2021-07-27 2021-08-24 湖南三湘银行股份有限公司 Data processing method based on communication node

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301170A (en) * 2021-07-27 2021-08-24 湖南三湘银行股份有限公司 Data processing method based on communication node

Similar Documents

Publication Publication Date Title
CN107333258A (en) Data packet transmission system and method
CN107466025A (en) Data packet transmission system and method
CN107094152A (en) Data packet transmission system and method
CN107247679A (en) Data transmission system and method
CN106900045A (en) Data transmission system and method
CN107277802A (en) Data packet transmission system and method
CN107466024A (en) Data packet transmission system and method
CN106953984A (en) Data transmission system and method
CN106982461A (en) Data transmission system and method
CN107466028A (en) Data transmission system, method, external equipment and mobile terminal
CN107466027A (en) Data transmission system, method, external equipment and mobile terminal
CN107396400A (en) Data transmission system, method, external equipment and mobile terminal
CN107087057A (en) Data transmission system and method
CN106900044A (en) Mobile terminal and its dormancy control method
CN107396399A (en) Data transmission system, method, external equipment and mobile terminal
CN107087062A (en) Data transmission system and method
CN107370819A (en) Data packet transmission system and method
CN107360564A (en) Data packet transmission system and method
CN107087270A (en) Data transmission system and method
CN107071165A (en) Data transmission system and method
CN107087268A (en) Data transmission system and method
CN107018560A (en) Data transmission system and method
CN107094317A (en) Data transmission system and method
CN107318131A (en) Data transmission system, method, external equipment and mobile terminal
CN107205054A (en) Data transmission system, method, external equipment and mobile terminal

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