CN113747422A - 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
CN113747422A
CN113747422A CN202010460785.6A CN202010460785A CN113747422A CN 113747422 A CN113747422 A CN 113747422A CN 202010460785 A CN202010460785 A CN 202010460785A CN 113747422 A CN113747422 A CN 113747422A
Authority
CN
China
Prior art keywords
network service
target
service
switching
preset
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.)
Granted
Application number
CN202010460785.6A
Other languages
Chinese (zh)
Other versions
CN113747422B (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

Images

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, e.g. scheduled or random access
    • H04W74/08Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access]
    • H04W74/0833Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using a random access procedure
    • 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

Abstract

The application provides a network service switching method, a device, equipment and a storage medium. The method comprises the following steps: the terminal acquires the target service type through prejudgment and acquires network service information of at least one network service connected with an 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 the optimal network service as the target network service. The terminal connects the target network service according to the target network service under the condition of keeping the first network service. And after the terminal is connected to the target network service, disconnecting the first 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 application relates to communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for switching network services.
Background
The eSIM card is also called an embedded SIM card, and is a device chip in which a conventional SIM card is embedded. For a conventional SIM card, 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. The integration technology of the eSIM enables one card to integrate different operators, and a user can realize the switching of the operators of the network service only by submitting a request for switching the operators.
Currently, the procedure for switching network services of an operator by an eSIM card is generally implemented through manual selection by a user. In the switching process of the network services of the operators, the network services of the current operator are usually disconnected, and then connected to the network services of the new operator. And after the user completes the switching of the network service of the operator once, the network service of the eSIM card is kept in the network service of the operator until the user reselects the operator next time.
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, a network service switching device, equipment and a 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, a signal-to-noise ratio and a 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 a 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, a preset signal-to-noise ratio, a preset time delay level and preset parameters;
and determining the target network service according to the target service information and the network service information.
Optionally, the determining a target network service according to the target service information and the network service information includes:
determining a target network service according to the network service information, a preset level intensity, a preset signal-to-noise ratio and a preset time delay level;
alternatively, the first and second electrodes may be,
and determining the target network service according to the preset parameters and the network service information.
Optionally, the determining a 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 and 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 service 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 packet of a random access preamble according to the target traffic type, the packet being determined by the random access preamble according to at least one traffic type;
determining to generate the random access preamble according to the grouping;
and switching the network service of the target service type into the target network service according to the random access lead code.
Optionally, before switching the network service according to the target network service, the method further includes:
judging whether network service switching is needed or not 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;
and 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 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, a preset signal-to-noise ratio, a 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, a signal-to-noise ratio and a time delay level;
the determining module is used for determining the 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 submodule is used for acquiring target service information, and the target service information at least comprises preset level intensity, a preset signal-to-noise ratio, a preset time delay level and preset parameters;
the first determining submodule is used for determining a target network service according to the network service information, the preset level strength, 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 acquire a network service in which the level strength is greater than the preset level strength, the signal-to-noise ratio is greater than the preset signal-to-noise ratio, and the delay level is greater than the preset delay level, and determine that the network service is a target network service.
Optionally, the second determining sub-module 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 packet of a random access preamble according to the target traffic type, the packet being determined by the random access preamble according to at least one traffic type; determining to generate the random access preamble according to the grouping; and switching the network service of the target service type into the target network service according to the random access lead code.
Optionally, the switching module includes:
the judging module submodule 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 is required 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, comprising: a communication interface, a processor and a memory;
a communication interface for acquiring a network service;
a memory for storing the processor-executable instructions;
a processor for calling program instructions in a memory to perform the network service switching method of the first aspect and any one of the possible designs of the first aspect.
In a fourth aspect, the present application provides a readable storage medium, where 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 possible designs of the first aspect and the first aspect.
According to the network service switching method, device, equipment and storage medium provided by the application, 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 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 the optimal network service as the target network service. The terminal connects the target network service according to the target network service under the condition of keeping the first network service. And after the terminal is connected to the target network service, disconnecting the first network service. Through the self-adaptive switching of the network service, the effects of improving the flexibility of the network service and improving the user experience and the use efficiency of the user are achieved.
Drawings
In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic view of a scene of an eSMI application 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 application;
fig. 4 is a flowchart of another network service switching method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a network service switching apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another network service switching apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another network service switching apparatus according to an embodiment of the present application;
fig. 8 is a schematic hardware structure diagram of a terminal according to an embodiment of the present application.
Detailed Description
To make the purpose, technical solutions and advantages of the present application clearer, 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 obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing 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 numbers of the processes do not mean the execution sequence, and the execution sequence of the processes should be determined by the functions and the internal logic of the processes, 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 application, "comprising" and "having" and any variations thereof, are intended to cover a 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 expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
The eSIM card is also called an embedded SIM card, and is a device chip in which a conventional SIM card is embedded. In a conventional terminal, a conventional SIM card needs to be installed in a card insertion manner. 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, the user only needs to submit a request for switching the network service, and the network service can be switched.
Currently, when a terminal installed with an eSIM card is used, a switching process of a network service is generally implemented by a user through manual selection. That is, the user submits a request for switching the network service at the terminal, and the terminal disconnects the current network service according to the request and then connects to the new network service. In the switching process, a user usually cannot normally use the terminal, and even the started application on the terminal may be disconnected or exited. In view of the above, although the efficiency of the user after the handover can be improved, the handover process usually brings inconvenience to the user.
After the user completes one switching of the network service of the operator, the network service of the terminal is usually kept at the network service of the operator all the time. In practical use, the service efficiency of the network service will vary with the data such as the user quantity, the service type, etc. Not the current best network service can 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 network service switching process has the problems of low flexibility and poor user experience for users.
In view of the foregoing problems, the present application provides a network service switching method, apparatus, device, and storage medium. First, the terminal acquires a target service type to be used by the user and network service information of network services of various operators to which the eSIM card can be connected by prejudging. According to the target service type, the terminal can determine target service information for the target service type. And the terminal determines the network service with the optimal service quality aiming at the target service by comparing the network service information of each network service with the target service information. The terminal determines that the network service is the target network service, and switches the network service of the terminal to the target network service, so that the use efficiency of the terminal is improved, and the effect of user experience is optimized.
In order to further improve the user experience during the network service switching, the network service access method of firstly connecting and then disconnecting is used. In using the method, the terminal determines the random access preamble from the grouping of random access preambles. And switching the network service of the target service type to the target network service under the condition of keeping the original network service according to the random access lead code. And finally, the terminal disconnects the original network service, seamless switching of the network service is realized, and user experience is improved.
The terminal can adaptively switch the network service according to the target service type of the user by the self-adaptive non-inductive switching method, thereby improving the flexibility of the network service, and improving the user experience and the use efficiency of the user.
Fig. 1 is a schematic diagram illustrating a scene of an eSMI application 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 terminal is provided with an eSIM card. The terminal is an electronic device equipped with an eSMI card, such as a mobile phone, a tablet, a computer, and the like, which is not limited in the present application.
The eSIM card can obtain connection with network services of a plurality of operators through the communication module. As shown in fig. 1, the eSIM card may be connected with network service a, network service B, or network service C. When the eSIM card develops a certain service, the eSMI card can be connected to only one of network service a, network service B, or network service C. In actual use, the eSIM may have more or less network service connections, which is not limited in this application.
The network service a, the network service B, or the network service C respectively correspond to an operator, that is, 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 a terminal as an execution subject, 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 second or a certain period of time, for example, 10 seconds or 1 minute. The service types may include a video service, an instant messaging service, a game service, a web browsing service, and the like.
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, at this time, the target property type is a video-type service, and the specific time is 0 second.
The terminal can also pre-judge 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 usage habits of a user for a period of time, the terminal finds that the user will start playing a game at 6 o' clock each day. Assuming that the current time is 5, the target property is a game-like 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 a network service identifier, level intensity, a signal-to-noise ratio and a time delay level.
In this embodiment, the terminal determines, according to the eSIM card installed on the terminal, a network service to which the terminal can request a connection. And the terminal acquires the network service information of all network services through the communication module on the eSIM card. The network service information of each network service at least comprises a network service identifier, level intensity, a signal-to-noise ratio, a time delay level and the like.
S103, determining the target network service according to the target service 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 with an optimal target service type, and determines that the network service is a target network service. Wherein, aiming at different target service types, the screening conditions of the optimal network are also different. For example, for the instant traffic class, the latency level is a main factor determining the traffic execution efficiency, so when the latency level of a certain network service is better than other network services, other parameters may be considered secondarily.
And S104, switching the network service according to the target network service.
In this embodiment, after the terminal obtains the target network service according to S103, the terminal first connects the network of the target service to the network service, and maintains the connection of the first network service. And disconnecting the first network service after the terminal is connected to the target network service.
According to the network service switching method, 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 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 the optimal network service as the target network service. The terminal connects the target network service according to the target network service under the condition of keeping the first network service. And after the terminal is connected to the target network service, disconnecting the first 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 illustrating 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, with a terminal as an execution subject, the method of the embodiment is specifically as follows:
s201, obtaining a target service type and a first network service identifier, wherein the first network service identifier is a network service identifier of a network service before switching.
S202, network service information of at least one network service is obtained, wherein the network service information at least comprises a network service identifier, level intensity, a signal-to-noise ratio and a time delay level.
Steps S201 and S202 are similar to steps S101 and S102 in the embodiment of fig. 2, and are not described again in this embodiment.
S203, target service information is obtained, wherein the target service information at least comprises preset level intensity, a preset signal-to-noise ratio, a preset time delay level and preset parameters.
In this embodiment, a terminal acquires target service information, where the target service information is a parameter preset according to a service type, and includes at least a preset level strength, a preset signal-to-noise ratio, a preset delay level, and a preset parameter. The preset parameters are used for indicating the level strength, the signal-to-noise ratio and the time delay level which the better network service should have under the service type.
And 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 time 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 to determine whether each network service conforms to the optimal network service parameters of the target service. And when one piece of network service information meets the target service information, the terminal determines that the network service is the target network service. And when a plurality of pieces of network service information meet the target service information, the terminal determines the optimal network service as the target network service.
Assuming that the service type is video service, the preset level strength in the video service information is SvThe preset signal-to-noise ratio is RvThe preset time delay level is Pv. Where the subscript v is used to denote video-like traffic. The set of level strengths in the overall network service information may be represented as SiThe set of SNR's can be expressed as { R }iThe sum of the delay levels can be expressed as Pi}. Where the index i is used to denote the ith of all network services, i 1, 2.
In one example, the screening condition for the terminal to determine the target network service can be expressed as the following formula:
Si>Sv,and,Si=max{Si},
Ri>Rv,and,Ri=max{Ri},
Pi>Pv
that is, when the level strength of the ith network service is greater than the preset level strength and greater than the level strengths of other network services. Further, it is determined that the signal-to-noise ratio of the ith network service is greater than a preset signal-to-noise ratio and greater than 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 the preset delay level. At this time, it is determined that the ith network service is the target network service.
In another example, the screening condition for the terminal to determine the target network service may be further expressed as:
Si>Sv,and Ri>Rv,and Pi>Pv
and when the network service information of at least one network service meets the conditions, the terminal further screens the network service obtained by screening. And when the number of the network services obtained by screening is 1, the terminal determines that the network service is the target network service. And when the number of the network services obtained by screening is multiple, the terminal selects the optimal network service as the target network service.
The process of selecting the optimal network service from the network services obtained by screening may be that the terminal compares the network service information of the plurality of network services obtained by screening, and selects the network service corresponding to the maximum value of the level intensity or the signal-to-noise ratio as the target network service.
The values of the preset level intensity, the preset signal-to-noise ratio and the preset time delay level are different corresponding to the instant messaging service, the game service and the web browsing service.
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 parameter according to the target service type. And calculating by the terminal to obtain the service parameters according to the preset parameters and the network service information. 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 the video service as an example, the preset parameter in the video service information is αvAnd betav. Where the subscript v is used to denote video-like traffic. The set of level strengths in the overall network service information may be represented as SiThe set of SNR's can be expressed as { R }iThe sum of the delay levels can be expressed as Pi}. Where the index i is used to denote the ith of all network services, i 1, 2.
A kind ofIn an example, the terminal is according to a preset parameter αvAnd betavAnd network service information, the process of determining the target network service may include:
step 1, presetting a parameter alpha at a terminalvAnd betavAnd the level intensity and the signal-to-noise ratio in the network service information, calculating the service parameter F of the network serviceiThe calculation process is as follows:
Fi=[(Ri+132)÷100]×αv+[(Si+11)÷41]×βv
and step 2, the terminal determines that the maximum value in the service parameters of all the network services is the most preferable item according to the service parameters, namely, determines that the network service corresponding to the maximum service parameter is the target network service. The calculation formula is as follows:
Fi=max{Fi}
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 or not 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 acquires the network service identifier of the target network service. The terminal compares the network service identification with the first network service identification. 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 identifier is different from the first network identifier, it indicates that the current network service needs to be switched.
And 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, the terminal is disconnected 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 according to S206 that the network service does not need to be switched, the terminal maintains the first network service and does not perform switching of the network service.
According to the network service switching method, the terminal obtains the target service type and the target service information through prejudgment, and obtains the network service information of at least one network service connected with the eSIM card of the terminal. 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 to obtain the service parameters according to the preset parameters in the target service information and 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 the target network service according to the target network service under the condition of keeping the first network service. And after the terminal is connected to the target network service, disconnecting the first 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 illustrating a network service switching method according to an embodiment of the present application. On the basis of the embodiments shown in fig. 1 to fig. 3, as shown in fig. 4, with a terminal as an execution subject, in the case that it is determined that a network service needs to be switched, the specific steps of the switching process of the network service are as follows:
s301, obtaining the target service type.
S302, network service information of at least one network service is obtained, wherein the network service information at least comprises a network service identifier, level intensity, a signal-to-noise ratio and a time delay level.
S303, determining the target network service according to the target service type and the network service information.
Steps S301 and S303 are similar to steps S101 and S103 in the embodiment of fig. 2, and are not described again in this embodiment.
S304, maintaining the 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 keeps the arbitrary network service in a connected state during the switching process.
S305, determining a grouping of the random access lead code according to the target service type, wherein the grouping is determined by the random access lead code according to at least one service type.
In this embodiment, the terminal determines the random access preamble grouping according to the target service type.
The random access preamble is 64-bit code used for identifying the identity of the terminal during random access in the LTE network. In the prior art, the 64-bit random access preamble is all used for LTE random access. In order to improve the access efficiency, in this embodiment, bits 0 to 31 of the random access preamble code are still allocated to ra-preamblelndex according to the protocol for the random access of the LTE system. And the remaining 31-63 bits of the random access preamble are used as the traffic type identification contention packets. The grouping method comprises the following steps: using the 31-39 bit random access lead code as video service competition identification; the 39-47 bits random access lead code is used as the competition identification of the instant communication service; the 47-55 bit random access lead code is used as game service competition identification; and the 55-63 bit random access preamble codes are used as the competition identification of the web browsing service.
And S306, determining to generate the random access preamble according to the grouping.
In this embodiment, after determining to generate a random access preamble packet according to S305, the terminal correspondingly generates a random access preamble of the target service type.
S307, switching the network service of the target service type into the target network service according to the random access lead code.
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 terminal determines the target network, the terminal keeps the first network service until the target network is successfully switched, so that the network does not need to be disconnected in the switching process of the network service, and the user experience is optimized. And the terminal determines the grouping of the random access lead code according to the target service type, and further generates the random access lead code. According to the random access lead code, the terminal can be connected with the target service type of the target network more quickly and accurately, the network connection efficiency is improved, and the user experience is optimized.
Fig. 5 is a schematic structural diagram of a network service switching apparatus according to an embodiment of the present application, and as shown in fig. 5, a network service switching apparatus 10 according to this embodiment is used to implement an operation corresponding to a terminal in any of the method embodiments described above, where the network service switching apparatus 10 according to this 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 handover, and the target service information at least includes a preset level strength, 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 at least includes a network service identifier, a level strength, a signal-to-noise ratio, and a delay level;
a determining module 13, configured to determine a target network service according to the target service type and the network service information;
and the switching module 14 is used for switching the network service according to the target service type and the target network service.
The network service switching device 10 provided in the embodiment of the present application may implement the method embodiment, and for details of implementation principles and technical effects, reference may be made to the method embodiment, which is not described herein again.
Fig. 6 shows a schematic structural diagram of another network service switching apparatus provided in 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 apparatus 10 of this embodiment is used for implementing an operation corresponding to a terminal in any one of the method embodiments described above, and the determining module 13 and the switching module 14 of this embodiment further include:
the obtaining submodule 131 is configured to obtain target service information, where the target service information at least includes a preset level strength, a preset signal-to-noise ratio, a preset delay level, and a preset parameter;
the determining sub-module 132 determines the target network service according to the target service information and the network service information.
A judging submodule 141, configured to judge whether a network service needs to be switched 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 a network service according to a target network service when the network service needs to be switched;
the second switching submodule 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 handover submodule 142 includes maintaining the first network service, which is a network service before handover; 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 implement the method embodiment, and for details of implementation principles and technical effects, reference may be made to the method embodiment, which is not described herein again.
Fig. 7 shows a schematic structural diagram of another network service switching apparatus provided in an embodiment of the present application, and based on the embodiments shown in fig. 5 and fig. 6, as shown in fig. 7, the network service switching apparatus 10 of this embodiment is used to implement the operation corresponding to the terminal in any one of the method embodiments described above, and the determining submodule 132 and the first switching submodule 142 of this embodiment further include:
a first determining unit 1321, configured to determine a target network service according to the network service information and the preset level strength, the preset signal-to-noise ratio, and the preset delay level;
the second determining unit 1322 is configured to determine the target network service according to the preset parameter and the network service information when the first determining unit cannot determine the target network service.
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 a preset parameter; and determining the target network service according to the service parameters.
A third determining unit 1421, configured to determine, according to the target service type, a group of the random access preamble, where the group 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 implement the method embodiment, and for details of implementation principles and technical effects, reference may be made to the method embodiment, which is not described herein again.
Fig. 8 shows a hardware structure diagram of a terminal according to an embodiment of the present application. On the basis of the embodiments shown in fig. 5 to fig. 7, as shown in fig. 8, the terminal 20 is configured to implement the operation corresponding to the terminal in any one of the method embodiments described above, and 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 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 usb disk, a removable hard disk, a read-only Memory, a magnetic disk or an optical disk.
And a processor 22 for executing the computer program stored in the memory to implement the setting method of the virtual keyboard in the above embodiments. Reference may be made in particular to the description relating to the method embodiments 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 (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures 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 to the processor 21 via a bus 23. Processor 22 may control communication interface 24 to obtain network services.
The terminal provided in this embodiment may be configured to execute the network service switching method, and the implementation manner and the technical effect thereof are similar, and details are not described herein again.
The present application also provides a computer-readable storage medium, in which a computer program is stored, and the computer program is used for implementing the methods provided by the above-mentioned various embodiments when being executed by a processor.
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 may 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. Of course, the computer readable storage medium may also be integral to the processor. The processor and the computer-readable storage medium may reside in an Application Specific Integrated Circuit (ASIC). Additionally, the ASIC may reside in user equipment. Of course, 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 of volatile or nonvolatile Memory device or combination thereof, such as Static Random-Access Memory (SRAM), Electrically-Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), 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, and the execution of the execution instructions by the at least one processor causes the device to implement the methods provided by the various embodiments described above.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an 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, or in a combination of the hardware and software modules within the processor.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the modules is only one logical division, and the actual implementation may have another division, for example, a plurality of modules may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit. The unit formed by the modules can be realized in a hardware form, and can also be realized in a form of hardware and a software functional unit.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor to execute some steps of the methods according to the embodiments of the present application.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. Which when executed performs steps comprising the method embodiments described above. And the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

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, a signal-to-noise ratio and a 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.
2. The method of 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, a preset signal-to-noise ratio, a preset time delay level and preset parameters;
and determining the target network service according to the target service information and the network service information.
3. The network service switching method of claim 2, wherein the determining a target network service according to the target service information and the network service information comprises:
determining a target network service according to the network service information, a preset level intensity, a preset signal-to-noise ratio and a preset time delay level;
alternatively, the first and second electrodes may be,
and determining the target network service according to the preset parameters and the network service information.
4. The 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 and 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 claim 1, wherein the switching the network service according to the target traffic type and the target network service comprises:
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.
6. The network service switching method according to claim 5, wherein the connecting the target network service comprises:
determining a packet of a random access preamble according to the target traffic type, the packet being determined by the random access preamble according to at least one traffic type;
determining to generate the random access preamble according to the grouping;
and switching the network service of the target service type into the target network service according to the random access lead code.
7. The method for switching network service according to any one of claims 1-6, wherein before switching the network service according to the target network service, further comprising:
judging whether network service switching is needed or not 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;
and 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.
8. 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, a preset signal-to-noise ratio, a 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, a signal-to-noise ratio and a time delay level;
the determining module is used for determining the 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.
9. A terminal, comprising: a communication interface, a processor and a memory;
a communication interface for acquiring a network service;
a processor for performing the network service switching method of any one of claims 1 to 7;
a memory to store the processor-executable instructions.
10. A computer-readable storage medium having computer-executable instructions stored therein, which when executed by a processor, are configured to implement the network service switching method according to any one of claims 1 to 7.
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 true CN113747422A (en) 2021-12-03
CN113747422B 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》 *
高武奇: "基于业务类型的异构无线网络切换方法", 《计算机与数字工程》 *

Also Published As

Publication number Publication date
CN113747422B (en) 2024-02-02

Similar Documents

Publication Publication Date Title
CN109495875B (en) SIM card selection method and device, electronic equipment and storage medium
CN108810116B (en) Message processing method and related product
WO2017156833A1 (en) Method and device for selecting esim card-based operator service, and terminal
EP3193540B1 (en) Wireless communication method, processor and wireless terminal
US20130042251A1 (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
CN110267314B (en) Method and device for switching network slices
US20220322088A1 (en) Network roaming method, terminal device, and computer readable storage medium
CN105930191A (en) System service reloading method and apparatus
CN113055877A (en) Cloud card distribution method and device, electronic equipment and storage medium
CN107148035B (en) Frequency band selection method and device and wireless equipment
CN107277871B (en) VoLTE network registration method, device and terminal thereof
CN109041255B (en) Access method and UE
CN113747422A (en) Network service switching method, device, equipment and storage medium
CN105050123A (en) Load control method for wireless network and terminal
US9883051B2 (en) Method and system for usage of manual PLMN selection mode
KR20160028455A (en) Automatically detection of a network operator for a mobile network device
CN108595238B (en) Display control method and device of application interface
CN110771113B (en) Brushing amount terminal detection method and device
CN112969219B (en) Network searching processing method, device, equipment and storage medium
CN111866156B (en) Fusing processing method and device
CN110771114A (en) Method and device for detecting brushing IP address
CN111859082A (en) Identification analysis method and device
CN110754076B (en) Method and device for determining brushing amount terminal

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