CN113747422B - Network service switching method, device, equipment and storage medium - Google Patents

Network service switching method, device, equipment and storage medium Download PDF

Info

Publication number
CN113747422B
CN113747422B CN202010460785.6A CN202010460785A CN113747422B CN 113747422 B CN113747422 B CN 113747422B CN 202010460785 A CN202010460785 A CN 202010460785A CN 113747422 B CN113747422 B CN 113747422B
Authority
CN
China
Prior art keywords
network service
target
service
switching
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010460785.6A
Other languages
Chinese (zh)
Other versions
CN113747422A (en
Inventor
周伯俊
柯腾辉
苗岩
戴鹏
周壮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202010460785.6A priority Critical patent/CN113747422B/en
Publication of CN113747422A publication Critical patent/CN113747422A/en
Application granted granted Critical
Publication of CN113747422B publication Critical patent/CN113747422B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0833Random access procedures, e.g. with 4-step access
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a network service switching method, a device, equipment and a storage medium. The method comprises the following steps: the terminal obtains the target service type through prejudgment and obtains the network service information of at least one network service connected with the eSIM card of the terminal. And determining the optimal network service in all the network services according to the target service type and the network service information, and determining the optimal network service as the target network service. The terminal connects to the target network service while maintaining the first network service according to the target network service. The terminal disconnects the first network service after connecting to the target network service. The method increases the flexibility of the network service and improves the user experience and the use efficiency of the user.

Description

Network service switching method, device, equipment and storage medium
Technical Field
The present disclosure relates to communication technologies, and in particular, to a network service switching method, device, apparatus, and storage medium.
Background
eSIM cards, also known as embedded SIM cards, are devices that embed a traditional SIM card onto a device chip. For traditional SIM cards, one SIM card corresponds to only one operator of a network service. If the operator of the network service needs to be switched, the user needs to switch the SIM card or switch the network. And the integration technology of the eSIM enables one card to integrate different operators, and a user can realize the switching of operators of network services only by submitting a request for switching the operators.
Currently, the process of switching network services of an operator by an eSIM card is typically implemented by manual selection by a user. In the switching process of network services of an operator, the network services of the current operator are usually disconnected first and then connected to the network services of a new operator. And, after the user completes the switching of the network service of the operator once, the network service of the eSIM card can remain in the network service of the operator until the next time the user reselects the operator.
In the prior art, the network service switching process of the eSIM card has the problems of low flexibility and poor user experience.
Disclosure of Invention
The application provides a network service switching method, device, equipment and storage medium, which are used for solving the problems of low flexibility and poor user experience in the network service switching process of an eSIM card in the prior art.
In a first aspect, the present invention provides a network service switching method, including:
acquiring a target service type;
acquiring network service information of at least one network service, wherein the network service information at least comprises a network service identifier, level intensity, signal to noise ratio and time delay level;
determining a target network service according to the target service type and the network service information;
And switching the network service according to the target network service.
Optionally, the determining the target network service according to the target service type and the network service information includes:
acquiring target service information, wherein the target service information at least comprises preset level intensity, preset signal-to-noise ratio, preset time delay level and preset parameters;
and determining the target network service according to the target business information and the network service information.
Optionally, the determining the target network service according to the target business information and the network service information includes:
determining a target network service according to the network service information, the preset level intensity, the preset signal-to-noise ratio and the preset delay level;
or,
and determining the target network service according to the preset parameters and the network service information.
Optionally, the determining the target network service according to the preset parameter and the network service information includes:
determining service parameters of the network service according to the level intensity, the signal-to-noise ratio, the time delay level and the preset parameters;
and determining the target network service according to the service parameters.
Optionally, the switching the network service according to the target traffic type and the target network service includes:
Maintaining a first network service, wherein the first network service is a network service before switching;
connecting a target network service;
the first network service is disconnected.
Optionally, the connection target network service includes:
determining a group of random access lead codes according to the target service type, wherein the group is determined by the random access lead codes according to at least one service type;
determining to generate the random access preamble according to the packet;
and switching the network service of the target service type into the target network service according to the random access preamble.
Optionally, before the switching the network service according to the target network service, the method further includes:
judging whether network service needs to be switched according to the network service identifier of the target network service and the first network service identifier, wherein the first network service identifier is the network service identifier of the network service before switching;
if the network service needs to be switched, switching the network service according to the target network service;
if the network service does not need to be switched, the first network service is maintained, and the first network service is the network service before switching.
In a second aspect, the present application provides a network service switching apparatus, including:
the first acquisition module is used for acquiring a target service type, target service information and a first network service identifier, wherein the first network service identifier is a network service identifier of a network service before switching, and the target service information at least comprises preset level intensity, preset signal-to-noise ratio, preset delay level and preset parameters;
the second acquisition module is used for acquiring network service information of at least one network service, wherein the network service information at least comprises a network service identifier, level intensity, signal-to-noise ratio and time delay level;
the determining module is used for determining a target network service according to the target service type and the network service information;
and the switching module is used for switching the network service according to the target service type and the target network service.
Optionally, the determining module includes:
the acquisition sub-module is used for acquiring target service information, wherein the target service information at least comprises preset level intensity, preset signal-to-noise ratio, preset time delay level and preset parameters;
the first determining submodule is used for determining target network service according to the network service information, the preset level intensity, the preset signal-to-noise ratio and the preset time delay level;
And the second determining submodule is used for determining the target network service according to the preset parameters and the network service information.
Optionally, the first determining submodule is specifically configured to obtain a network service with the level intensity being greater than the preset level intensity, the signal to noise ratio being greater than the preset signal to noise ratio, and the delay level being greater than the preset delay level, and determine that the network service is a target network service.
Optionally, the second determining submodule is specifically configured to determine a service parameter of the network service according to the level strength, the signal-to-noise ratio, the delay level and the preset parameter; and determining the target network service according to the service parameters.
Optionally, the switching module is specifically configured to: maintaining a first network service, wherein the first network service is a network service before switching; connecting a target network service; the first network service is disconnected.
Optionally, the connection target network service specifically includes: determining a group of random access lead codes according to the target service type, wherein the group is determined by the random access lead codes according to at least one service type; determining to generate the random access preamble according to the packet; and switching the network service of the target service type into the target network service according to the random access preamble.
Optionally, the switching module includes:
the judging module sub-module is used for judging whether the network service needs to be switched according to the network service identifier of the target network service and the first network service identifier, wherein the first network service identifier is the network service identifier of the network service before switching;
the first switching module is used for switching the network service according to the target network service when the network service needs to be switched;
and the second switching module is used for keeping the first network service when the network service does not need to be switched, wherein the first network service is the network service before switching.
In a third aspect, the present application provides a terminal, including: a communication interface, a processor and a memory;
the communication interface is used for acquiring network services;
a memory for storing the processor-executable instructions;
a processor for invoking program instructions in the memory to perform the network service switching method of the first aspect and any of the possible designs of the first aspect.
In a fourth aspect, the present application provides a readable storage medium, in which an execution instruction is stored, and when at least one processor of the terminal executes the execution instruction, the terminal executes the network service switching method in any one of the first aspect and the possible designs of the first aspect.
According to the network service switching method, device, equipment and storage medium, the terminal obtains the target service type through prejudgment and obtains network service information of at least one network service connected with the eSIM card of the terminal. And according to the target service type and the network service information, the terminal determines the optimal network service in all the network services and determines that the optimal network service is the target network service. The terminal connects to the target network service while maintaining the first network service according to the target network service. The terminal disconnects the first network service after connecting to the target network service. By self-adaptive switching of network services, the flexibility of the network services is improved, and the user experience and the use efficiency of the user are improved.
Drawings
For a clearer description of the technical solutions of the present application or of the prior art, the drawings that are used in the description of the embodiments or of the prior art will be briefly described, it being obvious that the drawings in the description below are some embodiments of the present application, and that other drawings can be obtained from these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of a scenario of an application of an eSMI according to an embodiment of the present application;
fig. 2 is a flowchart of a network service switching method according to an embodiment of the present application;
FIG. 3 is a flowchart of another network service switching method according to an embodiment of the present disclosure;
FIG. 4 is a flowchart of another network service switching method according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a network service switching device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another network service switching device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of still another network service switching device according to an embodiment of the present application;
fig. 8 is a schematic hardware structure of a terminal according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the present application will be clearly and completely described below with reference to the drawings in the present application, and it is apparent that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
It should be understood that, in various embodiments of the present invention, the sequence number of each process does not mean that the execution sequence of each process should be determined by its functions and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
It should be understood that in the present invention, "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements that are expressly listed or inherent to such process, method, article, or apparatus.
The technical scheme of the invention is described in detail below by specific examples. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes.
eSIM cards, also known as embedded SIM cards, are devices that embed a traditional SIM card onto a device chip. On a conventional terminal, a conventional SIM card is installed in a manner of using a card. And one SIM card corresponds to only one operator of the network service. If the user needs to switch network services on a conventional terminal, the user is required to take out the original SIM card and insert a new SIM card. The integration technology of the eSIM enables one card to integrate network services of different operators. When the terminal provided with the eSIM is used, a user can realize the switching of network services only by submitting a request for switching network services.
Currently, when using a terminal with an eSIM card installed, the switching process of network services is typically implemented by a user through manual selection. That is, a user submits a request for switching network services at a terminal, and the terminal disconnects the current network service and then connects to a new network service according to the request. In the switching process, the user cannot normally use the terminal, and even the started application on the terminal may have accidents such as disconnection and exit. In view of the above, although the efficiency of use of the user after the handover can be improved in the handover of the network service, the handover process generally brings inconvenience to the use of the user.
After the user completes a handover of the network service of the operator, the network service of the terminal is always maintained in the network service of the operator. In actual use, the service efficiency of the network service varies with the amount of users and the type of traffic. Not the current best network service may keep all traffic of the network service in the best state. Thus, after a period of use, it is often necessary to switch network services again. The switching process of the network service has the problems of low flexibility and poor user experience for users.
In view of the above problems, the present application proposes a network service switching method, device, apparatus and storage medium. First, the terminal obtains a target service type to be used by a user through pre-judgment, and obtains network service information of network services of each operator to which the eSIM card can be connected. Based on the target traffic type, the terminal may determine target traffic information for the target traffic type. The terminal determines the network service with the optimal service quality for the target service by comparing the network service information of each network service with the target service information. The terminal determines the network service as the target network service, and switches the network service of the terminal to the target network service, thereby improving the service efficiency of the terminal and optimizing the user experience.
In order to further improve the user experience when switching network services, the application uses a network service access method of firstly connecting and then disconnecting. When the method is used, the terminal determines the random access preamble code according to the grouping of the random access preamble code. And switching the network service of the target business type to the target network service according to the random access preamble under the condition of keeping the original network service. And finally, the terminal disconnects the original network service, so that the seamless switching of the network service is realized, and the user experience is improved.
The terminal can adaptively switch the network service along with the target service type of the user by the self-adaptive non-inductive switching method, so that the flexibility of the network service is improved, and the user experience and the use efficiency of the user are improved.
Fig. 1 shows a schematic view of an application scenario of an eSMI according to an embodiment of the present application. As shown in fig. 1, the application scenario includes a terminal and a plurality of network services.
Wherein, the eSIM card is installed in the terminal. The terminal is an electronic device, such as a mobile phone, a tablet, a computer, etc., with the eSMI card installed, which is not limited in this application.
Wherein the eSIM card can obtain a connection with network services of a plurality of operators through the communication module. As shown in fig. 1, an eSIM card can connect with web service a, web service B, or web service C. When the eSIM card performs a certain service, the eSIM card can only be connected with one network service of the network service A, the network service B or the network service C. In actual use, the eSIM is also more or less network service connected, which is not limited in this application.
Wherein, the network service A, the network service B or the network service C respectively corresponds to operators, namely, each operator corresponds to one network service.
Fig. 2 shows a flowchart of a network service switching method according to an embodiment of the present application. On the basis of the embodiment shown in fig. 1, as shown in fig. 2, with the terminal as the execution body, the method of this embodiment may include steps S101 to S104, which are specifically as follows:
s101, obtaining a target service type.
In this embodiment, the target service type acquired by the terminal is a service type to be executed by the terminal after a specific time. The specific time may be 0 seconds, or may be a period of time, for example, 10 seconds, 1 minute, or the like. The service types may include video service, instant messaging service, game service, web browsing service, etc.
The terminal can determine the target service type according to the service type currently used by the user, namely, the service type currently used by the user is the target service type. For example, the user currently uses the terminal to watch the video, and at this time, the target property type is a video service, and the specific time is 0 seconds.
The terminal can also predict the target service type after a specific time according to the use habit of the user in a period of time. For example, after collecting the usage habits of the user for a period of time, the terminal finds that the user will start playing the game at 6 points per day. The current time is assumed to be 5 points, and at this time, the target property is game service, and the specific time is 1 hour.
S102, network service information of at least one network service is obtained, wherein the network service information at least comprises network service identification, level intensity, signal to noise ratio and time delay level.
In this embodiment, the terminal determines, according to the eSIM card installed on the terminal, that the terminal can request the network service connected. The terminal obtains network service information of all network services through a communication module on the eSIM card. The network service information of each network service at least comprises network service identification, level intensity, signal-to-noise ratio, time delay level and the like.
S103, determining the target network service according to the target business type and the network service information.
In this embodiment, the terminal determines, according to the network service information of all the network services acquired in S102, a network service that is optimal for the target service type, and determines that the network service is the target network service. Wherein, the screening conditions of the optimal network are different for different target service types. For example, for timely traffic, the latency level is a major factor in determining the efficiency of traffic execution, and thus, when the latency level of one network service is better than other network services, other parameters may be secondarily considered.
S104, switching network services according to the target network services.
In this embodiment, after the terminal obtains the target network service according to S103, the terminal connects the network of the target service to the network service first, and maintains the connection of the first network service. After the terminal is connected to the target network service, the first network service is disconnected again.
According to the network service switching method, the terminal obtains the target service type through prejudgment and obtains network service information of at least one network service connected with the eSIM card of the terminal. And determining the optimal network service in all the network services according to the target service type and the network service information, and determining the optimal network service as the target network service. The terminal connects to the target network service while maintaining the first network service according to the target network service. The terminal disconnects the first network service after connecting to the target network service. In the application, the terminal realizes seamless switching of the network service through the self-adaptive network service switching process, so that the flexibility of the network service is improved, and the user experience and the use efficiency of the user are improved.
Fig. 3 is a flowchart of another network service switching method according to an embodiment of the present application. On the basis of the embodiments shown in fig. 1 and fig. 2, as shown in fig. 3, the method in this embodiment specifically includes:
S201, a target service type and a first network service identifier are acquired, wherein the first network service identifier is the network service identifier of the network service before switching.
S202, network service information of at least one network service is obtained, wherein the network service information at least comprises network service identification, level intensity, signal to noise ratio and time delay level.
Steps S201 and S202 are similar to the implementation of steps S101 and S102 in the embodiment of fig. 2, and are not described here again.
S203, obtaining target service information, wherein the target service information at least comprises preset level intensity, preset signal-to-noise ratio, preset time delay level and preset parameters.
In this embodiment, the terminal obtains target service information, where the target service information is a parameter preset according to a service type, and the parameter at least includes preset level intensity, preset signal-to-noise ratio, preset delay level and preset parameter. The preset parameters are used for indicating the level intensity, the signal-to-noise ratio and the time delay level which are required to be possessed by the better network service under the service type.
S204, determining the target network service according to the network service information, the preset level intensity, the preset signal-to-noise ratio and the preset delay level.
In this embodiment, the terminal compares the target service information obtained in S203 with the network service information of all the network services obtained in S202. The terminal compares the network services with the target service information one by one, and determines whether each network service accords with the optimal network service parameters of the target service. When one piece of network service information meets the target business information, the terminal determines that the network service is the target network service. When a plurality of network service information satisfies the target service information, the terminal determines that the optimal network service is the target network service.
Assuming that the service type is video service, the preset level intensity in the video service information is S v Presetting the signal-to-noise ratio as R v The preset time delay level is P v . Wherein the subscript v is used to represent video-type traffic. The set of level intensities in the overall network service information may be expressed as { S } i The set of signal to noise ratios can be expressed as { R } i The sets of } and latency levels may be expressed as { P } i }. Where the subscript i is used to denote the i-th of all network services, i=1, 2.
In one example, the screening condition for determining the target network service by the terminal may be expressed as the following formula:
S i >S v ,and,S i =max{S i },
R i >R v ,and,R i =max{R i },
P i >P v
that is, when the level intensity of the i-th network service is greater than the preset level intensity and greater than the level intensity of the other network services. Further, it is determined that the signal-to-noise ratio of the ith network service is greater than the preset signal-to-noise ratio and greater than the signal-to-noise ratios of other network services. And when the level intensity and the signal to noise ratio of the ith network service meet the two conditions, determining that the delay level of the ith network service is greater than a preset delay level. At this time, the i-th network service is determined to be the target network service.
In another example, the screening condition for determining the target network service by the terminal may be further expressed as:
S i >S v ,and R i >R v ,and P i >P v
When the network service information of at least one network service meets the conditions, the terminal further screens the network service obtained by screening. When the number of the network services obtained by screening is 1, the terminal determines that the network service is the target network service. When the number of the network services obtained by screening is a plurality of, the terminal selects the optimal network service as the target network service.
The selecting of the optimal network service from the network services obtained by screening may be that the terminal compares network service information of the plurality of network services obtained by screening, and selects the network service with the highest level intensity or the highest signal to noise ratio as the target network service.
Wherein, corresponding to the instant messaging service, the game service and the web browsing service, the preset level intensity, the preset signal-to-noise ratio and the preset time delay level are different.
S205, determining the target network service according to the preset parameters and the network service information.
In this embodiment, when S204 cannot determine at least one network service, the terminal obtains the preset parameters according to the target service type. And according to the preset parameters and the network service information, the terminal calculates the service parameters. And the terminal selects the optimal network service according to the service parameters, and determines that the network service is the target network service.
Taking video service as an example, the preset parameter in the video service information is alpha v And beta v . Wherein the subscript v is used to represent video-type traffic. The set of level intensities in the overall network service information may be expressed as { S } i The set of signal to noise ratios can be expressed as { R } i The sets of } and latency levels may be expressed as { P } i }. Where the subscript i is used to denote the i-th of all network services, i=1, 2.
In an example, the terminal determines the predetermined parameter α v And beta v And network service information, the process of determining the target network service may include:
step 1, terminal preset parameter alpha v And beta v And the level intensity and the signal to noise ratio in the network service information, calculating the service parameter F of the network service i The calculation process is as follows:
F i =[(R i +132)÷100]×α v +[(S i +11)÷41]×β v
and 2, the terminal determines the maximum value of the service parameters of all the network services as the optimal option according to the service parameters, namely, determines the network service corresponding to the maximum service parameter as the target network service. The calculation formula is as follows:
F i =max{F i }
wherein, the preset parameters are different in value corresponding to the instant messaging service, the game service and the web browsing service.
S206, judging whether the network service needs to be switched according to the network service identifier of the target network service and the first network service identifier, wherein the first network service identifier is the network service identifier of the network service before switching.
In this embodiment, after determining the target network service according to S204 or S205, the terminal obtains the network service flag of the target network service. The terminal compares the network service identity with the first network service identity. If the network identifier is consistent with the first network identifier, the current network service is the optimal network service, and switching is not needed. If the network identification is different from the first network identification, the current network service is required to be switched.
S207, if the network service needs to be switched, switching the network service according to the target network service.
In this embodiment, when the terminal determines that the network service needs to be switched according to S206, the terminal connects to the target network service while maintaining the first network service. And after the terminal is connected to the target network service, disconnecting the terminal from the first network service.
And S208, if the network service does not need to be switched, maintaining the first network service, wherein the first network service is the network service before switching.
In this embodiment, when the terminal determines that the network service does not need to be switched according to S206, the terminal maintains the first network service and does not switch the network service.
According to the network service switching method, the terminal obtains the target service type, the target service information and the network service information of at least one network service connected with the eSIM card of the terminal through prejudgment. And according to the target service information and the network service information, the terminal determines whether the optimal network service exists or not by comparing the level intensity, the signal-to-noise ratio, the time delay level with the preset level intensity, the preset signal-to-noise ratio and the preset time delay level. When the terminal can determine the optimal network service according to the comparison, the terminal determines that the network service is the target network service. Otherwise, the terminal calculates the service parameters according to the preset parameters in the target service information, the level intensity and the signal to noise ratio in the network service information. And the terminal selects the optimal network service according to the service parameters and determines the network service as the target network service. The terminal connects to the target network service while maintaining the first network service according to the target network service. The terminal disconnects the first network service after connecting to the target network service. In the application, the terminal realizes seamless switching of the network service through the self-adaptive network service switching process, so that the flexibility of the network service is improved, and the user experience and the use efficiency of the user are improved.
Fig. 4 is a flowchart of still another network service switching method according to an embodiment of the present application. On the basis of the embodiments shown in fig. 1 to 3, as shown in fig. 4, with a terminal as an execution body, in the case that it is determined that network services need to be switched, specific steps of a switching process of the network services are as follows:
s301, obtaining a target service type.
S302, network service information of at least one network service is obtained, wherein the network service information at least comprises network service identification, level intensity, signal to noise ratio and time delay level.
S303, determining the target network service according to the target business type and the network service information.
Steps S301 and S303 are similar to the implementation of steps S101 and S103 in the embodiment of fig. 2, and are not described herein.
S304, maintaining a first network service, wherein the first network service is the network service before switching.
In this embodiment, the terminal determines the target network service according to S303. The target network service is a different network service than the first network service. In order to ensure that the terminal does not disconnect the network during the network service switching process, the terminal maintains the wandering network service in a connected state during the switching process.
S305, according to the target service type, determining the grouping of the random access preamble, wherein the grouping is determined by the random access preamble according to at least one service type.
In this embodiment, the terminal determines the packet of the random access preamble according to the target service type.
The random access preamble is a 64-bit code for identifying the identity of the terminal during random access in an LTE network. In the prior art, the 64 is the random access preamble that is used for LTE random access usage entirely. In order to improve the access efficiency, in this embodiment, bits 0-31 of the random access preamble are still allocated to ra-preambieindex according to the protocol for random access of the LTE system. And the remaining 31-63 bits random access preamble is used as a traffic type identification contention packet. The grouping method comprises the following steps: the 31-39 bit random access preamble is used as the video service competition identification; the 39-47 bit random access preamble is used as the competition identification of the instant messaging service; the 47-55 bit random access preamble is used as the competitive identification of game service; the 55-63 bit random access preamble is used as the competitive identification of the web browsing service.
S306, determining to generate a random access preamble according to the packet.
In this embodiment, after determining to generate the packet of the random access preamble according to S305, the terminal correspondingly generates the random access preamble of the target service type.
S307, switching the network service of the target business type to the target network service according to the random access preamble.
In this embodiment, the terminal connects the target service type of the target network service according to the random access preamble generated in S306.
S308, disconnecting the first network service.
In this embodiment, after completing the connection in S307, the terminal disconnects the first network service and ends the network optimization.
According to the network service switching method, after the target network is determined, the terminal keeps the first network service until the target network is successfully switched, so that the network service switching process does not need to be disconnected, and user experience is optimized. And the terminal determines the grouping of the random access preamble according to the target service type, and further generates the random access preamble. According to the random access preamble, the terminal can more quickly and accurately connect the target service type of the target network, the network connection efficiency is improved, and the user experience is optimized.
Fig. 5 is a schematic structural diagram of a network service switching device according to an embodiment of the present application, as shown in fig. 5, a network service switching device 10 according to the present embodiment is configured to implement operations corresponding to a terminal in any of the above method embodiments, where the network service switching device 10 according to the present embodiment includes:
The first obtaining module 11 is configured to obtain a target service type, target service information, and a first network service identifier, where the first network service identifier is a network service identifier of a network service before switching, and the target service information includes at least a preset level intensity, a preset signal-to-noise ratio, a preset delay level, and a preset parameter;
a second obtaining module 12, configured to obtain network service information of at least one network service, where the network service information includes at least a network service identifier, level strength, signal-to-noise ratio, and delay level;
a determining module 13, configured to determine a target network service according to the target service type and the network service information;
a switching module 14, configured to switch network services according to the target traffic type and the target network services.
The network service switching device 10 provided in the embodiment of the present application may execute the above-mentioned method embodiment, and the specific implementation principle and technical effects of the method embodiment may be referred to the above-mentioned method embodiment, which is not described herein again.
Fig. 6 is a schematic structural diagram of another network service switching device according to an embodiment of the present application, and, on the basis of the embodiment shown in fig. 5, as shown in fig. 6, the network service switching device 10 according to the present embodiment is configured to implement operations corresponding to a terminal in any of the above method embodiments, where the determining module 13 and the switching module 14 further include:
An obtaining sub-module 131, configured to obtain target service information, where the target service information at least includes a preset level intensity, a preset signal-to-noise ratio, a preset delay level, and a preset parameter;
the determining sub-module 132 determines a target network service based on the target traffic information and the network service information.
A judging sub-module 141, configured to judge whether to switch network services according to the network service identifier of the target network service and the first network service identifier;
a first switching sub-module 142, configured to switch network services according to a target network service when the network service needs to be switched;
the second switching sub-module 143 is configured to maintain the first network service when the network service does not need to be switched, where the first network service is a network service before switching.
In one example, the first switching sub-module 142 includes maintaining a first network service, which is a network service prior to switching; connecting a target network service; the first network service is disconnected.
The network service switching device 10 provided in the embodiment of the present application may execute the above-mentioned method embodiment, and the specific implementation principle and technical effects of the method embodiment may be referred to the above-mentioned method embodiment, which is not described herein again.
Fig. 7 is a schematic structural diagram of still another network service switching apparatus according to an embodiment of the present application, and as shown in fig. 7, on the basis of the embodiments shown in fig. 5 and fig. 6, the network service switching apparatus 10 according to the present embodiment is configured to implement operations corresponding to a terminal in any of the above method embodiments, where the determining sub-module 132 and the first switching sub-module 142 further include:
a first determining unit 1321, configured to determine a target network service according to the network service information and a preset level intensity, a preset signal-to-noise ratio, and a preset delay level;
the second determining unit 1322 is configured to determine, when the first determining unit cannot determine the target network service, the target network service according to the preset parameter and the network service information.
In one example, the second determining unit 1322 is configured to determine a service parameter of the network service according to the level strength, the signal-to-noise ratio, the delay level, and the preset parameter; and determining the target network service according to the service parameters.
A third determining unit 1421, configured to determine a packet of a random access preamble according to a target service type, where the packet is determined by the random access preamble according to at least one service type;
a fourth determining unit 1422, configured to determine to generate a random access preamble according to the packet;
A switching unit 1423, configured to switch the network service of the target service type to the target network service according to the random access preamble.
The network service switching device 10 provided in the embodiment of the present application may execute the above-mentioned method embodiment, and the specific implementation principle and technical effects of the method embodiment may be referred to the above-mentioned method embodiment, which is not described herein again.
Fig. 8 shows a schematic hardware structure of a terminal according to an embodiment of the present application. On the basis of the embodiments shown in fig. 5 to 7, as shown in fig. 8, a terminal 20 for implementing operations corresponding to the terminal in any of the above method embodiments, the terminal 20 of this embodiment may include: a memory 21, a processor 22 and a communication interface 22.
A memory 21 for storing processor-executable instructions.
The Memory may include a high-speed random access Memory (Random Access Memory, RAM), and may further include a Non-Volatile Memory (NVM), such as at least one magnetic disk Memory, and may also be a U-disk, a removable hard disk, a read-only Memory, a magnetic disk, or an optical disk.
The processor 22 is configured to execute a computer program stored in the memory to implement the method for setting a virtual keyboard in the above embodiment. Reference may be made in particular to the relevant description of the embodiments of the method described above.
Alternatively, the memory 21 may be separate or integrated with the processor 22.
When the memory 21 is a device separate from the processor 22, the terminal 20 may further include:
a bus 23 for connecting the memory 21 and the processor 22.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or one type of bus.
A communication interface 24, the communication interface 24 being connectable with the processor 21 via a bus 23. The processor 22 may control the communication interface 24 to obtain network services.
The terminal provided in this embodiment may be used to execute the above network service switching method, and its implementation manner and technical effects are similar, and this embodiment will not be described herein again.
The present application also provides a computer-readable storage medium having a computer program stored therein, which when executed by a processor is adapted to carry out the methods provided by the various embodiments described above.
The computer readable storage medium may be a computer storage medium or a communication medium. Communication media includes any medium that facilitates transfer of a computer program from one place to another. Computer storage media can be any available media that can be accessed by a general purpose or special purpose computer. For example, a computer-readable storage medium is coupled to the processor such that the processor can read information from, and write information to, the computer-readable storage medium. In the alternative, the computer-readable storage medium may be integral to the processor. The processor and the computer readable storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC). In addition, the ASIC may reside in a user device. The processor and the computer-readable storage medium may also reside as discrete components in a communication device.
The computer readable storage medium may be implemented by any type or combination of volatile or non-volatile Memory devices, such as Static Random-Access Memory (SRAM), electrically erasable programmable Read-Only Memory (EEPROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The present invention also provides a program product comprising execution instructions stored in a computer-readable storage medium. The at least one processor of the device may read the execution instructions from the computer-readable storage medium, the execution instructions being executed by the at least one processor to cause the device to implement the methods provided by the various embodiments described above.
It is understood that the processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, e.g., the division of modules is merely a logical function division, and there may be additional divisions of actual implementation, e.g., multiple modules may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules illustrated as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over 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.
In addition, each functional module in each embodiment of the present application may be integrated in one processing unit, or each module may exist alone physically, or two or more modules may be integrated in one unit. The units formed by the modules can be realized in a form of hardware or a form of hardware and software functional units.
The integrated modules, which are implemented in the form of software functional modules, may be stored in a computer readable storage medium. The software functional modules described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or processor to perform some steps of the methods of the various embodiments of the present application.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above. And the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (8)

1. A network service switching method, the method comprising:
acquiring a target service type;
acquiring network service information of at least one network service, wherein the network service information at least comprises a network service identifier, level intensity, signal to noise ratio and time delay level;
Determining a target network service according to the target service type and the network service information;
switching the network service according to the target network service;
the switching the network service according to the target service type and the target network service comprises the following steps:
maintaining a first network service, wherein the first network service is a first operator network service before handover;
connecting a target network service, wherein the target network service is a second operator network service;
disconnecting the first network service;
the connection target network service includes:
determining a group of random access lead codes according to the target service type, wherein the group is determined by the random access lead codes according to at least one service type;
determining to generate the random access preamble according to the packet;
and switching the network service of the target service type into the target network service according to the random access preamble.
2. The network service switching method according to claim 1, wherein the determining a target network service according to the target traffic type and the network service information comprises:
acquiring target service information, wherein the target service information at least comprises preset level intensity, preset signal-to-noise ratio, preset time delay level and preset parameters;
And determining the target network service according to the target business information and the network service information.
3. The network service switching method according to claim 2, wherein the determining a target network service according to the target traffic information and the network service information comprises:
determining a target network service according to the network service information, the preset level intensity, the preset signal-to-noise ratio and the preset delay level;
or,
and determining the target network service according to the preset parameters and the network service information.
4. The network service switching method according to claim 3, wherein the determining a target network service according to the preset parameter and the network service information comprises:
determining service parameters of the network service according to the level intensity, the signal-to-noise ratio, the time delay level and the preset parameters;
and determining the target network service according to the service parameters.
5. The network service switching method according to any one of claims 1 to 4, wherein before switching the network service according to the target network service, further comprising:
judging whether network service needs to be switched according to the network service identifier of the target network service and the first network service identifier, wherein the first network service identifier is the network service identifier of the network service before switching;
If the network service needs to be switched, switching the network service according to the target network service;
if the network service does not need to be switched, the first network service is maintained, and the first network service is the network service before switching.
6. A network service switching apparatus comprising:
the first acquisition module is used for acquiring a target service type, target service information and a first network service identifier, wherein the first network service identifier is a network service identifier of a network service before switching, and the target service information at least comprises preset level intensity, preset signal-to-noise ratio, preset delay level and preset parameters;
the second acquisition module is used for acquiring network service information of at least one network service, wherein the network service information at least comprises a network service identifier, level intensity, signal-to-noise ratio and time delay level;
the determining module is used for determining a target network service according to the target service type and the network service information;
the switching module is used for switching the network service according to the target business type and the target network service;
a first switching sub-module, configured to maintain a first network service, where the first network service is a first operator network service before switching; connecting a target network service, wherein the target network service is a second operator network service; disconnecting the first network service;
A third determining unit, configured to determine a packet of a random access preamble according to the target service type, where the packet is determined by the random access preamble according to at least one service type;
a fourth determining unit, configured to determine to generate the random access preamble according to the packet;
and the switching unit is used for switching the network service of the target service type into the target network service according to the random access preamble.
7. A terminal, comprising: a communication interface, a processor and a memory;
the communication interface is used for acquiring network services;
a processor configured to perform the network service switching method according to any one of claims 1 to 5;
and a memory for storing the processor-executable instructions.
8. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are for implementing the network service switching method according to any of claims 1 to 5.
CN202010460785.6A 2020-05-27 2020-05-27 Network service switching method, device, equipment and storage medium Active CN113747422B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010460785.6A CN113747422B (en) 2020-05-27 2020-05-27 Network service switching method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010460785.6A CN113747422B (en) 2020-05-27 2020-05-27 Network service switching method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113747422A CN113747422A (en) 2021-12-03
CN113747422B true CN113747422B (en) 2024-02-02

Family

ID=78723739

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010460785.6A Active CN113747422B (en) 2020-05-27 2020-05-27 Network service switching method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113747422B (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1671238A (en) * 2004-03-17 2005-09-21 华为技术有限公司 A wireless access network system and method realizing softer switch
CN1859728A (en) * 2005-07-20 2006-11-08 华为技术有限公司 Method for realizing soft switching and conversation shift between excited state AN in network
CN101237393A (en) * 2007-01-30 2008-08-06 华为技术有限公司 A method and device and system for realizing quick multicast service switch
CN101415210A (en) * 2007-10-16 2009-04-22 华为技术有限公司 Method and equipment for determining objective network
WO2009089790A1 (en) * 2008-01-09 2009-07-23 Zte Corporation Method for acquiring bearer service type and switching between bearer networks for terminals
CN102421157A (en) * 2011-08-19 2012-04-18 展讯通信(上海)有限公司 Communication method
CN103686906A (en) * 2013-12-12 2014-03-26 中国联合网络通信集团有限公司 Method for switching network, terminal equipment and gateway equipment
CN104412648A (en) * 2013-05-14 2015-03-11 华为技术有限公司 Network access method, user equipment, server and access node
CN106413015A (en) * 2016-11-28 2017-02-15 中国联合网络通信集团有限公司 Network access switching method and device
CN108566660A (en) * 2017-12-29 2018-09-21 咪咕文化科技有限公司 A kind of method for switching network, device and computer readable storage medium
CN109219044A (en) * 2017-07-06 2019-01-15 中兴通讯股份有限公司 Switching method, mobile terminal and the computer readable storage medium of wireless network
CN109327869A (en) * 2017-07-31 2019-02-12 中兴通讯股份有限公司 Terminal network switching method, device, system and computer storage medium
WO2019028712A1 (en) * 2017-08-09 2019-02-14 北京小米移动软件有限公司 Network connection management method, device and system
CN109451835A (en) * 2017-12-11 2019-03-08 北京小米移动软件有限公司 For shortening method, apparatus, user equipment and the base station of access delay
CN110312286A (en) * 2018-03-27 2019-10-08 华为技术有限公司 Method for switching network, communication device and communication equipment
CN110839267A (en) * 2018-08-17 2020-02-25 维沃移动通信有限公司 Service node updating method, terminal equipment and network side equipment
CN110996361A (en) * 2019-12-12 2020-04-10 RealMe重庆移动通信有限公司 Data network switching method and device, mobile terminal and storage medium

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1671238A (en) * 2004-03-17 2005-09-21 华为技术有限公司 A wireless access network system and method realizing softer switch
CN1859728A (en) * 2005-07-20 2006-11-08 华为技术有限公司 Method for realizing soft switching and conversation shift between excited state AN in network
CN101237393A (en) * 2007-01-30 2008-08-06 华为技术有限公司 A method and device and system for realizing quick multicast service switch
CN101415210A (en) * 2007-10-16 2009-04-22 华为技术有限公司 Method and equipment for determining objective network
WO2009089790A1 (en) * 2008-01-09 2009-07-23 Zte Corporation Method for acquiring bearer service type and switching between bearer networks for terminals
CN102421157A (en) * 2011-08-19 2012-04-18 展讯通信(上海)有限公司 Communication method
CN104412648A (en) * 2013-05-14 2015-03-11 华为技术有限公司 Network access method, user equipment, server and access node
CN103686906A (en) * 2013-12-12 2014-03-26 中国联合网络通信集团有限公司 Method for switching network, terminal equipment and gateway equipment
CN106413015A (en) * 2016-11-28 2017-02-15 中国联合网络通信集团有限公司 Network access switching method and device
CN109219044A (en) * 2017-07-06 2019-01-15 中兴通讯股份有限公司 Switching method, mobile terminal and the computer readable storage medium of wireless network
CN109327869A (en) * 2017-07-31 2019-02-12 中兴通讯股份有限公司 Terminal network switching method, device, system and computer storage medium
WO2019028712A1 (en) * 2017-08-09 2019-02-14 北京小米移动软件有限公司 Network connection management method, device and system
CN109451835A (en) * 2017-12-11 2019-03-08 北京小米移动软件有限公司 For shortening method, apparatus, user equipment and the base station of access delay
CN108566660A (en) * 2017-12-29 2018-09-21 咪咕文化科技有限公司 A kind of method for switching network, device and computer readable storage medium
CN110312286A (en) * 2018-03-27 2019-10-08 华为技术有限公司 Method for switching network, communication device and communication equipment
CN110839267A (en) * 2018-08-17 2020-02-25 维沃移动通信有限公司 Service node updating method, terminal equipment and network side equipment
CN110996361A (en) * 2019-12-12 2020-04-10 RealMe重庆移动通信有限公司 Data network switching method and device, mobile terminal and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Jianli Xie ; et al.Heterogenous network selection optimization algorithm based on a markov decision model.《China communications》.2020,全文. *
基于业务类型的异构无线网络切换方法;高武奇;《计算机与数字工程》;全文 *

Also Published As

Publication number Publication date
CN113747422A (en) 2021-12-03

Similar Documents

Publication Publication Date Title
CN109495875B (en) SIM card selection method and device, electronic equipment and storage medium
EP2369478A1 (en) Technique of scheduling tasks in a system
CN110621047A (en) Operator network switching method and device and computer readable storage medium
CN110290024B (en) Method, device and equipment for testing strategy before online
CN110858843A (en) Service request processing method and device and computer readable storage medium
CN103052059A (en) Intelligent terminal and data processing method in intelligent terminal
US20220322088A1 (en) Network roaming method, terminal device, and computer readable storage medium
CN110868339A (en) Node distribution method and device, electronic equipment and readable storage medium
CN111416883B (en) Address query method, device, terminal and computer readable storage medium
CN107148035B (en) Frequency band selection method and device and wireless equipment
CN111263434B (en) Network registration method, device, terminal and storage medium
CN113055877A (en) Cloud card distribution method and device, electronic equipment and storage medium
CN113747422B (en) Network service switching method, device, equipment and storage medium
KR20160028455A (en) Automatically detection of a network operator for a mobile network device
CN112187380B (en) Serving cell switching method and device
CN112969219B (en) Network searching processing method, device, equipment and storage medium
CN115175367A (en) Method, device, medium and terminal for recovering terminal service
CN111669765B (en) Network capacity expansion method and device, control equipment and storage medium
CN110719586B (en) Service establishing method, device and server
CN111757386B (en) Download control method and device
CN112218278A (en) Zigbee channel selection method and switching system
CN113518459B (en) Resource scheduling processing method and device and electronic equipment
CN108268664B (en) Method and device for updating file resource access address
CN113055876B (en) Method and device for downloading standby cloud card and terminal equipment
CN108777880A (en) Method for connecting network, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant