WO2016188078A1 - Method and apparatus for networking subscriber identity module - Google Patents
Method and apparatus for networking subscriber identity module Download PDFInfo
- Publication number
- WO2016188078A1 WO2016188078A1 PCT/CN2015/096229 CN2015096229W WO2016188078A1 WO 2016188078 A1 WO2016188078 A1 WO 2016188078A1 CN 2015096229 W CN2015096229 W CN 2015096229W WO 2016188078 A1 WO2016188078 A1 WO 2016188078A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- speed
- terminal
- networking
- size relationship
- speed threshold
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/10—Flow control between communication endpoints
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/18—Negotiating wireless communication parameters
- H04W28/22—Negotiating communication rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
Definitions
- the present invention relates to the field of communications, and in particular to a method and apparatus for networked processing of an identification card.
- the Blade S6 project is the focus of the Asia-Pacific Operations Department's 2015 boutique project.
- the project is the first mobile phone supported by the Asia-Pacific Operations Department to support the full self-research support for dual 4G cards.
- the project is also the world's first fully self-developed mobile phone. Andoird 5.0 mobile phones, with the rapid development of 4G mobile networks, terminals that support dual 4G cards can be foreseen to grow in an explosive manner.
- Dual SIM Dual Standby means that the phone can insert two mobile phone cards and can stand by at the same time.
- GSM Global System for Mobile Communication
- CDMA Code Division Multiple Access
- Dual-card dual-standby mobile phones can generally be set to the following situations: 1. Only the Subscriber Identity Module (SIM) 1 card is open; 2, only the SIM2 card is open; 3, the dual card is open.
- SIM Subscriber Identity Module
- With dual-card dual-standby mobile phones some users do not need to hold two mobile phones in their hands. It is simple and convenient.
- the dual-card dual-standby generation greatly facilitates the business people going back and forth, and greatly reduces the communication cost. .
- an embodiment of the present invention provides a network processing method and apparatus for an identity identification card.
- a method for network processing of an identity card including: detecting, by a terminal, a first networking speed of a first identity card in the terminal; When the first speed threshold corresponding to the identity card is reached, the terminal reduces the current networking speed of the terminal from the first networking speed to the first speed threshold by using a preset rule.
- the terminal further includes a second identity card
- the second identity card is configured with The second speed threshold
- the method further includes: the terminal selecting, from the first identity card and the second identity card, an identity card used by the terminal to be currently connected according to a combination of at least the following conditions a first size relationship between the first networking speed and the first speed threshold, a second second networked speed of the detected second identification card of the terminal, and a second size of the second speed threshold a relationship, a third size relationship of the first networking speed and the second networking speed, a fourth size relationship of the first speed threshold and the second speed threshold.
- the terminal selects, according to the first size relationship, the second size relationship, and the third size relationship, an identity identification card used by the terminal to be currently connected to the network, including: a size relationship indicates that the first networking speed is less than the first speed threshold, and the second size relationship indicates that the second networking speed is less than the second speed threshold, the terminal according to the third size relationship Determining a larger networking speed of the first networking speed and the second networking speed, and using an identity card corresponding to the larger networking speed as an identity card used by the terminal to be currently connected to the network.
- the terminal selects an identity identification card used by the terminal to be currently connected according to the first size relationship, the second size relationship, the third size relationship, and the fourth size relationship, including:
- the first size relationship indicates that the first networking speed is greater than the first speed threshold
- the second size relationship indicates that the second networking speed is less than the second speed threshold
- the fourth relationship indicator is
- the terminal determines a larger networking speed of the first networking speed and the second networking speed according to the third size relationship, and the larger The identification card corresponding to the networking speed is used as the identification card used by the terminal for networking;
- the first size relationship indicates that the first networking speed is less than the first speed threshold
- the second size relationship indicates that the second networking speed is greater than the second speed threshold
- the fourth relationship indication When the first speed threshold is greater than the second speed threshold, the terminal determines a larger networking speed of the first networking speed and the second networking speed according to the third size relationship, and compares the comparison
- the identification card corresponding to the large networking speed serves as the identification card used by the terminal for current networking.
- the terminal selects, according to the first size relationship, the second size relationship, and the fourth size relationship, an identity identification card used by the terminal to be currently connected to the network, including:
- the terminal When the first size relationship indicates that the first networking speed is greater than the first speed threshold, and the second size relationship indicates that the second networking speed is less than the second speed threshold, the terminal is configured according to the The fourth size relationship determines a larger speed threshold of the first speed threshold and the second speed threshold, and uses an identity card corresponding to the larger speed threshold as an identity card used by the terminal to be currently connected to the network. .
- the method further includes: indicating, in the first size relationship, that the first networking speed is greater than the first speed threshold, and the second size relationship indicating that the second networking speed is greater than
- the terminal limits, by using the preset rule, the networking speed of the identity card currently used by the terminal to a speed threshold corresponding to the networking speed, where the terminal currently uses the identity identification.
- the networking speed of the card includes: the first networking speed, the second networking speed, and the speed threshold comprises: the first speed threshold, the second speed threshold.
- the method further includes: the terminal according to the second The second network speed corresponding to the identification card And a fifth size relationship of the first speed threshold and the second identification card from the first identity card and the second identity card to select an identity card used by the terminal to be currently connected to the network.
- the terminal selects an identity identification card used by the terminal to be currently connected to the network, including: indicating, in the fifth size relationship, that the second networking speed is greater than the first a speed threshold, the second identification card corresponding to the second networking speed is selected as the identity identification card used by the terminal to be currently connected to the network; and the fifth size relationship indicates that the second networking speed is less than the first a speed threshold, the terminal reduces a current networking speed of the terminal from the first networking speed to the first speed threshold by using a preset rule, and selects the first identity card as the terminal current The identification card used for networking.
- the preset rule when the networking speed is a networking speed of downloading data by the terminal, the preset rule includes: the terminal delays a data request to be sent, where the data request is used for The terminal requests to download data.
- the V represents a networking speed of the currently used identity card of the terminal
- the A represents a pre-configured unit networking time
- the M represents a speed threshold corresponding to the networking speed; the terminal according to the determined The delay time delays the data request.
- the preset rule when the networking speed includes: a networking speed of the terminal downloading data and a networking speed of the terminal uploading data, the preset rule includes: the terminal sleeping one or more applications Wherein the application is selected from an application currently being networked by the terminal.
- the preset rule includes: the terminal receiving the instruction information sent by the network side device, where the instruction information is used to indicate that the terminal connects the identity identification card currently used by the terminal
- the speed limit is the speed threshold
- the networking speed of the identity card currently used by the terminal comprises: the first networking speed, the second networking speed
- the speed threshold comprises: the first speed threshold The second speed threshold.
- the command information further includes: a speed limit period and a speed limit release information, wherein the speed limit period is used to indicate that the terminal is in a speed limit state during the speed limit period, and the releasing The speed limit information is used to indicate that the terminal releases the speed limit state.
- a networked processing device for an identification card which is applied to a terminal, comprising: a detecting module, configured to detect a first networking speed of the first identity card in the terminal; and a limiting module, When the first networking speed is greater than a first speed threshold corresponding to the first identity card, reducing a current networking speed of the terminal from the first networking speed to the first by a preset rule Speed threshold.
- the limiting module when the networking speed is a networking speed of downloading data by the terminal, includes: a delay unit, configured to delay a data request to be sent, where the data request is Requesting downloading data for the terminal.
- the limiting module when the networking speed includes: a networking speed of the terminal downloading data and a networking speed of the terminal uploading data, the limiting module includes: a sleeping unit, configured to sleep one or more applications A program, wherein the application is selected from an application currently being networked by the terminal.
- the limiting module further includes: a receiving unit, configured to receive instruction information sent by the network side device, where the instruction information is used to indicate that the terminal uses the identity identification card currently used by the terminal
- the networking speed is limited to the speed threshold.
- the terminal when the networking speed of the identity identification card currently used by the terminal exceeds the speed threshold, the terminal can flexibly limit the current networking speed to the speed threshold through the terminal side configuration, which solves the related art and cannot be based on the terminal side.
- the configuration and adjustments to limit the current networking speed of the ID card greatly enhance the user experience.
- FIG. 1 is a flowchart of a method for processing a network of an identification card according to an embodiment of the present invention
- FIG. 2 is a flow chart of SIM card switching according to an embodiment of the present invention.
- FIG. 3 is a flow chart of download speed limit according to an embodiment of the present invention.
- FIG. 4 is a flow chart of a speed limit according to an embodiment of the present invention.
- FIG. 5 is a flow rate limit process of a server according to an embodiment of the present invention.
- FIG. 6 is a flowchart of a server releasing a speed limit according to an embodiment of the present invention.
- FIG. 7 is a structural block diagram of a networked processing apparatus for an identification card according to an embodiment of the present invention.
- FIG. 8 is another structural block diagram of a networked processing apparatus for an identification card according to an embodiment of the present invention.
- FIG. 9 is a structural block diagram of a restriction module 72 in a networked processing device of an identification card according to an embodiment of the present invention.
- FIG. 10 is a structural block diagram of a terminal system according to an embodiment of the present invention.
- FIG. 1 is a flowchart of a method for processing a network of an identification card according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
- Step S102 The terminal detects a first networking speed of the first identity identification card in the terminal.
- Step S104 When the first networking speed is greater than the first speed threshold corresponding to the first identity card, the terminal reduces the current networking speed of the terminal from the first networking speed to the first speed threshold by using a preset rule.
- the terminal can flexibly limit the current networking speed to the speed threshold through the terminal side configuration, which solves the related art and cannot be based on the terminal side.
- the problem of configuration and adjustment to limit the current networking speed of the identification card greatly improves the user experience.
- the technical solution of the embodiment of the present invention is preferably applied in the field of 4G.
- the above steps S102-S104 focus on the case where the terminal has only one SIM card. In the actual application process, some terminals often include another identification card. At this time, in the process of network processing based on the identity card, The above methods also include:
- the terminal selects, from the first identity card and the second identity card, an identity card used by the terminal to be currently connected according to a combination of at least the following conditions: a first size relationship between the first networking speed and the first speed threshold, and the detected terminal a second size relationship of the second networking speed of the second identity card and a second speed threshold corresponding to the second identity card, a third size relationship of the first networking speed and the second networking speed, a first speed threshold, and a The fourth size relationship of the second speed threshold.
- the terminal selects an identity card used by the terminal from the first identity card and the second identity card to be currently connected by using the following process:
- the first size relationship indicates that the first networking speed is less than the first speed threshold
- the second size relationship indicates that the second networking speed is less than the second speed threshold
- the third size relationship indicates that the first networking speed is greater than the second networking speed
- selecting the first a first identification card corresponding to a network speed is used as an identity card used by the terminal for networking
- the first size relationship indicates that the first networking speed is less than the first speed threshold
- the second size relationship indicates that the second networking speed is less than the second speed
- the second identity card corresponding to the second networking speed is selected as the identity card used by the terminal for current networking.
- the speed threshold and the second speed threshold are selected, and then the identification card corresponding to the maximum speed of the networking among the two identification cards is selected as the identity card currently used by the terminal.
- the first size relationship indicates that the first networking speed is greater than the first speed threshold
- the second size relationship indicates that the second networking speed is less than the second speed threshold
- the fourth relationship indicates that the first speed threshold is less than the second speed threshold
- the third The size relationship indicates that the first networking speed is greater than the second networking speed, and the first identification card corresponding to the first networking speed is selected as the identity identification card used by the terminal to be currently connected to the network
- the first size relationship indicates that the first networking speed is greater than the first speed threshold
- the second size relationship indicates that the second networking speed is less than the second speed threshold
- the fourth relationship indicates that the first speed threshold is less than the second speed threshold
- the third The size relationship indicates that the first networking speed is less than the second networking speed, and then selecting the second identity card corresponding to the second networking speed as the identity card used by the terminal to be currently connected to the network
- the first size relationship indicates that the first networking speed is less than the first speed threshold
- the second size relationship indicates that the second networking speed is greater than the second speed threshold
- the fourth relationship indicates that the first speed threshold is greater than the second speed threshold
- the third The size relationship indicates that the first networking speed is greater than the second networking speed
- the first identification card corresponding to the first networking speed is selected as the identity identification card used by the terminal to be currently connected to the network
- the first size relationship indicates that the first networking speed is less than the first speed threshold
- the second size relationship indicates that the second networking speed is greater than the second speed threshold
- the fourth relationship indicates that the first speed threshold is greater than the second speed threshold
- the third The size relationship indicates that the first networking speed is less than the second networking speed
- the second identification card corresponding to the second networking speed is selected as the identity identification card used by the terminal for current networking.
- the identity identification card used by the terminal to be currently connected to the network from the first identity card and the second identity card, which may be implemented by using the following technical solutions:
- the identity identification card used by the terminal to be currently connected to the network from the first identity card and the second identity card including:
- the first size relationship indicates that the first networking speed is greater than the first speed threshold
- the second size relationship indicates that the second networking speed is less than the second speed threshold
- the fourth size relationship indicates that the first speed threshold is greater than the second speed threshold
- the network speed is limited to the first speed threshold, and the first identity card is selected as the identity card used by the terminal to be currently connected to the network;
- the first size relationship indicates that the first networking speed is less than the first speed threshold
- the second size relationship indicates that the second networking speed is greater than the second speed threshold
- the fourth size relationship indicates that the first speed threshold is less than the second speed threshold
- the second networking speed is limited to the second speed threshold, and the second identification card is selected as the identity card used by the terminal for current networking.
- the first networking speed and the second networking speed are both greater than the network limited speed, regardless of whether the first identity card or the second identity is currently used.
- the identification card is limited to the network-limited speed.
- the terminal selects, according to the second network connection speed corresponding to the second identity card and the fifth size relationship of the first speed threshold, the identity identification card used by the terminal to be currently connected to the network from the first identity card and the second identity card.
- the terminal selects the identity identification card used by the terminal according to the fifth size relationship by using the following technical solution: when the fifth size relationship indicates that the second networking speed is greater than the first speed threshold, selecting the second The second identification card corresponding to the networking speed is used as the identification card used by the terminal for the current networking; when the fifth size relationship indicates that the second networking speed is less than the first speed threshold, the terminal uses the preset rule to set the current networking speed of the terminal from the first A networking speed is reduced to a first speed threshold, and the first identification card is selected as the identity card used by the terminal for current networking.
- the identity card can be understood as a SIM card.
- FIG. 2 is a flow chart of SIM card switching according to an embodiment of the present invention. This figure is applicable to both the current SIM card 1 and the card 2, and the current networked SIM card is used as the card 1 as an example to illustrate the flow.
- Step S202 when the terminal uses the data network, that is, the SIM card 1 starts to be networked;
- Step S204 the terminal starts to periodically detect the networking speed of the current SIM card 1 and test the speed of the SIM card 2;
- Step S206 it is determined whether the networking speed of the SIM card 1 is greater than the networked speed limit value, if yes, then go to step S208, if not, then go to step S212;
- Step S208 it is determined whether the network connection speed of the SIM card 2 is greater than the networked speed limit value, if yes, then go to step S210, if not, then go to step S204;
- Step S210 performing a speed limit operation
- Step S212 it is determined whether the networking speed of the SIM card 1 is greater than the networking speed of the SIM card 2, and if so, then proceeds to step S214, if not, then proceeds to step S216;
- Step S214 the SIM card 1 is networked
- Step S216 the SIM card 2 is networked.
- the preset rules mentioned in the foregoing embodiments may be illustrated by the following examples (specifically corresponding to the technical solutions of FIG. 3 to FIG. 6).
- the technical solution of the following example can be understood as a technical solution for limiting the networking speed of the current identification card to the speed threshold corresponding to the identification card through the setting on the terminal side.
- the above A represents a pre-configured unit networking time, the above M represents the networked speed limit; the data request is delayed according to the determined delay time, that is, the terminal delays sending the data request to be sent next time, thereby lowering the current The purpose of networking speed.
- FIG. 3 is a flow chart of download speed limit according to an embodiment of the present invention.
- the download is an application sent by the client to the server, and which segment of data is required, and the server returns this segment. come back. If you are not limited to speed, you will continue to send the next application after the successful return. If the speed limit is limited, you can delay the time before sending the next request. You can use the following process:
- Step S302 detecting a current networking speed
- Step S304 after detecting the current speed, calculate a time delay required to reach the speed limit value, and within a time delay period, the network application request issued by each program in the storage terminal is sent out after the delay time is reached.
- the instruction, wherein the time calculation method of the delay is: (current networking speed * unit networking time) / maximum speed limit value, the unit networking time can be set according to specific conditions, such as 1 s;
- Step S306 it is determined whether the delay time is reached, if not, then go to step S308, and if yes, go to step S310;
- step S310 the SIM card 2 is networked.
- the method when the networking speed of the terminal downloading data and the networking speed of the terminal uploading data, that is, the method is preferably applied to the process of downloading data by the terminal or uploading data by the terminal, and sleeping one or more applications, wherein the application is from the above
- the terminal is currently selected among the networked applications.
- the terminal can also sleep one by one, for example, the application that is the fastest to network the network, and then the program that is the second fastest to sleep, and so on, until the network limit is reached. speed.
- FIG. 4 is a flow rate limit flow chart according to an embodiment of the present invention, and the process is applicable to uploading or downloading speed limit.
- the speed limit analyze the program of the current maximum networking speed, and then calculate the sleep time of the program according to the difference between the networking speed and the maximum value, and the calculation method is the same as the delay time above. If it is not enough to sleep a networked program (for example, a networked application such as QQ or WeChat), then sleep the second and third fastest applications at the network speed until the speed limit is met.
- a networked program for example, a networked application such as QQ or WeChat
- Step S402 detecting a current networking speed
- Step S404 analyzing the program with the highest networking speed
- Step S406 calculating a sleep time
- Step S408 whether the sleep time is reached, if yes, go to step S410, if no, go to step S408;
- step S410 the current program is restored.
- the speed limit process can be implemented by using the network side device or the assistance of the operator, and can be implemented by: receiving instruction information sent by the network side device, where the foregoing The instruction information is used to instruct the terminal to limit the networking speed of the identity card currently used by the terminal to the network connection speed limit.
- the server (a type of device on the network side) sends a speed limit short message to the user by means of a short message. If the user releases the speed limit through various channels, the server will also send the release speed limit short message to the user by means of a short message.
- Short message types can be classified into various types according to actual conditions, such as starting speed limit, preparing speed limit, releasing speed limit, and purchasing traffic packets.
- the short message may also include a secondary speed limit period definition, and the terminal is in a speed limit state during the period. When the speed limit period is exceeded, the speed limit is automatically released.
- the command information further includes: a speed limit period and a speed limit release information, wherein the speed limit period is used to indicate that the terminal is in a speed limit state during the speed limit period, and the release speed limit information is used to indicate The terminal releases the speed limit state.
- FIG. 5 is a flow rate limiting process of the server according to the embodiment of the present invention. It should be noted that the instruction information in the foregoing embodiment may be understood as a short message in the embodiment of the present invention, which may be implemented by the following steps:
- Step S502 the terminal receives the speed limit short message.
- Step S504 after receiving the speed limit short message, the terminal parses the speed limit short message, including whether the short message type is a speed limit short message or a speed limit short message, a speed limit period, and the like;
- Step S506 it is determined whether the terminal is within the speed limit period, if yes, then go to step S510, if not, then go to step S508;
- Step S508 maintaining the status quo, if the date of the terminal is not within the speed limit period, maintaining the current speed limit state of the terminal, and continuing to use the identity card currently used by the terminal;
- Step S510 it is determined whether the short message is a contact speed limit end message, if yes, then go to step S512, if not, then go to step S514;
- Step S512 if the speed limit short message is cancelled, the speed limit state is released;
- step S514 the speed limit operation is cancelled.
- FIG. 6 is a flowchart of a server releasing a rate limit according to an embodiment of the present invention, which may be specifically implemented by the following steps:
- Step S602 starting to cancel the speed limit
- Step S604 after the user cancels the speed limit action, the user can start to interact with the server of the local office, and can perform HTTP interaction with the special server of the office, and can purchase, call, etc. through the designated website or APP of the local party. Release the speed limit.
- Means for releasing the speed limit include but are not limited to the above means;
- Step S606 it is determined whether the speed limit release is successful, if not, then go to step S608, and if yes, go to step S610;
- Step S608 performing a speed limit operation
- Step S610 after the speed limit is successfully cancelled, the local server sends a short speed limit message, and the speed limit process ends.
- step S612 the speed limit operation is cancelled.
- the embodiments of the present invention provide a method for supporting dual 4G card adaptive data rate limiting for an increasingly mature dual 4G mobile terminal technology.
- the method realizes that when the data network speed that the user is using is too fast, the automatic speed limit is limited to the maximum limit of the user, which helps the user to save the Internet traffic; when the user speed does not reach the maximum value, the SIM card with the fastest networking speed is automatically selected. Can provide a better mobile Internet experience.
- FIG. 7 is a structural block diagram of a networked processing apparatus for an identification card according to an embodiment of the present invention. As shown in Figure 7, the device includes:
- the detecting module 70 is configured to detect a first networking speed of the first identity card in the terminal;
- the limiting module 72 is connected to the detecting module 70, and is configured to: when the first networking speed is greater than the first speed threshold corresponding to the first identity card, the terminal reduces the current networking speed of the terminal from the first networking speed to a preset rule to First speed threshold.
- the terminal can flexibly limit the current networking speed to the speed threshold through the terminal side configuration, which solves the related art and cannot be based on
- the configuration and adjustment of the terminal side to limit the current networking speed of the identity card greatly improves the user experience.
- the technical solution of the embodiment of the present invention is preferably applied in the field of 4G.
- FIG. 8 is another structural block diagram of a networked processing device for an identification card according to an embodiment of the present invention.
- the device further includes a second identity card at the terminal, and the second identity card is provided with a
- the second speed threshold further includes: a first selection module 74 configured to select from the first identity card and the second identity card according to a combination of at least the following conditions Selecting an identification card used by the terminal for current networking: a first size relationship between the first networking speed and the first speed threshold, a second networking speed of the detected second identification card of the terminal, and a second identification card a second magnitude relationship of the second speed threshold, a third magnitude relationship of the first networking speed and the second networking speed, a fourth magnitude relationship of the first speed threshold and the second speed threshold.
- the device when the terminal further includes a second identity card, and the second identity card is not provided with the second speed threshold, the device further includes: a second selection module 76, configured to correspond to the second identity card
- the fifth size relationship between the second networking speed and the first speed threshold selects, from the first identity card and the second identity card, an identity card used by the terminal to be currently connected to the network.
- the second selection module 76 is further configured to: when the fifth size relationship indicates that the second networking speed is greater than the first speed threshold, select the second identity card corresponding to the second networking speed as the identity used by the terminal to be currently connected to the network. Identifying the card; when the fifth size relationship indicates that the second networking speed is less than the first speed threshold, the terminal reduces the current networking speed of the terminal from the first networking speed to the first speed threshold by using a preset rule, and selects the first identification card As the identity card used by the terminal for current networking.
- the first selection module 74 includes:
- the first selecting unit 740 is configured to determine, according to the third size relationship, the first networking speed, when the first size relationship indicates that the first networking speed is less than the first speed threshold, and the second size relationship indicates that the second networking speed is less than the second speed threshold And the second networking speed of the second networking speed, and the identification card corresponding to the larger networking speed is used as the identity card used by the terminal for the current networking; the first selection module 74 may further include:
- the second selecting unit 742 is configured to indicate that the first networking speed is greater than the first speed threshold, the second size relationship indicates that the second networking speed is less than the second speed threshold, and the fourth relationship indicates that the first speed threshold is less than the first
- the second speed threshold determines a larger networking speed of the first networking speed and the second networking speed according to the third size relationship, and uses the identity card corresponding to the larger networking speed as the identity card used by the terminal for current networking. ;
- the third selecting unit 744 is configured to indicate that the first networking speed is smaller than the first speed threshold, the second size relationship indicates that the second networking speed is greater than the second speed threshold, and the fourth relationship indicates that the first speed threshold is greater than the first
- the second speed threshold determines a larger networking speed of the first networking speed and the second networking speed according to the third size relationship, and uses the identity card corresponding to the larger networking speed as the identity card used by the terminal for current networking.
- the first selecting module 74 may further include: a fourth selecting unit 746, configured to indicate, in the first size relationship, that the first networking speed is greater than the first speed threshold, and the second size relationship indicates that the second networking speed is less than the second And determining, by the fourth size relationship, a larger speed threshold of the first speed threshold and the second speed threshold, and using the identity card corresponding to the larger speed threshold as the identity card used by the terminal for networking.
- a fourth selecting unit 746 configured to indicate, in the first size relationship, that the first networking speed is greater than the first speed threshold, and the second size relationship indicates that the second networking speed is less than the second
- the limiting module 72 is further configured to: when the first size relationship indicates that the first networking speed is greater than the first speed threshold, and the second size relationship indicates that the second networking speed is greater than the second speed threshold,
- the networking speed of the identity card currently used by the terminal is limited to a speed threshold corresponding to the networking speed, wherein the networking speed of the identity card currently used by the terminal includes: a first networking speed, a second networking speed, and the speed threshold includes: First speed threshold, Second speed threshold.
- FIG. 9 is a structural block diagram of a restriction module in a networked processing device of an identification card according to an embodiment of the present invention.
- the restriction module 72 includes:
- the limiting module 72 is further configured to: when the networking speed is the networking speed of the terminal downloading data, the delay unit 720 is configured to delay the data request to be sent, wherein the data request is used to request downloading data for the terminal, and the delay unit 720.
- A represents a pre-configured unit networking time
- M represents a networked speed limit
- a delay sub-unit 7202 is set to delay data requests according to the determined delay time.
- the limiting module 72 further includes: a sleeping unit 722 configured to sleep one or more applications, wherein the application slave terminal currently Select from a networked application.
- the limiting module 72 may further include: a receiving unit 724, configured to receive instruction information sent by the network side device, where the command information is used to instruct the terminal to limit the networking speed of the identity card currently used by the terminal to The speed limit of the network, wherein the command information further includes: a speed limit period and a speed limit release, wherein the speed limit period is used to indicate that the terminal is in a speed limit state during the speed limit period, and the speed limit is released to indicate that the terminal releases the speed limit state.
- the device for selecting the identity card provided by the embodiment of the present invention is located in the terminal.
- the terminal system organization may include: a terminal supporting a dual SIM card slot, a SIM card, and an internet management module.
- the upper limit of the Internet speed can be set for two cards. You can set the speed threshold for uploading and downloading separately, or you can set only the total speed threshold.
- the operation of the selection device of the above identification card can be roughly understood as: when the terminal uses the data network, when the user initiates a data session request using the data network of the SIM card 1, the terminal periodically detects the networking speed of the current SIM card 1, and The speed of networking of SIM card 2, including upload and download speed. If the current speed does not exceed the upper limit set by the user, the fastest card is automatically selected to access the Internet. At this time, if the speed of the SIM card 2 is fast, the system automatically switches the networked data to the SIM card 2, otherwise the networked data is kept at the current SIM card 1. After the automatic switching succeeds, the detection continues and the fastest speed SIM card networking action is automatically selected. Until the end of the network.
- This situation is also applicable to the initial use of the SIM card 2 for networking; when the terminal uses the data network, when the user uses the SIM card 1 for networking, if the current networking speed exceeds the maximum value set by the user, and the speed is also greater than the SIM.
- the card 2 When the card 2 is connected to the speed, it enters the speed limit state.
- the terminal automatically reduces the networking speed of the SIM card 1 to the maximum limit value. If the current networking speed exceeds the maximum limit value of the SIM card 1 and is less than the networking speed of the SIM card 2, and the SIM card 2 does not reach the maximum limit value, the system automatically switches to the SIM card 2.
- the speed limit or the automatic switching succeeds. After that, the system maintains a state of periodic detection and switching or speed limit until the network is over. This situation also applies to the initial use of SIM card 2 for networking.
- the embodiment of the present invention achieves the following technical effects: in the related art, in the field of 4G communication, it is impossible to flexibly switch between two identification cards according to the current networking situation of the terminal, in the field of 4G communication. Provides an adaptive method for switching identity cards, which saves traffic and enhances the user experience.
- a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
- modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
- the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
- the invention is not limited to any specific combination of hardware and software.
- the foregoing technical solution provided by the present invention can be applied to the networked processing process of the identity identification card.
- the terminal When the networking speed of the identity identification card currently used by the terminal exceeds the speed threshold, the terminal can flexibly limit the current networking speed through the configuration of the terminal side.
- the speed threshold As the speed threshold, the problem of the current networking speed of the identification card cannot be restricted according to the configuration and adjustment of the terminal side in the related art.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a method and apparatus for networking a subscriber identity module. The method comprises: a terminal detects a first networking speed of a first subscriber identity module in the terminal (S102); and the terminal reduces, when the first networking speed is larger than a first speed threshold corresponding to the first subscriber identity module, a current networking speed of the terminal from the first networking speed to the first speed threshold by means of a pre-set rule (S104). The above technical solution solves the problem of impossibility in limitation on a current networking speed of a subscriber identity module according to the configuration and adjustment of a terminal side, and greatly improves the user experience.
Description
本发明涉及通信领域,具体而言,涉及一种身份识别卡的联网处理方法及装置。The present invention relates to the field of communications, and in particular to a method and apparatus for networked processing of an identification card.
Blade S6项目是亚太经营部2015年的精品机重点项目,该项目是亚太经营部实现发货的首款支持全自研支持双4G卡的手机,该项目亦是高通全球首款全自研上市的Andoird 5.0的手机,随着4G移动网络的快速发展,支持双4G卡的终端可以预见将会以爆炸式的方式增长。The Blade S6 project is the focus of the Asia-Pacific Operations Department's 2015 boutique project. The project is the first mobile phone supported by the Asia-Pacific Operations Department to support the full self-research support for dual 4G cards. The project is also the world's first fully self-developed mobile phone. Andoird 5.0 mobile phones, with the rapid development of 4G mobile networks, terminals that support dual 4G cards can be foreseen to grow in an explosive manner.
双卡双待(Dual SIM Dual Standby,简称为DSDS)是指手机可以插入两张手机卡,而且能同时待机。简单地说,消费者使用全球移动通信系统(Global System for Mobile Communication,简称为GSM)双卡双待手机,可以在一部手机上同时使用两个GSM网络的手机号,使用码分多址(Code Division Multiple Access,简称为CDMA)双卡双待手机,可以同时使用两个CDMA网络的手机号。Dual SIM Dual Standby (DSDS) means that the phone can insert two mobile phone cards and can stand by at the same time. Simply put, consumers use the Global System for Mobile Communication (GSM) dual-card dual-standby mobile phone, which can simultaneously use the mobile phone numbers of two GSM networks on one mobile phone, using code division multiple access ( Code Division Multiple Access (CDMA) is a dual-card dual-standby mobile phone that can simultaneously use the mobile phone numbers of two CDMA networks.
双卡双待手机一般可以设置为以下几种情况:1,仅用户身份识别模块(Subscriber Identity Module,简称为SIM)1卡开;2,仅SIM2卡开;3,双卡开。有了双卡双待手机,那么一些用户就不用在手里拿着两个手机了,简单而方便,双卡双待的产生极大地方便了往返各地的商务人士,并且极大地降低了通信成本。Dual-card dual-standby mobile phones can generally be set to the following situations: 1. Only the Subscriber Identity Module (SIM) 1 card is open; 2, only the SIM2 card is open; 3, the dual card is open. With dual-card dual-standby mobile phones, some users do not need to hold two mobile phones in their hands. It is simple and convenient. The dual-card dual-standby generation greatly facilitates the business people going back and forth, and greatly reduces the communication cost. .
在现有技术中,双卡双待主要是用于3G手机,而随着4G手机方案的成熟,DSDS技术在基于4G的网络基础上会有更多的应用和功能出现,一方面是因为4G网络带宽可达150M,这就给又4G技术奠定了坚实的基础,对于一个SIM卡的情况,目前技术也仅仅是通过网络侧的设置来简单限制联网速度,但是这种情况终端无法根据实际需要灵活调整限制网络速度,进而用户体验度差。In the prior art, dual card dual standby is mainly used for 3G mobile phones, and with the maturity of 4G mobile phone solutions, DSDS technology will have more applications and functions on the basis of 4G based networks, on the one hand because of 4G. The network bandwidth can reach 150M, which lays a solid foundation for 4G technology. For a SIM card, the current technology only simply limits the networking speed through the network side setting, but in this case, the terminal cannot be based on actual needs. Flexible adjustments limit network speeds, resulting in poor user experience.
针对相关技术中,无法根据终端侧的配置和调整来限制身份识别卡的当前联网速度的问题,尚未提出有效的解决方案。In the related art, the problem of the current networking speed of the identification card cannot be restricted according to the configuration and adjustment of the terminal side, and an effective solution has not been proposed.
发明内容Summary of the invention
为了解决上述技术问题,本发明实施例提供了一种身份识别卡的联网处理方法及装置。In order to solve the above technical problem, an embodiment of the present invention provides a network processing method and apparatus for an identity identification card.
根据本发明的一个实施例,提供了一种身份识别卡的联网处理方法,包括:终端检测所述终端中第一身份识别卡的第一联网速度;在所述第一联网速度大于所述第一身份识别卡对应的第一速度阈值时,所述终端通过预设规则将所述终端的当前联网速度从所述第一联网速度降低至所述第一速度阈值。According to an embodiment of the present invention, a method for network processing of an identity card is provided, including: detecting, by a terminal, a first networking speed of a first identity card in the terminal; When the first speed threshold corresponding to the identity card is reached, the terminal reduces the current networking speed of the terminal from the first networking speed to the first speed threshold by using a preset rule.
在本发明实施例中,在所述终端还包括第二身份识别卡,且所述第二身份识别卡设置有
第二速度阈值时,所述方法还包括:所述终端根据至少以下条件的组合从所述第一身份识别卡和所述第二身份识别卡中选择所述终端当前联网所使用的身份识别卡:所述第一联网速度和所述第一速度阈值的第一大小关系、检测到的所述终端的第二身份识别卡的所述第二联网速度和所述第二速度阈值的第二大小关系、所述第一联网速度和所述第二联网速度的第三大小关系、所述第一速度阈值和所述第二速度阈值的第四大小关系。In the embodiment of the present invention, the terminal further includes a second identity card, and the second identity card is configured with
The second speed threshold, the method further includes: the terminal selecting, from the first identity card and the second identity card, an identity card used by the terminal to be currently connected according to a combination of at least the following conditions a first size relationship between the first networking speed and the first speed threshold, a second second networked speed of the detected second identification card of the terminal, and a second size of the second speed threshold a relationship, a third size relationship of the first networking speed and the second networking speed, a fourth size relationship of the first speed threshold and the second speed threshold.
在本发明实施例中,所述终端根据所述第一大小关系、所述第二大小关系以及所述第三大小关系选择所述终端当前联网所使用的身份识别卡,包括:在所述第一大小关系指示所述第一联网速度小于所述第一速度阈值,所述第二大小关系指示所述第二联网速度小于所述第二速度阈值时,所述终端根据所述第三大小关系确定所述第一联网速度和所述第二联网速度中较大的联网速度,并将该较大的联网速度对应的身份识别卡作为所述终端当前联网所使用的身份识别卡。In the embodiment of the present invention, the terminal selects, according to the first size relationship, the second size relationship, and the third size relationship, an identity identification card used by the terminal to be currently connected to the network, including: a size relationship indicates that the first networking speed is less than the first speed threshold, and the second size relationship indicates that the second networking speed is less than the second speed threshold, the terminal according to the third size relationship Determining a larger networking speed of the first networking speed and the second networking speed, and using an identity card corresponding to the larger networking speed as an identity card used by the terminal to be currently connected to the network.
在本发明实施例中,所述终端根据所述第一大小关系、所述第二大小关系、第三大小关系以及第四大小关系选择所述终端当前联网所使用的身份识别卡,包括:在所述第一大小关系指示所述第一联网速度大于所述第一速度阈值,所述第二大小关系指示所述第二联网速度小于所述第二速度阈值,且所述第四关系指示所述第一速度阈值小于所述第二速度阈值时,所述终端根据所述第三大小关系确定所述第一联网速度和所述第二联网速度中较大的联网速度,并将该较大的联网速度对应的身份识别卡作为所述终端当前联网所使用的身份识别卡;In the embodiment of the present invention, the terminal selects an identity identification card used by the terminal to be currently connected according to the first size relationship, the second size relationship, the third size relationship, and the fourth size relationship, including: The first size relationship indicates that the first networking speed is greater than the first speed threshold, the second size relationship indicates that the second networking speed is less than the second speed threshold, and the fourth relationship indicator is When the first speed threshold is less than the second speed threshold, the terminal determines a larger networking speed of the first networking speed and the second networking speed according to the third size relationship, and the larger The identification card corresponding to the networking speed is used as the identification card used by the terminal for networking;
在所述第一大小关系指示所述第一联网速度小于所述第一速度阈值,所述第二大小关系指示所述第二联网速度大于所述第二速度阈值,且所述第四关系指示所述第一速度阈值大于所述第二速度阈值时,所述终端根据所述第三大小关系确定所述第一联网速度和所述第二联网速度中较大的联网速度,并将该较大的联网速度对应的身份识别卡作为所述终端当前联网所使用的身份识别卡。The first size relationship indicates that the first networking speed is less than the first speed threshold, the second size relationship indicates that the second networking speed is greater than the second speed threshold, and the fourth relationship indication When the first speed threshold is greater than the second speed threshold, the terminal determines a larger networking speed of the first networking speed and the second networking speed according to the third size relationship, and compares the comparison The identification card corresponding to the large networking speed serves as the identification card used by the terminal for current networking.
在本发明实施例中,所述终端根据所述第一大小关系、所述第二大小关系以及第四大小关系选择所述终端当前联网所使用的身份识别卡,包括:In the embodiment of the present invention, the terminal selects, according to the first size relationship, the second size relationship, and the fourth size relationship, an identity identification card used by the terminal to be currently connected to the network, including:
在所述第一大小关系指示所述第一联网速度大于所述第一速度阈值,所述第二大小关系指示所述第二联网速度小于所述第二速度阈值时,所述终端根据所述第四大小关系确定所述第一速度阈值和所述第二速度阈值中较大的速度阈值,并将该较大的速度阈值对应的身份识别卡作为所述终端当前联网所使用的身份识别卡。When the first size relationship indicates that the first networking speed is greater than the first speed threshold, and the second size relationship indicates that the second networking speed is less than the second speed threshold, the terminal is configured according to the The fourth size relationship determines a larger speed threshold of the first speed threshold and the second speed threshold, and uses an identity card corresponding to the larger speed threshold as an identity card used by the terminal to be currently connected to the network. .
在本发明实施例中,所述方法还包括:在所述第一大小关系指示所述第一联网速度大于所述第一速度阈值,所述第二大小关系指示所述第二联网速度大于所述第二速度阈值时,所述终端通过所述预设规则将所述终端当前使用的身份识别卡的联网速度限制为与该联网速度对应的速度阈值,其中,所述终端当前使用的身份识别卡的联网速度包括:所述第一联网速度、所述第二联网速度,所述速度阈值包括:所述第一速度阈值、所述第二速度阈值。In the embodiment of the present invention, the method further includes: indicating, in the first size relationship, that the first networking speed is greater than the first speed threshold, and the second size relationship indicating that the second networking speed is greater than When the second speed threshold is used, the terminal limits, by using the preset rule, the networking speed of the identity card currently used by the terminal to a speed threshold corresponding to the networking speed, where the terminal currently uses the identity identification. The networking speed of the card includes: the first networking speed, the second networking speed, and the speed threshold comprises: the first speed threshold, the second speed threshold.
在本发明实施例中,在所述终端还包括第二身份识别卡,且所述第二身份识别卡未设置有第二速度阈值时,所述方法还包括:所述终端根据所述第二身份识别卡对应的第二联网速
度和所述第一速度阈值的第五大小关系从所述第一身份识别卡和所述第二身份识别卡中选择所述终端当前联网所使用的身份识别卡。In the embodiment of the present invention, when the terminal further includes a second identity card, and the second identity card is not provided with the second speed threshold, the method further includes: the terminal according to the second The second network speed corresponding to the identification card
And a fifth size relationship of the first speed threshold and the second identification card from the first identity card and the second identity card to select an identity card used by the terminal to be currently connected to the network.
在本发明实施例中,所述终端根据所述第五大小关系选择所述终端当前联网所使用的身份识别卡,包括:在所述第五大小关系指示所述第二联网速度大于所述第一速度阈值时,选择所述第二联网速度对应的第二身份识别卡作为所述终端当前联网所使用的身份识别卡;在所述第五大小关系指示所述第二联网速度小于所述第一速度阈值时,所述终端通过预设规则将所述终端的当前联网速度从所述第一联网速度降低至所述第一速度阈值,并选择所述第一身份识别卡作为所述终端当前联网所使用的身份识别卡。In the embodiment of the present invention, the terminal, according to the fifth size relationship, selects an identity identification card used by the terminal to be currently connected to the network, including: indicating, in the fifth size relationship, that the second networking speed is greater than the first a speed threshold, the second identification card corresponding to the second networking speed is selected as the identity identification card used by the terminal to be currently connected to the network; and the fifth size relationship indicates that the second networking speed is less than the first a speed threshold, the terminal reduces a current networking speed of the terminal from the first networking speed to the first speed threshold by using a preset rule, and selects the first identity card as the terminal current The identification card used for networking.
在本发明实施例中,当所述联网速度为所述终端下载数据的联网速度时,所述预设规则包括:所述终端延时待发送的数据请求,其中,所述数据请求用于为所述终端请求下载数据。In the embodiment of the present invention, when the networking speed is a networking speed of downloading data by the terminal, the preset rule includes: the terminal delays a data request to be sent, where the data request is used for The terminal requests to download data.
在本发明实施例中,所述终端延时待发送的数据请求,包括:所述终端根据以下公式确定延时所述数据请求的延时时间T:T=(V×A)÷M,其中所述V表示所述终端的当前使用的身份识别卡的联网速度,所述A表示预先配置的单位联网时间,所述M表示所述联网速度对应的速度阈值;所述终端根据确定的所述延时时间延时所述数据请求。In the embodiment of the present invention, the terminal delays the data request to be sent, and the terminal determines, according to the following formula, a delay time T: T=(V×A)÷M, where the data request is delayed. The V represents a networking speed of the currently used identity card of the terminal, the A represents a pre-configured unit networking time, and the M represents a speed threshold corresponding to the networking speed; the terminal according to the determined The delay time delays the data request.
在本发明实施例中,当所述联网速度包括:所述终端下载数据的联网速度以及所述终端上传数据的联网速度时,所述预设规则包括:所述终端休眠一个或多个应用程序,其中,所述应用程序从所述终端当前正在联网的应用程序中选择。In the embodiment of the present invention, when the networking speed includes: a networking speed of the terminal downloading data and a networking speed of the terminal uploading data, the preset rule includes: the terminal sleeping one or more applications Wherein the application is selected from an application currently being networked by the terminal.
在本发明实施例中,所述预设规则包括:所述终端接收网络侧设备发送的指令信息,其中,所述指令信息用于指示所述终端将所述终端当前使用的身份识别卡的联网速度限制为所述速度阈值,其中,所述终端当前使用的身份识别卡的联网速度包括:所述第一联网速度、所述第二联网速度,所述速度阈值包括:所述第一速度阈值、所述第二速度阈值。In the embodiment of the present invention, the preset rule includes: the terminal receiving the instruction information sent by the network side device, where the instruction information is used to indicate that the terminal connects the identity identification card currently used by the terminal The speed limit is the speed threshold, wherein the networking speed of the identity card currently used by the terminal comprises: the first networking speed, the second networking speed, and the speed threshold comprises: the first speed threshold The second speed threshold.
在本发明实施例中,所述指令信息还包括:限速周期、解除限速信息,其中,所述限速周期用于指示所述终端在该限速周期内处于限速状态,所述解除限速信息用于指示所述终端解除限速状态。In the embodiment of the present invention, the command information further includes: a speed limit period and a speed limit release information, wherein the speed limit period is used to indicate that the terminal is in a speed limit state during the speed limit period, and the releasing The speed limit information is used to indicate that the terminal releases the speed limit state.
根据本发明的另一个实施例,还提供了一种身份识别卡的联网处理装置,应用于终端,包括:检测模块,设置为检测终端中第一身份识别卡的第一联网速度;限制模块,设置为在所述第一联网速度大于所述第一身份识别卡对应的第一速度阈值时,通过预设规则将所述终端的当前联网速度从所述第一联网速度降低至所述第一速度阈值。According to another embodiment of the present invention, there is also provided a networked processing device for an identification card, which is applied to a terminal, comprising: a detecting module, configured to detect a first networking speed of the first identity card in the terminal; and a limiting module, When the first networking speed is greater than a first speed threshold corresponding to the first identity card, reducing a current networking speed of the terminal from the first networking speed to the first by a preset rule Speed threshold.
在本发明实施例中,当所述联网速度为所述终端下载数据的联网速度时,所述限制模块包括:延时单元,设置为延时待发送的数据请求,其中,所述数据请求用于为所述终端请求下载数据。In the embodiment of the present invention, when the networking speed is a networking speed of downloading data by the terminal, the limiting module includes: a delay unit, configured to delay a data request to be sent, where the data request is Requesting downloading data for the terminal.
在本发明实施例中,所述延时单元,包括:确定子单元,设置为根据以下公式确定延时所述数据请求的延时时间T:T=(V×A)÷M,其中所述V表示所述终端的当前使用的身份识别卡的联网速度,所述A表示预先配置的单位联网时间,所述M表示所述联网速度对应的速
度阈值;延时子单元,设置为根据确定的所述延时时间延时所述数据请求。In the embodiment of the present invention, the delay unit includes: a determining subunit, configured to determine a delay time T of delaying the data request according to the following formula: T=(V×A)÷M, where V represents the networking speed of the currently used identification card of the terminal, the A represents a pre-configured unit networking time, and the M represents the speed corresponding to the networking speed
Degree threshold; a delay subunit configured to delay the data request based on the determined delay time.
在本发明实施例中,当所述联网速度包括:所述终端下载数据的联网速度以及所述终端上传数据的联网速度时,所述限制模块包括:休眠单元,设置为休眠一个或多个应用程序,其中,所述应用程序从所述终端当前正在联网的应用程序中选择。In the embodiment of the present invention, when the networking speed includes: a networking speed of the terminal downloading data and a networking speed of the terminal uploading data, the limiting module includes: a sleeping unit, configured to sleep one or more applications A program, wherein the application is selected from an application currently being networked by the terminal.
在本发明实施例中,所述限制模块还包括:接收单元,设置为接收网络侧设备发送的指令信息,其中,所述指令信息用于指示所述终端将所述终端当前使用的身份识别卡的联网速度限制为所述速度阈值。In the embodiment of the present invention, the limiting module further includes: a receiving unit, configured to receive instruction information sent by the network side device, where the instruction information is used to indicate that the terminal uses the identity identification card currently used by the terminal The networking speed is limited to the speed threshold.
通过本发明实施例,能够在终端当前使用的身份识别卡的联网速度超过了速度阈值时,终端能够通过终端侧配置灵活将当前联网速度限制为速度阈值,解决了相关技术中,无法根据终端侧的配置和调整来限制身份识别卡的当前联网速度的问题,大大提升了用户体验。According to the embodiment of the present invention, when the networking speed of the identity identification card currently used by the terminal exceeds the speed threshold, the terminal can flexibly limit the current networking speed to the speed threshold through the terminal side configuration, which solves the related art and cannot be based on the terminal side. The configuration and adjustments to limit the current networking speed of the ID card greatly enhance the user experience.
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1为根据本发明实施例的身份识别卡的联网处理方法的流程图;1 is a flowchart of a method for processing a network of an identification card according to an embodiment of the present invention;
图2为根据本发明实施例的SIM卡切换流程图;2 is a flow chart of SIM card switching according to an embodiment of the present invention;
图3为根据本发明实施例的下载限速流程图;3 is a flow chart of download speed limit according to an embodiment of the present invention;
图4为根据本发明实施例的限速流程图;4 is a flow chart of a speed limit according to an embodiment of the present invention;
图5为根据本发明实施例的服务器限速流程;FIG. 5 is a flow rate limit process of a server according to an embodiment of the present invention; FIG.
图6为根据本发明实施例的服务器解除限速流程;6 is a flowchart of a server releasing a speed limit according to an embodiment of the present invention;
图7为根据本发明实施例的身份识别卡的联网处理装置的结构框图;7 is a structural block diagram of a networked processing apparatus for an identification card according to an embodiment of the present invention;
图8为根据本发明实施例的身份识别卡的联网处理装置的另一结构框图;FIG. 8 is another structural block diagram of a networked processing apparatus for an identification card according to an embodiment of the present invention; FIG.
图9为根据本发明实施例的身份识别卡的联网处理装置中限制模块72的结构框图;FIG. 9 is a structural block diagram of a restriction module 72 in a networked processing device of an identification card according to an embodiment of the present invention;
图10为根据本发明实施例的终端系统的结构框图。FIG. 10 is a structural block diagram of a terminal system according to an embodiment of the present invention.
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利
要求书、以及附图中所特别指出的结构来实现和获得。Other features and advantages of the invention will be set forth in the description which follows, The objects and other advantages of the present invention are achieved by the written description, the rights
The requirements and structures specifically identified in the drawings are implemented and obtained.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
在本发明实施例中,还提供了一种身份识别卡的联网处理方法,图1为根据本发明实施例的身份识别卡的联网处理方法的流程图,如图1所示,包括以下步骤:In the embodiment of the present invention, a method for processing a network of identification cards is provided. FIG. 1 is a flowchart of a method for processing a network of an identification card according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
步骤S102,终端检测终端中第一身份识别卡的第一联网速度;Step S102: The terminal detects a first networking speed of the first identity identification card in the terminal.
步骤S104,在该第一联网速度大于第一身份识别卡对应的第一速度阈值时,终端通过预设规则将终端的当前联网速度从第一联网速度降低至第一速度阈值。Step S104: When the first networking speed is greater than the first speed threshold corresponding to the first identity card, the terminal reduces the current networking speed of the terminal from the first networking speed to the first speed threshold by using a preset rule.
通过上述各个步骤,能够在终端当前使用的身份识别卡的联网速度超过了速度阈值时,终端能够通过终端侧配置灵活将当前联网速度限制为速度阈值,解决了相关技术中,无法根据终端侧的配置和调整来限制身份识别卡的当前联网速度的问题,大大提升了用户体验,当然,本发明实施例的技术方案优选应用与4G领域中。Through the above steps, when the networking speed of the identity card currently used by the terminal exceeds the speed threshold, the terminal can flexibly limit the current networking speed to the speed threshold through the terminal side configuration, which solves the related art and cannot be based on the terminal side. The problem of configuration and adjustment to limit the current networking speed of the identification card greatly improves the user experience. Of course, the technical solution of the embodiment of the present invention is preferably applied in the field of 4G.
上述步骤S102-S104侧重于针对的是终端只有一个SIM卡的情况,在实际应用过程中,有的终端往往还包括另外一个身份识别卡,此时,在基于身份识别卡的联网处理过程中,上述方法还包括:The above steps S102-S104 focus on the case where the terminal has only one SIM card. In the actual application process, some terminals often include another identification card. At this time, in the process of network processing based on the identity card, The above methods also include:
终端根据至少以下条件的组合从第一身份识别卡和第二身份识别卡中选择终端当前联网所使用的身份识别卡:第一联网速度和第一速度阈值的第一大小关系、检测到的终端的第二身份识别卡的第二联网速度和第二身份识别卡对应的第二速度阈值的第二大小关系、第一联网速度和第二联网速度的第三大小关系、第一速度阈值和第二速度阈值的第四大小关系。The terminal selects, from the first identity card and the second identity card, an identity card used by the terminal to be currently connected according to a combination of at least the following conditions: a first size relationship between the first networking speed and the first speed threshold, and the detected terminal a second size relationship of the second networking speed of the second identity card and a second speed threshold corresponding to the second identity card, a third size relationship of the first networking speed and the second networking speed, a first speed threshold, and a The fourth size relationship of the second speed threshold.
可选地,针对上述身份识别卡的选择过程,实际上有很多实现方式,在本发明实施例的一个可选示例中,可以有以下几种实现方式:Optionally, there are actually many implementation manners for the selection process of the foregoing identity card. In an optional example of the embodiment of the present invention, the following implementation manners are available:
第一种实现方式First implementation
终端根据第一大小关系、第二大小关系以及第三大小关系从第一身份识别卡和上述第二身份识别卡中选择终端当前联网所使用的身份识别卡具体通过以下过程实现:The terminal, according to the first size relationship, the second size relationship, and the third size relationship, selects an identity card used by the terminal from the first identity card and the second identity card to be currently connected by using the following process:
在第一大小关系指示第一联网速度小于第一速度阈值,第二大小关系指示第二联网速度小于第二速度阈值时,如果第三大小关系指示第一联网速度大于第二联网速度,选择第一联网速度对应的第一身份识别卡作为终端当前联网所使用的身份识别卡;在第一大小关系指示第一联网速度小于第一速度阈值,第二大小关系指示第二联网速度小于第二速度阈值时,如果第三大小关系指示第一联网速度小于第二联网速度,选择第二联网速度对应的第二身份识别卡作为终端当前联网所使用的身份识别卡。When the first size relationship indicates that the first networking speed is less than the first speed threshold, and the second size relationship indicates that the second networking speed is less than the second speed threshold, if the third size relationship indicates that the first networking speed is greater than the second networking speed, selecting the first a first identification card corresponding to a network speed is used as an identity card used by the terminal for networking; the first size relationship indicates that the first networking speed is less than the first speed threshold, and the second size relationship indicates that the second networking speed is less than the second speed At the threshold, if the third size relationship indicates that the first networking speed is less than the second networking speed, the second identity card corresponding to the second networking speed is selected as the identity card used by the terminal for current networking.
总而言之,两个身份识别卡中,只要均没有超过各自对应的联网最大限速值(上述第一
速度阈值和第二速度阈值),那么就选择当前两个识别卡中联网速度最大所对应的身份识别卡作为终端当前使用的身份识别卡。In summary, in the two identification cards, as long as they do not exceed their respective networked maximum speed limit values (the first mentioned above)
The speed threshold and the second speed threshold are selected, and then the identification card corresponding to the maximum speed of the networking among the two identification cards is selected as the identity card currently used by the terminal.
第二种实现方式Second implementation
根据第一大小关系、第二大小关系、第三大小关系以及第四大小关系从第一身份识别卡和第二身份识别卡中选择上述终端当前联网所使用的身份识别卡,具体可以通过以下技术方案实现:And selecting, according to the first size relationship, the second size relationship, the third size relationship, and the fourth size relationship, the identity identification card used by the terminal to be currently connected to the network from the first identity card and the second identity card, specifically by using the following technologies Solution realization:
在第一大小关系指示第一联网速度大于第一速度阈值,第二大小关系指示第二联网速度小于第二速度阈值,且第四关系指示第一速度阈值小于第二速度阈值时,如果第三大小关系指示第一联网速度大于第二联网速度,则选择第一联网速度对应的第一身份识别卡作为终端当前联网所使用的身份识别卡;When the first size relationship indicates that the first networking speed is greater than the first speed threshold, the second size relationship indicates that the second networking speed is less than the second speed threshold, and the fourth relationship indicates that the first speed threshold is less than the second speed threshold, if the third The size relationship indicates that the first networking speed is greater than the second networking speed, and the first identification card corresponding to the first networking speed is selected as the identity identification card used by the terminal to be currently connected to the network;
在第一大小关系指示第一联网速度大于第一速度阈值,第二大小关系指示第二联网速度小于第二速度阈值,且第四关系指示第一速度阈值小于第二速度阈值时,如果第三大小关系指示第一联网速度小于第二联网速度,则选择第二联网速度对应的第二身份识别卡作为终端当前联网所使用的身份识别卡;When the first size relationship indicates that the first networking speed is greater than the first speed threshold, the second size relationship indicates that the second networking speed is less than the second speed threshold, and the fourth relationship indicates that the first speed threshold is less than the second speed threshold, if the third The size relationship indicates that the first networking speed is less than the second networking speed, and then selecting the second identity card corresponding to the second networking speed as the identity card used by the terminal to be currently connected to the network;
在第一大小关系指示第一联网速度小于第一速度阈值,第二大小关系指示第二联网速度大于第二速度阈值,且第四关系指示第一速度阈值大于第二速度阈值时,如果第三大小关系指示第一联网速度大于第二联网速度,则选择第一联网速度对应的第一身份识别卡作为终端当前联网所使用的身份识别卡;When the first size relationship indicates that the first networking speed is less than the first speed threshold, the second size relationship indicates that the second networking speed is greater than the second speed threshold, and the fourth relationship indicates that the first speed threshold is greater than the second speed threshold, if the third The size relationship indicates that the first networking speed is greater than the second networking speed, and the first identification card corresponding to the first networking speed is selected as the identity identification card used by the terminal to be currently connected to the network;
在第一大小关系指示第一联网速度小于第一速度阈值,第二大小关系指示第二联网速度大于第二速度阈值,且第四关系指示第一速度阈值大于第二速度阈值时,如果第三大小关系指示第一联网速度小于第二联网速度,则选择第二联网速度对应的第二身份识别卡作为终端当前联网所使用的身份识别卡。When the first size relationship indicates that the first networking speed is less than the first speed threshold, the second size relationship indicates that the second networking speed is greater than the second speed threshold, and the fourth relationship indicates that the first speed threshold is greater than the second speed threshold, if the third The size relationship indicates that the first networking speed is less than the second networking speed, and the second identification card corresponding to the second networking speed is selected as the identity identification card used by the terminal for current networking.
第三种实现方式The third way to achieve
根据第一大小关系、第二大小关系以及第四大小关系从第一身份识别卡和第二身份识别卡中选择上述终端当前联网所使用的身份识别卡,具体可以通过以下技术方案实现:And selecting, according to the first size relationship, the second size relationship, and the fourth size relationship, the identity identification card used by the terminal to be currently connected to the network from the first identity card and the second identity card, which may be implemented by using the following technical solutions:
根据第一大小关系、第二大小关系以及第四大小关系从第一身份识别卡和第二身份识别卡中选择终端当前联网所使用的身份识别卡,包括:And selecting, according to the first size relationship, the second size relationship, and the fourth size relationship, the identity identification card used by the terminal to be currently connected to the network from the first identity card and the second identity card, including:
在第一大小关系指示第一联网速度大于第一速度阈值,第二大小关系指示第二联网速度小于第二速度阈值时,如果第四大小关系指示第一速度阈值大于第二速度阈值,将第一联网速度限制为第一速度阈值,并选择第一身份识别卡作为终端当前联网所使用的身份识别卡;When the first size relationship indicates that the first networking speed is greater than the first speed threshold, and the second size relationship indicates that the second networking speed is less than the second speed threshold, if the fourth size relationship indicates that the first speed threshold is greater than the second speed threshold, The network speed is limited to the first speed threshold, and the first identity card is selected as the identity card used by the terminal to be currently connected to the network;
在第一大小关系指示第一联网速度小于第一速度阈值,第二大小关系指示第二联网速度大于第二速度阈值时,如果第四大小关系指示第一速度阈值小于第二速度阈值,将第二联网速度限制为第二速度阈值,并选择第二身份识别卡作为终端当前联网所使用的身份识别卡。
When the first size relationship indicates that the first networking speed is less than the first speed threshold, and the second size relationship indicates that the second networking speed is greater than the second speed threshold, if the fourth size relationship indicates that the first speed threshold is less than the second speed threshold, The second networking speed is limited to the second speed threshold, and the second identification card is selected as the identity card used by the terminal for current networking.
需要说明的是,在本发明实施例中,还提供了一种情况:在第一联网速度和第二联网速度均大于联网限速度时,不论当前使用的是第一身份识别卡还是第二身份识别卡,均将其限制为联网限速度。It should be noted that, in the embodiment of the present invention, there is also provided a case that when the first networking speed and the second networking speed are both greater than the network limited speed, regardless of whether the first identity card or the second identity is currently used. The identification card is limited to the network-limited speed.
当然,上述情况强调的是第二身份识别卡设置了第二速度阈值,那么在终端还包括第二身份识别卡,且第二身份识别卡未设置有第二速度阈值时,还可以实现以下技术方案:终端根据第二身份识别卡对应的第二联网速度和第一速度阈值的第五大小关系从第一身份识别卡和第二身份识别卡中选择终端当前联网所使用的身份识别卡。Of course, the above situation emphasizes that the second identification card is set with the second speed threshold, and the following technology can also be implemented when the terminal further includes the second identification card, and the second identification card is not provided with the second speed threshold. The solution: the terminal selects, according to the second network connection speed corresponding to the second identity card and the fifth size relationship of the first speed threshold, the identity identification card used by the terminal to be currently connected to the network from the first identity card and the second identity card.
在本发明实施例中,终端根据第五大小关系选择终端当前联网所使用的身份识别卡可以通过以下技术方案实现:在第五大小关系指示第二联网速度大于第一速度阈值时,选择第二联网速度对应的第二身份识别卡作为终端当前联网所使用的身份识别卡;在第五大小关系指示第二联网速度小于第一速度阈值时,终端通过预设规则将终端的当前联网速度从第一联网速度降低至第一速度阈值,并选择第一身份识别卡作为终端当前联网所使用的身份识别卡。In the embodiment of the present invention, the terminal selects the identity identification card used by the terminal according to the fifth size relationship by using the following technical solution: when the fifth size relationship indicates that the second networking speed is greater than the first speed threshold, selecting the second The second identification card corresponding to the networking speed is used as the identification card used by the terminal for the current networking; when the fifth size relationship indicates that the second networking speed is less than the first speed threshold, the terminal uses the preset rule to set the current networking speed of the terminal from the first A networking speed is reduced to a first speed threshold, and the first identification card is selected as the identity card used by the terminal for current networking.
以下结合一示例说明上述选择身份识别卡的工作流程,在本发明实施例中,身份识别卡可以理解为就是一种SIM卡。The following describes the workflow of selecting the identity card in the following example. In the embodiment of the present invention, the identity card can be understood as a SIM card.
图2为根据本发明实施例的SIM卡切换流程图,此图对当前联网是SIM卡1或者卡2都适用,以当前联网SIM卡为卡1为例说明此流程。FIG. 2 is a flow chart of SIM card switching according to an embodiment of the present invention. This figure is applicable to both the current SIM card 1 and the card 2, and the current networked SIM card is used as the card 1 as an example to illustrate the flow.
步骤S202,终端使用数据网络时,即SIM卡1开始联网;Step S202, when the terminal uses the data network, that is, the SIM card 1 starts to be networked;
步骤S204,终端开始周期性的检测当前SIM卡1的联网速度并测试SIM卡2的速度;Step S204, the terminal starts to periodically detect the networking speed of the current SIM card 1 and test the speed of the SIM card 2;
步骤S206,判断SIM卡1的联网速度是否大于联网限速值,如果是,则转步骤S208,如果不是,则转步骤S212;Step S206, it is determined whether the networking speed of the SIM card 1 is greater than the networked speed limit value, if yes, then go to step S208, if not, then go to step S212;
步骤S208,判断SIM卡2的联网速度是否大于联网限速值,如果是,则转步骤S210,如果不是,则转步骤S204;Step S208, it is determined whether the network connection speed of the SIM card 2 is greater than the networked speed limit value, if yes, then go to step S210, if not, then go to step S204;
步骤S210,执行限速操作;Step S210, performing a speed limit operation;
步骤S212,判断SIM卡1的联网速度是否大于SIM卡2的联网速度,如果是,则转步骤S214,如果不是,则转步骤S216;Step S212, it is determined whether the networking speed of the SIM card 1 is greater than the networking speed of the SIM card 2, and if so, then proceeds to step S214, if not, then proceeds to step S216;
步骤S214,SIM卡1联网;Step S214, the SIM card 1 is networked;
步骤S216,SIM卡2联网.Step S216, the SIM card 2 is networked.
上述流程结束后,会进入下一个检测切换周期,直至整个联网过程结束。After the above process ends, it will enter the next detection switching cycle until the entire networking process ends.
需要说明的是,无论终端当前使用的是一个身份识别卡,还是两个身份识别卡,上述实施例提及的预设规则可以通过以下示例进行说明(具体对应图3至图6的技术方案),以下示例的技术方案可以理解为是一种通过终端侧的设置来实现限制当前身份识别卡的联网速度至与该身份识别卡对应的速度阈值的技术方案。
It should be noted that, regardless of whether the terminal is currently using an identity card or two identity cards, the preset rules mentioned in the foregoing embodiments may be illustrated by the following examples (specifically corresponding to the technical solutions of FIG. 3 to FIG. 6). The technical solution of the following example can be understood as a technical solution for limiting the networking speed of the current identification card to the speed threshold corresponding to the identification card through the setting on the terminal side.
当然,将当前终端的联网速度限制为联网限速度的大小时,根据终端正在进行的不同的数据业务,本发明实施例主要提供了以下几种实现方案:Of course, when the network speed of the current terminal is limited to the network speed limit, the following embodiments are mainly provided according to the different data services that the terminal is performing:
1)当上述联网速度为上述终端下载数据的联网速度时,即该方案优选适用于终端下载数据的过程,上述预设规则包括:终端延时待发送的数据请求,其中,上述数据请求用于为上述终端请求下载数据,其中,根据以下公式确定延时上述数据请求的延时时间T:T=(V×A)÷M,其中上述V表示上述终端的当前使用的身份识别卡的联网速度,上述A表示预先配置的单位联网时间,上述M表示上述联网限速度;根据确定的上述延时时间延时上述数据请求,即终端延时发送下一次要发发送的数据请求,进而达到降低当前的联网速度的目的。1) When the networking speed is the networking speed of downloading data by the terminal, that is, the solution is preferably applied to the process of downloading data by the terminal, where the preset rule includes: the terminal delays the data request to be sent, wherein the data request is used for Requesting downloading data for the terminal, wherein the delay time T of delaying the data request is determined according to the following formula: T=(V×A)÷M, where the above V indicates the networking speed of the currently used identity card of the terminal. The above A represents a pre-configured unit networking time, the above M represents the networked speed limit; the data request is delayed according to the determined delay time, that is, the terminal delays sending the data request to be sent next time, thereby lowering the current The purpose of networking speed.
以下结合一示例说明上述适于下载流程的限速流程,图3为根据本发明实施例的下载限速流程图,下载是客户端向服务器发出申请,要哪段的数据,服务器把这段返回回来。不限速时就成功返回后继续发下一段的申请,如果限速,可以在发下次请求前延时一段时间,可以通过以下流程实现:The following is a description of the above-mentioned speed limit process suitable for the download process. FIG. 3 is a flow chart of download speed limit according to an embodiment of the present invention. The download is an application sent by the client to the server, and which segment of data is required, and the server returns this segment. come back. If you are not limited to speed, you will continue to send the next application after the successful return. If the speed limit is limited, you can delay the time before sending the next request. You can use the following process:
步骤S302,检测当前联网速度;Step S302, detecting a current networking speed;
步骤S304,检测到当前速度后,计算出为了达到限速值需要延时的时间,在延时的时间内,存储终端内各个程序发出的联网申请指令,在到了延时时间后才发出存储的指令,其中,延时的时间计算方法为:(当前联网速度*单位联网时间)/最大速度限制值,这个单位联网时间可根据具体情况进行设定,比如1s;Step S304, after detecting the current speed, calculate a time delay required to reach the speed limit value, and within a time delay period, the network application request issued by each program in the storage terminal is sent out after the delay time is reached. The instruction, wherein the time calculation method of the delay is: (current networking speed * unit networking time) / maximum speed limit value, the unit networking time can be set according to specific conditions, such as 1 s;
步骤S306,判断是否达到了延时时间,如果否,则转步骤S308,如果是,则转步骤S310;Step S306, it is determined whether the delay time is reached, if not, then go to step S308, and if yes, go to step S310;
步骤S308,执行限速操作;Step S308, performing a speed limit operation;
步骤S310,SIM卡2联网。In step S310, the SIM card 2 is networked.
2)上述终端下载数据的联网速度以及上述终端上传数据的联网速度时,即该方法优选适用于终端下载数据或者终端上传数据的过程,休眠一个或多个应用程序,其中,上述应用程序从上述终端当前正在联网的应用程序中选择,可选地,终端也可以逐一休眠,例如,先休眠联网速度最快的应用程序,进而再休眠联网速度次快的程序,以此类推,直至达到联网限速度。2) when the networking speed of the terminal downloading data and the networking speed of the terminal uploading data, that is, the method is preferably applied to the process of downloading data by the terminal or uploading data by the terminal, and sleeping one or more applications, wherein the application is from the above The terminal is currently selected among the networked applications. Alternatively, the terminal can also sleep one by one, for example, the application that is the fastest to network the network, and then the program that is the second fastest to sleep, and so on, until the network limit is reached. speed.
以下结合一示例说明上述适于下载流程和上传流程的限速流程,图4为根据本发明实施例的限速流程图,此流程对上传或者下载限速都适用。在限速后,分析当前最大的联网速度的程序,然后根据联网速度与最大限度值之间的差别,计算出该程序休眠的时间,计算方法同上面延时时间计算。如果光休眠一个联网程序(例如,可以是QQ、微信等联网的应用程序)还不够,那就再休眠掉联网速度第二、第三快的应用程序,直至满足限速的要求。The following describes a speed limit process suitable for the download process and the upload process in combination with an example. FIG. 4 is a flow rate limit flow chart according to an embodiment of the present invention, and the process is applicable to uploading or downloading speed limit. After the speed limit, analyze the program of the current maximum networking speed, and then calculate the sleep time of the program according to the difference between the networking speed and the maximum value, and the calculation method is the same as the delay time above. If it is not enough to sleep a networked program (for example, a networked application such as QQ or WeChat), then sleep the second and third fastest applications at the network speed until the speed limit is met.
步骤S402,检测当前联网速度;Step S402, detecting a current networking speed;
步骤S404,分析出联网速度最大的程序;Step S404, analyzing the program with the highest networking speed;
步骤S406,计算sleep(休眠)时间;
Step S406, calculating a sleep time;
步骤S408,是否达到了休眠时间,如果是,则转步骤S410,如果否,则转步骤S408;Step S408, whether the sleep time is reached, if yes, go to step S410, if no, go to step S408;
步骤S410,恢复当前程序。In step S410, the current program is restored.
以上技术方案主要侧重于从终端侧实现,实际上,通过网络侧设备或者运营商的协助,也可以实现上述限速过程,可以通过以下方案实现:接收网络侧设备发送的指令信息,其中,上述指令信息用于指示上述终端将上述终端当前使用的身份识别卡的联网速度限制为上述联网限速度。The foregoing technical solution is mainly implemented on the terminal side. In fact, the speed limit process can be implemented by using the network side device or the assistance of the operator, and can be implemented by: receiving instruction information sent by the network side device, where the foregoing The instruction information is used to instruct the terminal to limit the networking speed of the identity card currently used by the terminal to the network connection speed limit.
也就是说,如果客户使用的流量达到了某个预定的阈值,则设备就会处于限速阶段。终端处于限速阶段时,服务器(网络侧设备的一种)就会通过短消息的方式将限速短消息发给用户。如果用户通过各种途径解除了限速,服务器也会通过短消息的方式将解除限速短消息发给用户。短消息类型可以根据实际情况分为多种,如开始限速,预备限速,解除限速,购买流量包等。短消息的还可以包括次限速周期定义,终端在此周期内处于限速状态,超过此限速周期,限速自动解除。That is, if the traffic used by the customer reaches a predetermined threshold, the device is in the speed limit phase. When the terminal is in the speed limit phase, the server (a type of device on the network side) sends a speed limit short message to the user by means of a short message. If the user releases the speed limit through various channels, the server will also send the release speed limit short message to the user by means of a short message. Short message types can be classified into various types according to actual conditions, such as starting speed limit, preparing speed limit, releasing speed limit, and purchasing traffic packets. The short message may also include a secondary speed limit period definition, and the terminal is in a speed limit state during the period. When the speed limit period is exceeded, the speed limit is automatically released.
需要说明的是,上述指令信息还包括:限速周期、解除限速信息,其中,上述限速周期用于指示上述终端在该限速周期内处于限速状态,上述解除限速信息用于指示上述终端解除限速状态。It should be noted that the command information further includes: a speed limit period and a speed limit release information, wherein the speed limit period is used to indicate that the terminal is in a speed limit state during the speed limit period, and the release speed limit information is used to indicate The terminal releases the speed limit state.
下面分别从限速和解除限速两个示例来说明上述网络侧设备的协助下,上述限速过程的具体执行流程:The following is an example of the speed limit and the speed limit release to illustrate the specific execution process of the speed limit process described above with the assistance of the network side device:
图5为根据本发明实施例的服务器限速流程,需要说明的是,上述实施例中的指令信息在本发明实施例中可以理解为是一种短消息,具体可以通过以下步骤实现:FIG. 5 is a flow rate limiting process of the server according to the embodiment of the present invention. It should be noted that the instruction information in the foregoing embodiment may be understood as a short message in the embodiment of the present invention, which may be implemented by the following steps:
步骤S502,终端收到限速短消息;Step S502, the terminal receives the speed limit short message.
步骤S504,终端收到限速短消息以后,先解析此限速短消息,包括短消息类型是限速短消息还是解除限速短消息,限速周期等;Step S504, after receiving the speed limit short message, the terminal parses the speed limit short message, including whether the short message type is a speed limit short message or a speed limit short message, a speed limit period, and the like;
步骤S506,判断终端是否在限速周期内,如果是,则转步骤S510,如果不是,则转步骤S508;Step S506, it is determined whether the terminal is within the speed limit period, if yes, then go to step S510, if not, then go to step S508;
步骤S508,保持现状,如果终端的日期不在限速周期内,则保持终端当前限速状态,继续使用终端当前使用的身份识别卡;Step S508, maintaining the status quo, if the date of the terminal is not within the speed limit period, maintaining the current speed limit state of the terminal, and continuing to use the identity card currently used by the terminal;
步骤S510,判断短消息是否为接触限速端消息,如果是,则转步骤S512,如果否,则转步骤S514;Step S510, it is determined whether the short message is a contact speed limit end message, if yes, then go to step S512, if not, then go to step S514;
步骤S512,如果是解除限速短消息,则解除限速状态;Step S512, if the speed limit short message is cancelled, the speed limit state is released;
步骤S514,解除限速操作。In step S514, the speed limit operation is cancelled.
图6为根据本发明实施例的服务器解除限速流程,可以具体通过以下步骤实现:
FIG. 6 is a flowchart of a server releasing a rate limit according to an embodiment of the present invention, which may be specifically implemented by the following steps:
步骤S602,开始解除限速;Step S602, starting to cancel the speed limit;
步骤S604,用户解除限速动作开始后,用户可以开始和局方的服务器进行交互,可以通过和局方的专门的服务器进行HTTP交互,可以通过局方的指定网站或者APP进行购买,电话等手段进行解除限速。解除限速的手段包括但不限于上述手段;Step S604, after the user cancels the speed limit action, the user can start to interact with the server of the local office, and can perform HTTP interaction with the special server of the office, and can purchase, call, etc. through the designated website or APP of the local party. Release the speed limit. Means for releasing the speed limit include but are not limited to the above means;
步骤S606,判断解除限速是否成功,如果否,则转步骤S608,如果是,则转步骤S610;Step S606, it is determined whether the speed limit release is successful, if not, then go to step S608, and if yes, go to step S610;
步骤S608,执行限速操作;Step S608, performing a speed limit operation;
步骤S610,解除限速成功后,局方服务器会发送解除限速短消息,限速过程结束;Step S610, after the speed limit is successfully cancelled, the local server sends a short speed limit message, and the speed limit process ends.
步骤S612,解除限速操作。In step S612, the speed limit operation is cancelled.
综上所述,本发明实施例针对日益完善的成熟的双4G移动终端技术,提出了一种支持双4G卡自适应数据限速的方法。该方法实现了当用户正在使用的数据网络速度太快时,自动限速至用户最大的限制值,帮助用户节约上网流量;当用户速度没有达到最大值时,自动选择联网速度最快的SIM卡,可以提供一种更好移动上网体验。In summary, the embodiments of the present invention provide a method for supporting dual 4G card adaptive data rate limiting for an increasingly mature dual 4G mobile terminal technology. The method realizes that when the data network speed that the user is using is too fast, the automatic speed limit is limited to the maximum limit of the user, which helps the user to save the Internet traffic; when the user speed does not reach the maximum value, the SIM card with the fastest networking speed is automatically selected. Can provide a better mobile Internet experience.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必需的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在本实施例中还提供了一种身份识别卡的联网处理装置,应用于终端,用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述,下面对该装置中涉及到的模块进行说明。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。图7为根据本发明实施例的身份识别卡的联网处理装置的结构框图。如图7所示,该装置包括:In this embodiment, a networked processing device for an identification card is also provided, which is applied to a terminal, and is used to implement the foregoing embodiments and preferred embodiments. The module is explained. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated. FIG. 7 is a structural block diagram of a networked processing apparatus for an identification card according to an embodiment of the present invention. As shown in Figure 7, the device includes:
检测模块70,设置为检测终端中第一身份识别卡的第一联网速度;The detecting module 70 is configured to detect a first networking speed of the first identity card in the terminal;
限制模块72,与检测模块70连接,设置为在该第一联网速度大于第一身份识别卡对应的第一速度阈值时,终端通过预设规则将终端的当前联网速度从第一联网速度降低至第一速度阈值。The limiting module 72 is connected to the detecting module 70, and is configured to: when the first networking speed is greater than the first speed threshold corresponding to the first identity card, the terminal reduces the current networking speed of the terminal from the first networking speed to a preset rule to First speed threshold.
通过上述各个模块的综合作用,能够在终端当前使用的身份识别卡的联网速度超过了速度阈值时,终端能够通过终端侧配置灵活将当前联网速度限制为速度阈值,解决了相关技术中,无法根据终端侧的配置和调整来限制身份识别卡的当前联网速度的问题,大大提升了用户体验,当然,本发明实施例的技术方案优选应用与4G领域中。Through the combined action of the above modules, when the networking speed of the identity card currently used by the terminal exceeds the speed threshold, the terminal can flexibly limit the current networking speed to the speed threshold through the terminal side configuration, which solves the related art and cannot be based on The configuration and adjustment of the terminal side to limit the current networking speed of the identity card greatly improves the user experience. Of course, the technical solution of the embodiment of the present invention is preferably applied in the field of 4G.
图8为根据本发明实施例的身份识别卡的联网处理装置的另一结构框图,如图8所示,上述装置在终端还包括第二身份识别卡,且该第二身份识别卡设置有第二速度阈值时,还包括:第一选择模块74,设置为根据至少以下条件的组合从第一身份识别卡和第二身份识别卡
中选择终端当前联网所使用的身份识别卡:第一联网速度和第一速度阈值的第一大小关系、检测到的终端的第二身份识别卡的第二联网速度和第二身份识别卡对应的第二速度阈值的第二大小关系、第一联网速度和第二联网速度的第三大小关系、第一速度阈值和第二速度阈值的第四大小关系。FIG. 8 is another structural block diagram of a networked processing device for an identification card according to an embodiment of the present invention. As shown in FIG. 8, the device further includes a second identity card at the terminal, and the second identity card is provided with a The second speed threshold further includes: a first selection module 74 configured to select from the first identity card and the second identity card according to a combination of at least the following conditions
Selecting an identification card used by the terminal for current networking: a first size relationship between the first networking speed and the first speed threshold, a second networking speed of the detected second identification card of the terminal, and a second identification card a second magnitude relationship of the second speed threshold, a third magnitude relationship of the first networking speed and the second networking speed, a fourth magnitude relationship of the first speed threshold and the second speed threshold.
其中,在所述终端还包括第二身份识别卡,且第二身份识别卡未设置有第二速度阈值时,装置还包括:第二选择模块76,设置为根据第二身份识别卡对应的第二联网速度和第一速度阈值的第五大小关系从第一身份识别卡和第二身份识别卡中选择终端当前联网所使用的身份识别卡。Wherein, when the terminal further includes a second identity card, and the second identity card is not provided with the second speed threshold, the device further includes: a second selection module 76, configured to correspond to the second identity card The fifth size relationship between the second networking speed and the first speed threshold selects, from the first identity card and the second identity card, an identity card used by the terminal to be currently connected to the network.
可选地,第二选择模块76,还设置为在第五大小关系指示第二联网速度大于第一速度阈值时,选择第二联网速度对应的第二身份识别卡作为终端当前联网所使用的身份识别卡;在第五大小关系指示第二联网速度小于第一速度阈值时,终端通过预设规则将终端的当前联网速度从第一联网速度降低至第一速度阈值,并选择第一身份识别卡作为终端当前联网所使用的身份识别卡。Optionally, the second selection module 76 is further configured to: when the fifth size relationship indicates that the second networking speed is greater than the first speed threshold, select the second identity card corresponding to the second networking speed as the identity used by the terminal to be currently connected to the network. Identifying the card; when the fifth size relationship indicates that the second networking speed is less than the first speed threshold, the terminal reduces the current networking speed of the terminal from the first networking speed to the first speed threshold by using a preset rule, and selects the first identification card As the identity card used by the terminal for current networking.
为了完成第一选择模块74所完成的功能,第一选择模块74,包括:In order to complete the functions performed by the first selection module 74, the first selection module 74 includes:
第一选择单元740,设置为在第一大小关系指示第一联网速度小于第一速度阈值,第二大小关系指示第二联网速度小于第二速度阈值时,根据第三大小关系确定第一联网速度和第二联网速度中较大的联网速度,并将该较大的联网速度对应的身份识别卡作为终端当前联网所使用的身份识别卡;第一选择模块74,还可以包括:The first selecting unit 740 is configured to determine, according to the third size relationship, the first networking speed, when the first size relationship indicates that the first networking speed is less than the first speed threshold, and the second size relationship indicates that the second networking speed is less than the second speed threshold And the second networking speed of the second networking speed, and the identification card corresponding to the larger networking speed is used as the identity card used by the terminal for the current networking; the first selection module 74 may further include:
第二选择单元742,设置为在第一大小关系指示第一联网速度大于第一速度阈值,第二大小关系指示第二联网速度小于第二速度阈值,且第四关系指示第一速度阈值小于第二速度阈值时,根据第三大小关系确定第一联网速度和第二联网速度中较大的联网速度,并将该较大的联网速度对应的身份识别卡作为终端当前联网所使用的身份识别卡;The second selecting unit 742 is configured to indicate that the first networking speed is greater than the first speed threshold, the second size relationship indicates that the second networking speed is less than the second speed threshold, and the fourth relationship indicates that the first speed threshold is less than the first The second speed threshold determines a larger networking speed of the first networking speed and the second networking speed according to the third size relationship, and uses the identity card corresponding to the larger networking speed as the identity card used by the terminal for current networking. ;
第三选择单元744,设置为在第一大小关系指示第一联网速度小于第一速度阈值,第二大小关系指示第二联网速度大于第二速度阈值,且第四关系指示第一速度阈值大于第二速度阈值时,根据第三大小关系确定第一联网速度和第二联网速度中较大的联网速度,并将该较大的联网速度对应的身份识别卡作为终端当前联网所使用的身份识别卡The third selecting unit 744 is configured to indicate that the first networking speed is smaller than the first speed threshold, the second size relationship indicates that the second networking speed is greater than the second speed threshold, and the fourth relationship indicates that the first speed threshold is greater than the first The second speed threshold determines a larger networking speed of the first networking speed and the second networking speed according to the third size relationship, and uses the identity card corresponding to the larger networking speed as the identity card used by the terminal for current networking.
可选地,第一选择模块74,还可以包括:第四选择单元746,设置为在第一大小关系指示第一联网速度大于第一速度阈值,第二大小关系指示第二联网速度小于第二速度阈值时,根据第四大小关系确定第一速度阈值和第二速度阈值中较大的速度阈值,并将该较大的速度阈值对应的身份识别卡作为终端当前联网所使用的身份识别卡。Optionally, the first selecting module 74 may further include: a fourth selecting unit 746, configured to indicate, in the first size relationship, that the first networking speed is greater than the first speed threshold, and the second size relationship indicates that the second networking speed is less than the second And determining, by the fourth size relationship, a larger speed threshold of the first speed threshold and the second speed threshold, and using the identity card corresponding to the larger speed threshold as the identity card used by the terminal for networking.
需要说明的是,在可选示例中,限制模块72,还设置为在第一大小关系指示第一联网速度大于第一速度阈值,第二大小关系指示第二联网速度大于第二速度阈值时,将终端当前使用的身份识别卡的联网速度限制为与该联网速度对应的速度阈值,其中,终端当前使用的身份识别卡的联网速度包括:第一联网速度、第二联网速度,速度阈值包括:第一速度阈值、
第二速度阈值。It should be noted that, in an optional example, the limiting module 72 is further configured to: when the first size relationship indicates that the first networking speed is greater than the first speed threshold, and the second size relationship indicates that the second networking speed is greater than the second speed threshold, The networking speed of the identity card currently used by the terminal is limited to a speed threshold corresponding to the networking speed, wherein the networking speed of the identity card currently used by the terminal includes: a first networking speed, a second networking speed, and the speed threshold includes: First speed threshold,
Second speed threshold.
图9为根据本发明实施例的身份识别卡的联网处理装置中限制模块的结构框图,如图9所示,限制模块72包括:FIG. 9 is a structural block diagram of a restriction module in a networked processing device of an identification card according to an embodiment of the present invention. As shown in FIG. 9, the restriction module 72 includes:
限制模块72,还设置为当联网速度为终端下载数据的联网速度时包括:延时单元720,设置为延时待发送的数据请求,其中,数据请求用于为终端请求下载数据,延时单元720,还包括:确定子单元7200,设置为根据以下公式确定延时数据请求的延时时间T:T=(V×A)÷M,其中V表示终端的当前使用的身份识别卡的联网速度,A表示预先配置的单位联网时间,M表示联网限速度;延时子单元7202,设置为根据确定的延时时间延时数据请求。The limiting module 72 is further configured to: when the networking speed is the networking speed of the terminal downloading data, the delay unit 720 is configured to delay the data request to be sent, wherein the data request is used to request downloading data for the terminal, and the delay unit 720. The method further includes: determining a subunit 7200, configured to determine a delay time T of the delayed data request according to the following formula: T=(V×A)÷M, where V represents a networking speed of the currently used identification card of the terminal. A represents a pre-configured unit networking time, M represents a networked speed limit, and a delay sub-unit 7202 is set to delay data requests according to the determined delay time.
可选地,当联网速度包括终端下载数据的联网速度以及终端上传数据的联网速度时,限制模块72还包括:休眠单元722,设置为休眠一个或多个应用程序,其中,应用程序从终端当前正在联网的应用程序中选择。Optionally, when the networking speed includes a networking speed of the terminal downloading data and a networking speed of the terminal uploading data, the limiting module 72 further includes: a sleeping unit 722 configured to sleep one or more applications, wherein the application slave terminal currently Select from a networked application.
在本发明实施例中,限制模块72还可以包括:接收单元724,设置为接收网络侧设备发送的指令信息,其中,指令信息用于指示终端将终端当前使用的身份识别卡的联网速度限制为联网限速度,其中,指令信息还包括:限速周期、解除限速,其中,限速周期用于指示终端在该限速周期内处于限速状态,解除限速用于指示终端解除限速状态。In the embodiment of the present invention, the limiting module 72 may further include: a receiving unit 724, configured to receive instruction information sent by the network side device, where the command information is used to instruct the terminal to limit the networking speed of the identity card currently used by the terminal to The speed limit of the network, wherein the command information further includes: a speed limit period and a speed limit release, wherein the speed limit period is used to indicate that the terminal is in a speed limit state during the speed limit period, and the speed limit is released to indicate that the terminal releases the speed limit state. .
在实际应用过程中,本发明实施例提供的身份识别卡的选择装置位于终端中,如图10所示,该终端系统组织可包括:支持双SIM卡槽的终端、SIM卡、上网管理模块。In the actual application process, the device for selecting the identity card provided by the embodiment of the present invention is located in the terminal. As shown in FIG. 10, the terminal system organization may include: a terminal supporting a dual SIM card slot, a SIM card, and an internet management module.
需要说明的是,可以针对两张卡设置上网速度的上限值。可以分别设置上传和下载的速度门限值,也可以只设置总的速度门限值。It should be noted that the upper limit of the Internet speed can be set for two cards. You can set the speed threshold for uploading and downloading separately, or you can set only the total speed threshold.
上述身份识别卡的选择装置的工作可以大致理解为:终端使用数据网络时,当用户使用SIM卡1的数据网络发起一个数据会话请求后,终端周期性的探测当前SIM卡1的联网速度,以及SIM卡2的联网速度,包括上传和下载速度。如果当前速度不超过用户设置上限值时,自动选择最快的卡上网。此时如果SIM卡2的速度较快,则系统自动将联网数据切换至SIM卡2,否则将联网数据保持在当前SIM卡1。在自动切换成功后继续保持检测并自动选择最快速度的SIM卡联网的动作。直至联网结束。这种情况对于一开始采用SIM卡2进行联网也适用;在终端使用数据网络时,当用户使用SIM卡1在进行联网,如果当前联网速度超过了用户设置的最大值,且此速度也大于SIM卡2的联网速度,则进入限速状态。终端自动降低SIM卡1的联网速度至最大限制值。如果当前联网速度超过了SIM卡1的最大限制值,并且小于SIM卡2的联网速度,并且SIM卡2也没有达到最大的限制值,则系统自动切换至SIM卡2.限速或者自动切换成功后,系统保持周期性探测并切换或者限速的状态,直到联网结束。这种情况对于一开始采用SIM卡2进行联网也适用。The operation of the selection device of the above identification card can be roughly understood as: when the terminal uses the data network, when the user initiates a data session request using the data network of the SIM card 1, the terminal periodically detects the networking speed of the current SIM card 1, and The speed of networking of SIM card 2, including upload and download speed. If the current speed does not exceed the upper limit set by the user, the fastest card is automatically selected to access the Internet. At this time, if the speed of the SIM card 2 is fast, the system automatically switches the networked data to the SIM card 2, otherwise the networked data is kept at the current SIM card 1. After the automatic switching succeeds, the detection continues and the fastest speed SIM card networking action is automatically selected. Until the end of the network. This situation is also applicable to the initial use of the SIM card 2 for networking; when the terminal uses the data network, when the user uses the SIM card 1 for networking, if the current networking speed exceeds the maximum value set by the user, and the speed is also greater than the SIM. When the card 2 is connected to the speed, it enters the speed limit state. The terminal automatically reduces the networking speed of the SIM card 1 to the maximum limit value. If the current networking speed exceeds the maximum limit value of the SIM card 1 and is less than the networking speed of the SIM card 2, and the SIM card 2 does not reach the maximum limit value, the system automatically switches to the SIM card 2. The speed limit or the automatic switching succeeds. After that, the system maintains a state of periodic detection and switching or speed limit until the network is over. This situation also applies to the initial use of SIM card 2 for networking.
综上所述,本发明实施例达到了以下技术效果:解决了相关技术中,在4G通信领域,无法根据终端当前联网情况在两个身份识别卡之间灵活切换的问题,在在4G通信领域,提供了一种自适应的身份识别卡的切换方法,能够节省流量,还能够提升用户体验。
In summary, the embodiment of the present invention achieves the following technical effects: in the related art, in the field of 4G communication, it is impossible to flexibly switch between two identification cards according to the current networking situation of the terminal, in the field of 4G communication. Provides an adaptive method for switching identity cards, which saves traffic and enhances the user experience.
在另外一个实施例中,还提供了一种软件,该软件用于执行上述实施例及优选实施方式中描述的技术方案。In another embodiment, software is also provided for performing the technical solutions described in the above embodiments and preferred embodiments.
在另外一个实施例中,还提供了一种存储介质,该存储介质中存储有上述软件,该存储介质包括但不限于:光盘、软盘、硬盘、可擦写存储器等。In another embodiment, a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的对象在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order. It is to be understood that the objects so used are interchangeable, where appropriate, so that the embodiments of the invention described herein can be carried out in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
本发明提供的上述技术方案,可以应用于身份识别卡的联网处理过程中,通过在终端当前使用的身份识别卡的联网速度超过了速度阈值时,终端能够通过终端侧配置灵活将当前联网速度限制为速度阈值,解决了相关技术中,无法根据终端侧的配置和调整来限制身份识别卡的当前联网速度的问题。
The foregoing technical solution provided by the present invention can be applied to the networked processing process of the identity identification card. When the networking speed of the identity identification card currently used by the terminal exceeds the speed threshold, the terminal can flexibly limit the current networking speed through the configuration of the terminal side. As the speed threshold, the problem of the current networking speed of the identification card cannot be restricted according to the configuration and adjustment of the terminal side in the related art.
Claims (18)
- 一种身份识别卡的联网处理方法,包括:A method for networked processing of an identification card, comprising:终端检测所述终端中第一身份识别卡的第一联网速度;The terminal detects a first networking speed of the first identity card in the terminal;在所述第一联网速度大于所述第一身份识别卡对应的第一速度阈值时,所述终端通过预设规则将所述终端的当前联网速度从所述第一联网速度降低至所述第一速度阈值。When the first networking speed is greater than a first speed threshold corresponding to the first identity card, the terminal reduces the current networking speed of the terminal from the first networking speed to the first by using a preset rule. A speed threshold.
- 根据权利要求1所述的方法,其中,在所述终端还包括第二身份识别卡,且所述第二身份识别卡设置有第二速度阈值时,所述方法还包括:The method of claim 1, wherein when the terminal further comprises a second identity card, and the second identity card is set with a second speed threshold, the method further comprises:所述终端根据至少以下条件的组合从所述第一身份识别卡和所述第二身份识别卡中选择所述终端当前联网所使用的身份识别卡:所述第一联网速度和所述第一速度阈值的第一大小关系、检测到的所述终端的第二身份识别卡的第二联网速度和所述第二速度阈值的第二大小关系、所述第一联网速度和所述第二联网速度的第三大小关系、所述第一速度阈值和所述第二速度阈值的第四大小关系。The terminal selects, from the first identity card and the second identity card, an identity identification card used by the terminal to be currently connected according to at least the following conditions: the first networking speed and the first a first size relationship of the speed threshold, a detected second size relationship of the second networking speed of the second identity card of the terminal and the second speed threshold, the first networking speed, and the second networking a third magnitude relationship of speed, a fourth magnitude relationship of the first speed threshold, and the second speed threshold.
- 根据权利要求2所述的方法,其中,所述终端根据所述第一大小关系、所述第二大小关系以及所述第三大小关系选择所述终端当前联网所使用的身份识别卡,包括:The method of claim 2, wherein the terminal selects an identity card used by the terminal to connect to the current network according to the first size relationship, the second size relationship, and the third size relationship, including:在所述第一大小关系指示所述第一联网速度小于所述第一速度阈值,所述第二大小关系指示所述第二联网速度小于所述第二速度阈值时,所述终端根据所述第三大小关系确定所述第一联网速度和所述第二联网速度中较大的联网速度,并将该较大的联网速度对应的身份识别卡作为所述终端当前联网所使用的身份识别卡。When the first size relationship indicates that the first networking speed is less than the first speed threshold, and the second size relationship indicates that the second networking speed is less than the second speed threshold, the terminal is configured according to the The third size relationship determines a larger networking speed of the first networking speed and the second networking speed, and the identity identification card corresponding to the larger networking speed is used as an identity card used by the terminal for current networking. .
- 根据权利要求2所述的方法,其中,所述终端根据所述第一大小关系、所述第二大小关系、第三大小关系以及第四大小关系选择所述终端当前联网所使用的身份识别卡,包括:The method according to claim 2, wherein the terminal selects an identity identification card used by the terminal for current networking according to the first size relationship, the second size relationship, the third size relationship, and the fourth size relationship. ,include:在所述第一大小关系指示所述第一联网速度大于所述第一速度阈值,所述第二大小关系指示所述第二联网速度小于所述第二速度阈值,且所述第四大小关系指示所述第一速度阈值小于所述第二速度阈值时,所述终端根据所述第三大小关系确定所述第一联网速度和所述第二联网速度中较大的联网速度,并将该较大的联网速度对应的身份识别卡作为所述终端当前联网所使用的身份识别卡;The first size relationship indicates that the first networking speed is greater than the first speed threshold, the second size relationship indicates that the second networking speed is less than the second speed threshold, and the fourth size relationship When the first speed threshold is less than the second speed threshold, the terminal determines a larger networking speed of the first networking speed and the second networking speed according to the third size relationship, and The identification card corresponding to the larger networking speed is used as the identification card used by the terminal for networking;在所述第一大小关系指示所述第一联网速度小于所述第一速度阈值,所述第二大小关系指示所述第二联网速度大于所述第二速度阈值,且所述第四关系指示所述第一速度阈值大于所述第二速度阈值时,所述终端根据所述第三大小关系确定所述第一联网速度和所述第二联网速度中较大的联网速度,并将该较大的联网速度对应的身份识别卡作为所述终端当前联网所使用的身份识别卡。The first size relationship indicates that the first networking speed is less than the first speed threshold, the second size relationship indicates that the second networking speed is greater than the second speed threshold, and the fourth relationship indication When the first speed threshold is greater than the second speed threshold, the terminal determines a larger networking speed of the first networking speed and the second networking speed according to the third size relationship, and compares the comparison The identification card corresponding to the large networking speed serves as the identification card used by the terminal for current networking.
- 根据权利要求2所述的方法,其中,所述终端根据所述第一大小关系、所述第二大小关系以及第四大小关系选择所述终端当前联网所使用的身份识别卡,包括:The method of claim 2, wherein the terminal selects an identity card used by the terminal to connect to the current network according to the first size relationship, the second size relationship, and the fourth size relationship, including:在所述第一大小关系指示所述第一联网速度大于所述第一速度阈值,所述第二大小关系指示所述第二联网速度小于所述第二速度阈值时,所述终端根据所述第四大小关系 确定所述第一速度阈值和所述第二速度阈值中较大的速度阈值,并将该较大的速度阈值对应的身份识别卡作为所述终端当前联网所使用的身份识别卡。When the first size relationship indicates that the first networking speed is greater than the first speed threshold, and the second size relationship indicates that the second networking speed is less than the second speed threshold, the terminal is configured according to the Fourth size relationship Determining a larger speed threshold of the first speed threshold and the second speed threshold, and using an identity card corresponding to the larger speed threshold as an identity card used by the terminal to be currently connected to the network.
- 根据权利要求2所述的方法,其中,所述方法还包括:The method of claim 2, wherein the method further comprises:在所述第一大小关系指示所述第一联网速度大于所述第一速度阈值,所述第二大小关系指示所述第二联网速度大于所述第二速度阈值时,所述终端通过所述预设规则将所述终端当前使用的身份识别卡的联网速度限制为与该联网速度对应的速度阈值,其中,所述终端当前使用的身份识别卡的联网速度包括:所述第一联网速度、所述第二联网速度,所述速度阈值包括:所述第一速度阈值、所述第二速度阈值。And when the first size relationship indicates that the first networking speed is greater than the first speed threshold, and the second size relationship indicates that the second networking speed is greater than the second speed threshold, the terminal passes the The preset rule limits the networking speed of the identity card currently used by the terminal to a speed threshold corresponding to the networking speed, where the networking speed of the identity card currently used by the terminal includes: the first networking speed, The second networking speed, the speed threshold includes: the first speed threshold, the second speed threshold.
- 根据权利要求1所述的方法,其中,在所述终端还包括第二身份识别卡,且所述第二身份识别卡未设置有第二速度阈值时,所述方法还包括:The method of claim 1, wherein when the terminal further comprises a second identity card, and the second identity card is not provided with a second speed threshold, the method further comprises:所述终端根据所述第二身份识别卡对应的第二联网速度和所述第一速度阈值的第五大小关系从所述第一身份识别卡和所述第二身份识别卡中选择所述终端当前联网所使用的身份识别卡。Determining, by the terminal, the terminal from the first identity card and the second identity card according to a second size relationship between the second networking speed corresponding to the second identity card and the first speed threshold The identification card used for current networking.
- 根据权利要求7所述的方法,其中,所述终端根据所述第五大小关系选择所述终端当前联网所使用的身份识别卡,包括:The method of claim 7, wherein the terminal selects an identity card used by the terminal to connect to the network according to the fifth size relationship, and the method includes:在所述第五大小关系指示所述第二联网速度大于所述第一速度阈值时,选择所述第二联网速度对应的第二身份识别卡作为所述终端当前联网所使用的身份识别卡;When the fifth size relationship indicates that the second networking speed is greater than the first speed threshold, selecting a second identity card corresponding to the second network speed as an identity card used by the terminal to be currently connected to the network;在所述第五大小关系指示所述第二联网速度小于所述第一速度阈值时,所述终端通过预设规则将所述终端的当前联网速度从所述第一联网速度降低至所述第一速度阈值,并选择所述第一身份识别卡作为所述终端当前联网所使用的身份识别卡。When the fifth size relationship indicates that the second networking speed is less than the first speed threshold, the terminal reduces the current networking speed of the terminal from the first networking speed to the first by using a preset rule. A speed threshold is selected and the first identity card is selected as the identity card used by the terminal to be currently connected to the network.
- 根据权利要求1-8任一项所述的方法,其中,当所述联网速度为所述终端下载数据的联网速度时,所述预设规则包括:The method according to any one of claims 1-8, wherein when the networking speed is a networking speed at which the terminal downloads data, the preset rule includes:所述终端延时待发送的数据请求,其中,所述数据请求用于为所述终端请求下载数据。The terminal delays a data request to be sent, where the data request is used to request downloading data for the terminal.
- 根据权利要求9所述的方法,其中,所述终端延时待发送的数据请求,包括:The method according to claim 9, wherein the terminal delays the data request to be sent, including:所述终端根据以下公式确定延时所述数据请求的延时时间T:The terminal determines a delay time T for delaying the data request according to the following formula:T=(V×A)÷M,其中所述V表示所述终端的当前使用的身份识别卡的联网速度,所述A表示预先配置的单位联网时间,所述M表示所述联网速度对应的速度阈值;T=(V×A)÷M, where the V represents the networking speed of the currently used identity card of the terminal, the A represents a pre-configured unit networking time, and the M represents the networking speed corresponding to Speed threshold所述终端根据确定的所述延时时间延时所述数据请求。The terminal delays the data request according to the determined delay time.
- 根据权利要求1-8任一项所述的方法,其中,当所述联网速度包括:所述终端下载数据的联网速度以及所述终端上传数据的联网速度时,所述预设规则包括: The method according to any one of claims 1-8, wherein, when the networking speed includes: a networking speed of the terminal downloading data and a networking speed of the terminal uploading data, the preset rule includes:所述终端休眠一个或多个应用程序,其中,所述应用程序从所述终端当前正在联网的应用程序中选择。The terminal sleeps one or more applications, wherein the application is selected from an application that the terminal is currently networking with.
- 根据权利要求1-8任一项所述的方法,其中,所述预设规则包括:The method of any of claims 1-8, wherein the preset rule comprises:所述终端接收网络侧设备发送的指令信息,其中,所述指令信息用于指示所述终端将所述终端当前使用的身份识别卡的联网速度限制为所述速度阈值,其中,所述终端当前使用的身份识别卡的联网速度包括:所述第一联网速度、所述第二联网速度,所述速度阈值包括:所述第一速度阈值、所述第二速度阈值。The terminal receives the instruction information sent by the network side device, where the instruction information is used to indicate that the terminal limits the networking speed of the identity identification card currently used by the terminal to the speed threshold, where the terminal is currently The networking speed of the used identification card includes: the first networking speed, the second networking speed, the speed threshold comprising: the first speed threshold, the second speed threshold.
- 根据权利要求12所述的方法,其中,所述指令信息还包括:限速周期、解除限速信息,其中,所述限速周期用于指示所述终端在该限速周期内处于限速状态,所述解除限速信息用于指示所述终端解除限速状态。The method of claim 12, wherein the instruction information further comprises: a speed limit period and a speed limit release information, wherein the speed limit period is used to indicate that the terminal is in a speed limit state during the speed limit period The release rate limiting information is used to instruct the terminal to release the speed limit state.
- 一种身份识别卡的联网处理装置,应用于终端,包括:A networked processing device for an identification card is applied to a terminal, including:检测模块,设置为检测终端中第一身份识别卡的第一联网速度;a detecting module, configured to detect a first networking speed of the first identity card in the terminal;限制模块,设置为在所述第一联网速度大于所述第一身份识别卡对应的第一速度阈值时,通过预设规则将所述终端的当前联网速度从所述第一联网速度降低至所述第一速度阈值。a limiting module, configured to reduce a current networking speed of the terminal from the first networking speed to a preset by using a preset rule when the first networking speed is greater than a first speed threshold corresponding to the first identity card The first speed threshold is described.
- 根据权利要求14任一项所述的装置,其中,当所述联网速度为所述终端下载数据的联网速度时,所述限制模块包括:The apparatus of any one of the preceding claims, wherein, when the networking speed is a networking speed at which the terminal downloads data, the limiting module comprises:延时单元,设置为延时待发送的数据请求,其中,所述数据请求用于为所述终端请求下载数据。The delay unit is configured to delay a data request to be sent, wherein the data request is used to request downloading data for the terminal.
- 根据权利要求15所述的装置,其中,所述延时单元,包括:The apparatus of claim 15, wherein the delay unit comprises:确定子单元,设置为根据以下公式确定延时所述数据请求的延时时间T:Determining a subunit, set to determine a delay time T for delaying the data request according to the following formula:T=(V×A)÷M,其中所述V表示所述终端的当前使用的身份识别卡的联网速度,所述A表示预先配置的单位联网时间,所述M表示所述联网速度对应的速度阈值;T=(V×A)÷M, where the V represents the networking speed of the currently used identity card of the terminal, the A represents a pre-configured unit networking time, and the M represents the networking speed corresponding to Speed threshold延时子单元,设置为根据确定的所述延时时间延时所述数据请求。The delay subunit is configured to delay the data request according to the determined delay time.
- 根据权利要求14至15任一项所述的装置,其中,当所述联网速度包括:所述终端下载数据的联网速度以及所述终端上传数据的联网速度时,所述限制模块包括:The apparatus according to any one of claims 14 to 15, wherein when the networking speed comprises: a networking speed of the terminal downloading data and a networking speed of the terminal uploading data, the limiting module comprises:休眠单元,设置为休眠一个或多个应用程序,其中,所述应用程序从所述终端当前正在联网的应用程序中选择。A sleep unit, configured to sleep one or more applications, wherein the application is selected from an application currently being networked by the terminal.
- 根据权利要求14至15任一项所述的装置,其中,所述限制模块还包括:The apparatus according to any one of claims 14 to 15, wherein the restriction module further comprises:接收单元,设置为接收网络侧设备发送的指令信息,其中,所述指令信息用于指示所述终端将所述终端当前使用的身份识别卡的联网速度限制为所述速度阈值。 The receiving unit is configured to receive the instruction information sent by the network side device, where the instruction information is used to indicate that the terminal limits the networking speed of the identity identification card currently used by the terminal to the speed threshold.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
MYPI2017704482A MY191650A (en) | 2015-05-26 | 2015-12-03 | Method and apparatus for networking subscriber identity module |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510274767.8A CN106304194B (en) | 2015-05-26 | 2015-05-26 | The networking processing method and device of identification card |
CN201510274767.8 | 2015-05-26 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016188078A1 true WO2016188078A1 (en) | 2016-12-01 |
Family
ID=57392543
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/096229 WO2016188078A1 (en) | 2015-05-26 | 2015-12-03 | Method and apparatus for networking subscriber identity module |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN106304194B (en) |
MY (1) | MY191650A (en) |
WO (1) | WO2016188078A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110572851A (en) * | 2019-09-27 | 2019-12-13 | 深圳市信锐网科技术有限公司 | data uploading method, system, device and computer readable storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114222356B (en) * | 2019-10-08 | 2024-04-02 | 荣耀终端有限公司 | Method and device for reducing power consumption of UE |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101651967A (en) * | 2009-09-21 | 2010-02-17 | 杭州华三通信技术有限公司 | Method and equipment for adjusting flow speed in wireless local area network |
US20140155119A1 (en) * | 2012-06-11 | 2014-06-05 | Renesas Mobile Corporation | Flexible Algorithm for Arbitration of Transmit Power Between Multiple Radios |
CN104168606A (en) * | 2014-07-24 | 2014-11-26 | 深圳天珑无线科技有限公司 | Network speed control method of mobile terminal |
-
2015
- 2015-05-26 CN CN201510274767.8A patent/CN106304194B/en active Active
- 2015-12-03 WO PCT/CN2015/096229 patent/WO2016188078A1/en active Application Filing
- 2015-12-03 MY MYPI2017704482A patent/MY191650A/en unknown
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101651967A (en) * | 2009-09-21 | 2010-02-17 | 杭州华三通信技术有限公司 | Method and equipment for adjusting flow speed in wireless local area network |
US20140155119A1 (en) * | 2012-06-11 | 2014-06-05 | Renesas Mobile Corporation | Flexible Algorithm for Arbitration of Transmit Power Between Multiple Radios |
CN104168606A (en) * | 2014-07-24 | 2014-11-26 | 深圳天珑无线科技有限公司 | Network speed control method of mobile terminal |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110572851A (en) * | 2019-09-27 | 2019-12-13 | 深圳市信锐网科技术有限公司 | data uploading method, system, device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106304194B (en) | 2019-07-02 |
MY191650A (en) | 2022-07-05 |
CN106304194A (en) | 2017-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2933965A1 (en) | Method, device and system for accessing network | |
CN113206753B (en) | Information configuration method and management unit | |
WO2020094035A1 (en) | Wireless network connection method for terminal | |
CN109327403B (en) | Flow control method, flow control device, network equipment and storage medium | |
WO2014004448A1 (en) | Techniques for transferring a data payload utilizing near-field communication | |
WO2016206517A1 (en) | Multi-sim resource management method, device and multi-sim terminal | |
CN106793156B (en) | Multi-system terminal and network connection method and device | |
JP2014527661A (en) | Mobile payment method, apparatus and system for server and client | |
WO2015184823A1 (en) | Access control method and device for mobile terminal, and computer storage medium | |
CN107113331B (en) | Mobile cloud proxy device and method | |
US10374892B2 (en) | Transferring control method and apparatus, and transferring configuration method and apparatus | |
CN104883290A (en) | Contact person online status notification method and apparatus | |
WO2016188078A1 (en) | Method and apparatus for networking subscriber identity module | |
CN105635148B (en) | Portal authentication method and device | |
CN104010269A (en) | Method and device for sending file in communication terminal | |
CN106452902A (en) | Realization method for communication mode selection function | |
JP2008187417A (en) | Cellular phone | |
CN101784084A (en) | Mobile communicatin terminal device, qos control device, mabile comuncition system, and method of guaranteeing qos | |
KR101802848B1 (en) | Apparatus and method for providing ring back tone based on life style | |
CN114125023A (en) | Data connection determining method and device, storage medium and electronic device | |
JP2014171031A (en) | Mobile communication terminal | |
US10602412B2 (en) | Management of voice conversations with switching among different communication techniques | |
US20140314058A1 (en) | Optimizing device service availability and usage in a wireless personal network | |
CN108351843B (en) | Output control device and communication system | |
CN113973089B (en) | Streaming media transmission method, system, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15893146 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 15893146 Country of ref document: EP Kind code of ref document: A1 |