Network switching method and device, terminal and storage medium
By determining the network environment and signal quality in the terminal and dynamically switching the networking mode, the problem of high power consumption of the terminal under the multi-data acceleration function is solved, and the convenience of the terminal is improved.
Patent Information
- Application Number
- CN202311000841.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-09
- Publication Date
- 2025-02-18
AI Technical Summary
When the terminal uses the multi-data acceleration function, the power consumption is high, resulting in lower convenience.
Dynamically switch network modes междуMultidata mode and single data mode to optimize power consumption and performance by determining the current network environment and multi-data signal quality in the terminal.
By switching network modes based on signal quality and network environment, comprehensively considering the power consumption and performance of the terminal, reducing the problem of high power consumption in multi-data mode, and improving the convenience of terminal use.
Smart Images

Figure CN119485522A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminal technology, and in particular to a network switching method and device, a terminal and a storage medium. Background Art
[0002] In the related technology, the terminal can support the dual SIM dual active (DSDA) function, provide dual data acceleration function for DSDA, and can also choose whether to enter the dual data acceleration state according to the network signal quality. However, this network switching solution considers a relatively single dimension. For example, in some scenarios, even if the network signal quality is low, the terminal can still meet the user's network needs. In this case, entering the dual data acceleration state will cause the terminal to consume more power when in use, resulting in lower convenience when using the terminal. Summary of the invention
[0003] The present disclosure provides a network switching method and device, a terminal and a storage medium to at least solve the technical problem of low convenience in terminal use in the related art. The technical solution of the present disclosure is as follows:
[0004] According to a first aspect of an embodiment of the present disclosure, a network switching method is provided, including:
[0005] When the terminal meets the multi-data acceleration condition, determining the current network environment and the multi-data signal quality, wherein the multi-data includes at least two user identity card data;
[0006] The terminal's networking mode is switched according to the current network environment and the quality of the multi-data signal, wherein the networking mode includes a multi-data mode and a single data mode.
[0007] Optionally, determine the current network environment, including:
[0008] Obtain terminal location information;
[0009] When the terminal location information satisfies the terminal mobility condition, determining that the current network environment is a dynamic environment;
[0010] When the terminal location information does not meet the terminal movement condition within the first time threshold, it is determined that the current network environment is a static environment.
[0011] Optionally, the terminal location information includes at least one of global positioning system data and sensor data. After acquiring the terminal location information, the following is further included:
[0012] Within the second time threshold, when the coordinate change amount corresponding to the global positioning system data is greater than the coordinate change amount threshold, it is determined that the global positioning system data meets the terminal movement condition;
[0013] If, within the third time threshold, the data change amount corresponding to the sensor data is greater than the data change amount threshold, it is determined that the sensor data meets the terminal movement condition.
[0014] Optionally, the terminal's networking mode is switched according to the current network environment, including:
[0015] When the current network environment is a dynamic environment, the networking mode of the terminal is switched to a multi-data mode, and the network is connected according to the multi-data mode;
[0016] When the current network environment is a static environment and the multi-data signal quality does not meet the single data networking condition, the terminal networking mode is switched to the multi-data mode, and the network is connected according to the multi-data mode;
[0017] When the current network environment is a static environment and the quality of the multi-data signal meets the single data networking condition, the networking mode of the terminal is switched to the single data mode, and the networking is performed according to the single data mode.
[0018] Optionally, switching the networking mode of the terminal to a multi-data mode, and networking according to the multi-data mode, includes:
[0019] Activating multiple data links, wherein the multiple data links include a data link corresponding to any one of at least two user identity identification card data;
[0020] According to the link quality corresponding to the data link, the load factor corresponding to each data link in the multiple data links is matched to obtain the matched multiple data links;
[0021] Networking is carried out based on the matched multiple data links.
[0022] Optionally, switching the networking mode of the terminal to a single data mode and networking according to the single data mode includes:
[0023] determining a target data link, wherein the target data link is a data link with the highest link quality among the multiple data links;
[0024] Networking is performed according to the target data link.
[0025] According to a second aspect of an embodiment of the present disclosure, there is provided a network switching device, including:
[0026] An information determination unit, configured to determine the current network environment and the quality of the multi-data signal when the terminal satisfies the multi-data acceleration condition, wherein the multi-data includes at least two user identity card data;
[0027] The network switching unit is used to switch the terminal's networking mode according to the current network environment and the quality of the multi-data signal, wherein the networking mode includes a multi-data mode and a single data mode.
[0028] Optionally, when the information determination unit is used to determine the current network environment, it is specifically used to:
[0029] Obtain terminal location information;
[0030] When the terminal location information satisfies the terminal mobility condition, determining that the current network environment is a dynamic environment;
[0031] When the terminal location information does not meet the terminal movement condition within the first time threshold, it is determined that the current network environment is a static environment.
[0032] Optionally, the terminal location information includes at least one of global positioning system data and sensor data, and the information determination unit is used to, after acquiring the terminal location information, further:
[0033] Within the second time threshold, when the coordinate change amount corresponding to the global positioning system data is greater than the coordinate change amount threshold, it is determined that the global positioning system data meets the terminal movement condition;
[0034] If, within the third time threshold, the data change amount corresponding to the sensor data is greater than the data change amount threshold, it is determined that the sensor data meets the terminal movement condition.
[0035] Optionally, when the network switching unit is used to switch the networking mode of the terminal according to the current network environment, it is specifically used to:
[0036] When the current network environment is a dynamic environment, the networking mode of the terminal is switched to a multi-data mode, and the network is connected according to the multi-data mode;
[0037] When the current network environment is a static environment and the multi-data signal quality does not meet the single data networking condition, the terminal networking mode is switched to the multi-data mode, and the network is connected according to the multi-data mode;
[0038] When the current network environment is a static environment and the quality of the multi-data signal meets the single data networking condition, the networking mode of the terminal is switched to the single data mode, and the networking is performed according to the single data mode.
[0039] Optionally, the network switching unit is used to switch the networking mode of the terminal to the multi-data mode, and when the network is connected according to the multi-data mode, it is specifically used to:
[0040] Activating multiple data links, wherein the multiple data links include a data link corresponding to any one of at least two user identity identification card data;
[0041] According to the link quality corresponding to the data link, the load factor corresponding to each data link in the multiple data links is matched to obtain the matched multiple data links;
[0042] Networking is carried out based on the matched multiple data links.
[0043] Optionally, the network switching unit is used to switch the networking mode of the terminal to the single data mode, and when the network is connected according to the single data mode, it is specifically used to:
[0044] determining a target data link, wherein the target data link is a data link with the highest link quality among the multiple data links;
[0045] Networking is performed according to the target data link.
[0046] According to a third aspect of an embodiment of the present disclosure, a terminal is provided, including:
[0047] processor;
[0048] a memory for storing instructions executable by the processor;
[0049] The processor is configured to execute the instructions to implement the network switching method described in any one of the aforementioned aspects.
[0050] According to a fourth aspect of the present application, a storage medium is provided. When instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute the network switching method described in any one of the aforementioned aspects.
[0051] According to a fifth aspect of the present application, a computer program product is provided, comprising a computer program, wherein the computer program implements any one of the methods described in the preceding aspects when executed by a processor.
[0052] In summary, the method provided by the embodiment of the present disclosure includes: when the terminal meets the multi-data acceleration condition, determining the current network environment and the multi-data signal quality, wherein the multi-data includes at least two user identity card data; switching the terminal's networking mode according to the current network environment and the multi-data signal quality, wherein the networking mode includes a multi-data mode and a single data mode. Therefore, by switching the terminal's networking mode according to the signal quality and the network environment, the power consumption and performance balance of the terminal can be comprehensively considered, the situation in which the terminal consumes more power when in use due to entering the multi-data mode can be reduced, and the convenience of the terminal when in use can be improved.
[0053] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0055] Figure 1 A schematic diagram showing a flow chart of a network switching method provided by an embodiment of the present disclosure;
[0056] Figure 2 A schematic diagram showing a flow chart of another network switching method provided by an embodiment of the present disclosure;
[0057] Figure 3 A schematic diagram showing a scene of a dynamic environment provided by an embodiment of the present disclosure;
[0058] Figure 4 A schematic diagram of a static environment provided by an embodiment of the present disclosure is shown;
[0059] Figure 5 A schematic diagram showing a flow chart of another network switching method provided by an embodiment of the present disclosure;
[0060] Figure 6 A schematic diagram showing the structure of a network switching device provided by an embodiment of the present disclosure is shown;
[0061] Figure 7 It is a block diagram of a terminal according to an exemplary embodiment. DETAILED DESCRIPTION
[0062] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0063] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0064] The present disclosure is described in detail below with reference to specific embodiments.
[0065] In the first embodiment, if Figure 1 As shown, Figure 1A flow chart of a network switching method provided by an embodiment of the present disclosure is shown, which can be implemented by a computer program and can be run on a device for performing the network switching method. The computer program can be integrated into an application or run as an independent tool application.
[0066] The network switching device may be a terminal with a network switching function, and the terminal includes but is not limited to: a wearable device, a handheld device, a personal computer, a tablet computer, a vehicle-mounted device, a smart phone, a computing device or other processing device connected to a wireless modem, etc. In different networks, the terminal may be called by different names, such as: user equipment, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device, cellular phone, cordless phone, personal digital assistant (PDA), fifth generation mobile communication technology (5G) network, fourth generation mobile communication technology (4G) network, third generation mobile communication technology (3G) network or terminal in future evolution network, etc.
[0067] Specifically, the network switching method includes:
[0068] S101, determining the current network environment and multi-data signal quality when the terminal meets the multi-data acceleration condition;
[0069] According to some embodiments, the terminal meeting the multi-data acceleration condition means that the terminal supports a multi-user identity card multi-start function and provides a multi-data acceleration function for the multi-user identity card multi-start function.
[0070] For example, when the terminal supports the DSDA function and provides a dual data acceleration function for the DSDA function, the terminal meets the dual data acceleration condition.
[0071] According to some embodiments, the current network environment refers to the network environment that the terminal is currently in. The current network environment includes but is not limited to a dynamic environment, a static environment, and the like.
[0072] In some embodiments, the dynamic environment refers to the dynamic and complex network environment that the terminal is in when it is in a dynamic movement process. The static environment refers to the environment that the terminal is in when it is in a static or small range movement process.
[0073] According to some embodiments, the multi-data signal quality refers to the signal quality corresponding to any SIM in multiple Subscriber Identity Modules (SIMs).
[0074] In some embodiments, the multi-data includes at least two SIM data.
[0075] It is easy to understand that, when the terminal meets the multi-data acceleration conditions, when the terminal performs network switching, the terminal can determine its current network environment and the multi-data signal quality.
[0076] S102, switching the terminal's networking mode according to the current network environment and the quality of the multi-data signal.
[0077] According to some embodiments, the networking mode includes a multiple data mode and a single data mode.
[0078] In some embodiments, the multi-data mode refers to a mode in which the terminal is connected to the Internet through multiple SIM cards at the same time. The single data mode refers to a mode in which the terminal is connected to the Internet through only a single SIM card.
[0079] It is easy to understand that when the terminal determines the current network environment in which it is located, the terminal can switch the terminal's networking mode according to the current network environment and the quality of multiple data signals.
[0080] In summary, the method provided by the embodiment of the present disclosure determines the current network environment and the quality of the multi-data signal when the terminal meets the multi-data acceleration conditions; and switches the terminal's networking mode according to the current network environment and the quality of the multi-data signal. Therefore, by switching the terminal's networking mode according to the signal quality and the network environment, the power consumption and performance balance of the terminal can be comprehensively considered, the situation in which the terminal consumes more power when in use due to entering the multi-data mode can be reduced, and the convenience of the terminal when in use can be improved.
[0081] See also Figure 2 , Figure 2 A schematic flow chart of a network switching method provided by an embodiment of the present disclosure is shown. The method is executed by a terminal.
[0082] Specifically, the network switching method includes:
[0083] S201, obtaining terminal location information when the terminal meets the multi-data acceleration condition;
[0084] According to some embodiments, the terminal location information refers to the location information of the terminal. The terminal location information may include, for example, at least one of global positioning system (GPS) data and sensor data.
[0085] In some embodiments, GPS, also known as the Global Positioning System, is a medium-range circular orbit satellite navigation system that can provide accurate positioning, speed measurement, and high-precision time standard data for most areas of the earth's surface.
[0086] In some embodiments, the sensor data may be, for example, radar detection data, displacement sensor data, accelerometer sensor data, etc.
[0087] S202, when the terminal location information satisfies the terminal mobility condition, determining that the current network environment is a dynamic environment;
[0088] According to some embodiments, the terminal movement condition is used to determine whether the terminal is in a dynamic movement process. When the terminal location information meets the terminal movement condition, it means that the terminal is in a dynamic movement process and the network environment is constantly changing.
[0089] For example, within the second time threshold, when the coordinate change amount corresponding to the GPS data is greater than the coordinate change amount threshold, it can be determined that the terminal is in a dynamic movement process, that is, the GPS data meets the terminal movement condition.
[0090] For example, within the third time threshold, when the data change amount corresponding to the sensor data is greater than the data change amount threshold, it is determined that the sensor data meets the terminal movement condition.
[0091] It should be noted that the "second" and "third" in the second duration threshold and the third duration threshold are only used for distinction and have no special meaning. The second duration threshold and the third duration threshold do not specifically refer to a fixed threshold. The second duration threshold and the third duration threshold can be determined according to actual application scenarios.
[0092] S203, when the current network environment is a dynamic environment, switching the networking mode of the terminal to a multi-data mode, and networking according to the multi-data mode;
[0093] It should be noted that theoretical evaluation and actual testing found that when the terminal is connected to the Internet according to the multi-data mode, there are not obvious benefits in all scenarios. The benefits are more obvious in dynamic and complex network environments. The main reason is that the network environment is constantly changing in a dynamic environment, and it is impossible to predict which SIM card has the best link quality. At this time, multi-link can adjust the link load according to the real-time link quality difference, which has obvious advantages over a single link. Therefore, multi-link response is better than single-link response in a dynamic environment.
[0094] According to some embodiments, when the terminal's networking mode is switched to the multi-data mode and networking is performed according to the multi-data mode, the terminal may enable multiple data links, and according to the link quality corresponding to the data links, the load factor corresponding to each data link in the multiple data links is matched to obtain the matched multiple data links. Then, the terminal may network according to the matched multiple data links.
[0095] In some embodiments, the multiple data links include a data link corresponding to any one of at least two user identity identification card data.
[0096] In some embodiments, when the terminal is connected to the network according to the matched multiple data links, it includes a concurrent mode and a redundant mode. When the terminal is in the concurrent mode, each SIM sends a different data packet; when the terminal is in the redundant mode, each SIM sends the same data packet.
[0097] Take a scenario as an example. Figure 3 A schematic diagram of a dynamic environment provided by an embodiment of the present disclosure is shown. Figure 3 As shown, the terminal includes a first SIM card and a second SIM card. In a dynamic environment, the terminal can adjust the link load according to the real-time link quality difference between the first SIM card and the second SIM card.
[0098] S204: When the terminal location information does not meet the terminal movement condition within the first time threshold, determine that the current network environment is a static environment;
[0099] According to some embodiments, when the terminal location information does not meet the terminal movement condition within the first time threshold, it means that the terminal is in a stationary or small-range moving state. At this time, the network environment is predictable.
[0100] For example, if the coordinate change amount corresponding to the GPS data is not greater than the coordinate change amount threshold within the second time threshold, it can be determined that the terminal is not in a dynamic movement process, that is, the GPS data does not meet the terminal movement condition.
[0101] For example, if the data change amount corresponding to the sensor data is not greater than the data change amount threshold within the third time threshold, it can be determined that the sensor data does not meet the terminal movement condition.
[0102] In some embodiments, the "first" in the first duration threshold is used only for distinction and has no special meaning. The first duration threshold does not specifically refer to a fixed threshold. The first duration threshold can be determined according to actual application scenarios.
[0103] S205, determining the quality of the multi-data signal;
[0104] According to some embodiments, the multiple data signal qualities include signal qualities corresponding to any SIM in the multiple SIMs.
[0105] In some embodiments, the signal quality may be, for example, the link quality of a data link corresponding to the SIM.
[0106] For example, when the terminal includes a first SIM and a second SIM, the multi-data signal quality includes a first link quality corresponding to the first SIM and a second link quality corresponding to the second SIM.
[0107] S206, when the current network environment is a static environment and the quality of the multi-data signal does not meet the single data networking condition, switching the networking mode of the terminal to the multi-data mode, and networking according to the multi-data mode;
[0108] According to some embodiments, the multi-data signal quality not meeting the single data networking condition means that when the terminal uses any SIM card to connect to the Internet, the networking experience does not meet the user's needs.
[0109] For example, when the signal quality corresponding to each SIM in the multi-data signal quality is lower than the first signal quality threshold, the terminal may determine that the multi-data signal quality does not meet the single data networking condition.
[0110] In some embodiments, the "first" in the first signal quality threshold is used only for distinction and has no special meaning. The first signal quality threshold does not specifically refer to a fixed threshold. The first signal quality threshold can be determined according to actual application scenarios.
[0111] S207: When the current network environment is a static environment and the quality of the multi-data signal meets the single data networking condition, the networking mode of the terminal is switched to the single data mode, and the networking is performed according to the single data mode.
[0112] It should be noted that when the terminal is in a static single network environment, the network environment is predictable. The terminal can select the SIM card that meets the single data networking conditions among multiple SIM cards as the data primary card. At this time, the terminal's networking experience can meet user needs, and the power consumption of a single SIM card is relatively low.
[0113] According to some embodiments, the multi-data signal quality satisfies the single data networking condition, for example, the quality difference between the link quality corresponding to any SIM and the link quality corresponding to other SIMs in the multi-data signal quality is greater than the quality difference threshold. Alternatively, the data signal quality satisfies the single data networking condition, for example, the link quality corresponding to any SIM is greater than the second signal quality threshold.
[0114] In some embodiments, the quality difference threshold does not specifically refer to a fixed threshold, and the quality difference threshold can be determined according to actual application scenarios.
[0115] In some embodiments, the "second" in the second signal quality threshold is used only for distinction and has no special meaning. The second signal quality threshold does not specifically refer to a fixed threshold. The second signal quality threshold can be determined according to actual application scenarios.
[0116] According to some embodiments, when the networking mode of the terminal is switched to the single data mode and networking is performed according to the single data mode, the terminal may determine a target data link and perform networking according to the target data link.
[0117] In some embodiments, the target data link is a data link with the highest link quality among the multiple data links.
[0118] Take a scenario as an example. Figure 4 A schematic diagram of a static environment provided by an embodiment of the present disclosure is shown. Figure 4 As shown, the terminal includes a first SIM card and a second SIM card. In a static environment, the terminal can exit the dual data acceleration mode and select the SIM card with the best link quality between the first SIM card and the second SIM card to connect to the Internet.
[0119] According to some embodiments, Figure 5 A flow chart of a network switching method provided by an embodiment of the present disclosure is shown. The terminal includes a first SIM card and a second SIM card. When the terminal meets the DSDA dual data condition, the terminal can determine whether the current environment is dynamic. If the terminal is currently in a dynamic environment, the terminal can enable the dual data link and allocate the load factor according to the dual card link quality. Conversely, the terminal can determine whether it is in a static environment for a period of time. If the terminal is in a static environment for a period of time, the terminal can determine whether the link quality of one card is significantly better than that of another card. If the link quality of one card is significantly better than that of another card, the terminal can exit the dual link state and preferably select the card with the best link quality.
[0120] It should be noted that during the DSDA dual data acceleration process, by sensing whether the terminal is in a dynamic environment or a static environment, the dual-card performance acceleration and power consumption loss can be kept in an optimal balance, which can save more than 12% of power consumption when the terminal is in use.
[0121] In summary, the method provided by the embodiment of the present disclosure first obtains the terminal location information when the terminal satisfies the multi-data acceleration condition; therefore, the current network environment in which the terminal is located can be determined according to the terminal location information, which can improve the accuracy of determining the current network environment. Next, when the terminal location information satisfies the terminal movement condition, the current network environment is determined to be a dynamic environment; when the current network environment is a dynamic environment, the terminal's networking mode is switched to a multi-data mode, and networking is performed according to the multi-data mode; when the terminal location information does not meet the terminal movement condition within the first time threshold, the current network environment is determined to be a static environment; the multi-data signal quality is determined; when the current network environment is a static environment and the multi-data signal quality does not meet the single data networking condition, the terminal's networking mode is switched to a multi-data mode, and networking is performed according to the multi-data mode; when the current network environment is a static environment and the multi-data signal quality meets the single data networking condition, the terminal's networking mode is switched to a single data mode, and networking is performed according to the single data mode. Therefore, based on dynamic and static environments, the combination of dynamic and static networking strategies can ensure the maximization of the benefits of using multiple data links. Using multi-data mode in complex and changing dynamic environments can better reflect the value of multi-data acceleration. In a static single network environment and to meet the user's Internet experience needs, only using the SIM card of the optimal network for networking can reduce the power consumption of the terminal during use, reduce the situation where the terminal consumes more power during use due to entering the multi-data mode, and improve the convenience of terminal use.
[0122] The following are embodiments of the device disclosed herein, which can be used to execute the method embodiments disclosed herein. For details not disclosed in the device embodiments disclosed herein, please refer to the method embodiments disclosed herein.
[0123] See also Figure 6 , which shows a schematic diagram of the structure of a network switching device provided by an exemplary embodiment of the present disclosure. The network switching device can be implemented as all or part of the device through software, hardware, or a combination of both. The network switching device 600 includes an information determination unit 601 and a network switching unit 602, wherein:
[0124] The information determination unit 601 is used to determine the current network environment and the quality of the multi-data signal when the terminal meets the multi-data acceleration condition, wherein the multi-data includes at least two user identity card data;
[0125] The network switching unit 602 is used to switch the terminal's networking mode according to the current network environment and the quality of the multi-data signal, wherein the networking mode includes a multi-data mode and a single data mode.
[0126] Optionally, when the information determining unit 601 is used to determine the current network environment, it is specifically used to:
[0127] Obtain terminal location information;
[0128] When the terminal location information satisfies the terminal mobility condition, determining that the current network environment is a dynamic environment;
[0129] When the terminal location information does not meet the terminal movement condition within the first time threshold, it is determined that the current network environment is a static environment.
[0130] Optionally, the terminal location information includes at least one of global positioning system data and sensor data, and the information determination unit 601 is used to, after acquiring the terminal location information, further:
[0131] Within the second time threshold, when the coordinate change amount corresponding to the global positioning system data is greater than the coordinate change amount threshold, it is determined that the global positioning system data meets the terminal movement condition;
[0132] If, within the third time threshold, the data change amount corresponding to the sensor data is greater than the data change amount threshold, it is determined that the sensor data meets the terminal movement condition.
[0133] Optionally, when the network switching unit 602 is used to switch the networking mode of the terminal according to the current network environment, it is specifically used to:
[0134] When the current network environment is a dynamic environment, the networking mode of the terminal is switched to a multi-data mode, and the network is connected according to the multi-data mode;
[0135] When the current network environment is a static environment, the networking mode of the terminal is switched to a single data mode, and the network is connected according to the single data mode.
[0136] Optionally, the network switching unit 602 is used to switch the networking mode of the terminal to the multi-data mode, and when networking is performed according to the multi-data mode, it is specifically used to:
[0137] Activating multiple data links, wherein the multiple data links include a data link corresponding to any one of at least two user identity identification card data;
[0138] According to the link quality corresponding to the data link, the load factor corresponding to each data link in the multiple data links is matched to obtain the matched multiple data links;
[0139] Networking is carried out based on the matched multiple data links.
[0140] Optionally, the network switching unit 602 is used to switch the networking mode of the terminal to the single data mode, and when the network is connected according to the single data mode, it is specifically used to:
[0141] determining a target data link, wherein the target data link is a data link with the highest link quality among the multiple data links;
[0142] Networking is performed according to the target data link.
[0143] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0144] In summary, the device provided by the embodiment of the present disclosure determines the current network environment and the quality of the multi-data signal through the information determination unit when the terminal meets the multi-data acceleration condition, wherein the multi-data includes at least two user identity card data; the network switching unit switches the terminal's networking mode according to the current network environment and the quality of the multi-data signal, wherein the networking mode includes a multi-data mode and a single data mode. Therefore,
[0145] According to an embodiment of the present disclosure, the present disclosure also provides a terminal, a readable storage medium and a computer program product.
[0146] Figure 7 A schematic block diagram of an example terminal 700 that can be used to implement embodiments of the present disclosure is shown. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit implementations of the present disclosure described and / or claimed herein.
[0147] like Figure 7 As shown, the terminal 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the terminal 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0148] A number of components in the terminal 700 are connected to the I / O interface 705, including: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a disk, an optical disk, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 709 allows the terminal 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0149] The computing unit 701 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 701 performs the various methods and processes described above, such as a network switching method. For example, in some embodiments, the network switching method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on the terminal 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the network switching method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the network switching method in any other appropriate manner (e.g., by means of firmware).
[0150] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0151] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0152] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0153] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0154] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.
[0155] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.
[0156] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0157] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A network switching method, characterized in that: include: When the terminal meets the multi-data acceleration condition, determining the current network environment and the multi-data signal quality, wherein the multi-data includes at least two user identity card data; The networking mode of the terminal is switched according to the current network environment and the quality of the multi-data signal, wherein the networking mode includes a multi-data mode and a single data mode.
2. The method according to claim 1, characterized in that The determining of the current network environment includes: Obtain terminal location information; In a case where the terminal location information satisfies a terminal mobility condition, determining that the current network environment is a dynamic environment; When the terminal location information does not satisfy the terminal movement condition within the first time threshold, it is determined that the current network environment is a static environment.
3. The method according to claim 2, characterized in that The terminal location information includes at least one of global positioning system data and sensor data. After acquiring the terminal location information, the method further includes: Within the second time threshold, when the coordinate change amount corresponding to the global positioning system data is greater than the coordinate change amount threshold, determining that the global positioning system data meets the terminal movement condition; Within the third time threshold, when the data change amount corresponding to the sensor data is greater than the data change amount threshold, it is determined that the sensor data meets the terminal movement condition.
4. The method according to claim 2, characterized in that: The switching of the networking mode of the terminal according to the current network environment includes: When the current network environment is the dynamic environment, switching the networking mode of the terminal to the multi-data mode, and networking according to the multi-data mode; When the current network environment is the static environment and the quality of the multi-data signal does not meet the single data networking condition, switching the networking mode of the terminal to the multi-data mode, and networking according to the multi-data mode; When the current network environment is the static environment and the quality of the multi-data signal meets the single-data networking condition, the networking mode of the terminal is switched to the single-data mode, and networking is performed according to the single-data mode.
5. The method according to claim 4, characterized in that The switching of the networking mode of the terminal to the multi-data mode and networking according to the multi-data mode includes: Enabling multiple data links, wherein the multiple data links include a data link corresponding to any one of at least two user identity identification card data; According to the link quality corresponding to the data link, the load factor corresponding to each data link in the multiple data links is matched to obtain multiple data links after matching; Networking is performed according to the matched multiple data links.
6. The method according to claim 5, characterized in that The switching the networking mode of the terminal to the single data mode and networking according to the single data mode includes: Determining a target data link, wherein the target data link is a data link with the highest link quality among the multiple data links; Networking is performed according to the target data link.
7. A network switching device, characterized in that: include: An information determination unit, configured to determine the current network environment and the quality of the multi-data signal when the terminal satisfies the multi-data acceleration condition, wherein the multi-data includes at least two user identity card data; A network switching unit is used to switch the networking mode of the terminal according to the current network environment and the quality of the multi-data signal, wherein the networking mode includes a multi-data mode and a single data mode.
8. The device according to claim 7, characterized in that When the information determination unit is used to determine the current network environment, it is specifically used to: Obtain terminal location information; In a case where the terminal location information satisfies a terminal mobility condition, determining that the current network environment is the dynamic environment; When the terminal location information does not satisfy the terminal movement condition within the first time threshold, it is determined that the current network environment is the static environment.
9. The device according to claim 8, characterized in that The terminal location information includes at least one of global positioning system data and sensor data, and the information determination unit is used for, after acquiring the terminal location information, further: Within the second time threshold, when the coordinate change amount corresponding to the global positioning system data is greater than the coordinate change amount threshold, determining that the global positioning system data meets the terminal movement condition; Within the third time threshold, when the data change amount corresponding to the sensor data is greater than the data change amount threshold, it is determined that the sensor data meets the terminal movement condition.
10. The device according to claim 7, characterized in that When the network switching unit is used to switch the networking mode of the terminal according to the current network environment, it is specifically used to: When the current network environment is the dynamic environment, switching the networking mode of the terminal to the multi-data mode, and networking according to the multi-data mode; When the current network environment is the static environment and the quality of the multi-data signal does not meet the single data networking condition, switching the networking mode of the terminal to the multi-data mode, and networking according to the multi-data mode; When the current network environment is the static environment and the quality of the multi-data signal meets the single-data networking condition, the networking mode of the terminal is switched to the single-data mode, and networking is performed according to the single-data mode.
11. The device according to claim 10, characterized in that The network switching unit is used to switch the networking mode of the terminal to the multi-data mode, and when the network is connected according to the multi-data mode, it is specifically used to: Enabling multiple data links, wherein the multiple data links include a data link corresponding to any one of at least two user identity identification card data; According to the link quality corresponding to the data link, the load factor corresponding to each data link in the multiple data links is matched to obtain multiple data links after matching; Networking is performed according to the matched multiple data links.
12. The device according to claim 11, characterized in that The network switching unit is used to switch the networking mode of the terminal to the single data mode, and when the network is connected according to the single data mode, it is specifically used to: Determining a target data link, wherein the target data link is a data link with the highest link quality among the multiple data links; Networking is performed according to the target data link.
13. A terminal, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the network switching method according to any one of claims 1 to 6.
14. A storage medium, when instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute the network switching method according to any one of claims 1 to 6.