Card-slice switching method, device and storage medium

By acquiring the card slice switching signal and using the slice database, the terminal can realize the slice switching during the card switching, solve the problem of difficult slice switching in the prior art, and improve service quality.

CN114126006BActive Publication Date: 2025-02-11ZTE CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010881130.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-27
Publication Date
2025-02-11
Estimated Expiration
2040-08-27

AI Technical Summary

Technical Problem

During the transfer card, existing terminals cannot switch between the slice of the current card to the slice of the target card to be transferred to, resulting in signal differences and low service quality of slice connection.

Method used

By obtaining the card slice switching signal, combining the current card's application network usage status and the preset slice database, it obtains switchable slices and performs card slice switching to realize the slice switching of one card from another card.

Benefits of technology

It realizes slice switching that does not affect user application usage, and improves the quality of slice connection service.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114126006B_ABST
    Figure CN114126006B_ABST
Patent Text Reader

Abstract

The present application relates to a card-to-card slice switching method, device and storage medium. The card-to-card slice switching method includes: obtaining a card-to-card slice switching signal; obtaining a switchable slice according to the card-to-card slice switching signal, the application network usage status of the current card and a preset slice database; the slice database contains matching information between the application network usage status and the switchable slice to be transferred to the target card; and performing card-to-card slice switching according to the switchable slice. By obtaining a switchable slice through the card-to-card slice switching signal, the application network usage status of the current card and a preset slice database, and then performing card-to-card slice switching according to the switchable slice, a slice switching of one card from another card is realized, which does not affect the user's application usage and can improve the slice connection service quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to but are not limited to the field of wireless communication technology, and in particular to a card-to-card slice switching method, device, and storage medium. Background Art

[0002] The simplest understanding of network slicing technology is to cut a physical network into multiple virtual end-to-end networks. Each virtual network, including the devices, access, transmission and core networks within the network, is logically independent. A failure in any virtual network will not affect other virtual networks. Each virtual network has different functional characteristics and is oriented to different needs and services.

[0003] At present, terminals have only one set of radio frequency, so data services can only select one card to be permanently resident. For terminals with multi-card multi-standby function, when switching cards, it is impossible to switch the slice of the current card to the slice of the target card to be transferred. For example, dual-card dual-standby mobile phones on the market can only select one card to be permanently resident. It is often found in the existing network that if Card 1 and Card 2 are not from the same operator, the signal is different. If the card-switching slice of Card 1 is directly switched to the slice of Card 2, since the available slice services obtained by Card 1 and Card 2 are different, it is impossible to switch the slice of Card 1 to the slice of Card 2, resulting in low slice connection service quality. Summary of the invention

[0004] The embodiments of the present application provide a card-to-card slice switching method, device, and storage medium, which can realize the slice switching of one card from another card without affecting the user's application usage and can improve the slice connection service quality.

[0005] In a first aspect, an embodiment of the present application provides a card-slice switching method, including:

[0006] Get the card-slice switching signal;

[0007] Obtain a switchable slice according to the card-transfer slice switching signal, the application network usage status of the current card and a preset slice database; the slice database contains matching information between the application network usage status and the switchable slice to be transferred to the target card;

[0008] The card slice is switched according to the switchable slice.

[0009] In a second aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the following is achieved:

[0010] The card-slice switching method as described in the first aspect.

[0011] In a third aspect, an embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to:

[0012] Execute the card-slice switching method described in the first aspect;

[0013] The embodiments of the present application include: obtaining a switchable slice through a card-slice switching signal, the application network usage status of the current card and a preset slice database, and then performing a card-slice switching according to the switchable slice to realize the slice switching of one card from another card, which does not affect the user's application usage and can improve the slice connection service quality.

[0014] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The accompanying drawings are used to provide further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.

[0016] Figure 1 It is a flowchart of a card-slice switching method provided in an embodiment of the present application;

[0017] Figure 2 is a flowchart of a card-slice switching method provided by another embodiment of the present application;

[0018] Figure 3 is a flowchart of a card-slice switching method provided by another embodiment of the present application;

[0019] Figure 4 is a flowchart of a card-slice switching method provided by another embodiment of the present application;

[0020] Figure 5 is a flowchart of a card-slice switching method provided by another embodiment of the present application;

[0021] Figure 6 is a flowchart of a card-slice switching method provided by another embodiment of the present application;

[0022] Figure 7 is a flowchart of a card-slice switching method provided by another embodiment of the present application;

[0023] Figure 8is a flowchart of a card-slice switching method provided by another embodiment of the present application;

[0024] Fig. 9 is a flowchart of a card-slice switching method provided by another embodiment of the present application;

[0025] Fig.10 is a flowchart of a card-slice switching method provided by another embodiment of the present application;

[0026] Fig.11 It is a structural schematic diagram of an electronic device provided in another embodiment of the present application. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0028] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flow chart. The terms "first", "second", "third", "fourth", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0029] Network slicing technology is to cut a physical network into multiple virtual end-to-end networks. Each virtual network, including the devices, access, transmission and core networks within the network, is logically independent. The failure of any virtual network will not affect other virtual networks. Each virtual network has different functional characteristics and is oriented to different needs and services. Network slicing technology brings the following value: It guarantees the service quality of different levels of services, including traditional network indicators such as bandwidth, latency, packet loss and jitter, so that users can obtain a logically independent network, avoid network risks, and avoid leaks; users can view the network statistics and status related to their slice packages.

[0030] When the terminal registers with the network (such as 5G network registration), it negotiates with the network or the network provides a slice set of network slice selection assistance information (NSSAI) to obtain slice related information, including the data network name (DNN) in the slice. The terminal contains a UE router selection policy (URSP), and the UE router selection policy contains a network slice selection policy (NSSP). The application in the terminal selects the slice according to the network slice selection policy. The elements of the network slice selection policy include the data network name, application ID, etc., and the application can select the elements in the network slice selection policy to match the network slice selection policy. The operator can pre-configure the UE routing selection policy for the UE, or the PCF can dynamically issue or update the UE routing selection policy.

[0031] Traditional terminals have only one set of RF modules, so data services intelligently select a card (such as SIM card, Micro-SIM card and Nano-SIM card, etc.) to reside permanently. It is often found in the current network that if any two cards in the terminal are not from the same operator, the network signals corresponding to the two cards are different. Assuming that an application uses slices on the current card, it is necessary to switch the current card to the target card to be transferred. Since the slice set of the current card is different from the slice set of the target card to be transferred, after the previous card is switched to the target card to be transferred, the slice used by the application is switched to the slice corresponding to the target card to be transferred. It is impossible to switch the slice used by the application from the current card to the target card to be transferred, which affects the use of user applications to a certain extent, thereby reducing the quality of slice connection service.

[0032] Based on this, the embodiments of the present application provide a card-to-card slice switching method, device and storage medium, which can complete the switching of the slice from the current card to the target card to be transferred, without affecting the user's application use and improving the slice connection service quality.

[0033] First, refer to Figure 1 , the embodiment of the present application discloses a card-slice switching method, including:

[0034] S1000, obtaining a card-slice switching signal;

[0035] S2000, obtaining a switchable slice according to the card transfer slice switching signal, the application network usage status of the current card and a preset slice database; the slice database contains matching information between the application network usage status and the switchable slice of the target card to be transferred;

[0036] S3000, switching the card slice according to the switchable slice.

[0037] In some embodiments, after the terminal completes the network registration of the current card and the target card to be transferred, the network-supported slice sets of the current card and the target card to be transferred are obtained respectively during the network registration signaling interaction process. The slice sets of the current card and the target card to be transferred are compared to obtain the slices of the current card and the target card to be transferred according to the matching information to obtain the switchable slices, and the switchable slices are stored in the slice database.

[0038] When a card-transfer slice switching signal is received, a switchable slice is obtained according to the card-transfer slice switching signal, the application network usage status of the current card, and the preset slice database. Since slicing is an application technology of 5G network, if the network type of the current card is any one of 2G, 3G, and 4G networks, and the network type of the target card to be transferred is a 5G network, the current card does not use slices, and a switchable slice is obtained according to the card-transfer slice switching signal and the preset slice database, that is, the slice that can be used by the application after the current card is switched to the target card to be transferred. If the network types of the current card and the target card to be transferred are both 5G networks, and the application network usage status of the current card is equivalent to the slice used by the application of the current card, then the switchable slice is obtained according to the matching information between the application network usage status of the current card and the switchable slice of the target card to be transferred, and the card-transfer slice switching can be performed according to the switchable slice, so that when the current card is switched to the target card to be transferred, the slice switching from the current card to the target card to be transferred is completed, which does not affect the use of user applications and can improve the slice connection service quality.

[0039] In some embodiments, the slice database includes: a switchable slice database and a replaceable slice database, the switchable slice database includes matching information between slices with the same traffic descriptors in the current card and the target card to be transferred; and / or, the replaceable slice database includes matching information between slices with matching replacement parameters in the current card and the target card to be transferred.

[0040] Traffic descriptors are a set of traffic parameters used to describe the traffic characteristics of an IP flow on a given standard interface. Traffic descriptors include but are not limited to data network names, application IDs, IP-3Tuples, and Non-IP descriptors. After the current card and the target card to be transferred to complete network registration, the current card and the target card to be transferred to obtain a slice set, and then analyze the slice set of the current card and the slice set of the target card to be transferred to, store the matching information between the slices with the same traffic descriptors in the current card and the target card to be transferred to the switchable slice database, and then search the remaining slices for matching information between the slices with matching replacement parameters in the current card and the target card to be transferred to store it in the replaceable slice database. The switchable slice database contains matching information between slices with the same traffic descriptors in the current card and the target card to be transferred, and the replaceable slice database contains matching information between slices with matching replacement parameters in the current card and the target card to be transferred, so that switchable slices in different databases can be obtained according to the application network usage status of the current card, so that after the current card is switched to the target card to be transferred, the slices used by the application of the target card to be transferred are more closely matched to the slices used by the current card application.

[0041] In some embodiments, the replacement parameters include one or more of the following: quality of service parameters (Qos), bandwidth parameters, and latency parameters.

[0042] Since the switchable slice database contains matching information between slices with the same traffic descriptor in the current card and the target card to be transferred, the slices in the switchable slice database are removed from the slice sets of the current card and the target card to be transferred to obtain the remaining slices, and the replaceable slice database contains matching information between the slices whose replacement parameters are matched in the remaining slices. The matching information between the slices in the replaceable slice database is obtained by screening out the slices whose quality of service parameters and / or bandwidth parameters and / or delay parameters match in the remaining slices.

[0043] In some embodiments, reference Figure 2 , a card-slice switching method, further comprising:

[0044] S4000, obtaining a slice change signal;

[0045] S5000, updating a switchable slice database and / or a replaceable slice database according to a slice change signal;

[0046] When the terminal is running, the application network usage status of the current card is changing, so the slice used by the current card is also different. Subscribe to the slice change message through the wireless protocol stack to obtain the slice change signal. If the slice set of the current card changes, the slice change signal is obtained, and the switchable slice database and / or replaceable slice database are updated according to the slice change signal, so as to obtain more accurate switchable slices through the updated switchable slice database and replaceable slice database.

[0047] In some embodiments, reference Figure 3 , a card-slice switching method further includes:

[0048] S6000, monitor and compare the network quality of the current card and the target card to be transferred;

[0049] S7000: If the network quality of the target card to be transferred is better than the network quality of the current card, output a card transfer slice switching signal.

[0050] By monitoring and comparing the network quality of the current card and the target card to be transferred, if the network quality of the target card to be transferred is better than that of the current card, a card transfer slice switching signal is output. By automatically monitoring the network quality of the current card and the target card to be transferred, the automatic conversion of the current card and the target card to be transferred is realized, which saves manpower and can always keep the network quality of the current application optimal. Among them, there are at least two or more user identification cards in the terminal, and the user identification card currently used is the current card, and the user identification card with the best network quality among other user identification cards in the terminal except the current card is the target card to be transferred. Therefore, the network quality of other user identification cards is first monitored and compared to screen out the user identification card with the best network quality as the target card to be transferred, and then the target card to be transferred and the current card are monitored and compared. If the network quality of the target card to be transferred is better than that of the current card, a card transfer slice switching signal is output to transfer the card according to the card transfer slice switching signal, so that the network quality of the user identification card used by the terminal remains optimal, thereby improving the user experience.

[0051] In other embodiments, the user clicks the card transfer switch button to output a card transfer slice switch signal, that is, manually switching the current card to the target card to be transferred, and the switchable slice is obtained according to the card transfer slice switch signal, the application network usage status of the current card and the preset slice database, and the card transfer slice switch is performed according to the switchable slice. If the current card is manually switched to the target card to be transferred, there is no need to consider the network quality of the target card to be transferred and the current card, and the target card to be transferred is the user identification card selected by the user to be converted. By manually switching the current card to the target card to be transferred, the user identification card can be sliced ​​according to the user's needs.

[0052] In some embodiments, the network quality includes one or more of the following: reference signal received power (RSRP), reference signal received quality (RSRQ), signal-to-noise ratio (SNR), frequency band bandwidth (Bandwith), network type, and network congestion. Monitoring and comparing the network quality of the current card and the target card to be transferred to is specifically monitoring and comparing any one or more of the reference signal received power, reference signal received quality, signal-to-noise ratio, frequency band bandwidth, network type, and network congestion of the current card and the target card to be transferred to. If any value of the reference signal received power, reference signal received quality, and signal-to-noise ratio of the current card is lower than the preset threshold value, or the frequency band bandwidth is too low to meet the slice service quality, or the network type is a non-5G network, or network congestion occurs, and the reference signal received power, reference signal received quality, and signal-to-noise ratio of the target card to be transferred to are higher than the reference signal received power, reference signal received quality, and signal-to-noise ratio of the current card, and the frequency band bandwidth and network type of the target card to be transferred to meet the slice service quality, then the card transfer slice switching signal is output. By monitoring and comparing the network quality of the current card and the target card to be transferred, specifically monitoring and comparing any one or more of the reference signal reception power, reference signal reception quality, signal-to-noise ratio, frequency band bandwidth, network type and network congestion status of the current card and the target card to be transferred, the network quality of the current card and the target card to be transferred can be judged more accurately and the card transfer slice switching signal can be accurately output.

[0053] In some embodiments, reference Figure 4 ,The application network usage status includes: the application network usage status of the preservation slice and the application network usage status of the non-preservation slice;

[0054] According to the card-slice switching signal, the application network usage status of the current card and the preset slice database, the switchable slice is obtained, including:

[0055] S2100, obtaining the application working state of the application, where the application working state includes one or more of the following: foreground and background states, flow states, active thread categories, and usage frequency;

[0056] S2200. Determine, according to the application working state of the application, that the application network usage state is a preservation slice application network usage state;

[0057] S2300. Obtain a switchable slice based on the security slice application network usage status and slice database.

[0058] During the operation of the terminal, the application working state of the application is monitored in real time, mainly monitoring any one or more of the foreground and background states, traffic states, active thread categories, and usage frequencies of the application, to determine that the application network usage state is the preservation slice application network usage state. Among them, the preservation slice application network usage state is that the application needs to continue to provide slice services after the current card is switched to the target card to be transferred. If all applications need to provide slice services after the current card is switched to the target card to be transferred, on the one hand, it is difficult to match the slices of all applications, and on the other hand, the engineering workload of switching the slices of all applications is also huge. Therefore, the application network usage state is determined to be the preservation slice application network usage state through the application working state of the application, and then the switchable slices are obtained according to the preservation slice application network usage state and the slice database, which can filter out some unimportant applications to save the number of slices provided by the attached diagram, and can not reduce the slice service quality after the current card is switched to the target card to be transferred.

[0059] In some embodiments, reference Figure 5 , step S2200 specifically includes:

[0060] S2210: If the foreground and background states of the application are foreground applications, the network usage state of the application is the network usage state of the preservation slice application;

[0061] S2220. If the foreground and background status of the application is a background application, the network usage status of the application is determined to be the network usage status of the preservation slice application based on the traffic status and / or the thread category and / or usage frequency of the active state.

[0062] By analyzing the foreground and background states of the application, it is determined whether the application is a foreground application or a background application. For a foreground application, the slices used by the foreground application need to be preserved so that after the current card is switched to the target card to be transferred, the foreground application needs to continue to provide slice services. For a background application, it is determined whether the slices used by the background application need to be preserved based on the application's traffic state and / or the thread category and / or usage frequency of the activity state, and then whether the background application needs to continue to provide slice services after the current card is switched to the target card to be transferred.

[0063] By determining the foreground and background status of the application, it is determined whether the application needs to continue to provide slice services after the current card is switched to the target card to be transferred. This can not only maintain the high quality of slice services for important applications, but also improve the efficiency of slice switching.

[0064] In some embodiments, reference Figure 6 , step S2220 specifically includes:

[0065] S2221. If the traffic status of the background application is that the traffic generated per unit time exceeds the preset traffic threshold, the application network usage status is the preservation slice application network usage status;

[0066] S2222, and / or, if the thread category of the active state of the background application is a necessary working scenario, the application network usage state is a preservation slice application network usage state;

[0067] S2223, and / or, if the usage frequency of the background application exceeds the preset frequency threshold, the application network usage status is the preservation slice application network usage status.

[0068] Among them, the preset traffic threshold can be set differently according to different background applications. For example, the traffic consumed by video background applications is relatively large, while the traffic consumed by reading background applications or SMS background applications is relatively small. Therefore, the preset traffic thresholds set according to different background applications are different, so as to determine the importance of the background application to the user by judging whether the traffic generated by the background application in a unit time exceeds the preset traffic threshold. If the traffic status of the background application is that the traffic generated in a unit time exceeds the preset traffic threshold, the application network usage status is the preservation slice application network usage status, that is, after the current card is switched to the target card to be transferred, the background application needs to continue to provide the slice service. If the traffic status of the background application is that the traffic generated in a unit time does not exceed the preset traffic threshold, the application network usage status is the non-preservation slice application network usage status, that is, after the current card is switched to the target card to be transferred, the background application does not need to provide the slice service.

[0069] For the necessary working scenarios of active thread categories, such as downloading threads and payment threads, which are the default necessary working scenarios, and the necessary working scenarios can be pre-set according to the needs, so as to pre-set the application component activities as necessary working scenarios for different applications. Once the current application component of the background application is detected as preset, the active thread category of the background application is determined to be a necessary working scenario. According to the active thread category of the background application as a necessary working scenario, the application network usage status is the preservation slice application network usage status, that is, after the current card is switched to the target card to be transferred, the slice service used by the background application needs to continue to be provided. If the active thread category of the detected application is a non-essential scenario, the application network usage status is the non-preservation slice application network usage status. That is, after the current card is switched to the target card to be transferred, the background application does not need to provide slice services.

[0070] Whether the usage frequency of the background application exceeds the preset frequency threshold is used to determine whether the application network usage status is a preservation slice application network usage status or a non-preservation slice application network usage status. Among them, the preset frequency threshold can be set by the user, or it can be determined according to the average frequency of all background applications being called. Specifically, by judging whether the usage frequency of the background application exceeds the preset frequency threshold within a period, if the usage frequency of the background application exceeds the preset frequency threshold within a period, it proves that the background application is a frequently used application by the user, then the application network usage status is a preservation slice application network usage status, that is, after the current card is switched to the target card to be transferred, the slice service used by the background application needs to continue to be provided. If the usage frequency of the background application does not exceed the preset frequency threshold within a period, the application network usage status is a non-preservation slice application network usage status, that is, after the current card is switched to the target card to be transferred, there is no need to provide background application slice service.

[0071] Since the flow state and / or the thread category and / or the usage frequency of the activity state can represent the importance of the background application to the user, the application network usage state is determined to be the network usage state of the preservation slice application by judging the flow state and / or the thread category and / or the usage frequency of the activity state, and then it is determined whether the background application needs to continue to provide slice services after the current card is switched to the target card to be transferred. For the background applications that are important to the user, the slice services will continue to be provided, so that the user can continue to use the background application after the current card is switched to the target card to be transferred. For the background applications that are not important to the user, after the current card is switched to the target card to be transferred, the slice services will no longer be provided to the background applications, which can not only reduce the operating space of the terminal, but also improve the efficiency of slice conversion.

[0072] In some embodiments, reference Figure 7 , the slice database includes a switchable slice database, and step 2300 specifically includes:

[0073] S2310, detecting the slice usage behavior of the application of the current card;

[0074] S2320, determining the network usage state of the preservation slice application as the specific slice application network usage state according to the slice usage behavior of the application;

[0075] S2330, obtaining a specific slice according to a specific slice application network usage status;

[0076] S2340. Query the switchable slice database according to the specific slice, and obtain a slice in the switchable slice database that matches the specific slice to obtain a switchable slice.

[0077] When the slice database includes a switchable slice database, the network usage status of the preservation slice application is determined to be a specific slice application network usage status based on the slice usage behavior of the application. For the specific slice application network usage status, it is considered that after the current card is switched to the target card to be transferred, the slice service used by the application remains unchanged. Therefore, a specific slice is obtained according to the specific slice application network usage status, and the specific slice is queried in the switchable slice database. If there is a slice matching the specific slice in the switchable slice database, the slice is obtained to obtain a switchable slice, so as to switch the card slice according to the switchable slice. Since the switchable slice database includes slices with the same traffic descriptors as the current card and the target card to be transferred, the switchable slice is obtained by obtaining the slice matching the specific slice in the switchable slice database. After the current card is switched to the target card to be transferred, the slice service quality of the application is improved.

[0078] In some embodiments, reference Figure 8 , the slice database includes a replaceable slice database, step S2300 includes:

[0079] S2350, detecting the slice usage behavior of the application of the current card;

[0080] S2360, determining that the network usage state of the preservation slice application is the system default slice application network usage state according to the slice usage behavior of the application;

[0081] S2370, obtaining a system default slice according to the network usage status of the system default slice application;

[0082] S2380. Query the replaceable slice database according to the system default slice, and obtain the slice in the replaceable slice database that matches the system default slice to obtain a switchable slice.

[0083] Detect the slice usage behavior of the application of the current card, and determine the network usage status of the preservation slice application as the system default slice application network usage status through the slice usage behavior of the application. For the system default slice application network usage status, it is necessary that after the current card is switched to the target card to be transferred, the slice used by the application only needs to not affect the service quality. Therefore, the system default slice is obtained according to the system default slice application network usage status, and then the replaceable slice database is queried according to the system default slice to obtain a slice matching the system default slice in the replaceable slice database through matching information to obtain a switchable slice. By obtaining a slice matching the system default slice in the replaceable slice database to obtain a switchable slice, for applications that do not require high slice service quality, after the current card is switched to the target card to be transferred, the application can continue to use the slice with the same slice service quality without affecting the continued use of the application.

[0084] In some embodiments, reference Fig. 9 , step 2000 also includes:

[0085] S2400: If there is no switchable slice in the slice database;

[0086] S2500, updating the slice database to obtain a secondary slice database;

[0087] S2600. Obtain a switchable slice according to the application network usage status of the current card and a secondary slice database.

[0088] If there is no switchable slice in the slice database, it means that there is no slice matching the application in the slice database. If the slice is forcibly switched, the service quality of the slice used by the application will change. Therefore, the slice database is updated to obtain a secondary slice database, and then the switchable slice is obtained by applying the network usage status and the secondary slice database, so that the application can use the slice with unchanged quality.

[0089] In some embodiments, after obtaining the secondary slice database, the slice usage behavior of the application is judged to determine whether the network usage status of the preservation slice application is a specific slice application network usage status or a system default slice application network usage status. If it is a specific slice application network usage status, the specific slice is obtained, and the secondary slice database is queried according to the specific slice to obtain a slice matching the specific slice to obtain a switchable slice, so that the specific slice used by the application can be queried in the updated secondary slice database, thereby improving the slice service quality used by the application. If it is a system default slice application network usage status, the system default slice is obtained, and the secondary slice database is queried according to the system default slice to obtain a slice matching the system default slice to obtain a switchable slice, so that the application can keep using the system default slice with unchanged slice service quality.

[0090] Specifically, the secondary slice database includes a secondary switchable slice database and a secondary replaceable slice database. If there is no slice matching the specific slice in the switchable slice database and / or there is no slice matching the system default slice in the replaceable slice database; update the switchable slice database and the replaceable slice database to form a secondary switchable slice database and a secondary replaceable slice database; query the secondary switchable slice database and the secondary replaceable slice database according to the specific slice and the system default slice, obtain the slice matching the specific slice in the secondary switchable slice database and / or the slice matching the system default slice in the secondary replaceable slice database, so as to obtain the switchable slice.

[0091] If there is no slice matching the specific slice in the switchable slice database and / or there is no slice matching the system default slice in the replaceable slice database, it is necessary to re-acquire the slice set of the current card and the slice set of the target card to be transferred, and then re-acquire the slices with the same traffic descriptor in the slice set of the current card and the slice set of the target card to be transferred to obtain a secondary switchable slice database, and re-acquire the slices with matching replacement parameters in the slice set of the current card and the slice set of the target card to be transferred to obtain a secondary replaceable slice database. After obtaining the secondary switchable slice database and the secondary replaceable slice database, obtain the slices matching the specific slices in the secondary switchable slice database and the slices matching the system default slices in the secondary replaceable slice database to obtain the switchable slices, so as to switch the card slices according to the switchable slices.

[0092] In some embodiments, reference Fig.10 , a card-slice switching method further includes:

[0093] S8000, if there is no switchable slice in the secondary slice database;

[0094] S9000, output card switching prompt signal;

[0095] S1100, receiving an operation instruction;

[0096] S1200: Switch the slice card according to the operation instruction.

[0097] Specifically, step S8000 is specifically if there is no slice matching the specific slice in the secondary switchable slice database and / or there is no slice matching the system default slice in the secondary replaceable slice database.

[0098] Among them, the card switching prompt signal is "the signal quality of the current card is too poor, and it needs to be switched to the target card to be transferred, but it will affect the use of slice data by some applications", so as to prompt the user whether it is necessary to switch slices through the switching prompt signal. When the card switching prompt signal is output, a list of applications that do not match the slices is also output, so that the user can clearly know which applications are affected after the current card is switched to the target card to be transferred, so as to judge whether it is necessary to switch the card. If the user agrees to switch the current card to the target card to be transferred, the operation instruction of the user input terminal can be received through the human-computer interaction device (such as buttons, touch screen, etc.), so as to switch the slices according to the operation instruction. If the user refuses to switch the card, a rejection instruction can be received through the human-computer interaction device (such as buttons, touch screen), so as to stop the current card from switching to the target card to be transferred according to the rejection instruction.

[0099] In summary, after the current card and the target card to be transferred to complete network registration, obtain the slice set of the current card and the slice set of the target card to be transferred to. Obtain the matching information between the slices that match the traffic description in the slice set of the current card and the slice set of the target card to be transferred to obtain a switchable slice database, remove the slices of the switchable slice database from the slice sets of the current card and the target card to be transferred to obtain the remaining slices, and filter out the slices that match the service quality parameters and / or bandwidth parameters and / or delay parameters from the remaining slices to obtain the matching information between the slices to obtain a replaceable slice database. Monitoring and comparing the network quality of the current card and the target card to be transferred to is specifically monitoring and comparing any one or more of the reference signal reception power, reference signal reception quality, signal-to-noise ratio, frequency band bandwidth, network type and network congestion status of the current card and the target card to be transferred to. If any value of the reference signal receiving power, reference signal receiving quality, or signal-to-noise ratio of the current card is lower than the preset threshold value, or the frequency band bandwidth is too low to meet the slice service quality, or the network type is a non-5G network, or network congestion occurs, and the reference signal receiving power, reference signal receiving quality, and signal-to-noise ratio of the target card to be transferred are higher than the reference signal receiving power, reference signal receiving quality, and signal-to-noise ratio of the current card, and the frequency band bandwidth and network type of the target card to be transferred meet the slice service quality, then the card transfer slice switching signal is output. The card transfer slice switching signal is obtained to determine the foreground and background status of the application. If the foreground and background status of the application is the foreground application, and the application network usage status is the preservation slice application network usage status, then after the current card switches to the target card to be transferred, it is necessary to provide slice services to the application. If the foreground and background status of the application is a background application, if the traffic status of the background application is that the traffic generated per unit time exceeds the preset traffic threshold, the application network usage status is the preservation slice application network usage status, or the thread category of the active state of the background application is a necessary working scenario, then the application network usage status is the preservation slice application network usage status, or if the background application is judged to exceed the preset frequency threshold within a period, then the application network usage status is the preservation slice application network usage status. For the preservation slice application network usage status, the slice usage behavior of the application of the current card is judged, and the preservation slice application network usage status is determined to be a specific slice application network usage status or a system default slice application network usage status according to the slice usage behavior of the application. A specific slice is obtained according to the specific slice application network usage status, and a system default slice is obtained according to the system default slice application network usage status, and then a query is made in the switchable slice database according to the specific slice, and a query is made in the replaceable slice database according to the system default slice, so as to obtain a slice matching the specific slice in the switchable slice database through matching information and / or obtain a slice matching the system default slice in the replaceable slice database to obtain a switchable slice, and a card switching slice is performed according to the switchable slice.If there is no slice matching the specific slice in the switchable slice database and / or there is no slice matching the system default slice in the replaceable slice database. Re-acquire slices with the same traffic descriptor in the slice set of the current card and the slice set of the target card to be transferred to obtain a secondary switchable slice database, and re-acquire slices with matching replacement parameters in the slice set of the current card and / or the slice set of the target card to be transferred to obtain a secondary replaceable slice database. After obtaining the secondary switchable slice database and the secondary replaceable slice database, obtain slices matching the specific slice in the secondary switchable slice database and slices matching the system default slice in the secondary replaceable slice database to obtain switchable slices, and perform card-slice switching according to the switchable slices. If there is no slice matching the specific slice in the secondary switchable slice database and / or there is no slice matching the system default slice in the secondary replaceable slice database, output card-slice switching prompt information, and if the user agrees to switch the current card to the target card to be transferred, receive an operation instruction to perform card-slice switching according to the operation instruction.

[0100] Second, refer to Fig.11 Other embodiments of the present application also disclose an electronic device including: a memory 200, a processor 100, and a computer program stored in the memory 200 and executable on the processor 100. When the processor 100 executes the program, it implements: the card-slice switching method of the first aspect.

[0101] The electronic device may be a mobile terminal device or a non-mobile terminal device. The mobile terminal device may be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal device, a wearable device, a super mobile personal computer, a netbook, a personal digital assistant, a CPE, a UFI (wireless hotspot device), etc.; the non-mobile terminal device may be a personal computer, a television, a teller machine or a self-service machine, etc.; the embodiments of the present invention are not specifically limited.

[0102] The memory 200 can be an external memory or an internal memory. The external memory is an external memory card, such as a Micro SD card. The external memory card communicates with the processor through an external memory interface to implement a data storage function. For example, files such as music and videos are stored in the external memory card. The internal memory can be used to store computer executable program codes, which include instructions.

[0103] The processor 100 may include one or more processing units, for example, the processor 100 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0104] In some embodiments, the processor 100 executes the card-slice switching method as described in step S1000 to step S3000 of the first aspect. Alternatively, the card-slice switching method as described in step S4000, step S5000, step S1000 to step S3000 is executed. Alternatively, the card-slice switching method as described in step S6000, step S7000, step S1000 to step S3000 is executed. Alternatively, the card-slice switching method as described in step S1000, step S2100 to step S2300, step S3000 is executed. Alternatively, the card-slice switching method as described in step S1000, step S2100, step S2210, step S2220, step S2300, step S3000 is executed. Alternatively, the card-slice switching method of step S1000, step S2100, step S2221 to step S2223, step S2220, step S2300, and step S3000 is executed. Alternatively, the card-slice switching method of step S1000, step S2100, step S2200, step S2310 to step S2340, and step S3000 is executed. Alternatively, the card-slice switching method of step S1000, step S2100, step S2200, step S2350 to step S2380, and step S3000 is executed. Alternatively, the card-slice switching method of step S1000, step S2400 to step S2600, and step S3000 is executed. Alternatively, execute the card transfer slice switching method such as step S1000, step S2000, step S3000, step S8000 to step S1200.

[0105] In a third aspect, a computer-readable storage medium stores computer-executable instructions, wherein the computer-executable instructions are used to: execute the card-slice switching method of the first aspect.

[0106] In some embodiments, the computer-readable storage medium executes the card-slice switching method as described in step S1000 to step S3000 of the first aspect. Alternatively, the card-slice switching method as described in step S4000, step S5000, step S1000 to step S3000 is executed. Alternatively, the card-slice switching method as described in step S6000, step S7000, step S1000 to step S3000 is executed. Alternatively, the card-slice switching method as described in step S1000, step S2100 to step S2300, step S3000 is executed. Alternatively, the card-slice switching method as described in step S1000, step S2100, step S2210, step S2220, step S2300, step S3000 is executed. Alternatively, the card-slice switching method of step S1000, step S2100, step S2221 to step S2223, step S2220, step S2300, and step S3000 is executed. Alternatively, the card-slice switching method of step S1000, step S2100, step S2200, step S2310 to step S2340, and step S3000 is executed. Alternatively, the card-slice switching method of step S1000, step S2100, step S2200, step S2350 to step S2380, and step S3000 is executed. Alternatively, the card-slice switching method of step S1000, step S2400 to step S2600, and step S3000 is executed. Alternatively, execute the card transfer slice switching method such as step S1000, step S2000, step S3000, step S8000 to step S1200.

[0107] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0108] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0109] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions without violating the spirit of the present application. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present application.

Claims

1. A card-slice switching method, characterized in that: include: Get the card-slice switching signal; According to the card-transfer slice switching signal, the application network usage status of the current card and a preset slice database, a switchable slice is obtained; the slice database contains matching information between the application network usage status and the switchable slice to be transferred to the target card; wherein the application network usage status is used to indicate the situation of application using the slice; The card slice is switched according to the switchable slice.

2. The card-slice switching method according to claim 1, characterized in that: Also includes: Monitoring and comparing the network quality of the current card and the target card to be transferred; If the network quality of the target card to be transferred is better than the network quality of the current card, the card transfer slice switching signal is output.

3. The card-slice switching method according to claim 2, characterized in that: The network quality includes one or more of the following: reference signal reception power, reference signal reception quality, signal-to-noise ratio, frequency band bandwidth, network type, and network congestion status.

4. The card-slice switching method according to any one of claims 1 to 3, characterized in that: The slice database includes: A switchable slice database, the switchable slice database comprising matching information between slices with the same traffic descriptor in the current card and the target card to be transferred; and / or, A replaceable slice database includes matching information between slices with matching replacement parameters in the current card and the target card to be transferred.

5. The card-slice switching method according to claim 4, characterized in that: The replacement parameters include one or more of the following: quality of service parameters, bandwidth parameters and delay parameters.

6. The card-slice switching method according to claim 4, characterized in that: Also includes: Get slice change signal; The switchable slice database and / or the replaceable slice database are updated according to the slice change signal.

7. The card-slice switching method according to claim 4, characterized in that: The application network usage status includes: the application network usage status of the preservation slice and the application network usage status of the non-preservation slice; The obtaining of switchable slices according to the card-slice switching signal, the application network usage status of the current card and a preset slice database includes: Obtaining the application working status of the application; the application working status includes one or more of the following: foreground and background status, traffic status, active thread category, and usage frequency; Determining, according to the application working state of the application, that the application network usage state is a preservation slice application network usage state; A switchable slice is obtained according to the network usage status of the security slice application and the slice database.

8. The card-slice switching method according to claim 7, characterized in that: The determining, according to the application working state of the application, that the application network usage state is a preservation slice application network usage state includes: If the foreground and background states of the application are foreground applications, the application network usage state is the network usage state of the preserved slice application; If the foreground and background states of the application are background applications, the application network usage state is determined to be the preservation slice application network usage state based on the traffic state and / or the thread category of the active state and / or the usage frequency.

9. The card-slice switching method according to claim 8, characterized in that: The determining, according to the traffic state and / or the thread category of the active state and / or the usage frequency, that the application network usage state is the preservation slice application network usage state includes: If the traffic state of the background application is that the traffic generated per unit time exceeds the preset traffic threshold, the application network usage state is the network usage state of the preservation slice application; And / or, if the active thread category of the background application is a necessary working scenario, the application network usage status is the network usage status of the preservation slice application; And / or, if the usage frequency of the background application exceeds a preset frequency threshold, the application network usage status is the preservation slice application network usage status.

10. The card-slice switching method according to any one of claims 7 to 9, characterized in that: The slice database includes a switchable slice database, and obtaining the switchable slice according to the network usage status of the preservation slice application and the slice database includes: Detecting the slice usage behavior of the application of the current card; Determining, according to the slice usage behavior of the application, that the network usage state of the preserved slice application is a specific slice application network usage state; Acquire a specific slice according to the specific slice application network usage status; According to the specific slice, the switchable slice database is queried to obtain a slice in the switchable slice database that matches the specific slice, so as to obtain the switchable slice.

11. The card-slice switching method according to claim 10, characterized in that: The slice database includes a replaceable slice database, and obtaining a switchable slice according to the network usage status of the preservation slice application and the slice database includes: Detecting the slice usage behavior of the application of the current card; Determining, according to the slice usage behavior of the application, that the network usage state of the preserved slice application is the system default slice application network usage state; Obtaining a system default slice according to the network usage status of the system default slice application; According to the system default slice, the replaceable slice database is queried to obtain a slice in the replaceable slice database that matches the system default slice, so as to obtain the switchable slice.

12. The card-slice switching method according to claim 1, characterized in that: The obtaining of switchable slices according to the card-slice switching signal, the application network usage status of the current card and a preset slice database includes: If the switchable slice does not exist in the slice database; Updating the slice database to obtain a secondary slice database; A switchable slice is obtained according to the application network usage status of the current card and the secondary slice database.

13. The card-slice switching method according to claim 12, characterized in that: The switching of the card slice according to the switchable slice includes: If the switchable slice does not exist in the secondary slice database; Output card switching prompt signal; Receive operation instructions; The slice transfer card is switched according to the operation instruction.

14. An electronic device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the following is achieved: A card transfer slice switching method as described in any one of claims 1 to 13.

15. A computer-readable storage medium storing computer-executable instructions for: Execute the card-slice switching method described in any one of claims 1 to 13.

Citation Information

Patent Citations

  • Multi-operator selection method of URSP rule and related equipment

    CN111580996A