WO2018014369A1 - Self-adaptive method, device, and terminal for data service, and computer storage medium - Google Patents
Self-adaptive method, device, and terminal for data service, and computer storage medium Download PDFInfo
- Publication number
- WO2018014369A1 WO2018014369A1 PCT/CN2016/092690 CN2016092690W WO2018014369A1 WO 2018014369 A1 WO2018014369 A1 WO 2018014369A1 CN 2016092690 W CN2016092690 W CN 2016092690W WO 2018014369 A1 WO2018014369 A1 WO 2018014369A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- cell
- data
- rate
- access rate
- data access
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a self-adaptive method, apparatus, terminal, and computer storage medium for data services.
- the terminal When the terminal is in a specific geographical location, if the terminal can access the network of different operators, there are multiple network cells that the terminal can actually access. For example, dual 4G terminals that install the mobile SIM card and the Unicom SIM card can To access the network provided by the mobile operator or the network provided by the Unicom carrier. In order to provide users with better data services, when users adapt to data services, they generally want to access the network at the fastest speed.
- the prior art discloses a method and device for improving the speed of dual-card Internet access: detecting the network connection status of the dual-card; and detecting the network traffic export data value of the dual-card when the network connection of the dual-card is in an open state; The network traffic export data value of the dual card sets the network traffic export weight of each card.
- the network traffic export weight of each card is set based on the network traffic data value of each card, and the traffic distribution is performed thereby, thereby improving the Internet access speed, but the prior art needs to continuously monitor two
- the network traffic of the card occupies more terminal resources.
- based on the network traffic data value of each card it cannot reflect the network status of each operator very accurately.
- the access network of the data service cannot be controlled based on the real situation of the operator's network.
- the embodiments of the present invention are directed to a self-adaptive method, device, terminal, and computer storage medium for a data service, which solves the problem that the terminal resources occupied in the prior art are occupied, and/or cannot be based on the real situation of the operator's network.
- the problem of controlling the access network of data services is directed to a self-adaptive method, device, terminal, and computer storage medium for a data service, which solves the problem that the terminal resources occupied in the prior art are occupied, and/or cannot be based on the real situation of the operator's network.
- the embodiment of the invention provides a self-adaption method for a data service, including:
- the terminal When at least two user identification cards are provided in the terminal, if the cell in which the user identity card is located is detected to change, the data access rate of the cell where the at least two user identity cards are located is obtained;
- Selecting a suitable cell according to the comparison result and the cell currently serving the data service provides a network for the current data service.
- the embodiment of the invention further provides a self-adaptive device for data services, including:
- the detecting module is configured to detect, when the terminal has at least two user identification cards, whether the cell where the user identity card is located changes;
- the acquiring module is configured to acquire, when the detecting module detects that the cell where the user identity card is located, the data access rate of the cell where the at least two user identity cards are located;
- the comparison module is configured to compare data access rates of the cells where the at least two user identification cards are located;
- the switching module is configured to provide a network for the current data service according to the comparison result of the comparison module and the cell currently serving the data service.
- the embodiment of the invention further provides a terminal, including the self-adaptive device for the data service as above.
- An embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute any one of the foregoing A self-adapting method for data services.
- the embodiment of the invention discloses a method, a device, a terminal and a computer storage medium for adapting a data service.
- the method for detecting whether the cell where the user identity card is located changes is detected. And when changing, obtain the data access rate of the cell where the at least two user identification cards are located, compare the data access rates of the cells corresponding to at least two user identification cards, and compare the result and the cell currently serving the data service.
- Selecting a suitable cell to provide a network for the current data service the data access rate of the cell obtained by the present invention can reflect the good condition of each carrier network in real time, so the handover of the data service access cell in this embodiment is based on the current cell.
- Realized network conditions can ensure that users always use better data access networks, greatly improving the data service experience.
- the data service can be offloaded to the network with sufficient resources, thereby reducing the load of the network to some extent.
- FIG. 1 is a flowchart of a self-adaptive method for data services according to Embodiment 1 of the present invention
- FIG. 2 is a flowchart of a method for detecting a network data access data service access rate according to Embodiment 1 of the present invention
- FIG. 3 is a flowchart of another self-adaptive method for data service according to Embodiment 2 of the present invention.
- FIG. 4 is a structural diagram of a self-adaptive device for data services according to Embodiment 3 of the present invention.
- FIG. 5 is a schematic diagram of a terminal moving across a cell according to Embodiment 3 of the present invention.
- FIG. 1 A first figure
- Embodiment 1 is a diagrammatic representation of Embodiment 1:
- FIG. 1 shows a self-adaptive method for data service provided by this embodiment.
- SIM Subscriber Identification Modules
- this embodiment provides a more An excellent switching user identity card (SIM card) is a solution for data service services.
- the cell can be intelligently switched according to the network data access rate of all the user ID cards when the cell in which the SIM is located changes, that is, the SIM card is switched to provide data services for the user, thereby improving the user experience.
- the cell network may be a different generation network, such as 2G/3G/4G, etc., and may also be extended to the unlisted 5G, but different formats, such as GPS, S-CDMA, CDMA2000, LTE, and the like.
- the self-adaption method of the data service in this embodiment includes:
- S102 Compare data access rates of cells in which at least two SIM cards are located.
- the terminal in this embodiment is a terminal that can install a SIM card and has a data communication function, including but not limited to a mobile phone or a tablet computer with a SIM card.
- the terminal in this embodiment is provided with at least two SIM cards, wherein the SIM card herein can be understood as a physical card separated from the terminal in the prior art, and can also be understood as a physical card or a virtual card fixed in the mobile phone, such as E. - SIM card.
- the carrier networks of the multiple SIM cards are different, and the cell switching is implemented based on the data access rate of the serving cell, it is within the scope of this embodiment.
- the most widely used multi-card mobile phone in the market is a dual-card mobile phone.
- the self-adapting method of the data service in this embodiment can intelligently switch the cell accessed by the data service, and is especially suitable for the dual-card dual-pair on the market.
- the cell handover of the data service of the mobile phone is especially suitable for the dual-card dual-pair on the market.
- the change of the cell where the SIM card is located is generally understood to be a change of the cell where the SIM card is located from the A cell to the B cell due to the change of the geographical position of the terminal, that is, the SIM card detects the new cell that meets the access condition. Or the cell where the SIM card is located is from the A cell to the place without network coverage.
- the data access rate of the new cell where the SIM is located may change relative to the old cell.
- the change of the cell where the SIM card is located in this embodiment may be extended to the data access rate change of the cell where the SIM card is located.
- the data access rate of the cell where the SIM card is located changes, if only the cell accessing the data service is changed, and the data access rate is increased, the subsequent steps of S102 and S103 are not performed, and the current cell access is maintained.
- the situation may be, if the changed cell is not only the data service access, the subsequent steps of S102-S103 are performed.
- the number of SIM cards in the terminal is increased or decreased, the number of cells in the SIM is changed.
- the change in the number of SIM cards should also be understood in the SIM card of this embodiment.
- the cell change If the number of SIM cards is increased, in subsequent S101-S103, only the data access rate between the cell where the added SIM card is located and the cell to which the current data service is accessed may be compared, and then Determining whether to switch. If the number of SIM cards is reduced, and the reduced card is the card for the current data service access, in subsequent S101-S103, the data access rates of the cells in which the remaining SIM cards are located need to be compared, and then the most An excellent cell provides a network for data services.
- the data access rate of the cell where the at least two SIM cards are located is different.
- the data access rate of the cell is detected in real time according to the network data service access rate detection method, or the query message is sent. Go to the server of the base station or the cell where the cell is located, obtain the data access rate of the cell in which the cell is recorded, or request the data access rate and the like from the terminal that has obtained the data access rate of the cell through short-distance communication or the like. If the cell where the SIM card is located may change, the SIM card may not be in the coverage of the cell. At this time, the data access rate of the cell where the SIM card is located is 0.
- the cell with the largest data access rate can be generally determined, and then the current data service can be directly switched to the cell with the largest data access rate.
- the handover of the cell not only wastes time, but also interrupts the data service for a certain period of time, and brings the user with
- the solution in S103 can be used to select a suitable cell according to the comparison result and the cell currently serving the data service to provide a network for the current data service.
- the cell handover may not be performed.
- the comparison result is that the cell with the largest data access rate is not the cell currently serving the data service, the data service is switched to the cell with the largest data access rate.
- the problem caused by the handover may be set to a preset threshold, and the difference in data access rate between the cell with the highest data access rate and the cell currently serving the data service If the difference between the data access rate of the cell with the highest data access rate and the cell that serves the data service is greater than the preset threshold, the data service is not performed. Switch to the cell with the highest data access rate.
- the preset threshold here can be set according to the actual situation, but it is necessary to consider whether the difference of the data access rate less than the preset threshold has adversely affected the data service experience of the user.
- the method for obtaining the data access rate includes but is not limited to the following three types:
- the data access rate of the cell where all the SIM cards are located can be obtained according to the network data service access rate detection method.
- the method for detecting the access rate of the network data service is a method for obtaining the data access rate of the SIM card in real time. It can be foreseen that the detection method requires a certain time, and if the number of SIM cards is large, the data access is obtained. The rate will waste more time, which is not conducive to the switching of data services, which is not conducive to the improvement of user experience. Moreover, in this manner, each time a cell in which the SIM card is detected is changed, it is necessary to obtain the data access rate of all the cells where the SIM card is located, which is cumbersome and time consuming.
- the user identity card that changes in the cell is obtained according to the network data service access rate detection method, and obtains the data access rate of the current cell.
- the index table obtains the data access rate of each cell.
- the SIM card that changes in the cell is obtained according to the network data service access rate detection method, and the data access rate of the current cell of the SIM is obtained.
- the SIM card that has not changed in the cell only needs to obtain the data access rate of each cell from the preset cell rate information index table, and the method for obtaining the data access rate according to the network data service access rate detecting method is Obtaining in the index table can obviously save time, and can also obtain the data access rate of the cell where multiple SIM cards are located at the same time, thereby effectively saving time. It can efficiently and quickly adapt to a better network for data service access. More user and better data experience.
- the method acquires a data access rate of the new cell;
- the user identification card of the cell in which the cell is not changed acquires the data access rate of each cell according to the preset cell rate information index table.
- the cell where the SIM card is located changes, in fact, the SIM card detects a new cell that meets the access condition.
- a preset may be obtained.
- the cell rate information index table may not use the network data service access rate detection method when the new cell has a record in the table, and the data access rate of the cell of the new cell and other SIM cards is in the preset cell rate information index. There are all in the table, so this method can effectively improve the efficiency of obtaining comparison results and reduce the time required to select a suitable cell.
- the data in the preset cell rate information index table may be registered in the terminal for each small When the district was acquired. For example, when the terminal registers the cell, the cell identifier is obtained according to the read system broadcast message or the cell identifier in the synchronization channel message, and the data access rate may be obtained when the terminal registers the cell, or after accessing the cell. Obtain.
- the following describes the method for obtaining the cell identifier in this embodiment. It can be understood that the following methods are obtained based on the network standard existing in the home country. When a higher generation network, such as 5G, occurs, the data service of the embodiment can also be utilized. Self-adaptation method.
- the cell ID of the cell can be known by reading the broadcast message SIB3 (the third type of system broadcast message) delivered by the cell. (cell identification) information.
- SIB3 the third type of system broadcast message
- the cell Cell ID information can be obtained by reading the broadcast message SIB3 sent by the cell.
- the broadcast message SIB1 (the first type of system broadcast message) delivered by the cell can be read.
- the cell ID information of the cell is known.
- the cell Cell ID information can be obtained by reading the broadcast message SIB3 sent by the cell.
- the cell identifier of the system can be known by reading the Sync Channel Message.
- the preset cell rate information index table is generally an empty table. After the terminal detects the cells where multiple SIM cards are located, the terminal may first try to register in each cell and then Obtaining the cell identifier of each cell, filling it into a preset cell rate information index table, and then using the network data service access rate detection method for each cell number According to the access rate, the detected data access rate of each cell is correspondingly written into the preset cell rate information index table.
- the preset cell rate information index table in this embodiment may further include network information and network standard information.
- the PLMN (land-based public mobile communication network identifier) in Table 1 is a combination of MCC+MNC (Mobile Country Code and Mobile Network Code), which can be obtained by SIM card information.
- MCC+MNC Mobile Country Code and Mobile Network Code
- the data can be performed when other SIM cards do not perform data services.
- the process of the network data service access rate detecting method in this embodiment includes:
- the terminal initiates a connection operation (ie, a ping operation) on a regular website by using a SIM card.
- a connection operation ie, a ping operation
- the terminal calculates a delay from the initiation of the connectivity operation to the receipt of the website response, and calculates a data access rate of the cell where the SIM card is located according to the delay.
- the terminal may write the obtained data access rate and the cell identifier of the cell where the SIM card is located into the preset cell rate information index table, that is, Table 1.
- the method of averaging multiple measurements may be performed when obtaining the data access rate.
- the data access rate is obtained according to the network data service access rate detection method, multiple times of detection may be performed, and the average value of the data access rate obtained by multiple detections is taken as the detection result.
- different cells may initiate connectivity operations on the same regular website.
- the reliability of the data access rate in the preset cell rate information index table is important.
- the terminal may use the foregoing network data service access rate detection method to periodically obtain the current data access rate of the cell where multiple SIMs are located, and update the index table in time. The data access rate in .
- the preset cell rate information index table may be updated by the following steps:
- the first step is to obtain the cell identifier of the new cell that meets the access condition.
- the cell identifier can be obtained by reading the system broadcast message of each cell.
- Step 2 determining, according to the cell identifier of the new cell and the preset cell rate information index table, whether the new cell is recorded in the preset cell rate information index table;
- the third step if yes, after obtaining the data access rate of the cell where the at least two user identification cards (SIM cards) are located, the preset cell rate information index table is updated at the obtained data access rate;
- the related information of the new cell is written according to the format of the preset cell rate information index table.
- the method further includes:
- the cell identity and the data access rate of the new cell are written into the preset cell rate information index table;
- the method further includes:
- the cell identity and data of the new cell are connected.
- the in-rate is written into the preset cell rate information index table.
- the terminal periodically acquires the preset cell rate information index table of the data access rate update, and other update modes can be combined with the cell handover process, thereby saving terminal resources and reducing Switch costs.
- the self-adapting method of the data service of the embodiment when at least two user identification cards are provided in the terminal, it is detected whether the cell where the user identity card is located changes, and when the change is made, at least two user identities are obtained. Identifying the data access rate of the cell in which the card is located, comparing the data access rate obtained by the cell corresponding to the at least two user identity cards, and selecting the appropriate cell according to the comparison result and the current cell serving the data service.
- the data service provides the network, and the data access rate of the cell can reflect the good condition of each carrier network in real time. Therefore, the handover of the data service access cell in this embodiment is implemented based on the real network condition of the current cell, and the user can always be guaranteed.
- the use of a better data access network greatly improves the data service experience.
- the data service can be offloaded to the network with sufficient resources, thereby reducing the load of the network to some extent.
- the data access rate can be quickly obtained by using the preset cell rate information index table, which is convenient for efficiently and quickly identifying a network with a better network access rate, before the user obviously feels that the data service is slowed down. Switch the network to improve the user's sense of use.
- Embodiment 2 is a diagrammatic representation of Embodiment 1:
- this embodiment proposes another self-adaptive method for data services.
- the data service uses SIM2, and the terminal stores pre-stored
- the cell rate information index table where the table includes the cell identifier of the cell that the terminal accesses and the corresponding network access rate, and the self-adaption method of the data service in this embodiment includes:
- the terminal acquires a cell rate information index table.
- the self-adapting method of the data service in this embodiment can quickly acquire the data access rate of the cell where the new cell and another SIM card are located when the SIM card of the terminal detects the new cell that meets the access condition. Efficiently and quickly identify a network with a better network access rate, thus ensuring that users always use a better data access network, greatly improving the data service experience.
- Embodiment 3 is a diagrammatic representation of Embodiment 3
- this embodiment provides a self-adaptive device for data services, including:
- the detecting module 41 is configured to detect, when the terminal has at least two user identification cards, whether the cell where the user identity card is located changes;
- the obtaining module 42 is configured to obtain, when the detecting module detects that the cell where the user identity card is located, the data access rate of the cell where the at least two user identity cards are located;
- the comparing module 43 is configured to compare data access rates of the cells corresponding to the at least two user identity cards;
- the switching module 44 is configured to provide a network for the current data service according to the comparison result of the comparison module and the cell currently serving the data service.
- the cell network in this embodiment may be a different generation network, such as 2G/3G/4G, etc., and may also be extended to the unlisted 5G, but different standards, such as GPS, S-CDMA, CDMA2000, LTE, and the like.
- the terminal in this embodiment is a terminal that can install a SIM card and has a data communication function, including but not limited to a mobile phone or a tablet computer with a SIM card.
- the terminal in this embodiment is provided with at least two SIM cards, wherein the SIM card herein can be understood as a physical card separated from the terminal in the prior art, and can also be understood as a physical card or a virtual card fixed in the mobile phone, such as E. - SIM card.
- the carrier networks of the multiple SIM cards are different, and the cell switching is implemented based on the data access rate of the serving cell, it is within the scope of this embodiment.
- the change of the cell where the SIM card is located can be generally understood as the change of the cell where the SIM card is located from the A cell to the B cell due to the change of the geographical location of the user, that is, the SIM card detects the new cell that meets the access condition. , or the cell where the SIM card is located is from the A cell to the place without network coverage.
- the change of the SIM card in this embodiment may be extended to that the geographic location of the cell where the SIM card is located does not change but the data access rate changes.
- the number of SIM cards in the terminal is increased or decreased, the number of cells in which the SIM is located may be changed.
- the change in the number of SIM cards should also be understood in the range of “the cell where the SIM card is located” in the embodiment. .
- the detecting module 41 detects that the data access rate of the cell where the SIM card is located is changed, the detecting module 41 detects that only the cell that the data service accesses is changed, and the data access rate is increased, and the obtaining module 42 and the comparing module 43 are added. And the switching module 44 may not perform subsequent processing, and the current cell access situation may be maintained. If the cell that is not only the data service access is changed, the acquiring module 42, the comparing module 43, and the switching module 44 are required to implement the cell switching. .
- the obtaining module 42 obtains the data access rate of the cell where the at least two SIM cards are located.
- the acquiring module 42 detects the data connection of the cell in real time according to the network data service access rate detecting method.
- the inbound rate, or the obtaining module 42 sends an inquiry message to the server of the base station or the cell where the cell is located, and obtains the data access rate of the cell they record.
- the obtaining module 42 requests the data access rate and the like from the terminal that has acquired the data access rate of the current cell by means of short-distance communication or the like. If the cell where the SIM card is located may change, the SIM card may not be in the coverage of the cell. In this case, the acquiring module 42 defaults to the data access rate of the cell where the SIM card is located.
- the obtaining module 42 of the embodiment is configured to acquire, according to the network data service access rate detecting method, the data connection of the cell where the at least two user identification cards are located, when the detecting module detects that the cell where the user identity card is located changes. Incoming rate.
- the acquisition module 42 can obtain the data access rate of all the cells where the SIM card is located, according to the network data service access rate detection method, as long as the cell of any one of the multiple SIM cards changes.
- the method for detecting the access rate of the network data service is a method for obtaining the data access rate of the SIM card in real time. It can be foreseen that the detection method requires a certain time, and if the number of SIM cards is large, the data access is obtained. The rate will waste more time, which is not conducive to the switching of data services, which is not conducive to the improvement of user experience. Moreover, in this manner, each time the cell in which the SIM card is detected is changed, the obtaining module 42 needs to obtain the data access rate of the cell where all the SIM cards are located, which is cumbersome and time consuming.
- the obtaining module 42 of the embodiment is further configured to obtain a preset cell rate information index table, where the preset cell rate information index table includes a cell identifier of the cell accessed by the terminal and corresponding network access.
- the rate of the cell identifier of the new cell that meets the access condition is obtained.
- the preset cell rate information index table is obtained.
- the data access rate of the cell; otherwise, the data access rate of the new cell is obtained according to the network data service access rate detection method; and the user identity card that has not changed in the cell is based on the preset cell rate information index table. Obtain the data access rate of each cell.
- the obtaining module 42 of the embodiment is configured to obtain a preset cell rate information index table, where the preset cell rate information index table includes a cell identifier and a corresponding cell of the cell accessed by the terminal.
- the acquiring module 42 acquires the data card of the current cell of the SIM according to the network data service access rate detecting method.
- Incoming rate and for the SIM card whose cell does not change, only need to obtain the data access rate of each cell from the preset cell rate information index table, and obtain data connection according to the network data service access rate detection method.
- the method of inbound rate can obviously save time from the index table, and can also obtain the data access rate of multiple SIM cards in the cell, which effectively saves time. It can efficiently and quickly adapt to a better network for data service access. More user and better data experience.
- the data in the preset cell rate information index table may be acquired when the obtaining module 42 registers each cell.
- the cell identifier is obtained according to the read system broadcast message or the cell identifier in the synchronization channel message, and the data access rate may be obtained when the terminal registers the cell, or after accessing the cell.
- Obtain For the method of obtaining the cell identifier, reference may be made to the related description in the first embodiment, which is not described in this embodiment.
- the obtaining module and the comparing module and the switching module may be implemented by a processor.
- the acquisition module 42 obtains the data access rate in the preset cell rate information index table
- the reliability of the data access rate in the preset cell rate information index table is important.
- the terminal may use the network data service access rate detection method in the first embodiment to periodically obtain the data access rate of the current multiple SIM cells. Update data access in the index table rate.
- the self-adaptive device of the data service of the embodiment further includes a determining module and an updating module;
- the obtaining module 42 is further configured to: when the detecting module detects that the cell where the user identity card is located changes, acquire the cell identifier of the new cell that meets the access condition;
- the determining module is configured to determine, according to the cell identifier of the new cell, whether the new cell matches the preset cell rate information index table;
- the updating module is configured to: when the determining result of the determining module is yes, write the cell identifier and the data access rate of the new cell according to the identifier information of the new cell acquired by the acquiring module and the data access rate of the new cell.
- the preset cell rate information index table is configured to: when the determining result of the determining module is yes, write the cell identifier and the data access rate of the new cell according to the identifier information of the new cell acquired by the acquiring module and the data access rate of the new cell.
- the comparison module 43 can determine the cell with the highest data access rate by comparing, and then the switching module 44 can directly switch the current data service to the cell with the largest data access rate. However, if the data access rate between the cell currently serving the data service and the cell with the highest data access rate is not large, the handover of the cell not only wastes time, but also interrupts the data service for a certain period of time, and brings the user with In the embodiment, the switching module 44 selects a suitable cell according to the comparison result and the cell currently serving the data service to provide a network for the current data service.
- the handover module 44 may not perform cell handover.
- the handover module 44 switches the data service to the cell with the largest data access rate.
- the preset threshold may be set.
- the switching module 44 is configured to: when the difference between the data access rate of the cell with the highest data access rate and the cell that is currently serving the data service is less than a preset threshold, the cell cut is not performed.
- the data service is switched to the cell with the largest data access rate when the difference between the data access rate of the cell with the highest data access rate and the cell currently serving the data service is greater than the preset threshold.
- the preset threshold here can be set according to the actual situation, but it is necessary to consider whether the difference of the data access rate less than the preset threshold has adversely affected the data service experience of the user.
- a terminal including the self-adaptive device of the data service of the embodiment.
- FIG. 5 a schematic diagram of the terminal line moving process of this embodiment is shown.
- the terminal in this embodiment may also be a multi-card terminal such as a three-card terminal or a four-card terminal, which is not limited in this embodiment.
- the cell shown in FIG. 5 belongs to the cell of the SIM1 of the terminal.
- the serving cell of the SIM1 is changed from the cell B to the cell C, and the terminal acquires the identification information of the cell C.
- the terminal may It is determined whether the SIM1 has been recorded in the cell rate information index table. If it has been recorded, the data access rate value of the cell C can be quickly obtained, and the value is compared with the data access rate value of the cell where the SIM2 is located, and then the rate is selected.
- the terminal may use the network data service access rate detection method to obtain the real-time data access rate value of the cell C, and the value and the SIM2 are located.
- the data access rate values of the cells are compared, and then the network with a higher rate value, that is, a faster data access, is selected.
- the cell in which the SIM2 is located has also changed, for example, the cell E has changed to the cell F. Similarly, it may be determined according to the identification information of the cell F whether it is recorded in the cell rate information index table, and if it has been recorded, it may be quickly obtained.
- the data access rate value of cell F if not recorded, The network data service access rate detection method is used to obtain the real-time data access rate value of the cell F.
- the data access rate of the cell obtained by the acquiring module can reflect the good condition of each operator network in real time, so the switching of the data service access cell in this embodiment is based on the current The real network situation of the cell is realized, which ensures that the user always uses a better data access network, which greatly improves the data service experience.
- the data service can be offloaded to the network with sufficient resources, thereby reducing the load on the network to some extent.
- modules or steps of the present invention described above can be implemented in a general purpose processor or processing circuit, which can be centralized on a single processor or processing circuit, or distributed across multiple processes. Alternatively, they may be implemented by a processor or a program code executable by the processing circuit so that they can be stored in a storage medium (ROM/RAM, disk, optical disk). Executed by a processor or processing circuit, and in some cases, the steps shown or described may be performed in an order different than that herein, or separately fabricated into individual integrated circuit modules, or many of them Modules or steps are made into a single integrated circuit module. Therefore, the invention is not limited to any particular combination of hardware and software.
- the processor may include a central processing unit CPU, a microprocessor MCU, a digital signal processor, an application processor AP or a programmable array PLC, and the like.
- the processing circuit can include an application specific integrated circuit ASIC.
- the embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to perform a self-adaption method of any one of the foregoing data services, for example, 1.
- the computer storage medium in this embodiment may be any storage medium such as an optical disk, a magnetic tape, a USB flash drive or a mobile hard disk, and may be a non-transitory storage medium.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Disclosed are a self-adaptive method, device, and terminal for data service. The present invention allows, when at least two user identity cards are provided in a terminal, the detection of whether a change occurred in cells in which the user identity cards are located, and when a change occurred, the acquisition of the data access rates of the cells in which the at least two user identity cards respectively are located, the comparison of the data access rates of the cells corresponding to the at least two user identity cards, and the selection of a data service access network on the basis of the comparison result and of the cell currently providing service for data service. Also provided in embodiments of the present invention is a computer storage medium.
Description
本发明涉及通信技术领域,具体涉及一种数据业务的自适配方法、装置、终端和计算机存储介质。The present invention relates to the field of communications technologies, and in particular, to a self-adaptive method, apparatus, terminal, and computer storage medium for data services.
随着第四代4G网络的建设,越来越多的人开始使用4G终端,特别的,双4G终端因为可以同时支持不同运营商网络,极大的方便了用户的使用要求。4G终端也因此变的越来越普及。但在实际使用中,对于不同的运营商网络,用户会感觉到数据业务有快慢的主观感受,还有对于不同制式(2/3/4G),也存在高一代制式网络的数据业务优于低一代网络情况。With the construction of the fourth-generation 4G network, more and more people are beginning to use 4G terminals. In particular, dual 4G terminals can greatly support the user's use requirements because they can support different carrier networks at the same time. 4G terminals have therefore become more and more popular. However, in actual use, for different carrier networks, users will feel the subjective feeling of data service speed, and there are also better data services for different systems (2/3/4G) and higher generation systems. A generation of network conditions.
当终端处在某一具体的地理位置时,若终端可以接入不同运营商的网络,终端实际可以接入的网络小区就存在多个,例如安装移动SIM卡和联通SIM卡的双4G终端可以接入移动运营商提供的网络或联通运营商提供的网络,此时为了给用户提供更优的数据服务,当用户在适应数据业务时,一般希望接入的网络速度最快。When the terminal is in a specific geographical location, if the terminal can access the network of different operators, there are multiple network cells that the terminal can actually access. For example, dual 4G terminals that install the mobile SIM card and the Unicom SIM card can To access the network provided by the mobile operator or the network provided by the Unicom carrier. In order to provide users with better data services, when users adapt to data services, they generally want to access the network at the fastest speed.
现有技术中公开了一种提高双卡上网速度的方法及装置:检测双卡的网络连接状态;当双卡的网络连接都处于打开状态时,分别检测双卡的网络流量出口数据值;根据双卡的网络流量出口数据值,设置各张卡的网络流量出口权重。The prior art discloses a method and device for improving the speed of dual-card Internet access: detecting the network connection status of the dual-card; and detecting the network traffic export data value of the dual-card when the network connection of the dual-card is in an open state; The network traffic export data value of the dual card sets the network traffic export weight of each card.
明显,在现有技术中,是基于各张卡的网络流量数据值来设置各张卡的网络流量出口权重,并以此进行流量分配,从而提高上网速度,但是现有技术需要一直监控两张卡的网络流量,占用的终端资源较多,其次基于各张卡的网络流量数据值并不能十分准确地反应各运营商的网络状况,所
以现有技术中的方案还存在不能基于运营商的网络的真实情况对数据业务的接入网络进行控制的缺点。Obviously, in the prior art, the network traffic export weight of each card is set based on the network traffic data value of each card, and the traffic distribution is performed thereby, thereby improving the Internet access speed, but the prior art needs to continuously monitor two The network traffic of the card occupies more terminal resources. Secondly, based on the network traffic data value of each card, it cannot reflect the network status of each operator very accurately.
In the prior art solution, there is also the disadvantage that the access network of the data service cannot be controlled based on the real situation of the operator's network.
发明内容Summary of the invention
本发明实施例旨在提供一种数据业务的自适配方法、装置、终端和计算机存储介质,解决现有技术中存在的终端资源占用多,和/或不能基于运营商的网络的真实情况对数据业务的接入网络进行控制的问题。The embodiments of the present invention are directed to a self-adaptive method, device, terminal, and computer storage medium for a data service, which solves the problem that the terminal resources occupied in the prior art are occupied, and/or cannot be based on the real situation of the operator's network. The problem of controlling the access network of data services.
本发明实施例提供一种数据业务的自适配方法,包括:The embodiment of the invention provides a self-adaption method for a data service, including:
当终端中设有至少两张用户身份识别卡时,若检测用户身份识别卡所在小区发生变化,获取至少两张用户身份识别卡各自所在小区的数据接入速率;When at least two user identification cards are provided in the terminal, if the cell in which the user identity card is located is detected to change, the data access rate of the cell where the at least two user identity cards are located is obtained;
比较至少两张用户身份识别卡各自所在小区的数据接入速率;Comparing the data access rates of the cells in which the at least two user identification cards are located;
根据比较结果以及当前为数据业务提供服务的小区选择合适的小区为当前的数据业务提供网络。Selecting a suitable cell according to the comparison result and the cell currently serving the data service provides a network for the current data service.
本发明实施例还提供一种数据业务的自适配装置,包括:The embodiment of the invention further provides a self-adaptive device for data services, including:
检测模块,配置为当终端中设有至少两张用户身份识别卡时,检测用户身份识别卡所在小区是否发生变化;The detecting module is configured to detect, when the terminal has at least two user identification cards, whether the cell where the user identity card is located changes;
获取模块,配置为在检测模块检测到用户身份识别卡所在小区发生变化时,获取至少两张用户身份识别卡各自所在小区的数据接入速率;The acquiring module is configured to acquire, when the detecting module detects that the cell where the user identity card is located, the data access rate of the cell where the at least two user identity cards are located;
比较模块,配置为比较至少两张用户身份识别卡各自所在小区的数据接入速率;The comparison module is configured to compare data access rates of the cells where the at least two user identification cards are located;
切换模块,配置为根据比较模块的比较结果以及当前为数据业务提供服务的小区选择合适的小区为当前的数据业务提供网络。The switching module is configured to provide a network for the current data service according to the comparison result of the comparison module and the cell currently serving the data service.
本发明实施例还提供一种终端,包括如上的数据业务的自适配装置。The embodiment of the invention further provides a terminal, including the self-adaptive device for the data service as above.
1本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行前述任意一个所
述数据业务的自适配方法。An embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute any one of the foregoing
A self-adapting method for data services.
本发明实施例公开了一种数据业务的自适配方法、装置、终端和计算机存储介质,可以在终端中设有至少两张用户身份识别卡时,检测用户身份识别卡所在小区是否发生变化,并在变化时,获取至少两张用户身份识别卡各自所在小区的数据接入速率,比较至少两张用户身份识别卡对应小区的数据接入速率,根据比较结果及当前为数据业务提供服务的小区选择合适的小区为当前的数据业务提供网络,本发明获取的小区的数据接入速率可以实时反映各运营商网络的优良状况,所以本实施例的数据业务接入小区的切换是基于当前的小区的真实网络情况实现的,能保证用户始终使用更优的数据接入网络,大大提高了数据业务体验。同时,采用本发明实施例提出的方法后,可以将数据业务分流用户到资源充足的网络中,从而一定程度上降低了网络的负载。The embodiment of the invention discloses a method, a device, a terminal and a computer storage medium for adapting a data service. When at least two user identification cards are provided in the terminal, the method for detecting whether the cell where the user identity card is located changes is detected. And when changing, obtain the data access rate of the cell where the at least two user identification cards are located, compare the data access rates of the cells corresponding to at least two user identification cards, and compare the result and the cell currently serving the data service. Selecting a suitable cell to provide a network for the current data service, the data access rate of the cell obtained by the present invention can reflect the good condition of each carrier network in real time, so the handover of the data service access cell in this embodiment is based on the current cell. Realized network conditions can ensure that users always use better data access networks, greatly improving the data service experience. At the same time, after the method provided by the embodiment of the present invention is used, the data service can be offloaded to the network with sufficient resources, thereby reducing the load of the network to some extent.
图1为本发明实施例一提供的一种数据业务的自适配方法的流程图;FIG. 1 is a flowchart of a self-adaptive method for data services according to Embodiment 1 of the present invention;
图2为本发明实施例一提供的网络数据接入数据业务接入速率检测方法的流程图;2 is a flowchart of a method for detecting a network data access data service access rate according to Embodiment 1 of the present invention;
图3为利用本发明实施例二提供的另一种数据业务的自适配方法的流程图;3 is a flowchart of another self-adaptive method for data service according to Embodiment 2 of the present invention;
图4为本发明实施例三提供的一种数据业务的自适配装置的结构图;4 is a structural diagram of a self-adaptive device for data services according to Embodiment 3 of the present invention;
图5为本发明实施例三提供的终端跨小区移动的示意图。FIG. 5 is a schematic diagram of a terminal moving across a cell according to Embodiment 3 of the present invention.
下面通过具体实施方式结合附图对本发明作进一步详细说明,应当理解,以下所说明的优选实施例仅用于说明和解释本发明,并不用于限定本发明。
The present invention will be further described in detail with reference to the accompanying drawings, in which: FIG.
实施例一:Embodiment 1:
参见图1,图1示出了本实施例提供的一种数据业务的自适配方法,在终端中具有多张用户身份识别卡(Subscriber Identification Module,SIM)卡时,本实施例提供了更优的切换用户身份识别卡(SIM卡)为数据业务服务的方案。可以在任一张SIM所在的小区变化时,根据所有用户身份识别卡网络数据接入速率智能地切换小区,也即切换SIM卡为用户提供数据业务,提高用户的体验。本实施例小区网络可以是不同代的网络,如2G/3G/4G等等,还可以延伸到未上市的5G,可是不同的制式,如GPS、S-CDMA、CDMA2000、LTE等等。Referring to FIG. 1 , FIG. 1 shows a self-adaptive method for data service provided by this embodiment. When a user has multiple Subscriber Identification Modules (SIMs) cards in the terminal, this embodiment provides a more An excellent switching user identity card (SIM card) is a solution for data service services. The cell can be intelligently switched according to the network data access rate of all the user ID cards when the cell in which the SIM is located changes, that is, the SIM card is switched to provide data services for the user, thereby improving the user experience. In this embodiment, the cell network may be a different generation network, such as 2G/3G/4G, etc., and may also be extended to the unlisted 5G, but different formats, such as GPS, S-CDMA, CDMA2000, LTE, and the like.
参见图1,本实施例的数据业务的自适配方法包括:Referring to FIG. 1, the self-adaption method of the data service in this embodiment includes:
S101、当终端中设有至少两张SIM卡时,若检测SIM卡所在小区发生变化,获取至少两张SIM卡各自所在小区的数据接入速率;S101. When at least two SIM cards are provided in the terminal, if the cell where the SIM card is located is detected to be changed, the data access rate of the cell where the at least two SIM cards are located is obtained.
S102、比较至少两张SIM卡各自所在小区的数据接入速率;S102. Compare data access rates of cells in which at least two SIM cards are located.
S103、根据比较结果以及当前为数据业务提供服务的小区选择合适的小区为当前的数据业务提供网络。S103. Select a suitable cell according to the comparison result and the cell currently serving the data service to provide a network for the current data service.
本实施例的终端是可以安装SIM卡,具有数据通信功能的终端,包括但不限于手机或设有SIM卡的平板电脑等。本实施例的终端中设有至少两张SIM卡,其中,这里的SIM卡可以理解为现有技术中与终端分离的实体卡,也可以理解为固定在手机中的实体卡或虚拟卡如E-SIM卡。只要多张SIM卡的运营商网络不同,又是基于服务小区的数据接入速率来实现小区的切换,就属于本实施例的范围。The terminal in this embodiment is a terminal that can install a SIM card and has a data communication function, including but not limited to a mobile phone or a tablet computer with a SIM card. The terminal in this embodiment is provided with at least two SIM cards, wherein the SIM card herein can be understood as a physical card separated from the terminal in the prior art, and can also be understood as a physical card or a virtual card fixed in the mobile phone, such as E. - SIM card. As long as the carrier networks of the multiple SIM cards are different, and the cell switching is implemented based on the data access rate of the serving cell, it is within the scope of this embodiment.
其中,市面上使用范围最广的多卡手机是双卡手机,利用本实施例的数据业务的自适配方法可以对数据业务接入的小区进行智能切换,尤其适用于市面上的双卡双待手机的数据业务的小区切换。Among them, the most widely used multi-card mobile phone in the market is a dual-card mobile phone. The self-adapting method of the data service in this embodiment can intelligently switch the cell accessed by the data service, and is especially suitable for the dual-card dual-pair on the market. The cell handover of the data service of the mobile phone.
可以理解的是不同的运营商对于小区的划分是不同的,而电信运营商
在部署网络时会根据当前地区的话务量、小区覆盖及承载能力进行综合评估后完成,因此也就存在对于同一个运营商网络不同制式下,因接入用户数量的不同而数据接入速率大相径庭的情况。当具有多张SIM卡的终端处于某一具体地点时,不同的SIM卡所在的小区是不同的,基于不同运营商在部署网络时的不同,同一物理地点对应的不同运营商的小区的网络数据传输速率一般是不同的。当网络数据传输速率不同时,对统一终端的数据接入请求的相应也不同,所以在本实施例中,可以利用各小区的数据接入速率来反映各小区的网络情况。It can be understood that different operators have different divisions of cells, and telecom operators
When the network is deployed, it will be completed based on the traffic volume, cell coverage, and bearer capacity of the current region. Therefore, there are different data access rates for different operators in the same carrier network. A very different situation. When the terminal with multiple SIM cards is in a specific location, the cells in which the different SIM cards are located are different. Based on the different operators when deploying the network, the network data of the cells of different operators corresponding to the same physical location are different. The transmission rate is generally different. When the data transmission rate of the network is different, the data access request of the unified terminal is different. Therefore, in this embodiment, the data access rate of each cell can be used to reflect the network condition of each cell.
在S101中,SIM卡所在小区发生变化一般可以理解为由于终端地理位置的改变带来的SIM卡所在小区由A小区变化到B小区的变化,即SIM卡检测到符合接入条件的新小区,或者SIM卡所在小区是由A小区到无网络覆盖范围的地方。此时由于同一营运商的不同小区的网络部署,网络接入用户等信息的不同,SIM所在新小区的数据接入速率相对于旧小区会发生变化。In S101, the change of the cell where the SIM card is located is generally understood to be a change of the cell where the SIM card is located from the A cell to the B cell due to the change of the geographical position of the terminal, that is, the SIM card detects the new cell that meets the access condition. Or the cell where the SIM card is located is from the A cell to the place without network coverage. At this time, due to different network deployments of different operators of the same operator, different information such as network access users, the data access rate of the new cell where the SIM is located may change relative to the old cell.
此外,考虑到如果某一张或多张SIM所在小区网络发生故障或突然接入大量用户等意外情况,可能导致小区自身的数据接入速率发生变化,若刚好发生意外的小区就是数据业务接入的小区,会给用户带来损失以及降低用体验。所以本实施例的SIM卡所在小区发生变化可以延伸为SIM卡所在小区的数据接入速率变化。In addition, considering that if a network of one or more SIMs is faulty or suddenly accesses a large number of users, the data access rate of the cell itself may change, and if the unexpected cell happens to be a data service access The community will bring losses to users and reduce the experience. Therefore, the change of the cell where the SIM card is located in this embodiment may be extended to the data access rate change of the cell where the SIM card is located.
其中,当SIM卡所在小区的数据接入速率变化时,若变化的只是数据业务接入的小区,且数据接入速率增加了,不用再进行后续S102和S103的步骤,维持当前的小区接入情况即可,若变化的不止数据业务接入的小区,则进行后续S102-S103的步骤。If the data access rate of the cell where the SIM card is located changes, if only the cell accessing the data service is changed, and the data access rate is increased, the subsequent steps of S102 and S103 are not performed, and the current cell access is maintained. The situation may be, if the changed cell is not only the data service access, the subsequent steps of S102-S103 are performed.
此外,若终端中的SIM卡的数量增加或减少,会带来SIM所在小区数量的变化,这种SIM卡数量的变化也应该理解在本实施例的“SIM卡所在
小区发生变化”的范围内。若SIM卡数量增加了,在后续S101-S103中,可以只将比较增加的SIM卡所在小区与当前的数据业务接入的小区之间的数据接入速率,然后确定是否切换。如果SIM卡数量减少了,且减少的卡是当前数据业务接入的卡,在后续S101-S103中,需要对剩余的SIM卡所在小区的数据接入速率进行比较,然后选择最优的小区为数据业务提供网络。In addition, if the number of SIM cards in the terminal is increased or decreased, the number of cells in the SIM is changed. The change in the number of SIM cards should also be understood in the SIM card of this embodiment.
Within the scope of the cell change. If the number of SIM cards is increased, in subsequent S101-S103, only the data access rate between the cell where the added SIM card is located and the cell to which the current data service is accessed may be compared, and then Determining whether to switch. If the number of SIM cards is reduced, and the reduced card is the card for the current data service access, in subsequent S101-S103, the data access rates of the cells in which the remaining SIM cards are located need to be compared, and then the most An excellent cell provides a network for data services.
在S101中,获取至少两张SIM卡各自所在的小区的数据接入速率的方式有多种,例如,按照网络数据业务接入速率检测方法实时检测小区的数据接入速率,或者,发送查询消息到小区所在的基站或小区的服务器,获取它们记载的小区的数据接入速率,或者通过短距离通信等方式向获取过本小区的数据接入速率的终端请求该数据接入速率等等。其中,SIM卡所在小区发生变化可能出现该SIM别卡不在小区的覆盖范围的情况,此时,默认该SIM卡所在小区的数据接入速率为0。In S101, the data access rate of the cell where the at least two SIM cards are located is different. For example, the data access rate of the cell is detected in real time according to the network data service access rate detection method, or the query message is sent. Go to the server of the base station or the cell where the cell is located, obtain the data access rate of the cell in which the cell is recorded, or request the data access rate and the like from the terminal that has obtained the data access rate of the cell through short-distance communication or the like. If the cell where the SIM card is located may change, the SIM card may not be in the coverage of the cell. At this time, the data access rate of the cell where the SIM card is located is 0.
在S102的比较步骤中,一般可以确定数据接入速率最大的小区,之后可以直接将当前的数据业务切换到该数据接入速率最大的小区中进行。但是若当前为数据业务提供服务的小区与该数据接入速率最大的小区之间的数据接入速率差异并不大时,切换小区不仅浪费时间,还会中断一定时间的数据业务,给用户带来不良体验,所以,本实施例在切换时,可以采用S103中的方案,根据比较结果以及当前为数据业务提供服务的小区选择合适的小区为当前的数据业务提供网络。In the comparison step of S102, the cell with the largest data access rate can be generally determined, and then the current data service can be directly switched to the cell with the largest data access rate. However, if the data access rate between the cell currently serving the data service and the cell with the highest data access rate is not large, the handover of the cell not only wastes time, but also interrupts the data service for a certain period of time, and brings the user with In the embodiment, when the handover is performed, the solution in S103 can be used to select a suitable cell according to the comparison result and the cell currently serving the data service to provide a network for the current data service.
若比较结果为当前为数据业务提供服务的小区的数据接入速率最大,则可以不用进行小区切换。If the comparison result is that the data access rate of the cell currently serving the data service is the largest, the cell handover may not be performed.
若比较结果为数据接入速率最大的小区不是当前为数据业务提供服务的小区时,将数据业务切换到数据接入速率最大的小区。If the comparison result is that the cell with the largest data access rate is not the cell currently serving the data service, the data service is switched to the cell with the largest data access rate.
但是,考虑到数据接入速率最大的小区与当前为数据业务提供服务的
小区数据接入速率差异较小时,切换带来的问题,可以设置预设门限值,当数据接入速率最大的小区与当前为数据业务提供服务的小区之间的数据接入速率的差值小于预设门限值,不进行小区切换;当数据接入速率最大的小区与当前为数据业务提供服务的小区之间的数据接入速率的差值大于预设门限值,才将数据业务切换到数据接入速率最大的小区。However, considering the cell with the highest data access rate and the current service for data services.
When the difference in the data access rate of the cell is small, the problem caused by the handover may be set to a preset threshold, and the difference in data access rate between the cell with the highest data access rate and the cell currently serving the data service If the difference between the data access rate of the cell with the highest data access rate and the cell that serves the data service is greater than the preset threshold, the data service is not performed. Switch to the cell with the highest data access rate.
这里的预设门限可以根据实际情况来设置,但是设置时需要考虑到小于预设门限的数据接入速率的差值是否给用户的数据业务体验带来不良影响。The preset threshold here can be set according to the actual situation, but it is necessary to consider whether the difference of the data access rate less than the preset threshold has adversely affected the data service experience of the user.
对于S101,获取数据接入速率的方法包括但不限于以下的三种:For S101, the method for obtaining the data access rate includes but is not limited to the following three types:
方式一:若检测到SIM卡所在小区发生变化,按照网络数据业务接入速率检测方法,获取至少两张SIM卡所在小区的数据接入速率。Manner 1: If the cell where the SIM card is located is detected, the data access rate of the cell where the at least two SIM cards are located is obtained according to the network data service access rate detection method.
在第一种方式中,只要多张SIM卡中任一张SIM卡所在小区发生变化,就可以根据网络数据业务接入速率检测方法,获取全部的SIM卡所在小区的数据接入速率。网络数据业务接入速率检测方法是一种实时获取SIM卡的数据接入速率的方法,可以预见,这种检测方法是需要一定时间的,并且若SIM卡数量较多的时候,获取数据接入速率会浪费较多的时间,不利于数据业务的切换,不利于用户体验的提高。而且,采用此种方式,每一次检测到SIM卡所在小区发生变化时,均需要获取全部的SIM卡所在小区的数据接入速率,比较繁琐,浪费时间。In the first mode, as long as the cell where any one of the multiple SIM cards is located changes, the data access rate of the cell where all the SIM cards are located can be obtained according to the network data service access rate detection method. The method for detecting the access rate of the network data service is a method for obtaining the data access rate of the SIM card in real time. It can be foreseen that the detection method requires a certain time, and if the number of SIM cards is large, the data access is obtained. The rate will waste more time, which is not conducive to the switching of data services, which is not conducive to the improvement of user experience. Moreover, in this manner, each time a cell in which the SIM card is detected is changed, it is necessary to obtain the data access rate of all the cells where the SIM card is located, which is cumbersome and time consuming.
方式二:若检测到用户身份识别卡所在小区发生变化,获取预设的小区速率信息索引表;所述预设的小区速率信息索引表包括终端接入过的小区的小区标识和对应的网络接入速率;Manner 2: If it is detected that the cell where the user identity card is located changes, the preset cell rate information index table is obtained; the preset cell rate information index table includes the cell identity of the cell accessed by the terminal and the corresponding network connection. Incoming rate
对所在小区发生变化的用户身份识别卡,按照网络数据业务接入速率检测方法,获取其当前所在小区的数据接入速率;The user identity card that changes in the cell is obtained according to the network data service access rate detection method, and obtains the data access rate of the current cell.
对所在小区未发生变化的用户身份识别卡,根据预设的小区速率信息
索引表获取各小区的数据接入速率。User identification card that has not changed in the cell, according to preset cell rate information
The index table obtains the data access rate of each cell.
在第二种方式中,当SIM卡所在小区发生变化时,对于所在小区发生变化的SIM卡,才会按照网络数据业务接入速率检测方法获取SIM当前所在小区的数据接入速率,而对于所在小区未发生变化的SIM卡,只需要从预设的小区速率信息索引表获取各小区的数据接入速率即可,相对于按照网络数据业务接入速率检测方法获取数据接入速率的方式,从索引表中获取明显能节约时间,而且还可以同时获取多张SIM卡所在小区的数据接入速率,有效地节约了时间。能够高效快速地适配数据业务接入更优的网络。更用户更好的数据体验。In the second mode, when the SIM card is changed, the SIM card that changes in the cell is obtained according to the network data service access rate detection method, and the data access rate of the current cell of the SIM is obtained. The SIM card that has not changed in the cell only needs to obtain the data access rate of each cell from the preset cell rate information index table, and the method for obtaining the data access rate according to the network data service access rate detecting method is Obtaining in the index table can obviously save time, and can also obtain the data access rate of the cell where multiple SIM cards are located at the same time, thereby effectively saving time. It can efficiently and quickly adapt to a better network for data service access. More user and better data experience.
方式三:若检测到用户身份识别卡所在小区发生变化,获取预设的小区速率信息索引表;所述预设的小区速率信息索引表包括终端接入过的小区的小区标识和对应的网络接入速率;Manner 3: If it is detected that the cell where the user identity card is located changes, the preset cell rate information index table is obtained; the preset cell rate information index table includes the cell identifier of the cell accessed by the terminal and the corresponding network connection. Incoming rate
获取检测到的符合接入条件的新小区的小区标识;Obtaining the detected cell identity of the new cell that meets the access condition;
当所述新小区的小区标识与预设的小区速率信息索引表匹配时,获取所述预设的小区速率信息索引表中新小区的数据接入速率;否则,按照网络数据业务接入速率检测方法获取所述新小区的数据接入速率;Obtaining a data access rate of the new cell in the preset cell rate information index table when the cell identifier of the new cell matches the preset cell rate information index table; otherwise, detecting the network data service access rate according to the network data service access rate The method acquires a data access rate of the new cell;
对所在小区未发生变化的用户身份识别卡,根据预设的小区速率信息索引表获取各小区的数据接入速率。The user identification card of the cell in which the cell is not changed acquires the data access rate of each cell according to the preset cell rate information index table.
第三种方式中,SIM卡所在小区发生变化,实际上指的是SIM卡检测到符合接入条件的新小区,此时,为了进一步降低识别出最优的网络的时间,可以获取预设的小区速率信息索引表,当新小区在该表中有记录时,可以不使用网络数据业务接入速率检测方法,新小区和其他SIM卡的小区的数据接入速率在预设的小区速率信息索引表中都有,所以该方式能有效提高获取比较结果的效率,降低选择出合适的小区所需的时间。In the third mode, the cell where the SIM card is located changes, in fact, the SIM card detects a new cell that meets the access condition. In this case, in order to further reduce the time for identifying the optimal network, a preset may be obtained. The cell rate information index table may not use the network data service access rate detection method when the new cell has a record in the table, and the data access rate of the cell of the new cell and other SIM cards is in the preset cell rate information index. There are all in the table, so this method can effectively improve the efficiency of obtaining comparison results and reduce the time required to select a suitable cell.
其中预设的小区速率信息索引表中的数据可以是在终端注册每一个小
区的时候获取的。例如小区标识信息在终端注册小区的时候,根据读取的系统广播消息或同步信道消息中的小区标识得到,而数据接入速率可以在终端注册小区时获取,也可以在接入该小区后再获取。The data in the preset cell rate information index table may be registered in the terminal for each small
When the district was acquired. For example, when the terminal registers the cell, the cell identifier is obtained according to the read system broadcast message or the cell identifier in the synchronization channel message, and the data access rate may be obtained when the terminal registers the cell, or after accessing the cell. Obtain.
下面列举本实施例获取小区标识的方法,可以理解,下列的方法是基于本国现在存在的网络制式得到的,当出现更高一代的网络,如5G时,也可以利用本实施例的数据业务的自适配方法。The following describes the method for obtaining the cell identifier in this embodiment. It can be understood that the following methods are obtained based on the network standard existing in the home country. When a higher generation network, such as 5G, occurs, the data service of the embodiment can also be utilized. Self-adaptation method.
1.若终端尝试注册的为GERAN(GSM EDGE Radio Access Network,GSM边缘无线接入网络)小区,则可以通过读取小区下发的广播消息SIB3(第三类系统广播消息)得知小区Cell ID(小区标识)信息。1. If the terminal attempts to register a GE RAN (GSM EDGE Radio Access Network) cell, the cell ID of the cell can be known by reading the broadcast message SIB3 (the third type of system broadcast message) delivered by the cell. (cell identification) information.
2.若终端尝试注册的为UTRAN(UMTS Terrestrial Radio Access Network)是UMTS的陆地无线接入网)小区,则可以通过读取小区下发的广播消息SIB3得知小区Cell ID信息。2. If the UTRAN (UMTS Terrestrial Radio Access Network) is a cell of the UMTS (UMTS Terrestrial Radio Access Network), the cell Cell ID information can be obtained by reading the broadcast message SIB3 sent by the cell.
3.若终端尝试注册的为E-UTRAN(Evolved UMTS Terrestrial Radio Access Network,演进的UMTS陆地无线接入网)小区,则可以通过读取小区下发的广播消息SIB1(第一类系统广播消息)得知小区Cell ID信息。3. If the terminal attempts to register the E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) cell, the broadcast message SIB1 (the first type of system broadcast message) delivered by the cell can be read. The cell ID information of the cell is known.
4.若终端尝试注册的为TD-SCDMA(Time Division-Synchronous Code Division Multiple Access,时分同步码分多址)小区,则可以通过读取小区下发的广播消息SIB3得知小区Cell ID信息。4. If the terminal attempts to register a TD-SCDMA (Time Division-Synchronous Code Division Multiple Access) cell, the cell Cell ID information can be obtained by reading the broadcast message SIB3 sent by the cell.
5.若终端尝试注册的为CDMA(Code Division Multiple Access,码分多址)小区,则可以通过读取Sync Channel Message(同步信道信息)消息得知系统的小区标识。5. If the terminal attempts to register a CDMA (Code Division Multiple Access) cell, the cell identifier of the system can be known by reading the Sync Channel Message.
可以理解,在最开始使用本实施例的方法时,预设的小区速率信息索引表一般是空表,当终端检测到多个SIM卡所在的小区后,可以先尝试在每个小区进行注册然后获取每个小区的小区标识,将其填入预设的小区速率信息索引表,然后利用网络数据业务接入速率检测方法对每个小区的数
据接入速率进行检测,将检测得到的各小区的数据接入速率对应写入预设的小区速率信息索引表。It can be understood that, when the method of the embodiment is used at the beginning, the preset cell rate information index table is generally an empty table. After the terminal detects the cells where multiple SIM cards are located, the terminal may first try to register in each cell and then Obtaining the cell identifier of each cell, filling it into a preset cell rate information index table, and then using the network data service access rate detection method for each cell number
According to the access rate, the detected data access rate of each cell is correspondingly written into the preset cell rate information index table.
其中,参见下表一,本实施例预设的小区速率信息索引表中还可以包括网络信息和网络的制式信息。For example, refer to the following table 1. The preset cell rate information index table in this embodiment may further include network information and network standard information.
表一预设的小区速率信息索引表Table 1 Preset Cell Rate Information Index Table
网络信息Internet Information | 制式信息Standard information | 小区标识Cell identification | 数据接入速率值Data access rate value |
PLMNPLMN | RATRAT | Cell-IDCell-ID | XX |
表一中的PLMN(陆上公用移动通信网标识)为MCC+MNC(移动国家码和移动网络码)的组合,可由SIM卡信息获得。The PLMN (land-based public mobile communication network identifier) in Table 1 is a combination of MCC+MNC (Mobile Country Code and Mobile Network Code), which can be obtained by SIM card information.
其中,当需要对某一SIM卡所在小区的数据接入速率检测时,可以在其他SIM卡不进行数据业务时进行。When the data access rate of the cell where the SIM card is located needs to be detected, the data can be performed when other SIM cards do not perform data services.
参见图2,本实施例的网络数据业务接入速率检测方法的流程包括:Referring to FIG. 2, the process of the network data service access rate detecting method in this embodiment includes:
S201、终端通过某张SIM卡发起对某常规网站的连通操作(即ping操作);S201. The terminal initiates a connection operation (ie, a ping operation) on a regular website by using a SIM card.
S202、终端计算发起连通操作到接收到网站响应的时延,根据该时延计算SIM卡所在小区的数据接入速率。S202. The terminal calculates a delay from the initiation of the connectivity operation to the receipt of the website response, and calculates a data access rate of the cell where the SIM card is located according to the delay.
在S202后,终端可以将获取的该SIM卡所在小区的数据接入速率和小区标识写入预设的小区速率信息索引表即表一中。After the S202, the terminal may write the obtained data access rate and the cell identifier of the cell where the SIM card is located into the preset cell rate information index table, that is, Table 1.
进一步地,为了避免环境及其他因素影响,在获取数据接入速率时可以进行多次测量取平均值的方式进行。即本实施例在按照网络数据业务接入速率检测方法获取数据接入速率时,可以进行多次检测,取多次检测得到的数据接入速率平均值作为检测结果。其中,为了数据接入速率的可比性更高,在S201中,不同的小区可以发起对同一常规网站的连通操作。Further, in order to avoid the influence of the environment and other factors, the method of averaging multiple measurements may be performed when obtaining the data access rate. In this embodiment, when the data access rate is obtained according to the network data service access rate detection method, multiple times of detection may be performed, and the average value of the data access rate obtained by multiple detections is taken as the detection result. In order to make the data access rate comparable, in S201, different cells may initiate connectivity operations on the same regular website.
在本实施例中,若使用预设的小区速率信息索引表中的数据接入速率时,预设的小区速率信息索引表中的数据接入速率的可靠性很重要。一般而言,除了上班下班等特殊时间,某个小区在较短时间内的数据接入速率
不会有很大的变化,所以索引表中的数据接入速率可靠性一般可以得到保证。进一步地,为了得到更具实效性的数据接入速率,终端可以采用上述的网络数据业务接入速率检测方法,周期性地获取当前的多张SIM所在小区的数据接入速率,及时更新索引表中的数据接入速率。In this embodiment, if the data access rate in the preset cell rate information index table is used, the reliability of the data access rate in the preset cell rate information index table is important. Generally speaking, in addition to special hours such as going to work, the data access rate of a cell in a short period of time
There will be no major changes, so the reliability of the data access rate in the index table can generally be guaranteed. Further, in order to obtain a more effective data access rate, the terminal may use the foregoing network data service access rate detection method to periodically obtain the current data access rate of the cell where multiple SIMs are located, and update the index table in time. The data access rate in .
此外,在S101中,检测到用户身份识别卡所在小区发生变化后,可以通过以下的步骤实现预设的小区速率信息索引表的更新:In addition, in S101, after detecting that the cell where the user identity card is located changes, the preset cell rate information index table may be updated by the following steps:
第一步:获取符合接入条件的新小区的小区标识;其中,可以通过读取各小区的系统广播消息等方式获取小区标识。The first step is to obtain the cell identifier of the new cell that meets the access condition. The cell identifier can be obtained by reading the system broadcast message of each cell.
第二步:根据新小区的小区标识以及预设的小区速率信息索引表,判断新小区是否记录在预设的小区速率信息索引表中;Step 2: determining, according to the cell identifier of the new cell and the preset cell rate information index table, whether the new cell is recorded in the preset cell rate information index table;
第三步:若果是,则在获取至少两张用户身份识别卡(SIM卡)各自所在小区的数据接入速率后,以获取的数据接入速率更新预设的小区速率信息索引表;The third step: if yes, after obtaining the data access rate of the cell where the at least two user identification cards (SIM cards) are located, the preset cell rate information index table is updated at the obtained data access rate;
否则,在获取至少两张用户身份识别卡各自所在小区的数据接入速率后,按照预设的小区速率信息索引表的格式写入新小区的相关信息。Otherwise, after acquiring the data access rate of the cell where the at least two user identification cards are located, the related information of the new cell is written according to the format of the preset cell rate information index table.
具体的,当获取所述至少两张用户身份识别卡各自所在小区的数据接入速率的方式为上述的方式二时,还包括:Specifically, when the manner of obtaining the data access rate of the cell where the at least two user identity cards are located is the foregoing mode 2, the method further includes:
获取符合接入条件的新小区的小区标识;Obtaining a cell identifier of a new cell that meets the access condition;
根据所述新小区的小区标识,判断所述新小区是否与所述预设的小区速率信息索引表匹配;Determining, according to the cell identifier of the new cell, whether the new cell matches the preset cell rate information index table;
若否,则在按照网络数据业务接入速率检测方法,获取其小区的数据接入速率后,将新小区的小区标识和数据接入速率写入所述预设的小区速率信息索引表;If yes, after the data access rate of the cell is obtained according to the network data service access rate detection method, the cell identity and the data access rate of the new cell are written into the preset cell rate information index table;
当获取所述至少两张用户身份识别卡各自所在小区的数据接入速率的方式为方式三时,还包括:
When the manner of obtaining the data access rate of the cell where the at least two user identity cards are located is the third mode, the method further includes:
在新小区的小区标识与预设的小区速率信息索引表不匹配,且已按照网络数据业务接入速率检测方法获取所述新小区的数据接入速率后,将新小区的小区标识和数据接入速率写入所述预设的小区速率信息索引表。After the cell identifier of the new cell does not match the preset cell rate information index table, and the data access rate of the new cell is obtained according to the network data service access rate detection method, the cell identity and data of the new cell are connected. The in-rate is written into the preset cell rate information index table.
上述除了终端采用网络数据业务接入速率检测方法,周期性地获取数据接入速率更新预设的小区速率信息索引表外,其他更新方式可以和小区切换的过程结合,更能节约终端资源,降低切换成本。In addition to the network data service access rate detection method, the terminal periodically acquires the preset cell rate information index table of the data access rate update, and other update modes can be combined with the cell handover process, thereby saving terminal resources and reducing Switch costs.
采用本实施例的数据业务的自适配方法,可以在终端中设有至少两张用户身份识别卡时,检测用户身份识别卡所在小区是否发生变化,并在变化时,获取至少两张用户身份识别卡各自所在小区的数据接入速率,比较至少两张用户身份识别卡对应小区的数据接入速率获取的比较结果,根据比较结果及当前为数据业务提供服务的小区选择合适的小区为当前的数据业务提供网络,小区的数据接入速率可以实时反映各运营商网络的优良状况,所以本实施例的数据业务接入小区的切换是基于当前的小区的真实网络情况实现的,能保证用户始终使用更优的数据接入网络,大大提高了数据业务体验。同时,采用本发明实施例提出的方法后,可以将数据业务分流到资源充足的网络中,从而一定程度上降低了网络的负载。According to the self-adapting method of the data service of the embodiment, when at least two user identification cards are provided in the terminal, it is detected whether the cell where the user identity card is located changes, and when the change is made, at least two user identities are obtained. Identifying the data access rate of the cell in which the card is located, comparing the data access rate obtained by the cell corresponding to the at least two user identity cards, and selecting the appropriate cell according to the comparison result and the current cell serving the data service. The data service provides the network, and the data access rate of the cell can reflect the good condition of each carrier network in real time. Therefore, the handover of the data service access cell in this embodiment is implemented based on the real network condition of the current cell, and the user can always be guaranteed. The use of a better data access network greatly improves the data service experience. At the same time, after the method provided by the embodiment of the present invention is adopted, the data service can be offloaded to the network with sufficient resources, thereby reducing the load of the network to some extent.
进一步地,本实施例还可以利用预设的小区速率信息索引表快速获取数据接入速率,有利于高效快速的识别出网络接入速率更优的网络,在用户明显感受到数据业务变慢之前切换网络,提高用户的使用感。Further, in this embodiment, the data access rate can be quickly obtained by using the preset cell rate information index table, which is convenient for efficiently and quickly identifying a network with a better network access rate, before the user obviously feels that the data service is slowed down. Switch the network to improve the user's sense of use.
实施例二:Embodiment 2:
参见图3,本实施提出另一种数据业务的自适配方法,在本实施例中,假设终端上只有两张SIM卡,SIM1和SIM2,数据业务使用的是SIM2,并且终端中存储有预设的小区速率信息索引表,该表中包括终端接入过的小区的小区标识和对应的网络接入速率,本实施例的数据业务的自适配方法包括:
Referring to FIG. 3, this embodiment proposes another self-adaptive method for data services. In this embodiment, it is assumed that there are only two SIM cards on the terminal, SIM1 and SIM2, and the data service uses SIM2, and the terminal stores pre-stored The cell rate information index table, where the table includes the cell identifier of the cell that the terminal accesses and the corresponding network access rate, and the self-adaption method of the data service in this embodiment includes:
S301、终端获取小区速率信息索引表;S301. The terminal acquires a cell rate information index table.
S302、当终端的SIM1检测到其他符合条件的新小区时,获取该新小区的小区标识,进入S303;S302, when the SIM1 of the terminal detects another new cell that meets the condition, acquiring the cell identity of the new cell, and proceeding to S303;
S303、在小区速率信息索引表中是否存在与该新小区标识匹配的表项,是,则进入S305,否则进入S304;S303, whether there is an entry matching the new cell identifier in the cell rate information index table, if yes, go to S305, otherwise go to S304;
S304、记录该新小区的小区标识和数据接入速率到小区速率信息索引表中,进入S305;S304, recording the cell identity and data access rate of the new cell to the cell rate information index table, and proceeding to S305;
S305、判断该新小区的数据接入速率是否大于SIM2所在小区的数据接入速率,是,则进入S306,否则,进入S307;S305, determining whether the data access rate of the new cell is greater than the data access rate of the cell where the SIM2 is located, if yes, proceed to S306, otherwise, proceed to S307;
S306、将数据业务切换到新小区中;S306. Switch the data service to the new cell.
S307、数据业务继续使用SIM2的网络。S307. The data service continues to use the SIM2 network.
采用本实施例的数据业务的自适配方法,可以在终端的SIM卡检测到符合接入条件的新小区时,快速地获取新小区和另一张SIM卡所在小区的数据接入速率,可以高效快速的识别出网络接入速率更优的网络,从而保证了用户始终使用更优的数据接入网络,大大提高了数据业务体验。The self-adapting method of the data service in this embodiment can quickly acquire the data access rate of the cell where the new cell and another SIM card are located when the SIM card of the terminal detects the new cell that meets the access condition. Efficiently and quickly identify a network with a better network access rate, thus ensuring that users always use a better data access network, greatly improving the data service experience.
实施例三:Embodiment 3:
参见图4,本实施例提出一种数据业务的自适配装置,包括:Referring to FIG. 4, this embodiment provides a self-adaptive device for data services, including:
检测模块41,配置为当终端中设有至少两张用户身份识别卡时,检测用户身份识别卡所在小区是否发生变化;The detecting module 41 is configured to detect, when the terminal has at least two user identification cards, whether the cell where the user identity card is located changes;
获取模块42,配置为在检测模块检测到用户身份识别卡所在小区发生变化时,获取至少两张用户身份识别卡各自所在小区的数据接入速率;The obtaining module 42 is configured to obtain, when the detecting module detects that the cell where the user identity card is located, the data access rate of the cell where the at least two user identity cards are located;
比较模块43,配置为比较至少两张用户身份识别卡对应小区的数据接入速率;The comparing module 43 is configured to compare data access rates of the cells corresponding to the at least two user identity cards;
切换模块44,配置为根据比较模块的比较结果以及当前为数据业务提供服务的小区选择合适的小区为当前的数据业务提供网络。
The switching module 44 is configured to provide a network for the current data service according to the comparison result of the comparison module and the cell currently serving the data service.
其中,本实施例小区网络可以是不同代的网络,如2G/3G/4G等等,还可以延伸到未上市的5G,可是不同的制式,如GPS、S-CDMA、CDMA2000、LTE等等。The cell network in this embodiment may be a different generation network, such as 2G/3G/4G, etc., and may also be extended to the unlisted 5G, but different standards, such as GPS, S-CDMA, CDMA2000, LTE, and the like.
本实施例的终端是可以安装SIM卡,具有数据通信功能的终端,包括但不限于手机或设有SIM卡的平板电脑等。本实施例的终端中设有至少两张SIM卡,其中,这里的SIM卡可以理解为现有技术中与终端分离的实体卡,也可以理解为固定在手机中的实体卡或虚拟卡如E-SIM卡。只要多张SIM卡的运营商网络不同,又是基于服务小区的数据接入速率来实现小区的切换,就属于本实施例的范围。The terminal in this embodiment is a terminal that can install a SIM card and has a data communication function, including but not limited to a mobile phone or a tablet computer with a SIM card. The terminal in this embodiment is provided with at least two SIM cards, wherein the SIM card herein can be understood as a physical card separated from the terminal in the prior art, and can also be understood as a physical card or a virtual card fixed in the mobile phone, such as E. - SIM card. As long as the carrier networks of the multiple SIM cards are different, and the cell switching is implemented based on the data access rate of the serving cell, it is within the scope of this embodiment.
本实施例中,SIM卡所在小区发生变化一般可以理解为由于用户地理位置的改变带来的SIM卡所在小区由A小区变化到B小区的变化,即SIM卡检测到符合接入条件的新小区,或者SIM卡所在小区是由A小区到无网络覆盖范围的地方。此外,本实施例的SIM卡发生变化可以延伸为SIM卡所在小区的地理位置未变化但数据接入速率变化。此外,若终端中的SIM卡的数量增加或减少,会带来SIM所在小区数量的变化,这种SIM卡数量的变化也应该理解在本实施例的“SIM卡所在小区发生变化”的范围内。In this embodiment, the change of the cell where the SIM card is located can be generally understood as the change of the cell where the SIM card is located from the A cell to the B cell due to the change of the geographical location of the user, that is, the SIM card detects the new cell that meets the access condition. , or the cell where the SIM card is located is from the A cell to the place without network coverage. In addition, the change of the SIM card in this embodiment may be extended to that the geographic location of the cell where the SIM card is located does not change but the data access rate changes. In addition, if the number of SIM cards in the terminal is increased or decreased, the number of cells in which the SIM is located may be changed. The change in the number of SIM cards should also be understood in the range of “the cell where the SIM card is located” in the embodiment. .
其中,当检测模块41检测到SIM卡所在小区的数据接入速率变化时,检测模块41检测到变化的只是数据业务接入的小区,且数据接入速率增加了,获取模块42、比较模块43和切换模块44可以不应进行后续的处理,维持当前的小区接入情况即可,若变化的不止数据业务接入的小区,则还需要获取模块42、比较模块43和切换模块44实现小区切换。When the detecting module 41 detects that the data access rate of the cell where the SIM card is located is changed, the detecting module 41 detects that only the cell that the data service accesses is changed, and the data access rate is increased, and the obtaining module 42 and the comparing module 43 are added. And the switching module 44 may not perform subsequent processing, and the current cell access situation may be maintained. If the cell that is not only the data service access is changed, the acquiring module 42, the comparing module 43, and the switching module 44 are required to implement the cell switching. .
在本实施例中,获取模块42获取至少两张SIM卡各自所在的小区的数据接入速率的方式有多种,例如,获取模块42按照网络数据业务接入速率检测方法实时检测小区的数据接入速率,或者,获取模块42发送查询消息到小区所在的基站或小区的服务器,获取它们记载的小区的数据接入速率,
或者获取模块42通过短距离通信等方式向获取过本小区的数据接入速率的终端请求该数据接入速率等等。其中,SIM卡所在小区发生变化可能出现该SIM别卡不在小区的覆盖范围的情况,此时,获取模块42默认该SIM卡所在小区的数据接入速率为0。In this embodiment, the obtaining module 42 obtains the data access rate of the cell where the at least two SIM cards are located. For example, the acquiring module 42 detects the data connection of the cell in real time according to the network data service access rate detecting method. The inbound rate, or the obtaining module 42 sends an inquiry message to the server of the base station or the cell where the cell is located, and obtains the data access rate of the cell they record.
Or the obtaining module 42 requests the data access rate and the like from the terminal that has acquired the data access rate of the current cell by means of short-distance communication or the like. If the cell where the SIM card is located may change, the SIM card may not be in the coverage of the cell. In this case, the acquiring module 42 defaults to the data access rate of the cell where the SIM card is located.
优选的,本实施例的获取模块42用于在检测模块检测到用户身份识别卡所在小区发生变化时,按照网络数据业务接入速率检测方法,获取至少两张用户身份识别卡所在小区的数据接入速率。Preferably, the obtaining module 42 of the embodiment is configured to acquire, according to the network data service access rate detecting method, the data connection of the cell where the at least two user identification cards are located, when the detecting module detects that the cell where the user identity card is located changes. Incoming rate.
其中,只要多张SIM卡中任一张SIM卡所在小区发生变化,获取模块42就可以根据网络数据业务接入速率检测方法,获取全部的SIM卡所在小区的数据接入速率。网络数据业务接入速率检测方法是一种实时获取SIM卡的数据接入速率的方法,可以预见,这种检测方法是需要一定时间的,并且若SIM卡数量较多的时候,获取数据接入速率会浪费较多的时间,不利于数据业务的切换,不利于用户体验的提高。而且,采用此种方式,每一次检测到SIM卡所在小区发生变化时,获取模块42均需要获取全部的SIM卡所在小区的数据接入速率,比较繁琐,浪费时间。The acquisition module 42 can obtain the data access rate of all the cells where the SIM card is located, according to the network data service access rate detection method, as long as the cell of any one of the multiple SIM cards changes. The method for detecting the access rate of the network data service is a method for obtaining the data access rate of the SIM card in real time. It can be foreseen that the detection method requires a certain time, and if the number of SIM cards is large, the data access is obtained. The rate will waste more time, which is not conducive to the switching of data services, which is not conducive to the improvement of user experience. Moreover, in this manner, each time the cell in which the SIM card is detected is changed, the obtaining module 42 needs to obtain the data access rate of the cell where all the SIM cards are located, which is cumbersome and time consuming.
可选地,本实施例的获取模块42还用于获取预设的小区速率信息索引表;所述预设的小区速率信息索引表包括终端接入过的小区的小区标识和对应的网络接入速率;获取检测到的符合接入条件的新小区的小区标识;当所述新小区的小区标识与预设的小区速率信息索引表匹配时,获取所述预设的小区速率信息索引表中新小区的数据接入速率;否则,按照网络数据业务接入速率检测方法获取所述新小区的数据接入速率;对所在小区未发生变化的用户身份识别卡,根据预设的小区速率信息索引表获取各小区的数据接入速率。Optionally, the obtaining module 42 of the embodiment is further configured to obtain a preset cell rate information index table, where the preset cell rate information index table includes a cell identifier of the cell accessed by the terminal and corresponding network access. The rate of the cell identifier of the new cell that meets the access condition is obtained. When the cell identifier of the new cell matches the preset cell rate information index table, the preset cell rate information index table is obtained. The data access rate of the cell; otherwise, the data access rate of the new cell is obtained according to the network data service access rate detection method; and the user identity card that has not changed in the cell is based on the preset cell rate information index table. Obtain the data access rate of each cell.
可选地,本实施例的获取模块42用于获取预设的小区速率信息索引表;所述预设的小区速率信息索引表包括终端接入过的小区的小区标识和对应
的网络接入速率;对所在小区发生变化的用户身份识别卡,按照网络数据业务接入速率检测方法,获取其当前所在小区的数据接入速率;对所在小区未发生变化的用户身份识别卡,根据预设的小区速率信息索引表获取各小区的数据接入速率。Optionally, the obtaining module 42 of the embodiment is configured to obtain a preset cell rate information index table, where the preset cell rate information index table includes a cell identifier and a corresponding cell of the cell accessed by the terminal.
Network access rate; for the user identity card that changes in the cell, according to the network data service access rate detection method, obtain the data access rate of the current cell; and the user identity card that has not changed in the cell, Obtaining a data access rate of each cell according to a preset cell rate information index table.
在该优选方案中,检测模块41若检测到SIM卡所在小区发生变化,获取模块42对所在小区发生变化的SIM卡,才会按照网络数据业务接入速率检测方法获取SIM当前所在小区的数据接入速率,而对于所在小区未发生变化的SIM卡,只需要从预设的小区速率信息索引表获取各小区的数据接入速率即可,相对于按照网络数据业务接入速率检测方法获取数据接入速率的方式,从索引表中获取明显能节约时间,而且还可以同时获取多张SIM卡所在小区的数据接入速率,有效地节约了时间。能够高效快速地适配数据业务接入更优的网络。更用户更好的数据体验。In the preferred solution, if the detecting module 41 detects that the cell where the SIM card is changed, the acquiring module 42 acquires the data card of the current cell of the SIM according to the network data service access rate detecting method. Incoming rate, and for the SIM card whose cell does not change, only need to obtain the data access rate of each cell from the preset cell rate information index table, and obtain data connection according to the network data service access rate detection method. The method of inbound rate can obviously save time from the index table, and can also obtain the data access rate of multiple SIM cards in the cell, which effectively saves time. It can efficiently and quickly adapt to a better network for data service access. More user and better data experience.
其中预设的小区速率信息索引表中的数据可以是在获取模块42注册每一个小区的时候获取的。例如小区标识信息在终端注册小区的时候,根据读取的系统广播消息或同步信道消息中的小区标识得到,而数据接入速率可以在终端注册小区时获取,也可以在接入该小区后再获取。获取小区标识的方法可以参考实施例一的相关描述,本实施例对此不再赘述。The data in the preset cell rate information index table may be acquired when the obtaining module 42 registers each cell. For example, when the terminal registers the cell, the cell identifier is obtained according to the read system broadcast message or the cell identifier in the synchronization channel message, and the data access rate may be obtained when the terminal registers the cell, or after accessing the cell. Obtain. For the method of obtaining the cell identifier, reference may be made to the related description in the first embodiment, which is not described in this embodiment.
在本实施例中,获取模块和比较模块以及切换模块可以由处理器实现。In this embodiment, the obtaining module and the comparing module and the switching module may be implemented by a processor.
在本实施例中,若获取模块42获取的是预设的小区速率信息索引表中的数据接入速率,预设的小区速率信息索引表中的数据接入速率的可靠性就很重要。一般而言,除了上班下班等特殊时间,某个小区在较短时间内的数据接入速率不会有很大的变化,所以索引表中的数据接入速率可靠性一般可以得到保证。进一步地,为了得到更具实效性的数据接入速率,终端可以采用实施例一中的网络数据业务接入速率检测方法,周期性地获取当前的多张SIM所在小区的数据接入速率,及时更新索引表中的数据接入
速率。In this embodiment, if the acquisition module 42 obtains the data access rate in the preset cell rate information index table, the reliability of the data access rate in the preset cell rate information index table is important. Generally speaking, except for special time such as going to work, the data access rate of a cell in a short time does not change greatly, so the reliability of the data access rate in the index table can generally be guaranteed. Further, in order to obtain a more effective data access rate, the terminal may use the network data service access rate detection method in the first embodiment to periodically obtain the data access rate of the current multiple SIM cells. Update data access in the index table
rate.
此外,为了节约资源,本实施例的数据业务的自适配装置还包括判断模块和更新模块;In addition, in order to save resources, the self-adaptive device of the data service of the embodiment further includes a determining module and an updating module;
所述获取模块42还配置为在检测模块检测到用户身份识别卡所在小区发生变化时,获取符合接入条件的新小区的小区标识;The obtaining module 42 is further configured to: when the detecting module detects that the cell where the user identity card is located changes, acquire the cell identifier of the new cell that meets the access condition;
所述判断模块,配置为根据所述新小区的小区标识,判断所述新小区是否与所述预设的小区速率信息索引表匹配;The determining module is configured to determine, according to the cell identifier of the new cell, whether the new cell matches the preset cell rate information index table;
所述更新模块,配置为当判断模块的判断结果为是时,根据获取模块获取的新小区的标识信息和新小区的数据接入速率,将新小区的小区标识和数据接入速率写入所述预设的小区速率信息索引表。And the updating module is configured to: when the determining result of the determining module is yes, write the cell identifier and the data access rate of the new cell according to the identifier information of the new cell acquired by the acquiring module and the data access rate of the new cell. The preset cell rate information index table.
在本实施例中,比较模块43可以通过比较确定数据接入速率最大的小区,之后切换模块44可以直接将当前的数据业务切换到该数据接入速率最大的小区中进行。但是若当前为数据业务提供服务的小区与该数据接入速率最大的小区之间的数据接入速率差异并不大时,切换小区不仅浪费时间,还会中断一定时间的数据业务,给用户带来不良体验,所以,本实施例在切换时,比较优选的方式是切换模块44根据比较结果以及当前为数据业务提供服务的小区选择合适的小区为当前的数据业务提供网络。In this embodiment, the comparison module 43 can determine the cell with the highest data access rate by comparing, and then the switching module 44 can directly switch the current data service to the cell with the largest data access rate. However, if the data access rate between the cell currently serving the data service and the cell with the highest data access rate is not large, the handover of the cell not only wastes time, but also interrupts the data service for a certain period of time, and brings the user with In the embodiment, the switching module 44 selects a suitable cell according to the comparison result and the cell currently serving the data service to provide a network for the current data service.
若比较结果为当前为数据业务提供服务的小区的数据接入速率最大,切换模块44则可以不用进行小区切换。If the comparison result is that the data access rate of the cell currently serving the data service is the largest, the handover module 44 may not perform cell handover.
若比较结果为数据接入速率最大的小区不是当前为数据业务提供服务的小区时,切换模块44将数据业务切换到数据接入速率最大的小区。If the comparison result is that the cell with the largest data access rate is not the cell currently serving the data service, the handover module 44 switches the data service to the cell with the largest data access rate.
但是,考虑到数据接入速率最大的小区与当前为数据业务提供服务的小区数据接入速率差异较小时,切换带来的问题,可以设置预设门限值。可选地,切换模块44用于当数据接入速率最大的小区与当前为数据业务提供服务的小区之间的数据接入速率的差值小于预设门限值,不进行小区切
换;当数据接入速率最大的小区与当前为数据业务提供服务的小区之间的数据接入速率的差值大于预设门限值,才将数据业务切换到数据接入速率最大的小区。However, considering the difference between the data access rate of the cell with the highest data access rate and the cell serving the data service, the preset threshold may be set. Optionally, the switching module 44 is configured to: when the difference between the data access rate of the cell with the highest data access rate and the cell that is currently serving the data service is less than a preset threshold, the cell cut is not performed.
The data service is switched to the cell with the largest data access rate when the difference between the data access rate of the cell with the highest data access rate and the cell currently serving the data service is greater than the preset threshold.
这里的预设门限可以根据实际情况来设置,但是设置时需要考虑到小于预设门限的数据接入速率的差值是否给用户的数据业务体验带来不良影响。The preset threshold here can be set according to the actual situation, but it is necessary to consider whether the difference of the data access rate less than the preset threshold has adversely affected the data service experience of the user.
在另一实施例中,还提供一种终端,包括本实施例的数据业务的自适配装置。In another embodiment, a terminal is provided, including the self-adaptive device of the data service of the embodiment.
参见图5,示出了本实施例的终端线路移动过程示意图。为了便于举例说明,假设终端中只有两张SIM卡,SIM1和SIM2。可以理解的是,本实施例的终端还可以是三卡终端,四卡终端等多卡终端,本实施例对此没有限制。Referring to FIG. 5, a schematic diagram of the terminal line moving process of this embodiment is shown. For ease of illustration, assume that there are only two SIM cards in the terminal, SIM1 and SIM2. It can be understood that the terminal in this embodiment may also be a multi-card terminal such as a three-card terminal or a four-card terminal, which is not limited in this embodiment.
图5中示出的小区属于终端的SIM1的小区,在终端的移动过程中,SIM1所在服务小区由小区B变化为小区C,终端获取小区C的标识信息,根据小区速率信息索引表,终端可以确定SIM1是否已经记录在小区速率信息索引表中,若已经记录,可以快速获取小区C的数据接入速率值,并将此值和SIM2所在小区的数据接入速率值进行比较,之后,选择速率值较大即数据接入更快的网络。The cell shown in FIG. 5 belongs to the cell of the SIM1 of the terminal. During the mobile terminal, the serving cell of the SIM1 is changed from the cell B to the cell C, and the terminal acquires the identification information of the cell C. According to the cell rate information index table, the terminal may It is determined whether the SIM1 has been recorded in the cell rate information index table. If it has been recorded, the data access rate value of the cell C can be quickly obtained, and the value is compared with the data access rate value of the cell where the SIM2 is located, and then the rate is selected. A network with a higher value, that is, faster data access.
但是,考虑到小区速率信息索引表中小区C的数据接入速率可能不准确,终端可以采用网络数据业务接入速率检测方法获取小区C的实时数据接入速率值,并将此值和SIM2所在小区的数据接入速率值进行比较,之后,选择速率值较大即数据接入更快的网络。However, considering that the data access rate of the cell C in the cell rate information index table may be inaccurate, the terminal may use the network data service access rate detection method to obtain the real-time data access rate value of the cell C, and the value and the SIM2 are located. The data access rate values of the cells are compared, and then the network with a higher rate value, that is, a faster data access, is selected.
其中,若SIM2所在的小区也发生了变化,例如由小区E变为了小区F,类似的,可以先根据小区F的标识信息判断是否记录在小区速率信息索引表中,若已经记录,可以快速获取小区F的数据接入速率值,若未记录,
则采用网络数据业务接入速率检测方法获取小区F的实时数据接入速率值。If the cell in which the SIM2 is located has also changed, for example, the cell E has changed to the cell F. Similarly, it may be determined according to the identification information of the cell F whether it is recorded in the cell rate information index table, and if it has been recorded, it may be quickly obtained. The data access rate value of cell F, if not recorded,
The network data service access rate detection method is used to obtain the real-time data access rate value of the cell F.
采用本实施例的数据业务的自适配装置,获取模块获取的小区的数据接入速率可以实时反映各运营商网络的优良状况,所以本实施例的数据业务接入小区的切换是基于当前的小区的真实网络情况实现的,能保证用户始终使用更优的数据接入网络,大大提高了数据业务体验。同时,可以将数据业务分流用户到资源充足的网络中,从而一定程度上降低了网络的负载。With the self-adaptive device of the data service of the embodiment, the data access rate of the cell obtained by the acquiring module can reflect the good condition of each operator network in real time, so the switching of the data service access cell in this embodiment is based on the current The real network situation of the cell is realized, which ensures that the user always uses a better data access network, which greatly improves the data service experience. At the same time, the data service can be offloaded to the network with sufficient resources, thereby reducing the load on the network to some extent.
显然,本领域的技术人员应该明白,上述本发明的各模块或各步骤可以用通用的处理器或处理电路来实现,它们可以集中在单个的处理器或处理电路上,或者分布在多个处理器或处理电路所组成的设备上,可选地,它们可以用处理器或处理电路可执行的程序代码来实现,从而,可以将它们存储在存储介质(ROM/RAM、磁碟、光盘)中由处理器或处理电路来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。所以,本发明不限制于任何特定的硬件和软件结合。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 in a general purpose processor or processing circuit, which can be centralized on a single processor or processing circuit, or distributed across multiple processes. Alternatively, they may be implemented by a processor or a program code executable by the processing circuit so that they can be stored in a storage medium (ROM/RAM, disk, optical disk). Executed by a processor or processing circuit, and in some cases, the steps shown or described may be performed in an order different than that herein, or separately fabricated into individual integrated circuit modules, or many of them Modules or steps are made into a single integrated circuit module. Therefore, the invention is not limited to any particular combination of hardware and software.
所述处理器可包括中央处理器CPU、微处理器MCU、数字信号处理器、应用处理器AP或可编程阵列PLC等。所述处理电路可包括专用集成电路ASIC。The processor may include a central processing unit CPU, a microprocessor MCU, a digital signal processor, an application processor AP or a programmable array PLC, and the like. The processing circuit can include an application specific integrated circuit ASIC.
本发明实施例提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行前述任意一个数据业务的自适配方法,例如可以执行如图1、图2和/或图3所示的方法。The embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to perform a self-adaption method of any one of the foregoing data services, for example, 1. The method shown in Figure 2 and/or Figure 3.
本实施例所述的计算机存储介质可为光盘、磁带、U盘或移动硬盘等各种存储介质,可选为非瞬间存储介质。The computer storage medium in this embodiment may be any storage medium such as an optical disk, a magnetic tape, a USB flash drive or a mobile hard disk, and may be a non-transitory storage medium.
以上内容是结合具体的实施方式对本发明所作的进一步详细说明,不
能认定本发明的具体实施只局限于这些说明。凡按照本发明原理所作的修改,都应当理解为落入本发明的保护范围。
The above content is a further detailed description of the present invention in combination with specific embodiments, and
It is to be understood that the specific embodiments of the invention are limited only by the description. Modifications made in accordance with the principles of the invention are understood to fall within the scope of the invention.
Claims (11)
- 一种数据业务的自适配方法,包括:A self-adaptive method for data services, including:当终端中设有至少两张用户身份识别卡时,若检测用户身份识别卡所在小区发生变化,获取所述至少两张用户身份识别卡各自所在小区的数据接入速率;If at least two user identification cards are provided in the terminal, if the cell in which the user identity card is located is detected to be changed, the data access rate of the cell where the at least two user identity cards are located is obtained;比较所述至少两张用户身份识别卡各自所在小区的数据接入速率;Comparing data access rates of the cells in which the at least two user identification cards are located;根据比较结果以及当前为数据业务提供服务的小区选择合适的小区为当前的数据业务提供网络。Selecting a suitable cell according to the comparison result and the cell currently serving the data service provides a network for the current data service.
- 如权利要求1所述的数据业务的自适配方法,其中,所述若检测用户身份识别卡所在小区发生变化,获取所述至少两张用户身份识别卡各自所在小区的数据接入速率的方式包括以下三种方式中的任一种:The method for adapting data services according to claim 1, wherein the method for detecting a data access rate of a cell in which the at least two user identity cards are located is detected if the cell in which the user identity card is located is changed. It includes any of the following three ways:方式一:若检测到用户身份识别卡所在小区发生变化,按照网络数据业务接入速率检测方法,获取所述至少两张用户身份识别卡所在小区的数据接入速率;Manner 1: If the cell in which the user identity card is located is detected to be changed, the data access rate of the cell where the at least two user identity cards are located is obtained according to the network data service access rate detection method;方式二:若检测到用户身份识别卡所在小区发生变化,获取预设的小区速率信息索引表;所述预设的小区速率信息索引表包括终端接入过的小区的小区标识和对应的网络接入速率;Manner 2: If it is detected that the cell where the user identity card is located changes, the preset cell rate information index table is obtained; the preset cell rate information index table includes the cell identity of the cell accessed by the terminal and the corresponding network connection. Incoming rate对所在小区发生变化的用户身份识别卡,按照网络数据业务接入速率检测方法,获取其当前所在小区的数据接入速率;The user identity card that changes in the cell is obtained according to the network data service access rate detection method, and obtains the data access rate of the current cell.对所在小区未发生变化的用户身份识别卡,根据预设的小区速率信息索引表获取各小区的数据接入速率;Obtaining a data access rate of each cell according to a preset cell rate information index table, for a user identity card that does not change in the cell;方式三:若检测到用户身份识别卡所在小区发生变化,获取预设的小区速率信息索引表;所述预设的小区速率信息索引表包括终端接入过的小 区的小区标识和对应的网络接入速率;Manner 3: If it is detected that the cell where the user identity card is located changes, the preset cell rate information index table is obtained; the preset cell rate information index table includes the small access time of the terminal. The cell identity of the zone and the corresponding network access rate;获取检测到的符合接入条件的新小区的小区标识;Obtaining the detected cell identity of the new cell that meets the access condition;当所述新小区的小区标识与预设的小区速率信息索引表匹配时,获取所述预设的小区速率信息索引表中新小区的数据接入速率;否则,按照网络数据业务接入速率检测方法获取所述新小区的数据接入速率;Obtaining a data access rate of the new cell in the preset cell rate information index table when the cell identifier of the new cell matches the preset cell rate information index table; otherwise, detecting the network data service access rate according to the network data service access rate The method acquires a data access rate of the new cell;对所在小区未发生变化的用户身份识别卡,根据预设的小区速率信息索引表获取各小区的数据接入速率。The user identification card of the cell in which the cell is not changed acquires the data access rate of each cell according to the preset cell rate information index table.
- 如权利要求2所述的数据业务的自适配方法,其中,当获取所述至少两张用户身份识别卡各自所在小区的数据接入速率的方式为方式二时,还包括:The method for adapting data services according to claim 2, wherein when the manner of obtaining the data access rate of the cell in which the at least two user identity cards are located is the second mode, the method further includes:获取符合接入条件的新小区的小区标识;Obtaining a cell identifier of a new cell that meets the access condition;根据所述新小区的小区标识,判断所述新小区是否与所述预设的小区速率信息索引表匹配;若否,则在所述按照网络数据业务接入速率检测方法,获取其小区的数据接入速率后,将新小区的小区标识和数据接入速率写入所述预设的小区速率信息索引表;Determining, according to the cell identifier of the new cell, whether the new cell matches the preset cell rate information index table; if not, acquiring the data of the cell according to the network data service access rate detecting method After the access rate, the cell identifier and the data access rate of the new cell are written into the preset cell rate information index table;当获取所述至少两张用户身份识别卡各自所在小区的数据接入速率的方式为方式三时,还包括:When the manner of obtaining the data access rate of the cell where the at least two user identity cards are located is the third mode, the method further includes:在新小区的小区标识与预设的小区速率信息索引表不匹配,且已按照网络数据业务接入速率检测方法获取所述新小区的数据接入速率后,将新小区的小区标识和数据接入速率写入所述预设的小区速率信息索引表。After the cell identifier of the new cell does not match the preset cell rate information index table, and the data access rate of the new cell is obtained according to the network data service access rate detection method, the cell identity and data of the new cell are connected. The in-rate is written into the preset cell rate information index table.
- 如权利要求2所述的数据业务的自适配方法,其中,在按照网络数据业务接入速率检测方法获取数据接入速率时,进行多次检测,取多次检测得到的数据接入速率平均值作为检测结果。The self-adaption method of the data service according to claim 2, wherein when the data access rate is obtained according to the network data service access rate detection method, multiple times of detection are performed, and the data access rate obtained by the multiple detections is averaged. The value is used as the test result.
- 如权利要求1至4任一项所述的数据业务的自适配方法,其中,所 述根据比较结果以及当前为数据业务提供服务的小区选择合适的小区为当前的数据业务提供网络包括:A self-adaptive method for data services according to any one of claims 1 to 4, wherein The selection of a suitable cell according to the comparison result and the cell currently serving the data service for the current data service providing network includes:当数据接入速率最大的小区不是当前为数据业务提供服务的小区时,将所述数据业务切换到所述数据接入速率最大的小区;或者,若数据接入速率最大的小区与当前为数据业务提供服务的小区之间的数据接入速率的差值小于预设门限值,不进行小区切换,否则,将所述数据业务切换到所述数据接入速率最大的小区;When the cell with the largest data access rate is not the cell currently serving the data service, the data service is switched to the cell with the largest data access rate; or, if the cell with the highest data access rate is currently the data The difference between the data access rates of the services provided by the service is less than a preset threshold, and no cell handover is performed; otherwise, the data service is switched to the cell with the largest data access rate;当数据接入速率最大的小区为前为数据业务提供服务的小区时,不进行小区切换。When the cell with the largest data access rate is a cell that provides services for the data service, no cell handover is performed.
- 如权利要求1至4任一项所述的数据业务的自适配方法,其中,若检测到用户身份识别卡所在小区发生变化为,某用户身份识别卡不在小区的覆盖范围时,默认所述用户身份识别卡所在小区的数据接入速率为0。The self-adapting method for the data service according to any one of claims 1 to 4, wherein, if it is detected that the cell in which the user identity card is located changes, and the identity card of the user is not in the coverage of the cell, the default is The data access rate of the cell where the user identity card is located is 0.
- 一种数据业务的自适配装置,包括:A self-adaptive device for data services, comprising:检测模块,配置为当终端中设有至少两张用户身份识别卡时,检测用户身份识别卡所在小区是否发生变化;The detecting module is configured to detect, when the terminal has at least two user identification cards, whether the cell where the user identity card is located changes;获取模块,配置为在检测模块检测到用户身份识别卡所在小区发生变化时,获取所述至少两张用户身份识别卡各自所在小区的数据接入速率;The acquiring module is configured to acquire, when the detecting module detects that the cell where the user identity card is located, the data access rate of the cell where the at least two user identity cards are located;比较模块,配置为比较所述至少两张用户身份识别卡各自所在小区的数据接入速率;a comparison module, configured to compare data access rates of respective cells of the at least two user identification cards;切换模块,配置为根据比较模块的比较结果以及当前为数据业务提供服务的小区选择合适的小区为当前的数据业务提供网络。The switching module is configured to provide a network for the current data service according to the comparison result of the comparison module and the cell currently serving the data service.
- 如权利要求7所述的数据业务的自适配装置,其中,所述获取模块配置为在检测模块检测到用户身份识别卡所在小区发生变化时,按照网络数据业务接入速率检测方法,获取所述至少两张用户身份识别卡所在小区 的数据接入速率;The self-adaptive device for the data service according to claim 7, wherein the obtaining module is configured to acquire the network data service access rate detection method when the detecting module detects that the cell where the user identity card is located changes. The cell where at least two user identification cards are located Data access rate;或者,获取预设的小区速率信息索引表;所述预设的小区速率信息索引表包括终端接入过的小区的小区标识和对应的网络接入速率;对所在小区发生变化的用户身份识别卡,按照网络数据业务接入速率检测方法,获取其当前所在小区的数据接入速率;对所在小区未发生变化的用户身份识别卡,根据预设的小区速率信息索引表获取各小区的数据接入速率;Or obtaining a preset cell rate information index table; the preset cell rate information index table includes a cell identifier of the cell that the terminal accesses and a corresponding network access rate; and a user identity card that changes in the cell where the cell is located According to the network data service access rate detection method, the data access rate of the current cell is obtained, and the user identity card that has not changed in the cell is obtained, and the data access of each cell is obtained according to the preset cell rate information index table. rate;或者,获取预设的小区速率信息索引表;所述预设的小区速率信息索引表包括终端接入过的小区的小区标识和对应的网络接入速率;获取检测到的符合接入条件的新小区的小区标识;当所述新小区的小区标识与预设的小区速率信息索引表匹配时,获取所述预设的小区速率信息索引表中新小区的数据接入速率;否则,按照网络数据业务接入速率检测方法获取所述新小区的数据接入速率;对所在小区未发生变化的用户身份识别卡,根据预设的小区速率信息索引表获取各小区的数据接入速率。Or obtaining a preset cell rate information index table; the preset cell rate information index table includes a cell identifier of the cell that the terminal accesses and a corresponding network access rate; and acquiring the detected new condition that meets the access condition. a cell identifier of the cell; when the cell identifier of the new cell matches the preset cell rate information index table, obtaining a data access rate of the new cell in the preset cell rate information index table; otherwise, according to the network data The service access rate detection method acquires the data access rate of the new cell, and obtains the data access rate of each cell according to the preset cell rate information index table for the user identity card that does not change in the cell.
- 如权利要求7所述的数据业务的自适配装置,其中,还包括判断模块和更新模块;The self-adaptive device for data services according to claim 7, further comprising a judging module and an updating module;所述获取模块还配置为在检测模块检测到用户身份识别卡所在小区发生变化时,获取符合接入条件的新小区的小区标识;The acquiring module is further configured to: when the detecting module detects that the cell where the user identity card is located changes, acquire the cell identifier of the new cell that meets the access condition;所述判断模块配置为根据所述新小区的小区标识,判断所述新小区是否与所述预设的小区速率信息索引表匹配;The determining module is configured to determine, according to the cell identifier of the new cell, whether the new cell matches the preset cell rate information index table;所述更新模块配置为当判断模块的判断结果为是时,根据获取模块获取的新小区的标识信息和新小区的数据接入速率,将新小区的小区标识和数据接入速率写入所述预设的小区速率信息索引表。And the updating module is configured to: when the determining result of the determining module is yes, write the cell identifier and the data access rate of the new cell according to the identifier information of the new cell acquired by the acquiring module and the data access rate of the new cell. A preset cell rate information index table.
- 一种终端,包括如权利要求7至9任一项所述的数据业务的自适配装置。 A terminal comprising a self-adaptive device for data services according to any one of claims 7 to 9.
- 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至6任一项所述数据业务的自适配方法。 A computer storage medium having stored therein computer executable instructions for performing a self-adaption method of the data service of any one of claims 1 to 6.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610571701.X | 2016-07-18 | ||
CN201610571701.XA CN107635259A (en) | 2016-07-18 | 2016-07-18 | A kind of data service from adaptation method, device and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018014369A1 true WO2018014369A1 (en) | 2018-01-25 |
Family
ID=60991661
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/092690 WO2018014369A1 (en) | 2016-07-18 | 2016-08-01 | Self-adaptive method, device, and terminal for data service, and computer storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107635259A (en) |
WO (1) | WO2018014369A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110972128A (en) * | 2018-09-28 | 2020-04-07 | 奇酷互联网络科技(深圳)有限公司 | Multi-card management method, intelligent terminal and device with storage function |
CN113078921A (en) * | 2021-03-01 | 2021-07-06 | 北京小米移动软件有限公司 | Data processing method, device and storage medium |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111031531B (en) * | 2019-12-10 | 2023-03-24 | Tcl移动通信科技(宁波)有限公司 | Data transmission method, device, storage medium and terminal |
CN111194059A (en) * | 2019-12-16 | 2020-05-22 | 珠海格力电器股份有限公司 | Data connection method and device, electronic equipment and readable storage medium |
CN115915103B (en) * | 2022-11-10 | 2024-06-04 | 中国联合网络通信集团有限公司 | Method, device, equipment and medium for identifying double-card state of double-card slot terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102264096A (en) * | 2011-08-15 | 2011-11-30 | 中兴通讯股份有限公司 | Wireless communication terminal and network switching method thereof |
CN103731907A (en) * | 2013-12-24 | 2014-04-16 | 广西大学 | Network selection method based on multi-network convergence and multi-mode terminal device |
CN104754671A (en) * | 2013-12-31 | 2015-07-01 | 中国移动通信集团设计院有限公司 | Hetero-system cell reselecting method and device and network side device |
CN104902528A (en) * | 2015-04-28 | 2015-09-09 | 宇龙计算机通信科技(深圳)有限公司 | Dual-card terminal, method and device for automatically switching data services of dual-card terminal |
CN105611595A (en) * | 2016-03-23 | 2016-05-25 | 四川长虹通信科技有限公司 | Cell selection residing method based on 5G fusion same-coverage network |
-
2016
- 2016-07-18 CN CN201610571701.XA patent/CN107635259A/en not_active Withdrawn
- 2016-08-01 WO PCT/CN2016/092690 patent/WO2018014369A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102264096A (en) * | 2011-08-15 | 2011-11-30 | 中兴通讯股份有限公司 | Wireless communication terminal and network switching method thereof |
CN103731907A (en) * | 2013-12-24 | 2014-04-16 | 广西大学 | Network selection method based on multi-network convergence and multi-mode terminal device |
CN104754671A (en) * | 2013-12-31 | 2015-07-01 | 中国移动通信集团设计院有限公司 | Hetero-system cell reselecting method and device and network side device |
CN104902528A (en) * | 2015-04-28 | 2015-09-09 | 宇龙计算机通信科技(深圳)有限公司 | Dual-card terminal, method and device for automatically switching data services of dual-card terminal |
CN105611595A (en) * | 2016-03-23 | 2016-05-25 | 四川长虹通信科技有限公司 | Cell selection residing method based on 5G fusion same-coverage network |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110972128A (en) * | 2018-09-28 | 2020-04-07 | 奇酷互联网络科技(深圳)有限公司 | Multi-card management method, intelligent terminal and device with storage function |
CN113078921A (en) * | 2021-03-01 | 2021-07-06 | 北京小米移动软件有限公司 | Data processing method, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107635259A (en) | 2018-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11240740B2 (en) | Method for processing radio frequency resources and terminal | |
WO2018014369A1 (en) | Self-adaptive method, device, and terminal for data service, and computer storage medium | |
WO2017166988A1 (en) | Network slice processing method and apparatus, terminal, base station, and computer storage medium | |
CN103648146B (en) | Terminal network selection method and terminal | |
WO2017185873A1 (en) | Pseudo base station identification method and device, terminal, and storage medium | |
CN101873637B (en) | Mobile communication devices, methods and systems of priority load balance | |
WO2018176689A1 (en) | Information processing method and relevant devices and computer program | |
CN104796962B (en) | Network selection method and device | |
CN102421088A (en) | Multi-card multi-standby terminal and synchronization method and device thereof | |
WO2012109830A1 (en) | Multi-card multi-standby terminal, synchronization method and device thereof | |
US9572032B2 (en) | Method and system for terminal to access network and terminal | |
WO2014166185A1 (en) | Method for automatic network search of mobile terminal and mobile terminal | |
WO2019144399A1 (en) | Cell reselection method and device, and computer storage medium | |
CN110839263B (en) | Information configuration method, device, equipment and storage medium | |
US9883453B2 (en) | Method and apparatus for terminal to camp on cell, and mobile terminal | |
WO2017096790A1 (en) | Method and device for processing communication service | |
WO2016197809A2 (en) | Access point switching method and device | |
WO2016065535A1 (en) | Network selection method and user equipment | |
CN115243247B (en) | Network searching control method and related device | |
CN102421156A (en) | Multi-card multi-standby mobile terminal and communication method thereof | |
CN106793009B (en) | Network searching method and mobile terminal | |
CN109392030A (en) | A kind of method switched between the base stations and wireless network | |
CN105338591B (en) | Method and device for searching high-speed network in high-speed network edge cell | |
CN102231901A (en) | Method for ensuring mobile terminal to reside in network and mobile terminal | |
JP2016533118A (en) | System and method for obtaining system information for a wireless communication device |
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: 16909296 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: 16909296 Country of ref document: EP Kind code of ref document: A1 |