CN111246528A - Network switching method and electronic equipment - Google Patents
Network switching method and electronic equipment Download PDFInfo
- Publication number
- CN111246528A CN111246528A CN202010051518.3A CN202010051518A CN111246528A CN 111246528 A CN111246528 A CN 111246528A CN 202010051518 A CN202010051518 A CN 202010051518A CN 111246528 A CN111246528 A CN 111246528A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- target
- release version
- communication network
- efs file
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000004891 communication Methods 0.000 claims abstract description 137
- 230000002159 abnormal effect Effects 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 21
- 238000004590 computer program Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 210000003719 b-lymphocyte Anatomy 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 210000004027 cell Anatomy 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0055—Transmission or use of information for re-establishing the radio link
- H04W36/0066—Transmission or use of information for re-establishing the radio link of control information between different types of networks in order to establish a new radio link in the target network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W60/00—Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention provides a network switching method and electronic equipment; the network switching method comprises the following steps: under the condition that the electronic equipment is switched to a target communication network, acquiring standard Release version information matched with the target communication network; and when detecting that the electronic equipment initiates network registration or position updating, performing network registration according to the Release version information. The technical scheme provided by the invention solves the problem that the existing electronic equipment has abnormal communication caused by the condition that parameters are incompatible when some Release parameters are reported.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network switching method and an electronic device.
Background
With the development of communication technology, mobile communication has entered the 5G era, and 5G electronic devices have gradually entered people's daily life. To enable communication of a first communication network (e.g., 5G), the electronic device needs to support a protocol version above the specification Release a (e.g., Release 15). At present, although the network construction speed is accelerated, most areas are still covered by a second communication network (for example: 4G); when the electronic device is under the coverage of the second communication network, the situation of incompatible parameters may occur when some Release parameters are reported because the electronic device is not in the coverage area of the first communication network, which affects the normal second communication network service performed by the electronic device, and causes abnormal communication of the electronic device.
Disclosure of Invention
The embodiment of the invention provides a network switching method and electronic equipment, and aims to solve the problem of communication abnormity of the electronic equipment caused by the condition that parameters are incompatible when some Release parameters are reported by the conventional electronic equipment.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a network switching method, applied to an electronic device, including:
under the condition that the electronic equipment is switched to a target communication network, acquiring standard Release version information matched with the target communication network;
when detecting that the electronic equipment initiates network registration or position updating, performing network registration according to the Release version information;
wherein the Release version information at least comprises a level of a Release version.
In a second aspect, an embodiment of the present invention further provides an electronic device, including:
the acquisition module is used for acquiring the standard Release version information matched with the target communication network under the condition that the electronic equipment is switched to the target communication network;
the registration module is used for performing network registration according to the Release version information when detecting that the electronic equipment initiates the network registration or position updating;
wherein the Release version information at least comprises a level of a Release version.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when executed by the processor, the electronic device implements the steps of the network handover method according to the first aspect.
In a fourth aspect, an embodiment of the present invention further provides 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 network handover method as described in the first aspect.
In the embodiment of the invention, when the electronic equipment is switched to the target communication network, the Release version information corresponding to the target communication network is acquired, and then when the electronic equipment is detected to initiate network registration or position updating, the network registration can be carried out according to the Release version information. Therefore, when the electronic equipment is switched among different communication networks, the matched Release version information can be adjusted, the situation that Release parameters of the electronic equipment are incompatible is avoided, and the communication of the electronic equipment is smooth.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a flowchart of a network handover method according to an embodiment of the present invention;
fig. 2 is a block diagram of an electronic device according to an embodiment of the present invention;
fig. 3 is a block diagram of another electronic device provided in an embodiment of the present invention.
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 some, not all, embodiments of the present invention. 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 embodiment of the invention provides a network switching method, which is applied to electronic equipment.
Referring to fig. 1, fig. 1 is a flowchart of a network handover method according to an embodiment of the present invention, and as shown in fig. 1, the network handover method includes the following steps:
In the embodiment of the present invention, the target communication network may refer to a 3G communication network, a 4G communication network, a 5G communication network, and the like. The electronic device switching to the target communication network may refer to switching from one communication network to another, for example may refer to switching from a 4G communication network to a 5G communication network.
Optionally, in a case that the electronic device is handed over to a target communication network, the method includes:
under the condition that the electronic equipment is detected to start a target communication network function, determining that the electronic equipment is switched to a first communication network; or,
and under the condition that the electronic equipment is detected to close the target communication network function, determining that the electronic equipment is switched to a second communication network.
In this embodiment, the first communication network is a 5G communication network, and the second communication network may refer to a non-5G communication network, such as a 4G communication network or a 3G communication network. Alternatively, the electronic device may be a 5G switch provided with a virtual; when the electronic equipment is in a non-5G communication network, for example, a 4G communication network, if it is detected that the 5G switch is turned on by a user, that is, it is detected that the electronic equipment turns on a target communication network function, it is determined that the electronic equipment is switched from the 4G communication network to the 5G communication network; when the electronic equipment is in the 5G communication network, if the 5G switch is detected to be closed by a user, the electronic equipment is determined to be switched from the 5G communication network to the 4G communication network.
Of course, the electronic device may also implement the switching of the communication network by other means, for example, by identifying a SIM (Subscriber Identity Module) card of the electronic device to determine whether the electronic device is switched to the target communication network.
In the embodiment of the invention, when the electronic equipment is detected to be switched to the target communication network, the Release version information corresponding to the target communication network is acquired. Wherein the Release version information at least comprises a level of a Release version. Release may refer to a communication specification, or communication protocol; the level of the Release version may be determined by a value corresponding to the Release version, for example, the value corresponding to the Release15 version is 0xC0, the value corresponding to the Release 11 version is 0x80, and the Release version information may also refer to the value corresponding to the Release version.
In this step, the level of the Release version can be determined by the Release version information, and thus the target communication network is determined. For example, when the obtained Release version information is 0xC0, it is known that the level of the Release version is Release15 version, and it can be determined that the target communication network is the 5G communication network.
And 102, when detecting that the electronic equipment initiates network registration or position updating, performing network registration according to the Release version information.
It should be noted that the initiation of network registration by the electronic device may refer to establishment of connection between the electronic device and the communication base station to implement data transmission; the location update of the electronic device may refer to a change in location of the electronic device between different base station coverage cells, e.g., from an a-cell to a B-cell.
In the embodiment of the invention, when the electronic equipment is detected to initiate network registration or position updating, the electronic equipment performs network registration according to the determined target communication network and the Release version information.
Specifically, when a modem DS (Data Services, Data service) module in the electronic device notifies a modem NAS (Non Access Stratum) module to initiate network registration or TAU (Tracking area update), the modem NAS module reads Release version information when assembling a capability IE (electronic device capability related parameter set) carried by the network registration or location update, and then performs network registration according to the Release version information.
Optionally, the performing network registration according to the Release version information includes:
adding a Release parameter corresponding to the target Release version in the electronic equipment capability related parameter set under the condition that the level of the Release version is greater than or equal to that of the target Release version, and performing network registration; or,
and under the condition that the level of the Release version is smaller than the target Release version, not adding a Release parameter corresponding to the target Release version in the electronic equipment capability related parameter set, and performing network registration.
Alternatively, the target Release version may refer to Release15 version.
In the embodiment of the invention, after acquiring the Release version information matched with the target communication network, the electronic equipment can determine the level of the corresponding Release version according to the Release version information, and further judge whether the level of the Release version is greater than or equal to the target Release version.
For example, the target Release version refers to a Release15 version, and if the level of the Release version is a Release15 version, adding a Release parameter corresponding to the Release15 version in an electronic device capability related parameter set (capability IE) carried by the modem NAS module assembly network registration or location update, and performing network registration, for example, initiating network registration through the modem NAS module.
If the level of the Release version is less than the Release15 version, for example, the level of the Release version is the Release 11 version, then no Release parameter corresponding to the Release15 version is added to an electronic device capability related parameter set (capability IE) carried by the modem NAS module assembly network registration or location update, and the electronic device may not carry related parameters of the Release15 version, but may carry related parameters corresponding to the Release 11 version, and then network registration is performed.
According to the technical scheme provided by the embodiment of the invention, when the electronic equipment is switched to the target communication network, the Release version information matched with the target communication network is obtained, namely the level of the Release version can be obtained, and further, when the electronic equipment is detected to initiate network registration or position updating, the network registration can be carried out according to the Release version information. Therefore, when the electronic equipment is switched among different communication networks, the matched Release version information can be adjusted, the situation that Release parameters of the electronic equipment are incompatible is avoided, and the communication of the electronic equipment is smooth.
For example, the electronic device is a 5G mobile phone, and in the prior art, when the 5G mobile phone is in a base station of only a 4G communication network, SRVCC (single radio Voice Call Continuity) function of a Voice over Long-Term Evolution Voice bearer (lte) service is abnormal, because the 5G mobile phone supports Release15 version, when requesting for 4G network registration in the base station of the 4G communication network, related parameters of Release15 version may be carried, and the network is incompatible, which may cause the 5G mobile phone to be abnormal in function. In the scheme provided by the embodiment of the invention, because the electronic equipment can acquire the Release version information matched with the target communication network when being switched to the target communication network, namely, the 5G mobile phone can acquire the Release version information matched with the 4G communication network when being switched to the 4G communication network, and then the 5G mobile phone performs 4G communication network registration according to the Release version information matched with the 4G communication network, because the 5G mobile phone does not carry related parameters of the Release15 version, the situation of network incompatibility can not occur, and the normal communication of the 5G mobile phone under the 4G communication network is ensured.
Optionally, the obtaining Release version information corresponding to the target communication network in step 101 may include:
acquiring an EFS file parameter set of the embedded file system matched with the target communication network; the EFS file parameter set includes: the path of the EFS file, the EFS file name and the Release version information.
In this case, the step 102 may further include:
generating a target EFS file according to the EFS file parameter set;
and replacing the EFS file of the electronic equipment with the target EFS file based on the path of the EFS file.
That is to say, when the electronic device is switched to the target communication network, the path of an EFS (Embedded File System) File, the EFS File name, and the Release version information that match the target communication network are obtained, the target EFS File is generated, and the EFS File of the electronic device is replaced with the target EFS File based on the path of the EFS File.
For example, when it is detected that the electronic device is switched from the 4G communication network to the 5G communication network, the electronic device obtains three parameters of a path of the EFS file corresponding to the Release version file, an EFS file name (lte _3gpp _ Release _ ver), and a value corresponding to the Release version (for example, the Release15 value is 0xC0), generates the EFS file, and places the EFS file into the corresponding EFS file system directory to replace the original EFS file according to the path of the EFS file therein. Therefore, after the electronic equipment is switched to the 5G communication network, the EFS file is correspondingly adjusted to the Release15 version matched with the 5G communication network, so that normal communication of the electronic equipment under the 5G communication network is ensured.
Or, if it is detected that the electronic device is switched from the 5G communication network to the 4G communication network, the electronic device obtains three parameters of a path of the matched EFS file, an EFS file name (lte _3gpp _ Release _ ver), and a value corresponding to a Release version (for example, a Release 11 value is 0x80), generates an EFS file, and places the EFS file into a corresponding EFS file system directory to replace the original EFS file according to the EFS file path therein. Thus, even the electronic equipment with the 5G communication function can be adjusted to the Release version corresponding to the 4G communication network after being switched to the 4G communication network, so that the situation that Release parameters are incompatible is avoided, and normal communication of the electronic equipment under the 4G communication network is ensured.
Further, after replacing the EFS file of the electronic device with the target EFS file based on the EFS file path, the method may further include:
and updating the RRC parameter according to the target EFS file.
Optionally, after the electronic device is replaced with the target EFS file, the modem EFS file system module may notify a modem RRC (Radio Resource Control) module to update parameters, and the modem RRC module reads the Release version EFS file corresponding to the target communication network again to update RRC parameters. Therefore, the target communication network is switched by the electronic equipment, and after the Release version information matched with the target communication network is adjusted, other parameters related to Release in the electronic equipment can be correspondingly adjusted to ensure normal communication of the electronic equipment.
Referring to fig. 2, fig. 2 is a structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 2, the electronic device 200 includes:
an obtaining module 201, configured to obtain, when the electronic device is switched to a target communication network, standard Release version information matched with the target communication network;
a registration module 202, configured to perform network registration according to the Release version information when it is detected that the electronic device initiates network registration or location update;
wherein the Release version information at least comprises a level of a Release version.
Optionally, the registration module 202 is further configured to:
adding a Release parameter corresponding to the target Release version in the electronic equipment capability related parameter set under the condition that the level of the Release version is greater than or equal to that of the target Release version, and performing network registration; or,
and under the condition that the level of the Release version is smaller than the target Release version, not adding a Release parameter corresponding to the target Release version in the electronic equipment capability related parameter set, and performing network registration.
Optionally, the obtaining module 201 is further configured to:
acquiring an EFS file parameter set of the embedded file system matched with the target communication network; the EFS file parameter set includes: the path of the EFS file, the EFS file name and the Release version information;
the electronic device 200 further includes:
the generating module is used for generating a target EFS file according to the EFS file parameter set;
and the replacing module is used for replacing the EFS file of the electronic equipment with the target EFS file based on the path of the EFS file.
Optionally, the electronic device 200 further includes:
and the updating module is used for updating the radio resource control RRC parameter according to the target EFS file.
Optionally, the obtaining module 201 is further configured to:
under the condition that the electronic equipment is detected to start a target communication network function, determining that the electronic equipment is switched to a first communication network; or,
and under the condition that the electronic equipment is detected to close the target communication network function, determining that the electronic equipment is switched to a second communication network.
It should be noted that the electronic device 200 can implement each process of the network switching method embodiment described in fig. 1, and can achieve the same technical effect, and for avoiding repetition, details are not described here again.
In the technical solution provided in the embodiment of the present invention, when the electronic device 200 is switched to the target communication network, Release version information matched with the target communication network is obtained, and when it is detected that the electronic device 200 initiates network registration or location update, network registration can be performed according to the Release version information. Therefore, when the electronic device 200 is switched among different communication networks, the matched Release version information can be adjusted, the situation that Release parameters of the electronic device 200 are incompatible is avoided, and the smooth communication of the electronic device is ensured.
Referring to fig. 3, fig. 3 is a structural diagram of another electronic device for implementing the embodiment of the present invention, and the electronic device 300 can implement each process of the embodiment of the network switching method described in fig. 1 and achieve the same technical effect. As shown in fig. 3, electronic device 300 includes, but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310, and power supply 311. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 3 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, a pedometer, and the like.
Wherein, the processor 310 is configured to:
under the condition that the electronic equipment is switched to a target communication network, acquiring Release version information matched with the target communication network;
when detecting that the electronic equipment initiates network registration or position updating, performing network registration according to the Release version information;
wherein the Release version information at least comprises a level of a Release version.
Wherein, the processor 310 is further configured to:
adding a Release parameter corresponding to the target Release version in the electronic equipment capability related parameter set under the condition that the level of the Release version is greater than or equal to that of the target Release version, and performing network registration; or,
and under the condition that the level of the Release version is smaller than the target Release version, not adding a Release parameter corresponding to the target Release version in the electronic equipment capability related parameter set, and performing network registration.
Wherein, the processor 310 is further configured to:
acquiring an EFS file parameter set of the embedded file system matched with the target communication network; the EFS file parameter set includes: the path of the EFS file, the EFS file name and the Release version information;
generating a target EFS file according to the EFS file parameter set;
and replacing the EFS file of the electronic equipment with the target EFS file based on the path of the EFS file.
Wherein, the processor 310 is further configured to:
and updating the RRC parameter according to the target EFS file.
Wherein, the processor 310 is further configured to:
under the condition that the electronic equipment is detected to start a target communication network function, determining that the electronic equipment is switched to a first communication network; or,
and under the condition that the electronic equipment is detected to close the target communication network function, determining that the electronic equipment is switched to a second communication network.
In the embodiment of the present invention, when the electronic device 300 is switched to the target communication network, the Release version information matched with the target communication network is obtained, and when it is detected that the electronic device 300 initiates network registration or location update, network registration can be performed according to the Release version information. Therefore, when the electronic device 300 is switched among different communication networks, the matched Release version information can be adjusted, the situation that Release parameters of the electronic device 300 are incompatible is avoided, and the smooth communication of the electronic device is ensured.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 301 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 310; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 301 can also communicate with a network and other devices through a wireless communication system.
The electronic device 300 provides wireless broadband internet access to the user via the network module 302, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output as sound. Also, the audio output unit 303 may also provide audio output related to a specific function performed by the electronic apparatus 300 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.
The input unit 304 is used to receive audio or video signals. The input Unit 304 may include a Graphics Processing Unit (GPU) 3041 and a microphone 3042, and the Graphics processor 3041 processes image data of a still image or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 306. The image frames processed by the graphic processor 3041 may be stored in the memory 309 (or other computer-readable storage medium) or transmitted via the radio frequency unit 301 or the network module 302. The microphone 3042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 301 in case of the phone call mode.
The electronic device 300 also includes at least one sensor 305, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 3031 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 3031 and/or the backlight when the electronic device 300 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 305 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 306 is used to display information input by the user or information provided to the user. The Display unit 306 may include a Display panel 3031, and the Display panel 3031 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 307 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device 300. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 3071 (e.g., operations by a user on or near the touch panel 3071 using a finger, a stylus, or any suitable object or attachment). The touch panel 3071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 310, and receives and executes commands sent by the processor 310. In addition, the touch panel 3071 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 307 may include other input devices 3072 in addition to the touch panel 3071. Specifically, the other input devices 3072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 3071 can be overlaid on the display panel 3031, and when the touch panel 3071 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 310 to determine the type of the touch event, and then the processor 310 provides a corresponding visual output on the display panel 3031 according to the type of the touch event. Although in fig. 3, the touch panel 3071 and the display panel 3031 are implemented as two independent components to implement the input and output functions of the electronic device 300, in some embodiments, the touch panel 3071 and the display panel 3031 may be integrated to implement the input and output functions of the electronic device 300, which is not limited herein.
The interface unit 308 is an interface for connecting an external device to the electronic apparatus 300. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 308 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 300 or may be used to transmit data between the electronic apparatus 300 and the external device.
The memory 309 may be used to store software programs as well as various data. The memory 309 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 309 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 310 is a control center of the electronic device 300, connects various parts of the entire electronic device 300 using various interfaces and lines, and performs various functions of the electronic device 300 and processes data by operating or executing software programs and/or modules stored in the memory 309 and calling data stored in the memory 309, thereby performing overall monitoring of the electronic device 300. Processor 310 may include one or more processing units; preferably, the processor 310 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 310.
The electronic device 300 may further include a power supply 311 (such as a battery) for supplying power to various components, and preferably, the power supply 311 may be logically connected to the processor 310 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 300 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the foregoing network switching method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing network handover method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A network switching method is applied to electronic equipment and is characterized by comprising the following steps:
under the condition that the electronic equipment is switched to a target communication network, acquiring standard Release version information matched with the target communication network;
when detecting that the electronic equipment initiates network registration or position updating, performing network registration according to the Release version information;
wherein the Release version information at least comprises a level of a Release version.
2. The method according to claim 1, wherein the performing network registration according to the Release version information comprises:
adding a Release parameter corresponding to the target Release version in the electronic equipment capability related parameter set under the condition that the level of the Release version is greater than or equal to that of the target Release version, and performing network registration; or,
and under the condition that the level of the Release version is smaller than the target Release version, not adding a Release parameter corresponding to the target Release version in the electronic equipment capability related parameter set, and performing network registration.
3. The method of claim 1, wherein the obtaining Release version information matching the target communication network comprises:
acquiring an EFS file parameter set of the embedded file system matched with the target communication network; the EFS file parameter set includes: the path of the EFS file, the EFS file name and the Release version information;
when detecting that the electronic equipment initiates network registration or location update, before performing network registration according to the Release version information, the method further includes:
generating a target EFS file according to the EFS file parameter set;
and replacing the EFS file of the electronic equipment with the target EFS file based on the path of the EFS file.
4. The method of claim 3, wherein after replacing the EFS file of the electronic device with the target EFS file based on the EFS file path, the method further comprises:
and updating the RRC parameter according to the target EFS file.
5. The method according to claim 1, wherein in case of the electronic device switching to a target communication network, comprising:
under the condition that the electronic equipment is detected to start a target communication network function, determining that the electronic equipment is switched to a first communication network; or,
and under the condition that the electronic equipment is detected to close the target communication network function, determining that the electronic equipment is switched to a second communication network.
6. An electronic device, comprising:
the acquisition module is used for acquiring the standard Release version information matched with the target communication network under the condition that the electronic equipment is switched to the target communication network;
the registration module is used for performing network registration according to the Release version information when detecting that the electronic equipment initiates the network registration or position updating;
wherein the Release version information at least comprises a level of a Release version.
7. The electronic device of claim 6, wherein the registration module is further configured to:
adding a Release parameter corresponding to the target Release version in the electronic equipment capability related parameter set under the condition that the level of the Release version is greater than or equal to that of the target Release version, and performing network registration; or,
and under the condition that the level of the Release version is smaller than the target Release version, not adding a Release parameter corresponding to the target Release version in the electronic equipment capability related parameter set, and performing network registration.
8. The electronic device of claim 6, wherein the acquisition module is further configured to:
acquiring an EFS file parameter set of the embedded file system matched with the target communication network; the EFS file parameter set includes: the path of the EFS file, the EFS file name and the Release version information;
the electronic device further includes:
the generating module is used for generating a target EFS file according to the EFS file parameter set;
and the replacing module is used for replacing the EFS file of the electronic equipment with the target EFS file based on the path of the EFS file.
9. The electronic device of claim 8, further comprising:
and the updating module is used for updating the radio resource control RRC parameter according to the target EFS file.
10. The electronic device of claim 6, wherein the acquisition module is further configured to:
under the condition that the electronic equipment is detected to start a target communication network function, determining that the electronic equipment is switched to a first communication network; or,
and under the condition that the electronic equipment is detected to close the target communication network function, determining that the electronic equipment is switched to a second communication network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010051518.3A CN111246528A (en) | 2020-01-17 | 2020-01-17 | Network switching method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010051518.3A CN111246528A (en) | 2020-01-17 | 2020-01-17 | Network switching method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111246528A true CN111246528A (en) | 2020-06-05 |
Family
ID=70867133
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010051518.3A Pending CN111246528A (en) | 2020-01-17 | 2020-01-17 | Network switching method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111246528A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111918372A (en) * | 2020-08-11 | 2020-11-10 | 珠海格力电器股份有限公司 | Communication method and device |
WO2023020333A1 (en) * | 2021-08-20 | 2023-02-23 | 花瓣云科技有限公司 | Application control method and system, and electronic device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101790208A (en) * | 2009-01-23 | 2010-07-28 | 华为技术有限公司 | Mobile management method and mobile terminal thereof |
CN106658558A (en) * | 2016-10-31 | 2017-05-10 | 努比亚技术有限公司 | Network self-adaptation method and apparatus, and mobile terminal |
CN108632924A (en) * | 2017-03-24 | 2018-10-09 | 电信科学技术研究院 | A kind of method for handover control, device, base station and core net |
CN109474965A (en) * | 2018-11-28 | 2019-03-15 | 维沃移动通信有限公司 | A kind of method for switching network and terminal device |
-
2020
- 2020-01-17 CN CN202010051518.3A patent/CN111246528A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101790208A (en) * | 2009-01-23 | 2010-07-28 | 华为技术有限公司 | Mobile management method and mobile terminal thereof |
CN106658558A (en) * | 2016-10-31 | 2017-05-10 | 努比亚技术有限公司 | Network self-adaptation method and apparatus, and mobile terminal |
CN108632924A (en) * | 2017-03-24 | 2018-10-09 | 电信科学技术研究院 | A kind of method for handover control, device, base station and core net |
CN109474965A (en) * | 2018-11-28 | 2019-03-15 | 维沃移动通信有限公司 | A kind of method for switching network and terminal device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111918372A (en) * | 2020-08-11 | 2020-11-10 | 珠海格力电器股份有限公司 | Communication method and device |
WO2023020333A1 (en) * | 2021-08-20 | 2023-02-23 | 花瓣云科技有限公司 | Application control method and system, and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108200632B (en) | Method for accessing terminal to LTE network and terminal | |
CN110944355B (en) | Information reporting method, receiving method, terminal and network equipment | |
CN111800833B (en) | Communication processing method, device, equipment and medium | |
CN109819489B (en) | Terminal calling method and terminal | |
CN111182563B (en) | Wireless capability identifier transmission method, terminal equipment and network node | |
CN108495349B (en) | Switching method of operator network and mobile terminal | |
CN108282834B (en) | Method for accessing terminal to LTE network and terminal | |
CN108282759B (en) | Service processing method and mobile communication terminal | |
CN111615156A (en) | Switching method and terminal | |
CN111479309A (en) | Service processing method, user equipment and computer readable storage medium | |
CN111131885A (en) | Play control method and electronic equipment | |
CN110636641B (en) | CA configuration information processing method and terminal | |
CN111436090A (en) | P L MN synchronization method, terminal and storage medium | |
CN109151741B (en) | Multimedia message receiving method and terminal | |
US12137381B2 (en) | Random access method and terminal | |
CN111246528A (en) | Network switching method and electronic equipment | |
JP7519432B2 (en) | Handover arrangement method, network device, and terminal device | |
CN110798873A (en) | Voice service registration method and electronic equipment | |
CN110990029A (en) | Application processing method and electronic equipment | |
CN111315039A (en) | Integrity protection failure processing method and terminal | |
CN113068135B (en) | Multicast service processing method, multicast service configuration method and related equipment | |
CN110995816B (en) | Sharing method and electronic device | |
CN111615158B (en) | Updating method, reconstruction request processing method, terminal and network equipment | |
CN111158929A (en) | Application processing method and electronic equipment | |
CN110366273B (en) | Communication method and related equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200605 |