CN115665747B - Terminal equipment operator network switching method, device, medium and terminal equipment - Google Patents

Terminal equipment operator network switching method, device, medium and terminal equipment Download PDF

Info

Publication number
CN115665747B
CN115665747B CN202211671101.2A CN202211671101A CN115665747B CN 115665747 B CN115665747 B CN 115665747B CN 202211671101 A CN202211671101 A CN 202211671101A CN 115665747 B CN115665747 B CN 115665747B
Authority
CN
China
Prior art keywords
operator network
network
certificate
information
cell
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
CN202211671101.2A
Other languages
Chinese (zh)
Other versions
CN115665747A (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.)
Shenzhen Qinlin Science & Technology Co ltd
Original Assignee
Shenzhen Qinlin Science & Technology 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 Shenzhen Qinlin Science & Technology Co ltd filed Critical Shenzhen Qinlin Science & Technology Co ltd
Priority to CN202211671101.2A priority Critical patent/CN115665747B/en
Publication of CN115665747A publication Critical patent/CN115665747A/en
Application granted granted Critical
Publication of CN115665747B publication Critical patent/CN115665747B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method, a device, a medium and a terminal device for switching a terminal device operator network, comprising the following steps: if the signal intensity of a currently connected first operator network is lower than the signal intensity of a second operator network, sending a UE authentication request carrying an internet interconnection protocol address of the second operator network to a first certificate issuing server of the first operator network, so that the first certificate issuing server forwards the UE authentication request to a second certificate issuing server corresponding to the second operator network according to the internet interconnection protocol address; receiving a second UE certificate sent by a second certificate authority server; registering the terminal equipment to a cell corresponding to a second operator network according to cell information and network system frequency band information in a second UE certificate; and after the cell corresponding to the second operator network is successfully registered, sending a UE certificate revocation request to the first certificate issuing server so as to revoke the first UE certificate of the terminal equipment from the cell corresponding to the first operator network.

Description

Terminal equipment operator network switching method, device, medium and terminal equipment
Technical Field
The present disclosure relates to the field of mobile communications technologies, and in particular, to a method, an apparatus, a medium, and a terminal device for switching a terminal device operator network.
Background
In a related scenario, the terminal device may configure the subscriber identity cards of multiple operators, and generally, the terminal device can only support the subscriber identity card of one of the operators as a main card to provide network data, however, the subscriber identity cards of different operators in the same area have a difference in signal strength, and therefore, an operator network connected to the terminal device needs to be switched according to the signal strength, so that the terminal device is kept in a good signal state.
In the related art, the network state of a main card and the network state of an auxiliary card are obtained; comparing the network state of the main card with the network state of the auxiliary card to obtain a comparison result; and when the comparison result represents that the network state of the main card is worse than that of the auxiliary card, generating network switching information, and prompting a user to switch to the auxiliary card for network connection according to the network switching information. The mode needs to be switched to the state of the auxiliary card for network searching again, and the switching convenience is low.
Disclosure of Invention
The invention aims to provide a terminal equipment operator network switching method, a device, a medium and terminal equipment, and aims to solve the technical problem of low network switching convenience of the terminal equipment in relevant scenes.
In order to achieve the above object, in a first aspect of the embodiments of the present disclosure, a terminal device operator network switching method is provided, where the method is applied to a terminal device configured with subscriber identity cards of multiple operators, and the method includes:
if the signal intensity of a first operator network which is connected currently is lower than the signal intensity of any second operator network in the plurality of operators, sending a UE authentication request carrying an Internet protocol address of the second operator network to a certificate issuing server of the first operator network, so that the certificate issuing server of the first operator network forwards the UE authentication request to a certificate issuing server corresponding to the second operator network according to the Internet protocol address, and the certificate issuing servers of the plurality of operators perform authentication through CA certificates;
receiving a second UE certificate sent by a certificate issuing server of the second operator network aiming at the UE authentication request, wherein the second UE certificate carries cell information and network system frequency band information, the UE certificate is generated by the network system frequency band information when the terminal equipment is connected according to the network system support information carried in the UE authentication request and the control carrier frequency of a base station corresponding to the cell information after the terminal equipment is subjected to cell allocation by the certificate issuing server of the second operator network according to the position of the terminal equipment carried in the UE authentication request;
registering the terminal equipment into a cell corresponding to the second operator network according to cell information and network system frequency band information in the second UE certificate;
after the registration is successful in the cell corresponding to the second operator network, sending a UE certificate revocation request to a certificate issuing server of the first operator network, so that the certificate issuing server of the first operator network revokes the first UE certificate of the terminal device from the cell corresponding to the first operator network according to IMS information carried in the UE certificate revocation request.
In one embodiment, the step of registering the terminal device in the cell corresponding to the second operator network according to the cell information and the network system frequency band information in the second UE certificate includes:
tuning the frequency of the terminal equipment to a control carrier frequency of a base station corresponding to the cell information according to the network mode frequency band information, and inquiring guide information and code division multiple access information corresponding to the base station;
verifying a cell corresponding to the base station according to a tracking area code TAC, a location area code LAC and a cell identification CID carried in the guiding information corresponding to the base station;
and under the condition that the verification is passed, registering the terminal equipment into a cell corresponding to the second operator network according to the code division multiple access information corresponding to the base station.
In one embodiment, the signal strength includes LTE signal strength and LTE signal quality, and accordingly, the signal strength of the first operator network and the signal strength of any second operator network of the plurality of operators are determined by:
the method comprises the steps that the LTE signal strength and the LTE signal quality corresponding to each operator network corresponding to a plurality of historical moments within a first preset duration corresponding to the current moment are obtained;
determining a first variation trend and a signal intensity mean value of the LTE signal intensity corresponding to each operator network within the first preset time length, and determining a second variation trend and a signal quality mean value of the LTE signal quality corresponding to each operator network within the first preset time length;
and predicting the corresponding predicted LTE signal strength of each operator network within a second preset time period in the future according to the change gradient corresponding to the first change trend, and predicting the corresponding predicted LTE signal quality of each operator network within the second preset time period according to the change gradient corresponding to the second change trend.
In one embodiment, the step of sending a UE certificate revocation request to a certificate authority server of the first operator network after successful registration in the cell corresponding to the second operator network includes:
after the registration is successful in the cell corresponding to the second operator network, obtaining international mobile subscriber identification code (IMSI) information corresponding to the terminal equipment;
writing the IMSI information, the time of the first UE certificate issued by the certificate issuing server of the first operator network and the current UTC into an SIP protocol rule chain to obtain IMS information corresponding to the terminal equipment;
adding the IMS information to the UE certificate revocation request, and sending the UE certificate revocation request to a certificate issuing server of the first operator network, so that the certificate issuing server of the first operator network stops charging according to the UE certificate revocation request.
In one embodiment, the step of sending, to a certificate authority server of a first operator network, a UE authentication request carrying an internet protocol address of a second operator network if it is determined that the signal strength of a currently connected first operator network is lower than the signal strength of any second operator network of the plurality of operators includes:
if the signal intensity of the first operator network which is connected currently is lower than the signal intensity of any second operator network in the plurality of operators, acquiring the currently operated application program of the terminal equipment, and determining the currently operated service type of the terminal equipment according to the currently operated application program;
determining whether a first network type corresponding to a first operator network is inferior to a second network type corresponding to a second operator network according to the service type;
and if the first network type corresponding to the first operator network is inferior to the second network type corresponding to the second operator network, sending a UE authentication request carrying an internet interconnection protocol address of the second operator network to a certificate issuing server of the first operator network.
In one embodiment, the step of determining whether the first network type corresponding to the first operator network is inferior to the second network type corresponding to the second operator network according to the service type includes:
determining a first adaptation degree of a first network type corresponding to the first operator network and the service type according to time delay, jitter, bandwidth and packet loss rate corresponding to the first network type corresponding to the first operator network; and (c) a second step of,
determining a second adaptation degree of a second network type corresponding to the second operator network and the service type according to time delay, jitter, bandwidth and packet loss rate corresponding to the second network type corresponding to the second operator network;
and determining whether the first network type corresponding to the first operator network is inferior to the second network type corresponding to the second operator network according to the size relation between the first adaptation degree and the second adaptation degree.
In a second aspect of the embodiments of the present disclosure, there is provided a terminal device operator network switching apparatus, where the apparatus is applied to a terminal device configured with subscriber identity cards of multiple operators, and the apparatus includes:
a sending module, configured to send a UE authentication request carrying an internet protocol address of a second operator network to a certificate issuing server of a first operator network if it is determined that signal strength of a currently connected first operator network is lower than signal strength of any second operator network of the multiple operators, so that the certificate issuing server of the first operator network forwards the UE authentication request to a certificate issuing server corresponding to the second operator network according to the internet protocol address, and the certificate issuing servers of the multiple operators perform authentication through CA certificates;
a receiving module, configured to receive a second UE certificate sent by a certificate issuing server of the second operator network for the UE authentication request, where the second UE certificate carries cell information and network system frequency band information, and the UE certificate is generated by the certificate issuing server of the second operator network performing cell allocation on the terminal device according to a terminal device position carried in the UE authentication request to obtain cell information, and determining network system frequency band information when the terminal device is connected according to network system support information carried in the UE authentication request and a control carrier frequency of a base station corresponding to the cell information;
a registration module configured to register the terminal device in a cell corresponding to the second operator network according to cell information and network system frequency band information in the second UE certificate;
a revocation module configured to send a UE certificate revocation request to a certificate issuing server of the first operator network after successful registration in the cell corresponding to the second operator network, so that the certificate issuing server of the first operator network revokes the first UE certificate of the terminal device from the cell corresponding to the first operator network according to IMS information carried in the UE certificate revocation request.
In one embodiment, the registration module is configured to:
tuning the frequency of the terminal equipment to the control carrier frequency of the base station corresponding to the cell information according to the network standard frequency band information, and inquiring the guide information and the code division multiple access information corresponding to the base station;
verifying a cell corresponding to the base station according to a tracking area code TAC, a location area code LAC and a cell identification CID carried in the guiding information corresponding to the base station;
and under the condition that the verification is passed, connecting the terminal equipment to the second operator network according to the code division multiple access information corresponding to the base station.
In one embodiment, the signal strength includes LTE signal strength and LTE signal quality, and accordingly, the terminal device operator network switching apparatus further includes: a determination module configured to:
the method comprises the steps of obtaining LTE signal strength and LTE signal quality corresponding to each operator network corresponding to a plurality of historical moments within a first preset time length corresponding to the current moment;
determining a first variation trend and a signal intensity mean value of the LTE signal intensity corresponding to each operator network within the first preset time length, and determining a second variation trend and a signal quality mean value of the LTE signal quality corresponding to each operator network within the first preset time length;
and predicting the corresponding predicted LTE signal strength of each operator network within a second preset time period in the future according to the change gradient corresponding to the first change trend, and predicting the corresponding predicted LTE signal quality of each operator network within the second preset time period according to the change gradient corresponding to the second change trend.
In one embodiment, the revocation module is configured to:
after the registration is successful in the cell corresponding to the second operator network, obtaining International Mobile Subscriber Identity (IMSI) information corresponding to the terminal equipment;
writing the IMSI information, the time of the first UE certificate issued by the certificate issuing server of the first operator network and the current UTC into an SIP protocol rule chain to obtain IMS information corresponding to the terminal equipment;
adding the IMS information to the UE certificate revocation request, and sending the UE certificate revocation request to a certificate issuing server of the first operator network, so that the certificate issuing server of the first operator network stops charging according to the UE certificate revocation request.
In one embodiment, the sending module is configured to:
if the signal intensity of the first operator network which is connected currently is lower than the signal intensity of any second operator network in the plurality of operators, acquiring the currently operated application program of the terminal equipment, and determining the currently operated service type of the terminal equipment according to the currently operated application program;
determining whether a first network type corresponding to a first operator network is inferior to a second network type corresponding to a second operator network according to the service type;
and if the first network type corresponding to the first operator network is inferior to the second network type corresponding to the second operator network, sending a UE authentication request carrying an internet interconnection protocol address of the second operator network to a certificate issuing server of the first operator network.
In one embodiment, the sending module is configured to:
determining a first adaptation degree of a first network type corresponding to the first operator network and the service type according to time delay, jitter, bandwidth and packet loss rate corresponding to the first network type corresponding to the first operator network; and the number of the first and second groups,
determining a second adaptation degree of a second network type corresponding to the second operator network and the service type according to time delay, jitter, bandwidth and packet loss rate corresponding to the second network type corresponding to the second operator network;
and determining whether the first network type corresponding to the first operator network is inferior to the second network type corresponding to the second operator network according to the size relation between the first adaptation degree and the second adaptation degree.
In a third aspect of the disclosed embodiments, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor, implements the steps of the terminal device operator network handover method according to any one of the first aspect.
In a fourth aspect of the embodiments of the present disclosure, an electronic device is provided, including:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the terminal device operator network handover method of any one of the first aspect.
Has the advantages that:
the invention provides a terminal equipment operator network switching method, a device, a medium and terminal equipment. Compared with the prior art, the method has the following beneficial effects:
if the signal intensity of the first operator network connected currently is lower than the signal intensity of the second operator network, sending a UE authentication request carrying an Internet interconnection protocol address of the second operator network to a first certificate issuing server of the first operator network, so that the first certificate issuing server forwards the UE authentication request to a second certificate issuing server corresponding to the second operator network according to the Internet interconnection protocol address, and the first certificate issuing server of the first operator network connected currently forwards the UE authentication request to the second certificate issuing server corresponding to the second operator network, so that the second operator network can authenticate the terminal device conveniently, and further, a second UE certificate sent by the second certificate issuing server is received; and registering the terminal equipment into a cell corresponding to the second operator network according to the cell information and the network system frequency band information in the second UE certificate, so that the network switching convenience of the terminal equipment can be improved. Further, after the registration is successful in the cell corresponding to the second operator network, a UE certificate revocation request is sent to the first certificate issuing server, so as to revoke the first UE certificate of the terminal device from the cell corresponding to the first operator network. The terminal equipment can be withdrawn from the first operator network in time, continuous charging of mobile data or voice communication is avoided, repeated charging is avoided, and network switching rationality is improved.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
fig. 1 is a flowchart illustrating a terminal device operator network handover method according to an embodiment of the present disclosure.
Fig. 2 is a flowchart illustrating a method for implementing step S13 in fig. 1 according to an embodiment of the present disclosure.
Fig. 3 is a flowchart illustrating a method for implementing step S14 in fig. 1 according to an embodiment of the specification.
Fig. 4 is a block diagram illustrating a terminal device operator network switching apparatus according to an embodiment of the specification.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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 invention.
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
In order to achieve the above object, the present disclosure provides a terminal device operator network switching method, and fig. 1 is a flowchart illustrating a terminal device operator network switching method according to an embodiment. The method is applied to a terminal device configured with Subscriber Identity modules of multiple operators, and it can be described that the terminal device may install Subscriber Identity modules (SIM for short) of different operators in a hot plug manner, or may integrate and embed chip-type Subscriber Identity modules (esims) with different operators built therein, as shown in fig. 1, the method includes:
in step S11, if it is determined that the signal strength of the currently connected first operator network is lower than the signal strength of any second operator network of the multiple operators, the UE authentication request carrying the internet protocol address of the second operator network is sent to the certificate issuing server of the first operator network, so that the certificate issuing server of the first operator network forwards the UE authentication request to the certificate issuing server corresponding to the second operator network according to the internet protocol address.
The certificate issuing servers of a plurality of operators perform authentication through CA certificates.
The signal strength of the first operator network and the signal strength of the second operator network can be directly obtained from the communication component of the terminal device, so that the signal strengths can be directly compared. And when the subscriber identity card is activated, the terminal device already acquires the internet interconnection protocol address of the operator network corresponding to the subscriber identity card.
In the embodiment of the present disclosure, the certificate issuing servers of multiple operators perform CA authentication with each other, and for example, a CA certificate indicating the identity of the certificate issuing server may be issued to the certificate issuing server according to the received identification information of the certificate issuing servers of other operators.
Illustratively, the plurality of operators comprises A, B and C, a issues a CA certificate for indicating the identity of B to B according to the identification information of B in case of receiving the identification information of B, and B may authenticate a according to the CA certificate in case of receiving the CA certificate, so as to issue a CA certificate for indicating the identity of a to complete mutual authentication of a and B, and similarly, C may complete mutual authentication with a and B in the manner described above.
In step S12, a second UE certificate sent by the certificate issue server of the second operator network for the UE authentication request is received, where the second UE certificate carries cell information and network system frequency band information, and the second UE certificate is generated by the certificate issue server of the second operator network performing cell allocation on the terminal device according to the position of the terminal device carried in the UE authentication request to obtain cell information, and determining network system frequency band information when the terminal device is connected according to the network system support information carried in the UE authentication request and the control carrier frequency of the base station corresponding to the cell information.
In this disclosure, the certificate issuing server of the second operator network determines the target connection base station from the second operator network base station according to the location of the terminal device and the distribution location of the second operator network base station, and may determine the second target connection base station from the second operator network base station according to the traveling direction information represented by the location transformation information of the terminal device, where the second target connection base station is a base station that needs to be connected after the terminal device leaves the target connection base station. And further determining a cell from the target connection base station and the second target connection base station.
In another embodiment, according to the traveling direction information represented by the terminal device location transformation information, a first cell and a second cell may be determined in the target connection base station, where the first cell is a cell where the terminal device is currently located, and the second cell is a cell adjacent to the first cell in the traveling direction.
In step S13, the terminal device is registered in a cell corresponding to the second operator network according to the cell information and the network system frequency band information in the second UE certificate.
To continue with the above embodiment, first, according to the cell information of the first cell and the network system frequency band information of the second operator network, the terminal device is registered in the first cell corresponding to the second operator network, and after leaving the first cell, the terminal device is registered in the second cell corresponding to the second operator network according to the cell information of the second cell and the network system frequency band information of the second operator network.
In step S14, after the registration is successful in the cell corresponding to the second operator network, a UE certificate revocation request is sent to the certificate issuing server of the first operator network, so that the certificate issuing server of the first operator network revokes the first UE certificate of the terminal device from the cell corresponding to the first operator network according to the IMS information carried in the UE certificate revocation request.
After the first UE certificate is revoked from the cell corresponding to the first operator network, the first operator network stops performing mobile data or voice call charging on the terminal device.
In the technical scheme, the first certificate issuing server of the first operator network connected at present forwards the UE authentication request to the second certificate issuing server corresponding to the second operator network, so that the second operator network can conveniently authenticate the terminal equipment, and further, the second UE certificate sent by the second certificate issuing server is received; and registering the terminal equipment into a cell corresponding to the second operator network according to the cell information and the network system frequency band information in the second UE certificate, so that the network switching convenience of the terminal equipment can be improved. Further, after the registration is successful in the cell corresponding to the second operator network, a UE certificate revocation request is sent to the first certificate issuing server, so as to revoke the first UE certificate of the terminal device from the cell corresponding to the first operator network. The terminal equipment can be withdrawn from the first operator network in time, continuous charging of mobile data or voice communication is avoided, repeated charging is avoided, and network switching rationality is improved.
In one embodiment, referring to fig. 2, in step S13, the step of registering the terminal device in the cell corresponding to the second operator network according to the cell information and the network system frequency band information in the second UE certificate includes:
in step S131, according to the network system frequency band information, the frequency of the terminal device is tuned to the control carrier frequency of the base station corresponding to the cell information, and the pilot information and the cdma information corresponding to the base station are queried.
In the embodiment of the present disclosure, after the frequency of the terminal device is tuned to the control carrier frequency of the base station corresponding to the cell information, the guidance information and the cdma information corresponding to the base station may be queried from the base station information broadcast by the base station.
In step S132, the cell corresponding to the base station is verified according to the tracking area code TAC, the location area code LAC, and the cell identifier CID carried in the guidance information corresponding to the base station.
In step S133, if the verification is passed, the terminal device is registered in the cell corresponding to the second operator network according to the cdma information corresponding to the base station.
According to the technical scheme, the cell corresponding to the base station is verified, the cell information and the network system frequency band information of the pseudo base station are prevented from being received due to illegal attack in the information exchange process, and the use safety of the terminal equipment is improved.
In one embodiment, the signal strength includes LTE signal strength and LTE signal quality, and accordingly, the signal strength of the first operator network and the signal strength of any second operator network of the plurality of operators are determined by:
and acquiring the LTE signal strength and the LTE signal quality corresponding to each operator network corresponding to a plurality of historical moments within a first preset time length corresponding to the current moment.
In the embodiment of the present disclosure, the LTE signal strength and the LTE signal quality corresponding to each operator network corresponding to 5 historical times within 5us corresponding to the current time may be obtained.
Determining a first variation trend and a signal intensity mean value of LTE signal intensity corresponding to each operator network within a first preset time length, and determining a second variation trend and a signal quality mean value of LTE signal quality corresponding to each operator network within the first preset time length;
in the present disclosure, the calculation of the signal strength average value and the signal quality average value is a conventional summation average value, and is not described herein again. The first variation trend can calculate the difference value of the LTE signal strength at the adjacent moment, and then the difference value is determined according to the positive and negative relation of the difference value, and similarly, the second variation trend can calculate the difference value of the LTE signal quality at the adjacent moment, and then the difference value is determined according to the positive and negative relation of the difference value.
And predicting the LTE signal strength corresponding to each operator network within a second preset time period in the future according to the variation gradient corresponding to the first variation trend, and predicting the LTE signal quality corresponding to each operator network within the second preset time period according to the variation gradient corresponding to the second variation trend.
In one embodiment, referring to fig. 3, in step S14, after the registration is successful in the cell corresponding to the second operator network, the step of sending a UE certificate revocation request to the certificate authority server of the first operator network includes:
in step S141, after the registration is successful in the cell corresponding to the second operator network, obtaining the international mobile subscriber identity IMSI information corresponding to the terminal device;
in step S142, writing the IMSI information, the time of the first UE certificate issued by the certificate issue server of the first operator network, and the current UTC into the SIP protocol rule chain, to obtain IMS information corresponding to the terminal device;
in step S143, the IMS information is added to the UE certificate revocation request, and the UE certificate revocation request is sent to the certificate authority server of the first operator network, so that the certificate authority server of the first operator network stops charging according to the UE certificate revocation request.
According to the technical scheme, the terminal equipment can be timely withdrawn from the first operator network through the time of the first UE certificate issued by the certificate issuing server of the first operator network and the current UTC, continuous charging of mobile data or voice call is avoided, repeated charging is avoided, and the rationality of network switching is improved.
In one embodiment, in step S11, if it is determined that the signal strength of the currently connected first operator network is lower than the signal strength of any second operator network of the multiple operators, the step of sending a UE authentication request carrying an internet protocol address of the second operator network to a certificate authority server of the first operator network includes:
if the signal intensity of a first operator network which is connected currently is lower than the signal intensity of any second operator network in a plurality of operators, acquiring an application program which is operated currently by the terminal equipment, and determining the service type which is operated currently by the terminal equipment according to the application program which is operated currently;
determining whether a first network type corresponding to a first operator network is inferior to a second network type corresponding to a second operator network according to the service type;
and if the first network type corresponding to the first operator network is inferior to the second network type corresponding to the second operator network, sending a UE authentication request carrying an internet protocol address of the second operator network to a certificate issuing server of the first operator network.
In one embodiment, the step of determining whether the first network type corresponding to the first operator network is inferior to the second network type corresponding to the second operator network according to the service type includes:
determining a first adaptation degree of a first network type corresponding to a first operator network and a service type according to time delay, jitter, bandwidth and packet loss rate corresponding to the first network type corresponding to the first operator network; and the number of the first and second groups,
determining a second adaptation degree of a second network type corresponding to a second operator network and the service type according to the time delay, the jitter, the bandwidth and the packet loss rate corresponding to the second network type corresponding to the second operator network;
and determining whether the first network type corresponding to the first operator network is inferior to the second network type corresponding to the second operator network according to the size relation between the first adaptation degree and the second adaptation degree.
Based on the same inventive concept, the embodiment of the present disclosure further provides a terminal device operator network switching apparatus, where the terminal device operator network switching apparatus is applied to a terminal device configured with subscriber identity cards of multiple operators, and as shown in fig. 4, the terminal device operator network switching apparatus 400 includes:
a sending module 410, configured to send a UE authentication request carrying an internet protocol address of a second operator network to a certificate issue server of a first operator network if it is determined that the signal strength of a currently connected first operator network is lower than the signal strength of any second operator network of multiple operators, so that the certificate issue server of the first operator network forwards the UE authentication request to a certificate issue server corresponding to the second operator network according to the internet protocol address, and the certificate issue servers of multiple operators perform authentication through CA certificates;
a receiving module 420, configured to receive a second UE certificate sent by a certificate issuing server of a second operator network for a UE authentication request, where the second UE certificate carries cell information and network system frequency band information, and the second UE certificate is generated by the certificate issuing server of the second operator network performing cell allocation on a terminal device according to a terminal device position carried in the UE authentication request to obtain cell information, and determining network system frequency band information when the terminal device is connected according to network system support information carried in the UE authentication request and a control carrier frequency of a base station corresponding to the cell information;
a registration module 430, configured to register the terminal device in a cell corresponding to the second operator network according to the cell information and the network system frequency band information in the second UE certificate;
the revocation module 440 is configured to send a UE certificate revocation request to a certificate issuing server of the first operator network after the registration is successful in the cell corresponding to the second operator network, so that the certificate issuing server of the first operator network revokes the first UE certificate of the terminal device from the cell corresponding to the first operator network according to the IMS information carried in the UE certificate revocation request.
In one embodiment, the registration module 430 is configured to:
tuning the frequency of the terminal equipment to the control carrier frequency of the base station corresponding to the cell information according to the network system frequency band information, and inquiring the guide information and the code division multiple access information corresponding to the base station;
verifying a cell corresponding to the base station according to a tracking area code TAC, a location area code LAC and a cell identification CID carried in the guide information corresponding to the base station;
and under the condition that the verification is passed, connecting the terminal equipment to the second operator network according to the code division multiple access information corresponding to the base station.
In one embodiment, the signal strength includes LTE signal strength and LTE signal quality, and accordingly, the terminal device operator network switching apparatus 400 further includes: a determination module configured to:
the method comprises the steps of obtaining LTE signal strength and LTE signal quality corresponding to each operator network corresponding to a plurality of historical moments within a first preset time length corresponding to the current moment;
determining a first variation trend and a signal intensity mean value of LTE signal intensity corresponding to each operator network within a first preset time length, and determining a second variation trend and a signal quality mean value of LTE signal quality corresponding to each operator network within the first preset time length;
and predicting the LTE signal strength corresponding to each operator network within a second preset time period in the future according to the change gradient corresponding to the first change trend, and predicting the LTE signal quality corresponding to each operator network within the second preset time period according to the change gradient corresponding to the second change trend.
In one embodiment, the revocation module 440 is configured to:
after the registration is successful in the cell corresponding to the second operator network, obtaining International Mobile Subscriber Identity (IMSI) information corresponding to the terminal equipment;
writing the IMSI information, the time of a first UE certificate issued by a certificate issuing server of a first operator network and the current UTC into an SIP protocol rule chain to obtain IMS information corresponding to the terminal equipment;
and adding the IMS information to the UE certificate revocation request, and sending the UE certificate revocation request to a certificate issuing server of the first operator network so that the certificate issuing server of the first operator network stops charging according to the UE certificate revocation request.
In one embodiment, the sending module 410 is configured to:
if the signal intensity of a first operator network which is connected currently is lower than the signal intensity of any second operator network in a plurality of operators, acquiring an application program which is operated currently by the terminal equipment, and determining the service type which is operated currently by the terminal equipment according to the application program which is operated currently;
determining whether a first network type corresponding to a first operator network is inferior to a second network type corresponding to a second operator network according to the service type;
and if the first network type corresponding to the first operator network is inferior to the second network type corresponding to the second operator network, sending a UE authentication request carrying an Internet Protocol (IP) address of the second operator network to a certificate authority server of the first operator network.
In one embodiment, the sending module 410 is configured to:
determining a first adaptation degree of a first network type corresponding to a first operator network and a service type according to time delay, jitter, bandwidth and packet loss rate corresponding to the first network type corresponding to the first operator network; and the number of the first and second groups,
determining a second adaptation degree of a second network type corresponding to a second operator network and the service type according to the time delay, the jitter, the bandwidth and the packet loss rate corresponding to the second network type corresponding to the second operator network;
and determining whether the first network type corresponding to the first operator network is inferior to the second network type corresponding to the second operator network according to the size relation between the first adaptation degree and the second adaptation degree.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
It should be understood by those skilled in the art that the above-described apparatus embodiments are merely illustrative, and for example, the division of a module is only one logical function division, and in practice, the division of a module is not limited by the above-described division manner, and a plurality of modules may be combined or one module may be divided into a plurality of sub-modules.
Further, modules illustrated as separate components may or may not be physically separate. For example, the registration module 430 and the revocation module 440 may be physically the same module or different modules, and each module may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. When implemented in hardware, it may be implemented in whole or in part in the form of an integrated circuit or chip.
The embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the terminal device operator network handover method in any one of the foregoing embodiments.
An embodiment of the present disclosure further provides an electronic device, including:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the terminal device operator network handover method of any of the preceding embodiments.
The preferred embodiments of the present disclosure have been described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various changes, modifications, substitutions and alterations can be made to the embodiments within the technical spirit of the present disclosure, and all of them fall within the scope of the present disclosure.
It should be noted that the various technical features described in the above embodiments can be combined in any suitable way without contradiction, and should also be regarded as the disclosure of the present disclosure, and various possible combinations are not further described in order to avoid unnecessary repetition. The technical scope of the present application is not limited to the contents of the specification, and must be determined according to the scope of the claims.

Claims (10)

1. A terminal device operator network switching method is applied to a terminal device configured with subscriber identity cards of a plurality of operators, and comprises the following steps:
if the signal intensity of a first operator network which is connected currently is lower than the signal intensity of any second operator network in the multiple operators, sending a UE authentication request carrying an Internet connection protocol address of the second operator network to a certificate issuing server of the first operator network, so that the certificate issuing server of the first operator network forwards the UE authentication request to a certificate issuing server corresponding to the second operator network according to the Internet connection protocol address, and the certificate issuing servers of the multiple operators perform authentication through CA certificates;
receiving a second UE certificate sent by a certificate issuing server of the second operator network aiming at the UE authentication request, wherein the second UE certificate carries cell information and network system frequency band information, the UE certificate is generated by the network system frequency band information when the terminal equipment is connected according to the network system support information carried in the UE authentication request and the control carrier frequency of a base station corresponding to the cell information after the terminal equipment is subjected to cell allocation by the certificate issuing server of the second operator network according to the position of the terminal equipment carried in the UE authentication request;
registering the terminal equipment into a cell corresponding to the second operator network according to cell information and network system frequency band information in the second UE certificate;
after the registration is successful in the cell corresponding to the second operator network, sending a UE certificate revocation request to the certificate issuing server of the first operator network, so that the certificate issuing server of the first operator network revokes the first UE certificate of the terminal device from the cell corresponding to the first operator network according to the IMS information carried in the UE certificate revocation request.
2. The method for switching operator networks of terminal equipment according to claim 1, wherein the step of registering the terminal equipment in the cell corresponding to the second operator network according to the cell information and the network system frequency band information in the second UE certificate includes:
tuning the frequency of the terminal equipment to the control carrier frequency of the base station corresponding to the cell information according to the network standard frequency band information, and inquiring the guide information and the code division multiple access information corresponding to the base station;
verifying a cell corresponding to the base station according to a tracking area code TAC, a location area code LAC and a cell identification CID carried in the guiding information corresponding to the base station;
and under the condition that the verification is passed, registering the terminal equipment to a cell corresponding to the second operator network according to the code division multiple access information corresponding to the base station.
3. The method of claim 1, wherein the signal strength comprises LTE signal strength and LTE signal quality, and wherein the signal strength of the first operator network and the signal strength of any second operator network of the plurality of operators are determined by:
the method comprises the steps of obtaining LTE signal strength and LTE signal quality corresponding to each operator network corresponding to a plurality of historical moments within a first preset time length corresponding to the current moment;
determining a first variation trend and a signal intensity mean value of the LTE signal intensity corresponding to each operator network within the first preset time length, and determining a second variation trend and a signal quality mean value of the LTE signal quality corresponding to each operator network within the first preset time length;
and predicting the corresponding predicted LTE signal strength of each operator network within a second preset time period in the future according to the change gradient corresponding to the first change trend, and predicting the corresponding predicted LTE signal quality of each operator network within the second preset time period according to the change gradient corresponding to the second change trend.
4. The method for switching the terminal device operator network according to claim 1, wherein the step of sending a UE certificate revocation request to a certificate authority server of the first operator network after the registration is successful in the cell corresponding to the second operator network comprises:
after the registration is successful in the cell corresponding to the second operator network, obtaining International Mobile Subscriber Identity (IMSI) information corresponding to the terminal equipment;
writing the IMSI information, the time of the first UE certificate issued by the certificate issuing server of the first operator network and the current UTC into an SIP protocol rule chain to obtain IMS information corresponding to the terminal equipment;
adding the IMS information to the UE certificate revocation request, and sending the UE certificate revocation request to a certificate issuing server of the first operator network, so that the certificate issuing server of the first operator network stops charging according to the UE certificate revocation request.
5. The method for switching the terminal equipment operator network according to any one of claims 1 to 4, wherein if it is determined that the signal strength of the currently connected first operator network is lower than the signal strength of any one of the second operator networks in the plurality of operators, the step of sending the UE authentication request carrying the IP address of the second operator network to the certificate authority server of the first operator network includes:
if the signal intensity of the first operator network which is connected currently is lower than the signal intensity of any second operator network in the operators, acquiring the application program which is operated currently by the terminal equipment, and determining the service type which is operated currently by the terminal equipment according to the application program which is operated currently;
determining whether a first network type corresponding to a first operator network is inferior to a second network type corresponding to a second operator network according to the service type;
and if the first network type corresponding to the first operator network is inferior to the second network type corresponding to the second operator network, sending a UE authentication request carrying an internet interconnection protocol address of the second operator network to a certificate issuing server of the first operator network.
6. The method of claim 5, wherein the step of determining whether the first network type corresponding to the first operator network is inferior to the second network type corresponding to the second operator network according to the service type comprises:
determining a first adaptation degree of a first network type corresponding to the first operator network and the service type according to time delay, jitter, bandwidth and packet loss rate corresponding to the first network type corresponding to the first operator network; and the number of the first and second groups,
determining a second adaptation degree of a second network type corresponding to the second operator network and the service type according to the time delay, the jitter, the bandwidth and the packet loss rate corresponding to the second network type corresponding to the second operator network;
and determining whether the first network type corresponding to the first operator network is inferior to the second network type corresponding to the second operator network according to the size relation between the first adaptation degree and the second adaptation degree.
7. A terminal device operator network switching apparatus, wherein the apparatus is applied to a terminal device configured with subscriber identity cards of a plurality of operators, the apparatus comprising:
a sending module, configured to send a UE authentication request carrying an internet protocol address of a second operator network to a certificate issuing server of a first operator network if it is determined that signal strength of a currently connected first operator network is lower than signal strength of any second operator network of the multiple operators, so that the certificate issuing server of the first operator network forwards the UE authentication request to a certificate issuing server corresponding to the second operator network according to the internet protocol address, and the certificate issuing servers of the multiple operators perform authentication through CA certificates;
a receiving module, configured to receive a second UE certificate sent by a certificate issuing server of the second operator network for the UE authentication request, where the second UE certificate carries cell information and network system frequency band information, and the UE certificate is generated by the certificate issuing server of the second operator network performing cell allocation on the terminal device according to a terminal device position carried in the UE authentication request to obtain cell information, and determining network system frequency band information when the terminal device is connected according to network system support information carried in the UE authentication request and a control carrier frequency of a base station corresponding to the cell information;
a registration module configured to register the terminal device in a cell corresponding to the second operator network according to cell information and network system frequency band information in the second UE certificate;
a revocation module configured to send a UE certificate revocation request to a certificate issuing server of the first operator network after successful registration in the cell corresponding to the second operator network, so that the certificate issuing server of the first operator network revokes the first UE certificate of the terminal device from the cell corresponding to the first operator network according to IMS information carried in the UE certificate revocation request.
8. The terminal equipment operator network switching arrangement of claim 7, wherein the registration module is configured to:
tuning the frequency of the terminal equipment to the control carrier frequency of the base station corresponding to the cell information according to the network standard frequency band information, and inquiring the guide information and the code division multiple access information corresponding to the base station;
verifying a cell corresponding to the base station according to a tracking area code TAC, a location area code LAC and a cell identification CID carried in the guiding information corresponding to the base station;
and under the condition that the verification is passed, connecting the terminal equipment to the second operator network according to the code division multiple access information corresponding to the base station.
9. A computer-readable storage medium, on which a computer program is stored, which program, when executed by a processor, carries out the steps of the terminal equipment operator network handover method of any one of claims 1 to 6.
10. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the terminal device operator network handover method of any one of claims 1 to 6.
CN202211671101.2A 2022-12-26 2022-12-26 Terminal equipment operator network switching method, device, medium and terminal equipment Active CN115665747B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211671101.2A CN115665747B (en) 2022-12-26 2022-12-26 Terminal equipment operator network switching method, device, medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211671101.2A CN115665747B (en) 2022-12-26 2022-12-26 Terminal equipment operator network switching method, device, medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN115665747A CN115665747A (en) 2023-01-31
CN115665747B true CN115665747B (en) 2023-03-03

Family

ID=85023302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211671101.2A Active CN115665747B (en) 2022-12-26 2022-12-26 Terminal equipment operator network switching method, device, medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN115665747B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117354472A (en) * 2023-12-06 2024-01-05 北京烽火万家科技有限公司 Multi-network scheduling camera based on eSIM technology

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103518401A (en) * 2012-10-31 2014-01-15 华为终端有限公司 Network switching method and device
CN105916149A (en) * 2016-05-27 2016-08-31 努比亚技术有限公司 Operator network switching method and communication terminal
CN110121894A (en) * 2017-01-16 2019-08-13 华为技术有限公司 A kind of method for down loading, device and the relevant device of signing information collection
CN110621047A (en) * 2019-11-06 2019-12-27 Oppo(重庆)智能科技有限公司 Operator network switching method and device and computer readable storage medium
CN114040401A (en) * 2021-11-08 2022-02-11 中国联合网络通信集团有限公司 Terminal authentication method and system
CN115277001A (en) * 2022-06-20 2022-11-01 中国联合网络通信集团有限公司 Certificate distribution method, device, system and medium for co-building shared network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220086636A1 (en) * 2020-09-17 2022-03-17 T-Mobile Usa, Inc. Access point authentication based on a digital certificate

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103518401A (en) * 2012-10-31 2014-01-15 华为终端有限公司 Network switching method and device
CN105916149A (en) * 2016-05-27 2016-08-31 努比亚技术有限公司 Operator network switching method and communication terminal
CN110121894A (en) * 2017-01-16 2019-08-13 华为技术有限公司 A kind of method for down loading, device and the relevant device of signing information collection
CN110621047A (en) * 2019-11-06 2019-12-27 Oppo(重庆)智能科技有限公司 Operator network switching method and device and computer readable storage medium
CN114040401A (en) * 2021-11-08 2022-02-11 中国联合网络通信集团有限公司 Terminal authentication method and system
CN115277001A (en) * 2022-06-20 2022-11-01 中国联合网络通信集团有限公司 Certificate distribution method, device, system and medium for co-building shared network

Also Published As

Publication number Publication date
CN115665747A (en) 2023-01-31

Similar Documents

Publication Publication Date Title
US8931067B2 (en) Enabling seamless offloading between wireless local-area networks in fixed mobile convergence systems
US8407769B2 (en) Methods and apparatus for wireless device registration
JP2019503635A (en) Virtual user identification module authentication method and apparatus
KR20150000508A (en) Single-card multi-mode multi-operator authentication method and device
CN115665747B (en) Terminal equipment operator network switching method, device, medium and terminal equipment
WO2021082527A1 (en) Communication method and system, base station and terminal
CN101371598B (en) Communication system and approaches to IM
CN101621374A (en) Method, device and system for network authentication and server
WO2007078102A1 (en) Fa assignment method, fa assignment module and policy server in the wireless portable internet system
US20210345116A1 (en) Method and device for preventing user tracking, storage medium and electronic device
CN104219687A (en) Method and device for detection target network coverage
CN110086839B (en) Dynamic access method and device for remote equipment
US20150237529A1 (en) Methods and apparatus for enabling load steering in heterogeneous radio access networks
CN110572854B (en) Beam recovery method, system, base station, terminal and computer-readable storage medium
CN105682086A (en) Access method, user equipment and server
CN110730488B (en) Communication method, device, terminal and system based on block chain network
CN107786937B (en) Method for realizing mobile terminal localization roaming, mobile terminal and roaming server
US8875238B2 (en) Authentication servers
KR100945138B1 (en) System and method for limiting use of mobile communication terminal
WO2017013127A1 (en) Method for detecting remote access of a universal integrated circuit card (uicc)
CN110730511B (en) Communication method, device and system based on block chain
WO2010073210A1 (en) Method and apparatus for establishing communication channels
KR101246021B1 (en) System for Providing Authentication Service of Mobile Terminal and Method thereof
CN109219041B (en) Access control method and mobility management entity
GB2588761A (en) System and method for performing identity management

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