CN103561414B - terminal and multi-channel data transmission method - Google Patents
terminal and multi-channel data transmission method Download PDFInfo
- Publication number
- CN103561414B CN103561414B CN201310435881.5A CN201310435881A CN103561414B CN 103561414 B CN103561414 B CN 103561414B CN 201310435881 A CN201310435881 A CN 201310435881A CN 103561414 B CN103561414 B CN 103561414B
- Authority
- CN
- China
- Prior art keywords
- communication module
- task
- data
- terminal
- cube computation
- 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.)
- Active
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a kind of terminal, comprising: restriction removes unit, for removing instruction according to the restriction received, the object code in amendment connection manager, the restriction only allowing a communication module to there is data cube computation synchronization removes; Communication module allocation units, for when recognizing at least one task initiation transfer of data in described terminal, for every task in described at least one task distributes corresponding communication module respectively in described multiple communication module; Transmission control unit, carries out transfer of data for controlling described every task respectively by corresponding communication module.The application also proposed a kind of multi-channel data transmission method.By the technical scheme of the application, multiple communication module in terminal can be made to carry out transfer of data simultaneously, improve data transmission bauds when terminal is executed the task, under breaking through synchronization, a communication module can only be had to carry out the bottleneck of transfer of data.
Description
Technical field
The present invention relates to technical field of data transmission, in particular to a kind of terminal and a kind of multi-channel data transmission method.
Background technology
The conventional method of existing handset processes data cube computation is, can only be there is a data cube computation business of blocking in the same time, such as A is stuck in data cube computation in mobile phone, when another card will set up data service connection, such as B card will set up data cube computation, then must disconnect the data cube computation of A card.Although many APN technology allows to there is multiple data cube computation simultaneously, but these data cube computation are also all based upon on a card, and many APN must be supported by Modem, and the upper limit of data transmission bauds of a card, total upper limit of transmission speed when generally simultaneously carrying out transfer of data lower than multiple cards.
Along with popularizing gradually of Internet cell phone, user's various online demand is also in continuous increase, and the requirement for data transmission bauds is also more and more higher.Existing scheme of carrying out transfer of data by a card can not play the ability of multi-card multi-standby type in data processing completely, use browser when browsing larger webpage or carrying out downloading compared with large files, another card can only be in idle state can not carry out web page browsing or download simultaneously, cause very large waste, considerable restraint is caused to data transmission bauds.
Therefore, need a kind of new data transmission technology, multiple communication module in terminal can be made simultaneously to carry out transfer of data, improve data transmission bauds when terminal is executed the task, under breaking through synchronization, a communication module can only be had to carry out the bottleneck of transfer of data.
Summary of the invention
The present invention is just based on the problems referred to above, propose a kind of data transmission technology, multiple communication module in terminal can be made simultaneously to carry out transfer of data, improve data transmission bauds when terminal is executed the task, under breaking through synchronization, a communication module can only be had to carry out the bottleneck of transfer of data.
In view of this, the present invention proposes a kind of terminal, comprising: restriction removes unit, for removing instruction according to the restriction received, the object code in amendment connection manager, the restriction only allowing a communication module to there is data cube computation synchronization removes; Communication module allocation units, for when recognizing at least one task initiation transfer of data in described terminal, for every task in described at least one task distributes corresponding communication module respectively in described multiple communication module; Transmission control unit, carries out transfer of data for controlling described every task respectively by corresponding communication module.
In this technical scheme, there is synchronization in existing terminal only allows a communication module to there is the restriction of data cube computation, this restriction can be revised by connection manager, allow the data cube computation of multiple communication module to exist simultaneously, make multiple communication module can carry out transfer of data simultaneously, thus the multi-task is in the terminal when initiating transfer of data, it can be every corresponding communication module of task matching, make the multi-task can carry out transfer of data respectively by corresponding communication module, and carry out transfer of data without the need to queuing up singly, play the data transmission capabilities of Multi-card multi-standby terminal fully, drastically increase the data transmission bauds of terminal.
In technique scheme, preferably, described communication module allocation units comprise: judgment sub-unit, for judging whether the quantity of task in described at least one task is greater than the quantity of communication module in described multiple communication module; Distribute subelement, for judging to be greater than in described judgment sub-unit, according to the selection instruction received, the communication module in described multiple communication module selected by the task matching chosen in described at least one task; And when described judgment sub-unit judges to be not more than, for every task in described at least one task distributes corresponding communication module respectively in described multiple communication module, and close the data cube computation of unappropriated communication module in described multiple communication module.
In this technical scheme, when the multi-task initiates transfer of data simultaneously, if the quantity of task is greater than the quantity of communication module in terminal, the task corresponding with the quantity of communication module can only be allowed so to the full extent to carry out transfer of data simultaneously, therefore option can be provided for user in this case, which priority of task is selected to carry out transfer of data for user, and select the communication module of carrying out transmission operation accordingly, the unselected task of user then puts into waiting list, until there is idle communication module, transfer of data is carried out under again the data transmission service coming the most front task in queue being put into this communication module.
If the quantity of task is less than or equal to the quantity of communication module, so can carry out transfer of data for every task matching communication module, thus realize multiple communication module and carry out transfer of data simultaneously.Certainly, when only having a task to carry out transfer of data, then can be used for user to select a communication module to complete the data transmission service of this task.
In technique scheme, preferably, described transmission control unit comprises: connection establishment subelement, sets up corresponding data cube computation respectively for controlling corresponding communication module; Information transmission subelement, for transferring to the task corresponding to corresponding communication module respectively by the information of corresponding data cube computation; Controlling subelement, carrying out transfer of data according to the information of corresponding data cube computation respectively for controlling described every task.
In this technical scheme, after carrying out deal with data transport service for every corresponding communication module of task matching, the communication module of distributing sets up data cube computation, and generate the information of corresponding data cube computation, such as IP address and dns resolution address etc., then the information of data cube computation is returned corresponding of task by communication module, task then carries out transfer of data according to the information of data cube computation, such as carry out transfer of data according to IP address, the IP route of each communication module does not interfere with each other, and carries out transfer of data simultaneously.
In technique scheme, preferably, also comprise: switch element, according to the switch command received, control specify communication module to open in described multiple communication module or close data transmission service, and judge whether to there is at least one working communication module of opening described data transmission service, and when judging not exist display reminding information, wherein, described communication module allocation units, when described switch element it is determined that the presence of, are that every task in described at least one task distributes corresponding communication module respectively at least one working communication module described.
In this technical scheme, a switch element can be set in the terminal, wherein comprise the switch of the data transmission service corresponding to each communication module, open or close the data-transformation facility of each communication module, if the data transmission service of all communication modules is all closed, then display reminding information, the data cube computation of each communication module of prompting user disconnects, if there is at least one communication module to open data transmission service, then from this at least one communication module for task matching carries out the communication module of transfer of data.
In above-mentioned arbitrary technical scheme, preferably, also comprising: detecting unit, for detecting the utilization rate of corresponding communication module, and showing described utilization rate.
In this technical scheme, can when multiple communication module carries out transfer of data simultaneously, detect the utilization rate of each communication module, so that user understands the current service condition of each communication module, and then when occurring that new task initiates transfer of data, the lower communication module of choice for use rate can carry out transfer of data, to improve data transmission bauds.
The invention allows for a kind of multi-channel data transmission method, for having the terminal of multiple communication module, comprise: step 202, described terminal removes instruction according to the restriction received, object code in amendment connection manager, the restriction only allowing a communication module to there is data cube computation synchronization removes; Step 204, when in described terminal, at least one task initiates transfer of data, for every task in described at least one task distributes corresponding communication module respectively in described multiple communication module; Step 206, controls described every task and carries out transfer of data respectively by corresponding communication module.
In this technical scheme, there is synchronization in existing terminal only allows a communication module to there is the restriction of data cube computation, this restriction can be revised by connection manager, allow the data cube computation of multiple communication module to exist simultaneously, make multiple communication module can carry out transfer of data simultaneously, thus the multi-task is in the terminal when initiating transfer of data, it can be every corresponding communication module of task matching, make the multi-task can carry out transfer of data respectively by corresponding communication module, and carry out transfer of data without the need to queuing up singly, play the data transmission capabilities of Multi-card multi-standby terminal fully, drastically increase the data transmission bauds of terminal.
In technique scheme, preferably, described step 204 comprises: step 2042, judge whether the quantity of task in described at least one task is greater than the quantity of communication module in described multiple communication module, if be greater than, then enters step 2044, if be not more than, then enter step 2046; Described step 2044, according to the selection instruction received, the communication module in described multiple communication module selected by the task matching chosen in described at least one task, described in the task of choosing carry out transfer of data respectively by corresponding communication module; Described step 2046, for every task in described at least one task distributes corresponding communication module respectively in described multiple communication module, described every task carries out transfer of data respectively by corresponding communication module, and closes the data cube computation of unappropriated communication module in described multiple communication module.
In this technical scheme, when the multi-task initiates transfer of data simultaneously, if the quantity of task is greater than the quantity of communication module in terminal, the task corresponding with the quantity of communication module can only be allowed so to the full extent to carry out transfer of data simultaneously, therefore option can be provided for user in this case, which priority of task is selected to carry out transfer of data for user, and select the communication module of carrying out transmission operation accordingly, the unselected task of user then puts into waiting list, until there is idle communication module, transfer of data is carried out under again the data transmission service coming the most front task in queue being put into this communication module.
If the quantity of task is less than or equal to the quantity of communication module, so can carry out transfer of data for every task matching communication module, thus realize multiple communication module and carry out transfer of data simultaneously.Certainly, when only having a task to carry out transfer of data, then can be used for user to select a communication module to complete the data transmission service of this task.
In technique scheme, preferably, described step 206 comprises: step 2062, controls corresponding communication module and sets up corresponding data cube computation respectively, the information of corresponding data cube computation is transferred to the task corresponding to corresponding communication module respectively; Step 2064, controls described every task and carries out transfer of data according to the information of corresponding data cube computation respectively.
In this technical scheme, after carrying out deal with data transport service for every corresponding communication module of task matching, the communication module of distributing sets up data cube computation, and generate the information of corresponding data cube computation, such as IP address and dns resolution address etc., then the information of data cube computation is returned corresponding of task by communication module, task then carries out transfer of data according to the information of data cube computation, such as carry out transfer of data according to IP address, the IP route of each communication module does not interfere with each other, and carries out transfer of data simultaneously.
In technique scheme, preferably, also comprised before described step 204: according to the switch command received, control specify communication module to open in described multiple communication module or close data transmission service, and judge whether to there is at least one working communication module of opening described data transmission service, if exist, then described step 204 comprises, for every task in described at least one task distributes corresponding communication module respectively at least one working communication module described, if do not exist, then display reminding information.
In this technical scheme, the switch that one controls the data transmission service of this communication module can be set for each communication module, open or close the data-transformation facility of each communication module, if the data transmission service of all communication modules is all closed, then display reminding information, the data cube computation of each communication module of prompting user disconnects, if there is at least one communication module to open data transmission service, then from this at least one communication module for task matching carries out the communication module of transfer of data.
In above-mentioned arbitrary technical scheme, preferably, also comprise: the utilization rate detecting corresponding communication module, and show described utilization rate.
In this technical scheme, can when multiple communication module carries out transfer of data simultaneously, detect the utilization rate of each communication module, so that user understands the current service condition of each communication module, and then when occurring that new task initiates transfer of data, the lower communication module of choice for use rate can carry out transfer of data, to improve data transmission bauds.
By above technical scheme, multiple communication module in terminal can be made to carry out transfer of data simultaneously, improve the data transmission capabilities of terminal, under breaking through synchronization, a communication module can only be had to carry out the bottleneck of transfer of data.
Accompanying drawing explanation
Fig. 1 shows the block diagram of terminal according to an embodiment of the invention;
Fig. 2 shows the flow chart of multi-channel data transmission method according to an embodiment of the invention;
Fig. 3 shows the particular flow sheet of transfer of data according to an embodiment of the invention;
Fig. 4 A shows in correlation technique the switch junctions composition controlling communication module data transmission service;
Fig. 4 B shows the switch junctions composition controlling communication module data transmission service according to an embodiment of the invention.
Embodiment
In order to more clearly understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that, when not conflicting, the feature in the embodiment of the application and embodiment can combine mutually.
Set forth a lot of detail in the following description so that fully understand the present invention; but; the present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention is not by the restriction of following public specific embodiment.
Fig. 1 shows the block diagram of terminal according to an embodiment of the invention.
As shown in Figure 1, terminal 100 comprises according to an embodiment of the invention: restriction removes unit 102, for removing instruction according to the restriction received, the object code in amendment connection manager, the restriction only allowing a communication module to there is data cube computation synchronization removes; Communication module allocation units 104, for when recognizing at least one task initiation transfer of data in described terminal 100, for every task in described at least one task distributes corresponding communication module respectively in described multiple communication module; Transmission control unit 106, carries out transfer of data for controlling described every task respectively by corresponding communication module.
There is synchronization in existing terminal only allows a communication module to there is the restriction of data cube computation, in connection manager code DataConnectionTracker.java in such as android system, DataConnectionTracker class can derive two examples, manages the data cube computation of two cards respectively.The restriction can setting up a multi-channel data transmission in the terminal or the control switch lifted restrictions, facilitate terminal use whether start the multi-channel data transmission of terminal and return single-channel data transfers at multi-channel data function on.
SIM card 1 and SIM card 2 is there is in such as terminal, so when SIM card 1 has existed data cube computation, SIM card 2 will initiate data cube computation, field a: default_data_network in the database of connection manager can be revised, it is that SIM card 1 or SIM card 2 allow to connect that this field is used for mark, this field is modified and can notifies SIM card 1, after SIM card 1 detects that this field has been modified to card SIM2 permission connection, automatically the data cube computation of self can be disconnected, in this case, when there is data cube computation in SIM card 1, in terminal, the multi-task initiates data transmission service, such as initiate song to download and game download two business, so these two business all will carry out transfer of data by the data cube computation of SIM card 1, the business of preferential execution can preferentially use the data cube computation of SIM card 1 to carry out transfer of data, the medium pending data of thread pool that another business then puts into SIM card 1 connects idle, just transfer of data can be carried out, namely connection manager ensures that synchronization only allows a data cube computation to exist by the way.
This restriction can be revised by connection manager, namely DataConnectionTracker.java code is revised, after SIM card 1 and SIM card 2 receive code revision message, when there is data cube computation in SIM card 1, SIM card 2 will initiate data cube computation, then SIM card 1 does not disconnect its data connection, realize the data cube computation of SIM card 2 simultaneously, namely allow the data cube computation of multiple communication module to exist simultaneously, make multiple communication module can carry out transfer of data simultaneously, thus the multi-task in terminal 100 is when initiating transfer of data, it can be every corresponding communication module of task matching, make the multi-task can carry out transfer of data respectively by corresponding communication module, and carry out transfer of data without the need to queuing up singly, play the data transmission capabilities of Multi-card multi-standby terminal 100 fully, drastically increase the data transmission bauds of terminal 100.
Such as upper example, suppose that the highest speed of download of SIM card 1 and SIM card 2 is all 200kb/s, when after the download of initiation song and game download two business, SIM card 1 can be distributed to game downloading service, SIM card 2 is distributed to song downloading service, then carry out transfer of data simultaneously, particularly, first user clicks game and downloads, then SIM card 1 is selected to carry out game downloading service, click song again to download, now detect that SIM card 1 is carrying out transfer of data, then set up new data cube computation (if there is data cube computation, directly using) by SIM card 2 and carry out song download, because two cards carry out transfer of data simultaneously, the overall speed of download of terminal is made to reach 400kb/s, drastically increase the data transmission bauds of terminal, for user brings downloading experience at a high speed.
Preferably, described communication module allocation units 104 comprise: judgment sub-unit 1042, for judging whether the quantity of task in described at least one task is greater than the quantity of communication module in described multiple communication module; Distribute subelement 1044, for judging to be greater than in described judgment sub-unit 1042, according to the selection instruction received, the communication module in described multiple communication module selected by the task matching chosen in described at least one task; And when described judgment sub-unit 1042 judges to be not more than, for every task in described at least one task distributes corresponding communication module respectively in described multiple communication module, and close the data cube computation of unappropriated communication module in described multiple communication module.
When the multi-task initiates transfer of data simultaneously, if the quantity of task is greater than the quantity of communication module in terminal, the task corresponding with the quantity of communication module can only be allowed so to the full extent to carry out transfer of data simultaneously, therefore option can be provided for user in this case, which priority of task is selected to carry out transfer of data for user, and select the communication module of carrying out transmission operation accordingly, the unselected task of user then puts into waiting list, until there is idle communication module, transfer of data is carried out under again the data transmission service coming the most front task in queue being put into this communication module.
Only there are two communication modules in such as terminal 100, SIM card 1 and SIM card 2, when 3 tasks (refer to here that temporal interval is very little simultaneously, in fact sequencing can be there is) when initiating transfer of data, 2 are greater than through judgement 3, be then user's Show Options, select wherein two preferentially to carry out transfer of data for user, the thread pool that the surplus next one then puts into terminal 100 waits for that the data cube computation of SIM card 1 or SIM card 2 is idle.
If the quantity of task is less than or equal to the quantity of communication module, so can carry out transfer of data for every task matching communication module, thus realize multiple communication module and carry out transfer of data simultaneously.Certainly, when only having a task to carry out transfer of data, then can be used for user to select a communication module to complete the data transmission service of this task.If there is the communication module of built vertical data cube computation, and be not assigned with for carrying out transfer of data, then can close the data cube computation of this communication module, to reduce power consumption and the heating of terminal 100.
Preferably, described transmission control unit 106 comprises: connection establishment subelement 1062, sets up corresponding data cube computation respectively for controlling corresponding communication module; Information transmission subelement 1064, for transferring to the task corresponding to corresponding communication module respectively by the information of corresponding data cube computation; Controlling subelement 1066, carrying out transfer of data according to the information of corresponding data cube computation respectively for controlling described every task.
After carrying out deal with data transport service for every corresponding communication module of task matching, the communication module of distributing sets up data cube computation, and generate the information of corresponding data cube computation, such as IP address and dns resolution address etc., then the information of data cube computation is returned corresponding of task by communication module, task then carries out transfer of data according to the information of data cube computation, such as carry out transfer of data according to IP address, the IP route of each communication module does not interfere with each other, carry out transfer of data, terminal 100 safeguards two cover IP route tables simultaneously simultaneously.
Preferably, also comprise: switch element 108, according to the switch command received, control specify communication module to open in described multiple communication module or close data transmission service, and judge whether to there is at least one working communication module of opening described data transmission service, and when judging not exist display reminding information, wherein, described communication module allocation units 104, when described switch element 108 it is determined that the presence of, are that every task in described at least one task distributes corresponding communication module respectively at least one working communication module described.
Can a switch element 108 be set in terminal 100, wherein comprise the switch of the data transmission service corresponding to each communication module, open or close the data-transformation facility of each communication module, if the data transmission service of all communication modules is all closed, then display reminding information, the data cube computation of each communication module of prompting user disconnects, if there is at least one communication module to open data transmission service, then from this at least one communication module for task matching carries out the communication module of transfer of data.
Preferably, also comprising: detecting unit 110, for detecting the utilization rate of corresponding communication module, and showing described utilization rate.
Can when multiple communication module carries out transfer of data simultaneously, detect the utilization rate of each communication module, so that user understands the current service condition of each communication module, and then when occurring that new task initiates transfer of data, the lower communication module of choice for use rate can carry out transfer of data, to improve data transmission bauds.
Fig. 2 shows the flow chart of multi-channel data transmission method according to an embodiment of the invention.
As shown in Figure 2, multi-channel data transmission method comprises according to an embodiment of the invention: step 202, terminal removes instruction according to the restriction received, the object code in amendment connection manager, and the restriction only allowing a communication module to there is data cube computation synchronization removes; Step 204, when in described terminal, at least one task initiates transfer of data, for every task in described at least one task distributes corresponding communication module respectively in described multiple communication module; Step 206, controls described every task and carries out transfer of data respectively by corresponding communication module.
There is synchronization in existing terminal only allows a communication module to there is the restriction of data cube computation, in connection manager code DataConnectionTracker.java in such as android system, DataConnectionTracker class can derive two examples, manages the data cube computation of two cards respectively.
SIM card 1 and SIM card 2 is there is in such as terminal, so when SIM card 1 has existed data cube computation, SIM card 2 will initiate data cube computation, field a: default_data_network in the database of connection manager can be revised, it is that SIM card 1 or SIM card 2 allow to connect that this field is used for mark, this field is modified and can notifies SIM card 1, after SIM card 1 detects that this field has been modified to card SIM2 permission connection, automatically the data cube computation of self can be disconnected, in this case, when there is data cube computation in SIM card 1, in terminal, the multi-task initiates data transmission service, such as initiate song to download and game download two business, so these two business all will carry out transfer of data by the data cube computation of SIM card 1, the business of preferential execution can preferentially use the data cube computation of SIM card 1 to carry out transfer of data, the medium pending data of thread pool that another business then puts into SIM card 1 connects idle, just transfer of data can be carried out, namely connection manager ensures that synchronization only allows a data cube computation to exist by the way.
This restriction can be revised by connection manager, namely DataConnectionTracker.java code is revised, after SIM card 1 and SIM card 2 receive code revision message, when there is data cube computation in SIM card 1, SIM card 2 will initiate data cube computation, then SIM card 1 does not disconnect its data connection, realize the data cube computation of SIM card 2 simultaneously, namely allow the data cube computation of multiple communication module to exist simultaneously, make multiple communication module can carry out transfer of data simultaneously, thus the multi-task is in the terminal when initiating transfer of data, it can be every corresponding communication module of task matching, make the multi-task can carry out transfer of data respectively by corresponding communication module, and carry out transfer of data without the need to queuing up singly, play the data transmission capabilities of Multi-card multi-standby terminal fully, drastically increase the data transmission bauds of terminal.
Such as upper example, suppose that the highest speed of download of SIM card 1 and SIM card 2 is all 200kb/s, when after the download of initiation song and game download two business, SIM card 1 can be distributed to game downloading service, SIM card 2 is distributed to song downloading service, then carry out transfer of data simultaneously, particularly, first user clicks game and downloads, then SIM card 1 is selected to carry out game downloading service, then click song to download, now detect that SIM card 1 is carrying out transfer of data, then set up new data cube computation (if there is data cube computation, directly using) by SIM card 2 and carry out song download, because two cards carry out transfer of data simultaneously, the overall speed of download of terminal is made to reach 400kb/s, drastically increase the data transmission bauds of terminal, for user brings downloading experience at a high speed.
Preferably, described step 204 comprises: step 2042, judges whether the quantity of task in described at least one task is greater than the quantity of communication module in described multiple communication module, if be greater than, then enters step 2044, if be not more than, then enters step 2046; Described step 2044, according to the selection instruction received, the communication module in described multiple communication module selected by the task matching chosen in described at least one task, described in the task of choosing carry out transfer of data respectively by corresponding communication module; Described step 2046, for every task in described at least one task distributes corresponding communication module respectively in described multiple communication module, described every task carries out transfer of data respectively by corresponding communication module, and closes the data cube computation of unappropriated communication module in described multiple communication module.
When the multi-task initiates transfer of data simultaneously, if the quantity of task is greater than the quantity of communication module in terminal, the task corresponding with the quantity of communication module can only be allowed so to the full extent to carry out transfer of data simultaneously, therefore option can be provided for user in this case, which priority of task is selected to carry out transfer of data for user, and select the communication module of carrying out transmission operation accordingly, the unselected task of user then puts into waiting list, until there is idle communication module, transfer of data is carried out under again the data transmission service coming the most front task in queue being put into this communication module.
Only there are two communication modules in such as terminal, SIM card 1 and SIM card 2, when 3 tasks (refer to here that temporal interval is very little simultaneously, in fact sequencing can be there is) when initiating transfer of data, 2 are greater than through judgement 3, be then user's Show Options, select wherein two preferentially to carry out transfer of data for user, the thread pool that the surplus next one then puts into terminal waits for that the data cube computation of SIM card 1 or SIM card 2 is idle.
If the quantity of task is less than or equal to the quantity of communication module, so can carry out transfer of data for every task matching communication module, thus realize multiple communication module and carry out transfer of data simultaneously.Certainly, when only having a task to carry out transfer of data, then can be used for user to select a communication module to complete the data transmission service of this task.If there is the communication module of built vertical data cube computation, and be not assigned with for carrying out transfer of data, then can close the data cube computation of this communication module, to reduce power consumption and the heating of terminal.
Preferably, described step 206 comprises: step 2062, controls corresponding communication module and sets up corresponding data cube computation respectively, the information of corresponding data cube computation is transferred to the task corresponding to corresponding communication module respectively; Step 2064, controls described every task and carries out transfer of data according to the information of corresponding data cube computation respectively.
After carrying out deal with data transport service for every corresponding communication module of task matching, the communication module of distributing sets up data cube computation, and generate the information of corresponding data cube computation, such as IP address and dns resolution address etc., then the information of data cube computation is returned corresponding of task by communication module, task then carries out transfer of data according to the information of data cube computation, such as carry out transfer of data according to IP address, the IP route of each communication module does not interfere with each other, carry out transfer of data, terminal safeguards two cover IP route tables simultaneously simultaneously.
Preferably, also comprised before described step 204: according to the switch command received, control specify communication module to open in described multiple communication module or close data transmission service, and judge whether to there is at least one working communication module of opening described data transmission service, if exist, then described step 204 comprises, for every task in described at least one task distributes corresponding communication module respectively at least one working communication module described, if do not exist, then display reminding information.
The switch that one controls the data transmission service of this communication module can be set for each communication module, open or close the data-transformation facility of each communication module, if the data transmission service of all communication modules is all closed, then display reminding information, the data cube computation of each communication module of prompting user disconnects, if there is at least one communication module to open data transmission service, then from this at least one communication module for task matching carries out the communication module of transfer of data.
Preferably, also comprise: the utilization rate detecting corresponding communication module, and show described utilization rate.
Can when multiple communication module carries out transfer of data simultaneously, detect the utilization rate of each communication module, so that user understands the current service condition of each communication module, and then when occurring that new task initiates transfer of data, the lower communication module of choice for use rate can carry out transfer of data, to improve data transmission bauds.
The multichannel that said process can expand to many cards and Wifi is concurrent, and Wifi is also equivalent to a communication module, can carry out transfer of data by wireless network.
Fig. 3 shows the particular flow sheet of transfer of data according to an embodiment of the invention.
As shown in Figure 3, for the terminal 100 of existence two SIM card, when user uses a task to carry out transfer of data, the flow process that terminal 100 carries out transfer of data can comprise:
Step 302, a task in terminal 100 initiates transfer of data;
Step 304, whether the SIM card 1 detected in two SIM cards exists data cube computation, if do not exist, then enters step 312, if exist, then enters step 306;
Step 306, whether the SIM card 2 detected in two SIM cards exists data cube computation, if exist, then enters step 308, if do not exist, then enters step 318;
Step 308, prompting user selects a SIM card to carry out transfer of data;
Step 310, after user selects a SIM card, such as chooses SIM card 1, then the information such as the IP address of the data cube computation of SIM card 1 are sent to above-mentioned task, makes task carry out transfer of data according to information such as the IP addresses received;
Step 312, detects SIM card 2 and whether there is data cube computation, if exist, then enter step 314, if do not exist, then enter step 316;
Step 314, is sent to above-mentioned task by information such as the data cube computation IP addresses of SIM card 2, makes task carry out transfer of data (now SIM card 1 is without data cube computation, and SIM card 2 has data cube computation) according to information such as the IP addresses received;
Step 316, prompting user is current without data cube computation;
Step 318, is sent to above-mentioned task by information such as the IP addresses of the data cube computation of SIM card 1, makes task carry out transfer of data (now SIM card 2 is without data cube computation, and SIM card 1 has data cube computation) according to information such as the IP addresses received.
It should be noted that, the multichannel that said process can expand to many cards and Wifi is concurrent, and Wifi is also equivalent to a communication module, can carry out transfer of data by wireless network.
Fig. 4 A shows in correlation technique the switch junctions composition controlling communication module data transmission service.
As shown in Figure 4 A, in existing terminal 400, only has a switch 402 to control On/Off data transmission service, data transmission service is there is due to a card can only be had under synchronization in existing terminal 400, so for the terminal that there is SIM card 1 and SIM card 2, when there is data transmission service in terminal 400, may be only that SIM card 1 exists data transmission service, or there is data transmission service in SIM card 2, when switch 402 closes, then terminal 400 carries out transfer of data by SIM card 1 or SIM card 2, when switch 402 disconnects, then be disconnected the data transmission service of arbitrary card in two cards, thus be disconnected the data transmission service of terminal 400.
Fig. 4 B shows the switch junctions composition controlling communication module data transmission service according to an embodiment of the invention.
As shown in Figure 4 B, for the terminal 100 of existence two communication modules (SIM card 1 and SIM card 2), switch element 108 wherein can comprise two switches corresponding respectively to SIM card 1 and SIM card 2, i.e. the first switch 1082 and second switch 1084, when the first switch 1082 closes, then the data transmission service of SIM card 1 is opened, when the first switch 1082 disconnects, then the data transmission service of SIM card 1 is closed, in like manner, along with the closed and disconnected of second switch 1084, the data transmission service of SIM card 2 also correspondingly opens and closes.
User can close the first switch 1082 and second switch 1084 simultaneously, thus use SIM card 1 and SIM card 2 to carry out transfer of data simultaneously, to make full use of the transfer of data advantage of multimode terminal, only can certainly close the first switch 1082 or second switch 1084, thus only carry out transfer of data by a communication module, if disconnect the first switch 1082 and second switch 1084 simultaneously, then terminal 100 cannot carry out transfer of data, display reminding information prompting user.
For the terminal comprising more communication modules, such as comprise the terminal of three SIM cards or Wifi, then can adjust the quantity of switch element 108 breaker in middle as required, thus realize the control to each communication module.
More than be described with reference to the accompanying drawings technical scheme of the present invention, consider in correlation technique, multimode terminal is when deal with data business, transfer of data can only be carried out by a card, transfer of data cannot carried out by multiple cards simultaneously, cause the communication module that there is idle state, cause very large waste.By the technical scheme of the application, multiple communication module in terminal can be made to carry out transfer of data simultaneously, improve data transmission bauds when terminal is executed the task, under breaking through synchronization, a communication module can only be had to carry out the bottleneck of transfer of data.
In the present invention, term " first ", " second " only for describing object, and can not be interpreted as instruction or hint relative importance.Term " multiple " refers to two or more, unless otherwise clear and definite restriction.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (8)
1. a terminal, is characterized in that, comprising:
Restriction removes unit, and for removing instruction according to the restriction received, the restriction only allowing a communication module to there is data cube computation synchronization removes;
Communication module allocation units, for when recognizing at least one task initiation transfer of data in described terminal, for each task in described at least one task distributes corresponding communication module respectively in described multiple communication module;
Transmission control unit, carries out transfer of data for controlling described each task respectively by corresponding communication module;
Described communication module allocation units comprise:
Judgment sub-unit, for judging whether the quantity of task in described at least one task is greater than the quantity of communication module in described multiple communication module;
Distribute subelement, for judging to be greater than in described judgment sub-unit, according to the selection instruction received, the communication module in described multiple communication module selected by the task matching chosen in described at least one task; And when described judgment sub-unit judges to be not more than, for each task in described at least one task distributes corresponding communication module respectively in described multiple communication module, and close the data cube computation of unappropriated communication module in described multiple communication module.
2. terminal according to claim 1, is characterized in that, described transmission control unit comprises:
Connection establishment subelement, sets up corresponding data cube computation respectively for controlling corresponding communication module;
Information transmission subelement, for transferring to the task corresponding to corresponding communication module respectively by the information of corresponding data cube computation;
Controlling subelement, carrying out transfer of data according to the information of corresponding data cube computation respectively for controlling described each task.
3. terminal according to claim 1, is characterized in that, also comprises:
Switch element, according to the switch command received, control specify communication module to open in described multiple communication module or close data transmission service, and judge whether to there is at least one working communication module of opening described data transmission service, and when judging not exist display reminding information
Wherein, described communication module allocation units, when described switch element it is determined that the presence of, are that each task in described at least one task distributes corresponding communication module respectively at least one working communication module described.
4. terminal according to any one of claim 1 to 3, is characterized in that, also comprises:
Detecting unit, for detecting the utilization rate of corresponding communication module, and shows described utilization rate.
5. a multi-channel data transmission method, for having the terminal of multiple communication module, is characterized in that, comprising:
Step 202, described terminal removes instruction according to the restriction received, and the restriction only allowing a communication module to there is data cube computation synchronization removes;
Step 204, when in described terminal, at least one task initiates transfer of data, for each task in described at least one task distributes corresponding communication module respectively in described multiple communication module;
Step 206, controls described each task and carries out transfer of data respectively by corresponding communication module;
Described step 204 comprises:
Step 2042, judges whether the quantity of task in described at least one task is greater than the quantity of communication module in described multiple communication module, if be greater than, then enters step 2044, if be not more than, then enters step 2046;
Described step 2044, according to the selection instruction received, the communication module in described multiple communication module selected by the task matching chosen in described at least one task, described in the task of choosing carry out transfer of data respectively by corresponding communication module;
Described step 2046, for each task in described at least one task distributes corresponding communication module respectively in described multiple communication module, described each task carries out transfer of data respectively by corresponding communication module, and closes the data cube computation of unappropriated communication module in described multiple communication module.
6. multi-channel data transmission method according to claim 5, is characterized in that, described step 206 comprises:
Step 2062, controls corresponding communication module and sets up corresponding data cube computation respectively, the information of corresponding data cube computation is transferred to the task corresponding to corresponding communication module respectively;
Step 2064, controls described each task and carries out transfer of data according to the information of corresponding data cube computation respectively.
7. multi-channel data transmission method according to claim 5, it is characterized in that, also comprised before described step 204: according to the switch command received, control specify communication module to open in described multiple communication module or close data transmission service, and judge whether to there is at least one working communication module of opening described data transmission service, if exist, then described step 204 comprises, for each task in described at least one task distributes corresponding communication module respectively at least one working communication module described, if do not exist, then display reminding information.
8. the multi-channel data transmission method according to any one of claim 5 to 7, is characterized in that, also comprises: the utilization rate detecting corresponding communication module, and shows described utilization rate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310435881.5A CN103561414B (en) | 2013-09-23 | 2013-09-23 | terminal and multi-channel data transmission method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310435881.5A CN103561414B (en) | 2013-09-23 | 2013-09-23 | terminal and multi-channel data transmission method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103561414A CN103561414A (en) | 2014-02-05 |
CN103561414B true CN103561414B (en) | 2015-11-04 |
Family
ID=50015532
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310435881.5A Active CN103561414B (en) | 2013-09-23 | 2013-09-23 | terminal and multi-channel data transmission method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103561414B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015123817A1 (en) * | 2014-02-19 | 2015-08-27 | 宇龙计算机通信科技(深圳)有限公司 | Network data channel allocation method and allocation device, and terminal |
CN104333455B (en) * | 2014-11-26 | 2018-03-13 | 连山管控(北京)信息技术有限公司 | A kind of smart mobile phone secret signalling and method |
CN104683452B (en) * | 2015-02-09 | 2018-11-06 | 深圳酷派技术有限公司 | A kind of data download method, server and multisystem mobile terminal |
AU2015385613B2 (en) | 2015-03-12 | 2018-11-15 | Honor Device Co., Ltd. | Data transmission method, data transmission apparatus, processor, and mobile terminal |
CN105577775A (en) * | 2015-12-17 | 2016-05-11 | 小米科技有限责任公司 | Dual-channel downloading method and device |
CN105722246B (en) * | 2016-01-29 | 2020-08-07 | 南京博雅区块链研究院有限公司 | Network speed superposition device and method |
CN105722247B (en) * | 2016-01-29 | 2020-09-01 | 努比亚技术有限公司 | Network speed superposition device and method |
CN105759937B (en) * | 2016-02-03 | 2020-07-28 | 努比亚技术有限公司 | Method for reducing power consumption of terminal and terminal |
CN110575119A (en) * | 2019-09-12 | 2019-12-17 | 安翰科技(武汉)股份有限公司 | Control method and control system of capsule endoscope based on multiple radio frequency modules |
CN112990911B (en) * | 2021-02-08 | 2024-05-28 | 北京智芯微电子科技有限公司 | Ash lock transaction method and security chip |
CN112925751B (en) * | 2021-02-20 | 2022-08-16 | 浙江大华技术股份有限公司 | Multi-channel application processing method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101635978A (en) * | 2009-05-31 | 2010-01-27 | 南京中兴特种软件有限责任公司 | Multimode multiplexing wireless video route signal transmission method |
CN101715209A (en) * | 2009-11-11 | 2010-05-26 | 中兴通讯股份有限公司 | Method and system for multilink transmission data |
CN103281797A (en) * | 2013-05-22 | 2013-09-04 | 青岛海信移动通信技术股份有限公司 | Mobile terminal and method of transmitting business data by same |
-
2013
- 2013-09-23 CN CN201310435881.5A patent/CN103561414B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101635978A (en) * | 2009-05-31 | 2010-01-27 | 南京中兴特种软件有限责任公司 | Multimode multiplexing wireless video route signal transmission method |
CN101715209A (en) * | 2009-11-11 | 2010-05-26 | 中兴通讯股份有限公司 | Method and system for multilink transmission data |
CN103281797A (en) * | 2013-05-22 | 2013-09-04 | 青岛海信移动通信技术股份有限公司 | Mobile terminal and method of transmitting business data by same |
Also Published As
Publication number | Publication date |
---|---|
CN103561414A (en) | 2014-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103561414B (en) | terminal and multi-channel data transmission method | |
US10135923B2 (en) | Data transfer method and system | |
CN101325769B (en) | Terminal and method for automatically switching network channel | |
CN104219653A (en) | Method and device for controlling double-card Internet access | |
CN101335945A (en) | Method and apparatus for wall paper switching | |
CN107529208A (en) | A kind of multi-mode terminal service processing method and processing device, multimode terminal | |
CN102883449A (en) | Method, related terminals and system for implementing data sharing | |
CN102722551A (en) | Intelligent switching method and system for browser kernels | |
CN102014021A (en) | Method and device for controlling connection/disconnection of data link | |
CN102223735A (en) | Method and equipment for multi-baseband chips to share and access smart card | |
CN103024192A (en) | Festival wallpaper switching method of cellphone | |
CN109617959A (en) | A kind of data load method, device, system and storage medium | |
CN104954855A (en) | Intelligent television control method based on Android system | |
CN104093220B (en) | The mobile terminal and its implementation of a kind of dual system | |
CN103914713A (en) | Method of modifying application type of smart card, smart terminal, service platform and system | |
CN102868819A (en) | Method and device for processing communication service of public account | |
CN106060280B (en) | Data service management method, device and terminal | |
CN102118878A (en) | Device and method for wireless routing | |
CN106793063A (en) | The control method and device of data attachment | |
CN110536389A (en) | Method and device for reducing power consumption of terminal equipment and terminal equipment | |
CN105138107A (en) | Mobile terminal downloading method and device and mobile terminal | |
CN102300183A (en) | Method and device for protecting data service | |
CN105227414A (en) | Multi-user's binding method of smart machine under privately owned cloud environment | |
CN105099836A (en) | BLE intelligent node control method and system | |
CN101212472B (en) | Method for enabling mobile terminals to establish a plurality of point-to-point connections |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |