Summary of the invention
The technical problem to be solved in the present invention is in that, for the drawbacks described above of prior art, it is provided that a kind of terminal and communication means.
The technical solution adopted for the present invention to solve the technical problems is:
First aspect, it is provided that a kind of terminal, including:
First user identification card;
Second Subscriber Identity Module;
First processing unit;
Second processing unit;
Described first user identification card and described second Subscriber Identity Module are all connected with described first processing unit, and described first processing unit is connected with described second processing unit;
Described first processing unit is for obtaining first user identification card and the information of the second Subscriber Identity Module;
Described first processing unit is additionally operable to the information of the second Subscriber Identity Module obtained is sent to described second processing unit;
Described first processing unit, for information and a 4G network service of the described first user identification card based on acquisition, carries out data service;
Described second processing unit, is used for the information based on described second Subscriber Identity Module received and the 2nd 4G network service, carries out data service.
In one embodiment, described first processing unit is additionally operable to the information based on described second Subscriber Identity Module obtained and 2G and/or 3G network communication, carries out speech business.
In one embodiment, described first processing unit is additionally operable to the information based on the described first user identification card obtained and 2G and/or 3G network communication, carries out speech business.
In one embodiment, when searching net registration, described first processing unit loads corresponding network parameter for the information according to first user identification card, searches net registration to start so that first user identification card resides in a 4G network by the first processing unit.
In one embodiment, when searching net registration, described first processing unit loads corresponding network parameter for the information according to the second Subscriber Identity Module, to carry out searching net registration so that the second Subscriber Identity Module resides in 2G or 3G network by the first processing unit.
In one embodiment, described second processing unit, for the information based on the second Subscriber Identity Module obtained, carries out searching net registration so that the second Subscriber Identity Module resides in the 2nd 4G network by the second processing unit.
In one embodiment, the first processing unit includes data-interface, and the second processing unit includes the data-interface being connected with the data-interface of described first processing unit;
Second processing unit obtains the information of the second Subscriber Identity Module by data-interface from described first processing unit.
In one embodiment, when meeting pre-conditioned, the second processing unit is for sending synchronization frame to the first processing unit;
First processing unit is for, after receiving the synchronization frame that the second processor sends, replying acknowledgement frame and be connected to set up with the second processing unit;
First processing unit, is additionally operable to registration preset service to obtain first user identification card and/or the information of the second Subscriber Identity Module;
Second processing unit is additionally operable to perform service discovery, and registers the client corresponding with described preset service, to carry out the mutual of the information of the second Subscriber Identity Module with described first processing unit.
In one embodiment, carry out the information of Subscriber Identity Module mutual time the data packet format that adopts at least include one of following field: flag bit, length, control mark, port numbers, service ID, Customer ID, data ID, control bit, message id, data length, data.
In one embodiment, described first processing unit is additionally operable to the first logic port that configuration one is corresponding with described preset service and the second logic port that configuration one is corresponding with the physical interface of the first processing unit;
The information of described second Subscriber Identity Module to described second logic port, is transferred to described second processing unit with the physical interface by the first processing unit by described first logic port transmission.
In one embodiment, described second processing unit is additionally operable to the 3rd logic port that configuration one is corresponding with described client and the 4th logic port that configuration one is corresponding with the physical interface of the second processing unit;
The information of described second Subscriber Identity Module that the physical interface of described second processing unit receives is by described 4th logic port transmission extremely described 3rd logic port, to be transferred to described client.
In one embodiment, described terminal also includes:
First application processor, is connected with the first processing unit, is used for providing interactive interface, receives the operational order of user, and operational order is transferred to the first processing unit.
In one embodiment, described terminal also includes:
Second application processor, is connected with the second processing unit and the first application processor respectively, for receiving the information that the first application processor sends, and passes through the second processing unit.
Second aspect, by a kind of communication means, including:
First processing unit obtains the information of first user identification card and the second Subscriber Identity Module;
The information of the second Subscriber Identity Module obtained is sent to described second processing unit by the first processing unit;
First processing unit, based on information and a 4G network service of the described first user identification card obtained, carries out data service;
Second processing unit, based on information and the 2nd 4G network service of described second Subscriber Identity Module received, carries out data service.
In one embodiment, described first processing unit, based on information and 2G and/or the 3G network communication of described second Subscriber Identity Module obtained, carries out speech business.
In one embodiment, described first processing unit, based on information and 2G and/or the 3G network communication of the described first user identification card obtained, carries out speech business.
In one embodiment, when meeting pre-conditioned, the second processing unit is for sending synchronization frame to the first processing unit;
First processing unit is for, after receiving the synchronization frame that the second processor sends, replying acknowledgement frame and be connected to set up with the second processing unit;
First processing unit, is additionally operable to registration preset service to obtain first user identification card and/or the information of the second Subscriber Identity Module;
Second processing unit is additionally operable to perform service discovery, and registers the client corresponding with described preset service, to carry out the mutual of the information of the second Subscriber Identity Module with described first processing unit.
In one embodiment, described first processing unit is additionally operable to the first logic port that configuration one is corresponding with described preset service and the second logic port that configuration one is corresponding with the physical interface of the first processing unit;
The information of described second Subscriber Identity Module to described second logic port, is transferred to described second processing unit with the physical interface by the first processing unit by described first logic port transmission.
In one embodiment, described second processing unit is additionally operable to the 3rd logic port that configuration one is corresponding with described client and the 4th logic port that configuration one is corresponding with the physical interface of the second processing unit;
The information of described second Subscriber Identity Module that the physical interface of described second processing unit receives is by described 4th logic port transmission extremely described 3rd logic port, to be transferred to described client.
Implement terminal and the communication means of the present invention, what have the advantages that by between the first processing unit and the second processing unit is mutual, realizing supporting that two Subscriber Identity Modules all reside in 4G network, available two 4G passages carry out the concurrent transmission of data service, improve efficiency of transmission;Additionally, when carrying out data traffic transmission, speech business transmission also can be carried out, improve Consumer's Experience;On the other hand, two Subscriber Identity Modules are managed by the first processing unit, can improve the efficiency of management.And first adopt C/S communication construction between processing unit and the second processing unit, it is achieved sharing information.Thus, the information sharing that gets is given the second processing unit by the first processing unit availability data interface, it is not necessary to utilize the modes such as shared drive, can realize the instant acquisition to information of second processing unit, save cost.And owing to the port different for different service registrys transmits accordingly, can support to extend multiple transport layer protocol and PHY.
Embodiment 1
Referring to Fig. 1, the embodiment of the present invention is used the framework of " first processing unit the+the second processing unit " to realize terminal 100 and is supported that two Subscriber Identity Modules all reside in 4G network.
First user identification card 110 and the second Subscriber Identity Module 120 can manage the different user being associated with similar and different technical standard.In specific limiting examples, technical bid will definitely be 2G communication technology (such as, GSM, GPRS, EDGE), 3G communication technology (such as, WCDMA, TDS-CDMA), 4G communication technology (such as, LTE, TD-LTE), or any other mobile communication technology (such as, 5G, 4.5G etc.).
In one embodiment, first user identification card 110 preserves the information for a 4G network service.Second Subscriber Identity Module 120 preserves the information for the 2nd 4G network service.Concrete, it is one or more that Subscriber Identity Module can store in following information: service lists, PIN (PIN) and the personal unblocking code (PUK) for PIN unblock that unique sequence numbers (ICCID), IMSI International Mobile Subscriber Identity (IMSI), temporary information that safety certification is relevant to local network with adding confidential information, user access.
In an embodiment of the present invention, the first processing unit 130 has been used for protocol processes, and for the communication data of transmitting-receiving is modulated demodulation, to realize the communication etc. with external communication device.
Second processing unit 140 has been used for protocol processes, and for the communication data of transmitting-receiving is modulated demodulation, to realize the communication etc. with external communication device.
In one embodiment of this invention, protocol processes includes execution and processes the protocol stack of the various network formats with network interaction, for instance, the protocol code provided in the communication standard such as LTE/WCDMA/GSM/TDSCDMA/1X/CDMA/EVDO.The agreement of these standards is that terminal 100 is interacted (such as, surfed the Net by data traffic, made a phone call by VOLTE or made a phone call by CS circuit domain) and must be complied with carrier network.
First processing unit 130 includes one or more data-interface, for instance, general purpose I/O Interface, UART interface, USB interface, I2C interface etc..Second processing unit 140 includes one or more data transmission interface equally, for instance, general purpose I/O Interface, UART interface, USB interface, I2C interface etc..
Considering the downstream rate very fast (150Mbps) of 4G network, in order to be able to accomplish that namely the i.e. receipts of the data to the second processing unit 140 send (without buffering), high speed data transmission interface needs enough bandwidth and data transmission capabilities.USB interface is high speed data transmission interface.
General purpose I/O Interface, as state detecting interface, is identified by the high/low of level or pulse.Such as, first processes chip 200 can pass through the high/low state of level of state detecting pin, and whether detection the second process chip 300 is in deadlock state.
UART interface is a kind of serial communication interface, for the essential information such as transmission of control signals, status signal.
First processing unit 130 can pass through UART interface and be connected with first user identification card 110 and the second Subscriber Identity Module 120 respectively, to obtain card information, the follow-up flow process that will be described in detail card information acquisition from first user identification card 110 and the second Subscriber Identity Module 120.
It is connected additionally, the first processing unit 130 can pass through UART interface with the second processing unit 140, card information to be transferred to the second processing unit.The interaction of concrete card information is follow-up be will be described in detail.Should be understood that the transmission of the card information between the first processing unit 130 and the second processing unit 140 carries out also by other interface, the invention is not limited in this regard.
In one embodiment, the first processing unit 130 can be realized by modem chip, and the second processing unit 140 can be realized by modem chip.
In an embodiment of the present invention, by high speed USB data interface high-speed transfer network data, meet data transfer demands, when transmitting when not having network data to need, use the low speed data interface transmission information of low-power consumption, thus not only ensure that data transmission but also power consumption can being saved.
After first processing unit 130 obtains the information of first user identification card 110 and the second identification card 120 by data-interface, the first processing unit 130 can carry out searching the operations such as net registration, authentication according to the information obtained.
Referring to Fig. 1, GPIO interface can be passed through between the first application service processor 150 and the second application service processor 160 and USB interface connects.Should be understood that the interface also by other carries out, the invention is not limited in this regard.
First application service processor 150 is for processing the logical operation of complexity and carrying out task distribution, provide the user interactive interface, the operational order that user inputted (relevant online that such as, user is inputted by user interface or the operational order made a phone call) is transferred to the first processing unit 130 or the second processing unit 140.First application service processor 150 processor performs the operating system of terminal 100.Operating system is stored in memorizer, and operating system includes but not limited to Windows, Linux, Unix, MacOSX, IOS, Solaris, Android etc..
In an embodiment of the present invention, the second application service processor 160 does not carry out the process of data, only plays the effect of transparent transmission.Such as, process to the first application service processor 150 for the data penetration transmission that the second processing unit 140 is received, and the data penetration transmission being transmitted through by the first application service processor 150 gives the second processing unit 140.
First radio frequency 170 and the second radio frequency 180 have been used for the up-conversion of signal, down coversion, filtering, amplification, transmitting, reception etc..Wireless access technology involved by first radio frequency 170 and the second radio frequency 180 can include LTE, 3G, GSM, GPRS etc..
When terminal 100 carries out data traffic transmission, it is divided into situations below:
(1) data service is carried out by first user identification card
Up: the first application service processor 150 receives user instruction, and control the first processing unit 130 according to user instruction upstream data is processed;First radio frequency 170 first processing unit 130 is processed after transmitting uplink data to a 4G network.
Descending: the first radio frequency 170 receives the downlink data from a 4G network, and be transferred to the first processing unit 130 and process;First application service processor 150 first processing unit 130 is processed after downlink data carry out exporting, the operation such as storage.
(2) data service is carried out by the second Subscriber Identity Module
Up: the first application service processor 150 receives user instruction, and control the second application service processor 150 according to user instruction upstream data is passed through the second processing unit 140;Upstream data is processed by the second processing unit 140;Second radio frequency 180 second processing unit 140 is processed after transmitting uplink data to the 2nd 4G network.
Descending: the second radio frequency 180 receives the downlink data from the 2nd 4G network, and be transferred to the second processing unit 140 and process;Downlink data after processing is passed through the first application service processor 150 by the second application service processor 160 by the second processing unit 140, thus can carry out exporting, the operation such as storage.
(3) carry out data service by first user identification card and the second Subscriber Identity Module simultaneously
When carrying out data service by first user identification card and the second Subscriber Identity Module, it may include following two situation simultaneously:
One is, transmits different data services respectively through first user identification card and the second Subscriber Identity Module.In that case, transmit different data services respectively by two data passages, can greatly improve efficiency of transmission.
Two are, transmit same data service by first user identification card and the second Subscriber Identity Module simultaneously.In this case it is necessary to carry out the distribution of flow, it is divided into different data blocks to be transmitted by two data channel respectively by same data service.Should be understood that and according to dividing equally, or the mode such as flow of two passages can be adjusted according to link-quality (speed, time delay etc.) and realize.
Referring to Fig. 2, when carrying out speech business, digital signal processing chip 210 is used for carrying out Audio Signal Processing, for instance, the Audio Signal Processing such as echo suppression in communication process, noise suppressed.Codec (Codec) 220 is used for carrying out A/D and D/A conversion.Receiver 230 is used for exporting acoustical signal.Mike 240 is used for gathering voice signal.
When terminal 100 carries out speech business transmission, it is divided into situations below:
(1) only speech business is carried out by first user identification card
First, set up voice communication and connect: operational order is transferred to the first processing unit 130 by the first application service processor 150, send the flow processs such as connection request by the first radio frequency 170 to network and be connected with the voice communication of callee to set up.
After voice communication connection establishment, voice uplink process is: mike 240 gathers voice signal, and codec 220 is transferred to digital signal processing chip 210 after receiving the voice signal gathered and carrying out analog digital conversion;Digital signal processing chip 210 carries out Audio Processing to the received signal and is transferred to the first processing unit 130;Signal after the first processing unit 130 processes is transmitted by the first radio frequency 170.Voice downstream transmitting procedure is: the first radio frequency 170 receives downstream signal and is transferred to the first processing unit 130;Signal after the first processing unit 130 processes is carried out Audio Processing and is transferred to codec 220 by digital signal processing chip 210;Codec 220 transmits after carrying out analog digital conversion to the received signal to receiver 230.
If should be understood that, terminal 100 is as callee, then setting up the process that voice communication connects is receive the connection establishment request of calling party, is connected setting up voice communication with calling party.Follow-up voice uplink is identical with downlink transmission process.
(2) only speech business is carried out by the second Subscriber Identity Module
First, set up voice communication and connect: operational order is transferred to the first processing unit 130 by the first application service processor 150, send the flow processs such as connection request by the first radio frequency 170 to network and be connected with the voice communication of callee to set up.
After voice communication connection establishment, voice uplink process is: mike 240 gathers voice signal, and codec 220 is transferred to digital signal processing chip 210 after receiving the voice signal gathered and carrying out analog digital conversion;Digital signal processing chip 210 carries out Audio Processing to the received signal and is transferred to the first processing unit 130;Signal after the first processing unit 130 processes is transmitted by the first radio frequency 170.Voice downstream transmitting procedure is: the first radio frequency 170 receives downstream signal and is transferred to the first processing unit 130;Signal after the first processing unit 130 processes is carried out Audio Processing and is transferred to codec 220 by digital signal processing chip 210;Codec 220 transmits after carrying out analog digital conversion to the received signal to receiver 230.
If should be understood that, terminal 100 is as callee, then setting up the process that voice communication connects is receive the connection establishment request of calling party, is connected setting up voice communication with calling party.Follow-up voice uplink is identical with downlink transmission process.
(3) data service is carried out by the second Subscriber Identity Module while carrying out speech business by first user identification card
In this case, according to carrying out speech business process above by first user identification card and carrying out the process of data service by the second Subscriber Identity Module and carry out simultaneously, do not repeat them here.
(4) data service is carried out by the second Subscriber Identity Module while carrying out speech business by the second Subscriber Identity Module
In this case, according to carrying out speech business process above by the second Subscriber Identity Module and carrying out the process of data service by the second Subscriber Identity Module and carry out simultaneously, do not repeat them here.
In an embodiment of the present invention, owing to speech business and the data service of the second Subscriber Identity Module 120 are via different processing unit registrations, therefore can pass through the second Subscriber Identity Module 120 and carry out data service and speech business simultaneously.
In some embodiments of the invention, first processing unit is additionally operable to the information based on the second Subscriber Identity Module obtained and 2G and/or 3G network communication, carry out speech business, and be used for the information based on the first user identification card obtained and 2G and/or 3G network communication, carry out speech business.When namely carrying out speech business (CS speech business) by first user identification card and the second Subscriber Identity Module, undertaken by 2G and/or 3G network.Here three kinds of situations are included, the first situation is: carry out speech business by 2G network, then, when searching net registration, the first processing unit loads corresponding network parameter based on the information of first user identification card, start and search net registration so that first user identification card resides in 2G network.Identical for the second Subscriber Identity Module process.
The second situation is: carry out speech business by 3G network, then when searching net registration, the first processing unit loads corresponding network parameter based on the information of first user identification card, starts and searches net registration so that first user identification card resides in 3G network.Identical for the second Subscriber Identity Module process.
The third situation: preferentially carry out speech business by 3G network, if carrying out speech business by 2G network during 3G network exception.
Should be understood that in certain embodiments, all right VOLTE speech business of the speech business of first user identification card and the second Subscriber Identity Module, it can be undertaken by 4G network.In further embodiments, also can reside in 4G network for first user identification card (or second Subscriber Identity Module) by the first processing unit, and when first user identification card (or second Subscriber Identity Module) carries out speech business, namely fall back to 2G/3G network and carry out (such as, falling after rise in CSFB mode).
In an embodiment of the present invention, in order to ensure first user identification card and the proper communication of the second number of users identification card, first user identification card 110 and the timing of the second Subscriber Identity Module 120 are also carried out detection in place by the first processing unit 130.Concrete:
Communicate once every Preset Time (such as, 28 seconds) between first processing unit 130 and first user identification card 110 and the second Subscriber Identity Module 120, to confirm that whether Subscriber Identity Module is in place to ensure the normal of communication.Such as, the first processing unit 130 has sent data to first user identification card 110 and the second Subscriber Identity Module 120 respectively, if meeting with a response, confirms that Subscriber Identity Module is in place, and otherwise Subscriber Identity Module is not in place.
In an embodiment of the present invention, when the first application service processor 150 receives the operational order of user, judge to be by data service or language service according to operational order, and judge it is by which Subscriber Identity Module undertaken.Should be understood that the terminal 100 of the embodiment of the present invention supports three kinds of situations of above-mentioned data service and four kinds of situations of speech business.
In an embodiment of the present invention, terminal 100 can use the data network of two Subscriber Identity Modules simultaneously, downloads data service simultaneously, reaches the purpose that Double Data parallel downloading accelerates, therefore, same Subscriber Identity Module needs to be accessed by the first processing unit 130 and the second processing unit 140.Access referred herein is the information obtaining Subscriber Identity Module, to realize the first subscription and network service by being associated with first user identification card 110, and the second subscription and network service by being associated with the second Subscriber Identity Module 120.
Referring to Fig. 1, in the embodiment of the present invention, on hardware configuration, two Subscriber Identity Modules are all connected with the first processing unit 130.In one embodiment, first processing unit 130 can pass through data-interface (such as, UART) it is connected with first user identification card 110 and the second Subscriber Identity Module 120 respectively, thus first user identification card 110 and the second Subscriber Identity Module 120 are carried out Card read/write operation.
And the acquisition that the second processing unit 140 is to the information of Subscriber Identity Module, it is necessary to by the mutual acquisition with the first processing unit 130.Concrete: in one embodiment of this invention, the first processing unit 130 and the second processing unit 140 are attached by data-interface (such as, UART data-interface), so that the information of Subscriber Identity Module to pass to the second processing unit 140.
In order to realize the mutual of card information between the first processing unit 130 and the second processing unit 140, the communication protocol between the first processing unit 130 and the second processing unit 140 is divided into physical layer, transport layer and application layer.Wherein, physical layer is for carrying out transmission and the reception of data.The expansible multiple interfaces of transport layer, are respectively used to the different service that corresponding application layer is opened.Application layer is used for the service of opening to perform corresponding acquisition of information function.
Concrete, referring to Fig. 3, first, the first processing unit 130 and the second processing unit 140 carry out the configuration of one or more port respectively.In an embodiment of the present invention, port is virtual logical port, and configuration port includes arranging port numbers etc. for it.Being divided by function, port includes two kinds, and the first is the port answered for the service relative registered with application layer, and information transmission application layer services obtained is to transport layer;The second is for the port corresponding with the physical interface of physical layer, transmits information to corresponding physical interface, thus realizing the transmission (or reception) of information.
Concrete, the first processing unit 130 registration service is to perform corresponding function.In an embodiment of the present invention, service can be preset service.Such as, using obtain card information as preset service, then when meeting pre-conditioned, the second processor sends synchronization frame with after setting up with first processor and connecting, and first processor and this preset service registrable, thus performing the function of this preset service.In one embodiment of this invention, preset service is the information obtaining Subscriber Identity Module.
In an embodiment of the present invention, the function of different services differs, for instance, the registrable service for obtaining card information.Also registrable other type of service in an embodiment of the present invention, for instance, for obtaining the service of status information, control information etc..Each service is corresponding with Single port, and namely the information of service acquisition will be transmitted by the port corresponding with this service.Here port refers to the first port above-mentioned.
Therefore, in an embodiment of the present invention, due to expansible multiple ports (the first port above-mentioned), respectively should from different service relatives, and demand can be transmitted according to practical communication, call different transport layers, to transmit information to physical layer interface (such as, USB interface, shared drive interface etc.), can support to extend multiple transport layer protocol.Such as, for a first service, call transport layer 1 to carry out information transmission, and for a second service, transport layer 2 can be called to carry out information transmission.The transport layer protocol etc. that different transport layers adopts differs.
Second processing unit 140 sends sync frame (synchronization frame) to the first processing unit 130;First processing unit 130 replys acknowledgement frame (ACK) after being additionally operable to receive sync frame, connects to set up between the first processing unit 130 and the second processing unit 140.In an embodiment of the present invention, when meeting pre-conditioned, the second processing unit 140 initiates the process of connection establishment, namely sends sync frame.Pre-conditioned for starting shooting, restart etc. when carrying out initialized.
Should be understood that in an embodiment of the present invention, between the first processing unit 130 and the second processing unit 140, there is no sequencing by sync and ACK foundation connection, the first processing unit 130 registration service.First processing unit 130 registration service can be before or after establishing the connections.
Second processing unit 140 performs service discovery the client that registration and service relative are answered.In one embodiment, the service that the client of the second processing unit 140 registration is registered with the first processing unit 130 is corresponding.And identical with the first processing unit 130 registration service, the client also port corresponding with of the second processing unit 140 registration is corresponding, to transmit information to transport layer by this port, at the extremely corresponding physical interface of the port transmission via transport layer.
After the second processing unit 140 have registered client, the first processing unit 130 and the second processing unit 140 can carry out the mutual of information.Concrete, when the information of carrying out is mutual, data packet format as shown in Figure 4 can be adopted.It includes flag bit (header part), length (length of whole packet), controls mark (mark is client or service end), port numbers (local port), service ID, Customer ID, data ID, control bit, message id, data length, data (data).
In one embodiment of this invention, port numbers is the port numbers of above-mentioned the second port, namely for flag data bag transmission to which physical interface.Such as, when physical interface includes USB interface and shared drive interface, can by transmission correct for packet to corresponding physical interface by port numbers, it is achieved mutual with the second processing unit 140.Thus, when packet transmission is to physical layer, port number field can be deleted, and is namely transferred in the packet of opposite end and does not comprise port number field.
In embodiments of the present invention, the port numbers of different physical interfaces (hardware interface) is different, therefore, by designated ends slogan in the packet, the correct forwarding of packet can be realized so that the information of the service acquisition of application layer registration can realize being transmitted by physical interface accurately.Thus, the double-core communicator of the embodiment of the present invention can be supported to extend multiple physical interface (i.e. expansible multiple PHY).
Service ID is No. ID of the service of registration.Client id is No. ID of the client corresponding with service.Control bit is used for identifying this packet and is request bag, replys bag etc..Data (data) adopt type-len-value form, and wherein, type is for representing the type of whole data block, and len is for representing the size in value district, and value is data field.
In an embodiment of the present invention, a service is likely to need to send multiple packet, and thus, message id represents the sequence number sending packet.Data ID is for distinguishing the type of message of packet.Can including multiple different types of data in each packet, thus, a message id can be corresponding with multiple type.Such as, the information such as signal intensity, network formats can be sent as a packet, data field be represented the type of different data block by type, hereby it is achieved that the much information belonging to same type of message can be transmitted by a packet.
Should be understood that the data packet format shown in Fig. 4 is exemplary only, also can adopt other similar form.
In one embodiment of the invention, concrete, the first processing unit 130 configures first logic port corresponding with preset service and the second logic port that configuration one is corresponding with the physical interface of first processor.The information that preset service obtains is transmitted to the second logic port by the first logic port, to be transferred to the second processor by the physical interface of first processor.Second processing unit 140 configures threeth logic port corresponding with client and the 4th logic port that configuration one is corresponding with the physical interface of the second processor.The information that the physical interface of the second processor receives is transmitted to the 3rd logic port by the 4th logic port, to be transferred to client.
In an embodiment of the present invention, when the second processing unit 140 shuts down, or when there is abnormal restarting, second processes 20 closedown client, ports.When it recovers normal, can be re-established with the first processing unit 130 by the mode of transmission synchronization frame (sync frame) and be connected, to re-execute the process such as registration service, registered client, carry out information mutual.
Same, if the first processing unit 130 shuts down or the situations such as abnormal restarting occur, the first processing unit 130 will close corresponding service, port.When it recovers normal when the first processing unit 130, can be re-established with the second processing unit 140 by the mode of transmission synchronization frame (sync frame) and be connected, to re-execute the process such as registration service, registered client, carry out information mutual.
In the embodiment of the present invention, adopt C/S communication construction between first processor and the second processor, it is achieved sharing card information.Thus, the information sharing that gets can be given the second processing unit 140 by the first processing unit 130, can realize the instant acquisition to information of second processing unit 140.And owing to the port different for different service registrys transmits accordingly, can support to extend multiple transport layer protocol;And support to extend multiple PHYs.
Utilize above-mentioned Subscriber Identity Module information sharing scheme, it is achieved after the acquisition to Subscriber Identity Module information of second processing unit, search net registration phase:
In one embodiment of this invention, can using first user identification card as main card, the second Subscriber Identity Module is as vice card.Then when searching net registration, the first processing unit obtains the information of first user identification card, and loads the network parameter corresponding with first user identification card according to the information obtained, to register speech business and the data service of first user identification card at first network.And first processing unit also obtain the information of the second Subscriber Identity Module, and load the network parameter corresponding with the second Subscriber Identity Module according to the information obtained, with the speech business at second network registry the second Subscriber Identity Module.
The information of the second Subscriber Identity Module obtained also is sent to the second processing unit by the first processing unit.Second processing unit is according to the data service at second network registry the second Subscriber Identity Module of the information of the second Subscriber Identity Module received.
Additionally, first user identification card and/or the second Subscriber Identity Module also can be written and read operation by the second processing unit.
Referring to Fig. 5, in the communication means of this embodiment of the invention, in the information of step S51, the first processing unit acquisition first user identification card and the second Subscriber Identity Module.In step S52, the first processing unit, the information of the second Subscriber Identity Module obtained is sent to the second processing unit.In step S53, the first processing unit based on information and a 4G network service of the first user identification card obtained, carry out data service.In step S54, the second processing unit based on information and the 2nd 4G network service of the second Subscriber Identity Module received, carry out data service.
Should be understood that the second processing unit is identical with above-described embodiment 1 to the acquisition of the information of Subscriber Identity Module, do not repeat them here.And the communication means of the equally applicable this embodiment of the invention of idiographic flow of the data service of foregoing description and speech business, do not repeat them here.
The terminal of the embodiment of the present invention and communication means, mutual by between the first processing unit and the second processing unit, it is achieved supporting that two Subscriber Identity Modules all reside in 4G network, available two 4G passages carry out the concurrent transmission of data service, improve efficiency of transmission;Additionally, when carrying out data traffic transmission, speech business transmission also can be carried out, improve Consumer's Experience;On the other hand, two Subscriber Identity Modules are managed by the first processing unit, can improve the efficiency of management.And first adopt C/S communication construction between processing unit and the second processing unit, it is achieved sharing information.Thus, the information sharing that gets is given the second processing unit by the first processing unit availability data interface, it may be achieved the instant acquisition to information of second processing unit, saves cost.And owing to the port different for different service registrys transmits accordingly, can support to extend multiple transport layer protocol and PHY.
In the above embodiment of the present invention, a 4G network and the 2nd 4G network can be LTE network, or other type of 4G network.In the front and continued embodiment of the present invention, a 4G network and the 2nd 4G network can be the heterogeneous networks of different operators, or are the identical or different network of same operator.
In the embodiment of the present invention, terminal may be configured to arbitrarily mobile, the portable calculating or the communication equipment that are connected with network, for instance cellular device.Such as, terminal 100 can be cell phone (mobile phone), navigation system, computing equipment, photographing unit, PDA, musical instruments, game station or the handheld device with wireless connection capability.
In an embodiment of the present invention, if being not particularly illustrated, " multiple " refer to two or more.In describing the invention, it is to be understood that term " first ", " second " etc. only for descriptive purposes, and it is not intended that instruction or hint relative importance.
Any process in flow chart or in an embodiment of the present invention described otherwise above or method describe and are construed as, represent and include one or more module for the code of the executable instruction of the step that realizes specific logical function or process, fragment or part, and the scope of embodiment of the present invention includes other realization, wherein can not press order that is shown or that discuss, including according to involved function by basic mode simultaneously or in the opposite order, perform function, this should be understood by those skilled in the art described in embodiments of the invention.
For illustrative purposes, description above employs specific term, to provide thorough understanding of the present invention.It will be apparent, however, to one skilled in the art, that be not required to concrete details to put into practice the present invention.The described above of specific embodiments of the invention is to present for purposes of illustration and description.They are not intended to detailed or limit the invention to disclosed precise forms.In view of religious doctrine above, many modifications and variations are possible.These embodiments are illustrate and described, so that others skilled in the art can utilize the present invention best and have the various embodiments of the various amendments being suitable to intended specific use in order to explain principles of the invention and practical application thereof best.It is intended to the scope of the present invention limited by following claims and its equivalent.