WO2021244258A1 - Mobile network recovery method and apparatus for terminal, and terminal and storage medium - Google Patents

Mobile network recovery method and apparatus for terminal, and terminal and storage medium Download PDF

Info

Publication number
WO2021244258A1
WO2021244258A1 PCT/CN2021/093847 CN2021093847W WO2021244258A1 WO 2021244258 A1 WO2021244258 A1 WO 2021244258A1 CN 2021093847 W CN2021093847 W CN 2021093847W WO 2021244258 A1 WO2021244258 A1 WO 2021244258A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile network
network
terminal
access point
mobile
Prior art date
Application number
PCT/CN2021/093847
Other languages
French (fr)
Chinese (zh)
Inventor
郭仪
胡斌
Original Assignee
北京字节跳动网络技术有限公司
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 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Publication of WO2021244258A1 publication Critical patent/WO2021244258A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point

Definitions

  • the present disclosure relates to the technical field of smart terminals, and in particular to a method, device, terminal, and storage medium for recovering a mobile network of a terminal.
  • mobile terminals such as mobile phones cannot use WiFi outdoors, they often use cellular mobile networks (mobile networks for short) to access the network by connecting to base stations.
  • mobile terminals such as mobile phones can connect to the base station without problems, that is, the mobile phone can receive mobile network signals normally.
  • the mobile network cannot be used. It is usually manifested as the cellular data icon such as 3G icon, 4G icon or GPRS icon displayed on the mobile phone. The mobile network signal is strong, but the mobile network cannot be used.
  • the user resumes mobile network communication by manually restarting the mobile phone, or first turning on the airplane mode and then turning off the airplane mode.
  • the above solution essentially restarts the modem communication module of the mobile phone.
  • it takes a long time to restore network communication.
  • the present disclosure provides a method, device, terminal and storage medium for recovering a mobile network of a terminal.
  • the present disclosure adopts the following technical solutions.
  • the present disclosure provides a method for recovering a mobile network of a terminal, including:
  • Switching the network access point of the mobile network includes: determining a target network access point different from the current network access point according to the mobile network operator of the terminal, and using the target network access point as the mobile network Network access point;
  • the present disclosure provides a mobile network recovery device for a terminal, including:
  • the response unit is used to respond to mobile network repair instructions
  • the control unit is used to switch the network access point of the mobile network and update the network address of the terminal;
  • control unit switching the network access point of the mobile network includes: determining a target network access point different from the current network access point according to the mobile network operator of the terminal, and using the target network to access The point serves as the network access point of the mobile network.
  • the present disclosure provides a terminal, including: at least one memory and at least one processor;
  • the memory is used to store program code
  • the processor is used to call the program code stored in the memory to execute the above-mentioned method.
  • the present disclosure provides a storage medium, the storage medium is used to store program code, and the program code is used to execute the above-mentioned method.
  • the embodiment of the present disclosure provides a method for recovering a mobile network of a terminal, which switches the network access point according to the mobile network operator of the terminal, re-establishes a connection with the mobile network by switching the network access point of the mobile network, and obtains an updated network address , So as to achieve the purpose of restoring the network and achieving access to the network.
  • the repair speed of the mobile network is accelerated, and the waiting time of the user is reduced.
  • Fig. 1 is a flowchart of a method for recovering a mobile network of a terminal according to an embodiment of the present disclosure.
  • Fig. 2 is a flow interaction diagram of a method for recovering a mobile network of a terminal according to an embodiment of the present disclosure.
  • Fig. 3 is a composition diagram of a mobile network recovery device of a terminal according to an embodiment of the present disclosure.
  • Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • Cellular mobile network referred to as mobile network
  • mobile network common cellular mobile network types are: GSM network, CDMA network, 3G network, 4G network, 5G network, FDMA, TDMA, PDC, TACS, AMPS, etc.
  • Smart terminals such as mobile phones often use mobile networks to surf the Internet when WiFi cannot be used to obtain network resources or communicate with devices on other networks.
  • a terminal such as a mobile phone can receive a signal from a mobile network, it will often display corresponding icons on the mobile phone, such as a GPRS icon, a 3G icon, a 4G icon, etc.
  • the mobile network can generally be used at this time. However, sometimes mobile phones and other terminals can receive mobile network signals but cannot use mobile networks.
  • Fig. 1 is a flowchart of a method for recovering a mobile network of a terminal according to an embodiment of the present disclosure. As shown in Fig. 1, the method for recovering a mobile network of a terminal in some embodiments of the present disclosure includes:
  • the mobile network repair instruction is used to trigger the mobile network repair function, and the mobile network of the terminal can be repaired by triggering the mobile network repair function when the terminal cannot use the mobile network, that is, when the terminal cannot access the Internet.
  • the mobile network repair instruction is manually triggered by the user. In other embodiments, the mobile network repair instruction is automatically generated by the terminal.
  • S12 Switch the network access point of the mobile network, and update the network address of the terminal.
  • switching the network access point of the mobile network includes: determining a target network access point different from the current network access point according to the mobile network operator of the terminal; using the target network access point as the network access point of the mobile network Entry point.
  • the network operators can be, for example, China Mobile, China Unicom, and China Telecom. Different network operators provide different mobile network standards and have different network access points. The access points provided by different network operators sometimes differ. It is not compatible. In addition, access to the network access point of other network operators may cause high tariffs, so it is usually switched to the target network access point provided by the mobile network operator of the terminal. For example, China Mobile provides both cmnet and cmwap as mobile network access points. If the current network access point is cmnet, cmwap can be selected as the target network access point.
  • the existing method of restarting or first turning on and then turning off the flight mode is not used, but instead uses a network access point (such as APN, Access Point) to switch the mobile network.
  • a network access point such as APN, Access Point
  • responding to the mobile network repair instruction includes: responding to a network repair instruction automatically generated when the terminal cannot use the mobile network.
  • the terminal can automatically detect whether the mobile network can be used at regular or irregular intervals. If the terminal configuration is correct (for example, the mobile cellular data function is turned on and the mobile network is not in arrears) but the mobile network cannot be used, the terminal will automatically generate Network repair instructions. In this embodiment, because the terminal automatically detects the problem that the mobile network cannot be used in a timely manner, the problem is solved as far as possible without the user noticing it, thereby reducing the user’s inability to use the mobile network. The appearance of the visit.
  • responding to the mobile network repair instruction includes: a network repair instruction automatically generated when the terminal cannot use the mobile network and the signal strength of the mobile network is not lower than a strength threshold.
  • the terminal can also automatically detect whether the mobile network can be used at regular intervals (for example, every certain period of time) or irregularly, and detect the signal strength of the mobile network, because when the signal strength of the mobile network does not reach the strength threshold If the network transmission speed is too slow, it is possible to temporarily disconnect the network. Therefore, it is necessary to check whether the signal strength reaches the strength threshold.
  • a repair indicator is set on the display interface of the terminal, and the response to the mobile network repair instruction includes: a mobile network repair instruction generated in response to a trigger operation performed on the repair indicator.
  • the repair logo can be an icon
  • the trigger operation can be a click operation. It can be set on the desktop of the terminal, or it can be set in the drop-down menu bar of the terminal, so as to facilitate the user when unable to Quickly repair the mobile network when using the mobile network.
  • the terminal For example, take the terminal for a mobile phone using the mobile network provided by China Mobile as an example.
  • a repair logo is set on the desktop of the mobile phone.
  • the user finds that the mobile phone cannot access the Internet, but the signal of the mobile phone is full, and the user passes Click the repair icon to send a network repair instruction to the terminal to start repairing the mobile network.
  • the terminal responds to the network repair instruction to switch the network access point of the mobile network.
  • the original network access point is cmnet, and the mobile network after the switch The network access point may be cmwap.
  • the terminal After the terminal switches the network access point, the terminal sends a new data connection request through the modem communication module (modem) to obtain a new IP address, thereby restoring the mobile network connection.
  • modem modem communication module
  • the method after responding to the mobile network repair instruction and before switching the network access point of the mobile network, includes: determining whether the signal strength of the mobile network is lower than the strength threshold; if the signal strength of the mobile network is low If the intensity threshold is exceeded, the first prompt message is issued. Specifically, when the signal strength of the mobile network is lower than the strength threshold, the terminal cannot establish a stable and reliable connection with the mobile network. At this time, regardless of whether the terminal’s network configuration is correct, the mobile network may not be available. Therefore, the user needs to be reminded first. , The reason for the inability to use the mobile network may be that the signal strength is too weak.
  • a method for recovering a mobile network of a terminal is characterized in that it further includes: after switching the network access point of the mobile network and updating the network address of the terminal, determining whether the terminal can use the mobile network, If the terminal still cannot use the mobile network, the network access point of the mobile network is switched again. Specifically, there may be multiple network access points on the mobile network, and there may be faulty network access points among multiple network access points. Therefore, when the mobile network cannot be used, try to access other networks as much as possible. Click to restore the mobile network connection. In some embodiments, after using the network access point provided by the mobile network operator of the terminal at least twice, the mobile network cannot be accessed. You can try to access the network access point provided by other mobile network operators.
  • the mobile network operator is temporarily unable to provide services. If the mobile network can be accessed after switching to the network access point provided by other network operators, and the mobile network strength provided by the mobile network operator of the terminal is not lower than the strength threshold, the terminal can be Of mobile network operators send notification messages, which can include system logs of network access.
  • the terminal if it cannot access the mobile network after switching network access points for n times, it can automatically detect the network access points of each network operator, and determine the network access points of each network operator Whether the mobile network can be accessed, display the network access points that can access the mobile network, and connect to the mobile network according to the selected network access point.
  • n can be not less than 2, so as to reduce the number of switching network access points.
  • the method for recovering the mobile network of the terminal further includes: if the terminal still cannot use the mobile network after switching the network access point of the mobile network for n consecutive times, sending a second prompt message, where n It is a positive integer not less than 2. Specifically, if the mobile network cannot be used after switching the network access point many times, it may be other reasons (such as a network server failure) that cause the failure to use the mobile network. At this time, the network connection cannot be restored by adjusting the terminal.
  • the second prompt message is sent if all network access points cannot use the mobile network.
  • a repair button as a repair identification can be set on the desktop of the mobile phone, but when the user finds that the mobile phone has a signal but cannot use the cellular mobile network, the mobile network repair is generated by clicking the repair button Instruction, after the Telephony module in the mobile phone detects the mobile network repair instruction, it selects a new network access point (APN) according to the mobile phone’s network operator service provider, and sends a data connection request to the modem communication module (Modem) of the terminal, The Modem then uses the new APN to establish a pdn (Public Data Network) connection with an external network (Network). After re-establishing the pdn connection, the terminal will obtain a new IP address, and the terminal data connection is successful. The mobile network connection is restored.
  • APN network access point
  • an embodiment of the present disclosure also provides a mobile network recovery device for a terminal, including:
  • the response unit 10 is used to respond to mobile network repair instructions
  • the control unit 20 is used to switch the network access point of the mobile network and update the network address of the terminal; wherein the control unit switches the network access point of the mobile network, including: determining a network access point corresponding to the current one according to the mobile network operator of the terminal The target network access point is different from the network access point, and the target network access point is used as the network access point of the mobile network.
  • the response unit 10 is configured to respond to a network repair instruction automatically generated when the terminal cannot use the mobile network.
  • the response unit 10 is configured to respond to the network repair instruction automatically generated when the terminal cannot use the mobile network and the signal strength of the mobile network is not lower than the strength threshold.
  • a repair indicator is provided on the display interface of the terminal, and the response unit is configured to respond to a mobile network repair instruction generated by executing a trigger operation on the repair indicator.
  • a reminder unit is further included for determining whether the signal strength of the mobile network is lower than the strength before the control unit 20 switches the network access point of the mobile network after the response unit 10 responds to the mobile network repair instruction Threshold; if the signal strength of the mobile network is lower than the strength threshold, send the first prompt message.
  • control unit 20 is further configured to: after switching the network access point of the mobile network and updating the network address of the terminal, determine whether the terminal can use the mobile network, if the terminal is still unable to use the mobile network , Then switch the network access point of the mobile network again.
  • it further includes a reminder unit, configured to send a second prompt message if the terminal still cannot use the mobile network after switching the network access point of the mobile network for n consecutive times, where n is not less than A positive integer of 2.
  • the relevant part can refer to the part of the description of the method embodiment.
  • the device embodiments described above are merely illustrative, and the modules described as separate modules may or may not be separate. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments. Those of ordinary skill in the art can understand and implement without creative work.
  • the mobile network recovery method and device of the terminal of the present disclosure have been described based on the embodiments and application examples.
  • the present disclosure also provides a terminal and storage medium, which are described below.
  • FIG. 4 shows a schematic structural diagram of an electronic device (such as a terminal device or a server) 800 suitable for implementing the embodiments of the present disclosure.
  • the terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (e.g. Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc.
  • the electronic device shown in the figure is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
  • the electronic device 800 may include a processing device (such as a central processing unit, a graphics processor, etc.) 801, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 802 or from a storage device 808
  • the program in the memory (RAM) 803 executes various appropriate actions and processing.
  • various programs and data required for the operation of the electronic device 800 are also stored.
  • the processing device 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804.
  • An input/output (I/O) interface 805 is also connected to the bus 804.
  • the following devices can be connected to the I/O interface 805: including input devices 806 such as touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, liquid crystal display (LCD), speakers, vibration An output device 807 such as a device; a storage device 808 such as a magnetic tape, a hard disk, etc.; and a communication device 809.
  • the communication device 809 may allow the electronic device 800 to perform wireless or wired communication with other devices to exchange data.
  • the figure shows the electronic device 800 with various devices, it should be understood that it is not required to implement or have all the devices shown. It may alternatively be implemented or provided with more or fewer devices.
  • an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 809, or installed from the storage device 808, or installed from the ROM 802.
  • the processing device 801 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
  • the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable signal medium may send, propagate or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
  • the client and server can communicate with any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium.
  • Communication e.g., communication network
  • Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (for example, the Internet), and end-to-end networks (for example, ad hoc end-to-end networks), as well as any currently known or future research and development network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
  • the aforementioned computer-readable medium carries one or more programs, and when the aforementioned one or more programs are executed by the electronic device, the electronic device is caused to execute the aforementioned method of the present disclosure.
  • the computer program code used to perform the operations of the present disclosure may be written in one or more programming languages or a combination thereof.
  • the above-mentioned programming languages include object-oriented programming languages—such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer can be connected to the user’s computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to pass Internet connection).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagram can represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logic function.
  • Executable instructions can also occur in a different order from the order marked in the drawings. For example, two blocks shown one after the other can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure can be implemented in software or hardware. Among them, the name of the unit does not constitute a limitation on the unit itself under certain circumstances.
  • exemplary types of hardware logic components include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logical device (CPLD) and so on.
  • FPGA Field Programmable Gate Array
  • ASIC Application Specific Integrated Circuit
  • ASSP Application Specific Standard Product
  • SOC System on Chip
  • CPLD Complex Programmable Logical device
  • a machine-readable medium may be a tangible medium, which may contain or store a program for use by the instruction execution system, apparatus, or device or in combination with the instruction execution system, apparatus, or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • the machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing.
  • machine-readable storage media would include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or flash memory erasable programmable read-only memory
  • CD-ROM compact disk read only memory
  • magnetic storage device or any suitable combination of the foregoing.
  • a method for recovering a mobile network of a terminal including:
  • Switching the network access point of the mobile network and updating the network address of the terminal; wherein, switching the network access point of the mobile network includes: determining a network access point different from the current network access point according to the mobile network operator of the terminal A target network access point, using the target network access point as the network access point of the mobile network.
  • a method for recovering a mobile network of a terminal Before responding to a mobile network repairing instruction, the method includes:
  • a method for recovering a mobile network of a terminal Before responding to a mobile network repairing instruction, the method includes:
  • a method for restoring a mobile network of a terminal wherein a repair identifier is set on the display interface of the terminal, and the response to the mobile network repair instruction includes: responding to the The repair identifier executes the mobile network repair instruction generated by the trigger operation.
  • a method for recovering a mobile network of a terminal After responding to a mobile network repairing instruction, before switching the network access point of the mobile network, the method includes:
  • the first prompt message is sent.
  • a method for recovering a mobile network of a terminal which further includes:
  • the network access point of the mobile network After switching the network access point of the mobile network and updating the network address of the terminal, it is determined whether the terminal can use the mobile network, and if the terminal still cannot use the mobile network, the network access point of the mobile network is switched again.
  • a method for recovering a mobile network of a terminal which further includes: if the terminal is still unable to use the mobile network after switching the network access point of the mobile network for n times, A second prompt message is sent, where n is a positive integer not less than 2. .
  • a mobile network recovery device of a terminal including:
  • the response unit is used to respond to the mobile network repair instruction
  • the control unit is used to switch the network access point of the mobile network and update the network address of the terminal;
  • control unit switching the network access point of the mobile network includes: determining a target network access point different from the current network access point according to the mobile network operator of the terminal, and using the target network to access The point serves as the network access point of the mobile network.
  • a terminal including: at least one memory and at least one processor;
  • the at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute the method described in any one of the foregoing.
  • a storage medium is provided, the storage medium is used to store program code, and the program code is used to execute the above-mentioned method.

Landscapes

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

Abstract

Provided are a mobile network recovery method and apparatus for a terminal, and a terminal and a storage medium. The mobile network recovery method for a terminal comprises: responding to a mobile network repairing instruction; and switching a network access point of a mobile network, and updating a network address of the terminal. Switching the network access point of the mobile network comprises: according to a mobile network operator of the terminal, determining a target network access point that is different from the current network access point, and using the target network access point as the network access point of the mobile network. By means of the method of the present disclosure, the repairing speed of a mobile network can be accelerated, thereby reducing a user waiting time.

Description

终端的移动网络恢复方法、装置、终端和存储介质Terminal mobile network recovery method, device, terminal and storage medium
相关申请的交叉引用Cross-references to related applications
本申请基于申请号为202010504152.0、申请日为2020年6月5日,名称为“终端的移动网络恢复方法、装置、终端和存储介质”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is filed based on the Chinese patent application with the application number 202010504152.0, the filing date of June 5, 2020, and the title "Mobile network recovery method, device, terminal and storage medium of the terminal", and claims the priority of the Chinese patent application , The entire content of the Chinese patent application is hereby incorporated into this application as a reference.
技术领域Technical field
本公开涉及智能终端技术领域,尤其涉及一种终端的移动网络恢复方法、装置、终端和存储介质。The present disclosure relates to the technical field of smart terminals, and in particular to a method, device, terminal, and storage medium for recovering a mobile network of a terminal.
背景技术Background technique
手机等移动终端在户外等不能使用WiFi的情况下,往往通过连接基站使用蜂窝移动网络(简称移动网络)访问网络,有时手机等移动终端与基站连接没有问题,即手机能正常接收移动网络信号,但却无法使用移动网络,通常表现为手机上显示有3G图标、4G图标或GPRS图标等蜂窝数据图标,移动网络信号较强,但是无法使用移动网络。When mobile terminals such as mobile phones cannot use WiFi outdoors, they often use cellular mobile networks (mobile networks for short) to access the network by connecting to base stations. Sometimes mobile terminals such as mobile phones can connect to the base station without problems, that is, the mobile phone can receive mobile network signals normally. However, the mobile network cannot be used. It is usually manifested as the cellular data icon such as 3G icon, 4G icon or GPRS icon displayed on the mobile phone. The mobile network signal is strong, but the mobile network cannot be used.
在现有技术中,用户通过手动重启手机、或者先开启飞行模式再关闭飞行模式的方式恢复移动网络通信,上述方案本质上是重启手机的调制解调通信模块。然而,无论是通过重启手机还是通过开启和关闭飞行模式,都需要花费较长的时间才能恢复网络通信。In the prior art, the user resumes mobile network communication by manually restarting the mobile phone, or first turning on the airplane mode and then turning off the airplane mode. The above solution essentially restarts the modem communication module of the mobile phone. However, whether by restarting the phone or by turning the airplane mode on and off, it takes a long time to restore network communication.
发明内容Summary of the invention
为解决现有问题,本公开提供一种终端的移动网络恢复方法、装置、终端和存储介质。In order to solve the existing problems, the present disclosure provides a method, device, terminal and storage medium for recovering a mobile network of a terminal.
本公开采用以下的技术方案。The present disclosure adopts the following technical solutions.
在一些实施例中,本公开提供一种终端的移动网络恢复方法,包括:In some embodiments, the present disclosure provides a method for recovering a mobile network of a terminal, including:
响应于移动网络修复指令;Respond to mobile network repair instructions;
切换移动网络的网络接入点,包括:根据所述终端的移动网络运营商,确定一个与当前网络接入点不同的目标网络接入点,用所述目标网络接入点作为所述移动网络的网络接入点;Switching the network access point of the mobile network includes: determining a target network access point different from the current network access point according to the mobile network operator of the terminal, and using the target network access point as the mobile network Network access point;
更新所述终端的网络地址。Update the network address of the terminal.
在一些实施例中,本公开提供一种终端的移动网络恢复装置,包括:In some embodiments, the present disclosure provides a mobile network recovery device for a terminal, including:
响应单元,用于响应于移动网络修复指令;The response unit is used to respond to mobile network repair instructions;
控制单元,用于切换移动网络的网络接入点,更新所述终端的网络地址;The control unit is used to switch the network access point of the mobile network and update the network address of the terminal;
其中,所述控制单元切换移动网络的网络接入点,包括:根据所述终端的移动网络运营商,确定一个与当前网络接入点不同的目标网络接入点,用所述目标网络接入点作为所述移动网络的网络接入点。Wherein, the control unit switching the network access point of the mobile network includes: determining a target network access point different from the current network access point according to the mobile network operator of the terminal, and using the target network to access The point serves as the network access point of the mobile network.
在一些实施例中,本公开提供一种终端,包括:至少一个存储器和至少一个处理器;In some embodiments, the present disclosure provides a terminal, including: at least one memory and at least one processor;
其中,存储器用于存储程序代码,处理器用于调用所述存储器所存储的程序代码执行上述的方法。Wherein, the memory is used to store program code, and the processor is used to call the program code stored in the memory to execute the above-mentioned method.
在一些实施例中,本公开提供一种存储介质,所述存储介质用于存储程序代码,所述程序代码用于执行上述的方法。In some embodiments, the present disclosure provides a storage medium, the storage medium is used to store program code, and the program code is used to execute the above-mentioned method.
本公开实施例提供的一种终端的移动网络恢复方法,根据终端的移动网络运营商切换网络接入点,通过切换移动网络的网络接入点与移动网络重新建立连接,获取到更新的网络地址,从而达到恢复网络的目的,实现对网络的访问,相比于现有技术中重启手机以及开关飞行模式的修复网络方式,加快了移动网络的修复速度,减少了用户等待的时间。The embodiment of the present disclosure provides a method for recovering a mobile network of a terminal, which switches the network access point according to the mobile network operator of the terminal, re-establishes a connection with the mobile network by switching the network access point of the mobile network, and obtains an updated network address , So as to achieve the purpose of restoring the network and achieving access to the network. Compared with the repairing method of restarting the mobile phone and switching the flight mode in the prior art, the repair speed of the mobile network is accelerated, and the waiting time of the user is reduced.
附图说明Description of the drawings
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,元件和元素不一定按照比例绘制。The above and other features, advantages, and aspects of the embodiments of the present disclosure will become more apparent in conjunction with the accompanying drawings and with reference to the following specific implementations. Throughout the drawings, the same or similar reference signs indicate the same or similar elements. It should be understood that the drawings are schematic and elements and elements are not necessarily drawn to scale.
图1是本公开实施例的一种终端的移动网络恢复方法的流程图。Fig. 1 is a flowchart of a method for recovering a mobile network of a terminal according to an embodiment of the present disclosure.
图2是本公开实施例的一种终端的移动网络恢复方法的流程交互图。Fig. 2 is a flow interaction diagram of a method for recovering a mobile network of a terminal according to an embodiment of the present disclosure.
图3是本公开实施例的一种终端的移动网络恢复装置的组成图。Fig. 3 is a composition diagram of a mobile network recovery device of a terminal according to an embodiment of the present disclosure.
图4是本公开实施例的电子设备的结构示意图。Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
具体实施方式detailed description
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Hereinafter, embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided for Have a more thorough and complete understanding of this disclosure. It should be understood that the drawings and embodiments of the present disclosure are only used for exemplary purposes, and are not used to limit the protection scope of the present disclosure.
应当理解,本公开的方法实施方式中记载的各个步骤可以按和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that the various steps recorded in the method embodiments of the present disclosure can be executed in parallel and/or in parallel. In addition, method implementations may include additional steps and/or omit to perform the illustrated steps. The scope of the present disclosure is not limited in this respect.
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。The term "including" and its variants as used herein are open-ended includes, that is, "including but not limited to". The term "based on" is "based at least in part on." The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments." Related definitions of other terms will be given in the following description.
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。It should be noted that the concepts of “first” and “second” mentioned in the present disclosure are only used to distinguish different devices, modules, or units, and are not used to limit the order of functions performed by these devices, modules or units. Or interdependence.
需要注意,本公开中提及的“一个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modification of "a" mentioned in the present disclosure is illustrative and not restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes, and are not used to limit the scope of these messages or information.
以下将结合附图,对本申请实施例提供的方案进行详细描述。Hereinafter, the solutions provided by the embodiments of the present application will be described in detail with reference to the accompanying drawings.
蜂窝移动网络,简称移动网络,常见的蜂窝移动网络类型有:GSM网络、CDMA网络、3G网络、4G网络、5G网络、FDMA、TDMA、PDC、TACS、AMPS等。手机等智能终端在不能使用WiFi的情况下,往往使用移动网络上网,获取网络资源或者与其他网络上的设备进行通信。当手机等终端能够接收到移动网络的信号时,往往会在手机上显示相应的图标,例如GPRS图标、3G图标、4G图标等,这时候一般能够使用移动网络。但是,有时会出现手机等终端能够接受移动网络信号,但无法使用移动网络的情况,此时移动网 络的信号强度足够强,但却无法正常上网,用户必须通过重启手机或先开在关飞行模式的方式恢复网络连接,这种方式耗费的时间较长,用户体验差,特别是在进行移动支付时,遇到网络通信故障会导致用户心情焦躁。Cellular mobile network, referred to as mobile network, common cellular mobile network types are: GSM network, CDMA network, 3G network, 4G network, 5G network, FDMA, TDMA, PDC, TACS, AMPS, etc. Smart terminals such as mobile phones often use mobile networks to surf the Internet when WiFi cannot be used to obtain network resources or communicate with devices on other networks. When a terminal such as a mobile phone can receive a signal from a mobile network, it will often display corresponding icons on the mobile phone, such as a GPRS icon, a 3G icon, a 4G icon, etc. The mobile network can generally be used at this time. However, sometimes mobile phones and other terminals can receive mobile network signals but cannot use mobile networks. At this time, the signal strength of the mobile network is strong enough, but the Internet cannot be accessed normally. The user must restart the mobile phone or turn on the airplane mode first. The way to restore the network connection, this way takes a long time, the user experience is poor, especially when making mobile payments, encountering network communication failures will cause users to feel anxious.
图1是本公开实施例的一种终端的移动网络恢复方法的流程图,如图1所示,本公开的一些实施例中终端的移动网络恢复方法,包括:Fig. 1 is a flowchart of a method for recovering a mobile network of a terminal according to an embodiment of the present disclosure. As shown in Fig. 1, the method for recovering a mobile network of a terminal in some embodiments of the present disclosure includes:
S11:响应于移动网络修复指令;S11: Respond to the mobile network repair instruction;
在一些实施例中,移动网络修复指令用于触发移动网络修复功能,在终端无法使用移动网络,即终端无法上网时可以通过触发移动网络修复功能修复终端的移动网络。在一些实施例中,移动网络修复指令由用户手动触发产生,在另一些实施例中,移动网络修复指令由终端自动产生。In some embodiments, the mobile network repair instruction is used to trigger the mobile network repair function, and the mobile network of the terminal can be repaired by triggering the mobile network repair function when the terminal cannot use the mobile network, that is, when the terminal cannot access the Internet. In some embodiments, the mobile network repair instruction is manually triggered by the user. In other embodiments, the mobile network repair instruction is automatically generated by the terminal.
S12:切换移动网络的网络接入点,更新终端的网络地址。S12: Switch the network access point of the mobile network, and update the network address of the terminal.
具体的,切换移动网络的网络接入点,包括:根据终端的移动网络运营商,确定一个与当前网络接入点不同的目标网络接入点;用目标网络接入点作为移动网络的网络接入点。具体的,网络运营商例如可以是中国移动、中国联通和中国电信,不同的网络运营商提供的移动网络制式不同,具有不同的网络接入点,不同的网络运营商提供的接入点有时并不能兼容,此外,接入其他网络运营商的网络接入点可能会造成高昂的资费,因此通常切换到终端的移动网络运营商提供的目标网络接入点。例如中国移动同时提供cmnet和cmwap作为移动网络接入点,如果当前的网络接入点为cmnet,则可以选择cmwap作为目标网络接入点。Specifically, switching the network access point of the mobile network includes: determining a target network access point different from the current network access point according to the mobile network operator of the terminal; using the target network access point as the network access point of the mobile network Entry point. Specifically, the network operators can be, for example, China Mobile, China Unicom, and China Telecom. Different network operators provide different mobile network standards and have different network access points. The access points provided by different network operators sometimes differ. It is not compatible. In addition, access to the network access point of other network operators may cause high tariffs, so it is usually switched to the target network access point provided by the mobile network operator of the terminal. For example, China Mobile provides both cmnet and cmwap as mobile network access points. If the current network access point is cmnet, cmwap can be selected as the target network access point.
对于手机等使用移动网络上网的终端而言,在开启移动网络数据服务但却无法上网时,如果不是因为终端没有移动网络的信号,那么就是核心网出现故障,给终端分配了无效的网络地址(例如IP地址),例如同一局域网的用户设备的IP地址重复,由于IP地址分配规则错误,导致终端的私有IP对应的外网的IP与其他终端的外网IP重复分配,造成终端无法正常上网,为了解决这一问题,在本公开的一些实施例中,没有采用现有的重启或是先开启再关闭飞行模式的方法,而是采用了切换移动网络的网络接入点(例如APN,Access Point Name),通过切换移动网络的网络接入点与移动网络重新建立连接,获取到新的网络地址,从而达到恢复网络的目的,采用本公开实施例中提出的方法只需要2-3秒即可实现移动网络的恢复,相比于重启手 机(通常需要1分钟以上)以及先开再关飞行模式(通常需要10秒以上)的方式,明显加快了移动网络的修复速度,减少了用户等待的时间。For mobile phones and other terminals that use the mobile network to access the Internet, when the mobile network data service is turned on but cannot access the Internet, if it is not because the terminal does not have the mobile network signal, then the core network is malfunctioning and the terminal is assigned an invalid network address ( For example, the IP address of the user equipment on the same local area network is duplicated. Due to the wrong IP address allocation rules, the external network IP corresponding to the terminal’s private IP and the external network IP of other terminals are repeatedly allocated, causing the terminal to fail to access the Internet normally. In order to solve this problem, in some embodiments of the present disclosure, the existing method of restarting or first turning on and then turning off the flight mode is not used, but instead uses a network access point (such as APN, Access Point) to switch the mobile network. Name), re-establish a connection with the mobile network by switching the network access point of the mobile network, and obtain a new network address, so as to achieve the purpose of restoring the network. The method proposed in the embodiment of the present disclosure only takes 2-3 seconds. To realize the recovery of the mobile network, compared to restarting the phone (usually more than 1 minute) and first turning on and then off the flight mode (usually more than 10 seconds), it significantly speeds up the repair speed of the mobile network and reduces the waiting time for users .
在本公开的一些实施例中,响应于移动网络修复指令,包括:响应于所述终端无法使用移动网络时自动产生的网络修复指令。在本实施例中,可以是由终端定时或不定时自动检测能否使用移动网络,如果终端的配置无误(例如:移动蜂窝数据功能打开且不欠费)但不能使用移动网络,在终端自动产生网络修复指令,在本实施例中,由于终端自动进行检测,能够及时发现无法使用移动网络的问题,尽可能在用户没有发觉的情况下将问题解决,从而减少了用户想要使用移动网络确无法访问的情况的出现。In some embodiments of the present disclosure, responding to the mobile network repair instruction includes: responding to a network repair instruction automatically generated when the terminal cannot use the mobile network. In this embodiment, the terminal can automatically detect whether the mobile network can be used at regular or irregular intervals. If the terminal configuration is correct (for example, the mobile cellular data function is turned on and the mobile network is not in arrears) but the mobile network cannot be used, the terminal will automatically generate Network repair instructions. In this embodiment, because the terminal automatically detects the problem that the mobile network cannot be used in a timely manner, the problem is solved as far as possible without the user noticing it, thereby reducing the user’s inability to use the mobile network. The appearance of the visit.
在本公开的一些实施例中,响应于移动网络修复指令,包括:响应于所述终端无法使用移动网络且所述移动网络的信号强度不低于强度阈值时自动产生的网络修复指令。在本实施例中,也可以是由终端定时(例如每隔一定时长)或不定时自动检测能否使用移动网络,并且检测移动网络的信号强度,因为在移动网络的信号强度未达到强度阈值时网络传输速度过慢很可能出现临时性断网的现象,因此需要检测信号强度是否达到强度阈值。In some embodiments of the present disclosure, responding to the mobile network repair instruction includes: a network repair instruction automatically generated when the terminal cannot use the mobile network and the signal strength of the mobile network is not lower than a strength threshold. In this embodiment, the terminal can also automatically detect whether the mobile network can be used at regular intervals (for example, every certain period of time) or irregularly, and detect the signal strength of the mobile network, because when the signal strength of the mobile network does not reach the strength threshold If the network transmission speed is too slow, it is possible to temporarily disconnect the network. Therefore, it is necessary to check whether the signal strength reaches the strength threshold.
在本公开的一些实施例中,终端的显示界面上设置有修复标识,响应于移动网络修复指令,包括:响应于对修复标识执行触发操作所产生的移动网络修复指令。在一些实施例中,修复标识可以是一个图标,触发操作可以是点击操作,可以是在终端的桌面上设置修复标识,也可以是在终端的下拉菜单栏中设置修复标识,从而方便用户在无法使用移动网络的时候快速的修复移动网络。In some embodiments of the present disclosure, a repair indicator is set on the display interface of the terminal, and the response to the mobile network repair instruction includes: a mobile network repair instruction generated in response to a trigger operation performed on the repair indicator. In some embodiments, the repair logo can be an icon, and the trigger operation can be a click operation. It can be set on the desktop of the terminal, or it can be set in the drop-down menu bar of the terminal, so as to facilitate the user when unable to Quickly repair the mobile network when using the mobile network.
举例而言,以终端为使用中国移动提供的移动网络的手机为例,手机的桌面上设置修复标识,用户在使用手机移动蜂窝数据的时候发现手机无法上网,但手机的信号满格,用户通过点击修复标识对终端发出网络修复指令开始对移动网络进行修复,此时终端响应于网络修复指令,切换移动网络的网络接入点,例如原先的网络接入点是cmnet,切换后的移动网络的网络接入点可以是cmwap,终端切换网络接入点后通过端调制解调通信模块(modem)发送新的数据连接请求,获取到新的IP地址,从而恢复移动网络连接。For example, take the terminal for a mobile phone using the mobile network provided by China Mobile as an example. A repair logo is set on the desktop of the mobile phone. When using the mobile cellular data, the user finds that the mobile phone cannot access the Internet, but the signal of the mobile phone is full, and the user passes Click the repair icon to send a network repair instruction to the terminal to start repairing the mobile network. At this time, the terminal responds to the network repair instruction to switch the network access point of the mobile network. For example, the original network access point is cmnet, and the mobile network after the switch The network access point may be cmwap. After the terminal switches the network access point, the terminal sends a new data connection request through the modem communication module (modem) to obtain a new IP address, thereby restoring the mobile network connection.
在本公开的一些实施例中,在响应于移动网络修复指令之后,在切换移动网络的网络接入点之前,包括:确定移动网络的信号强度是否低于强度阈 值;若移动网络的信号强度低于强度阈值,则发出第一提示信息。具体的,当移动网络的信号强度低于强度阈值时,终端无法与移动网络建立稳定可靠的连接,此时无论终端的网络配置是否正确,都可能无法使用移动网络,因此此时需要先提醒用户,无法使用移动网络的原因可能是信号强度太弱。In some embodiments of the present disclosure, after responding to the mobile network repair instruction and before switching the network access point of the mobile network, the method includes: determining whether the signal strength of the mobile network is lower than the strength threshold; if the signal strength of the mobile network is low If the intensity threshold is exceeded, the first prompt message is issued. Specifically, when the signal strength of the mobile network is lower than the strength threshold, the terminal cannot establish a stable and reliable connection with the mobile network. At this time, regardless of whether the terminal’s network configuration is correct, the mobile network may not be available. Therefore, the user needs to be reminded first. , The reason for the inability to use the mobile network may be that the signal strength is too weak.
在本公开的一些实施例中,终端的移动网络恢复方法,其特征在于,还包括:在切换移动网络的网络接入点,更新所述终端的网络地址之后,确定终端能否使用移动网络,若所述终端仍然无法使用移动网络,则再次切换移动网络的网络接入点。具体的,移动网络的网络接入点可能为多个,多个网络接入点中可能存在有故障的网络接入点,因此,当无法使用移动网络时应当尽可能多的尝试其他网络接入点,以恢复移动网络连接。在一些实施例中,当至少2次使用终端的移动网络运营商提供的网络接入点后仍不能访问移动网络,可尝试访问其他移动网络运营商提供的网络接入点,这样可以确认是否该移动网络运营商暂时无法提供服务,如果切换到其他网络运营商提供的网络接入点后可访问移动网络,且终端的移动网络运营商提供的移动网络强度不低于强度阈值,则可向终端的移动网络运营商发送通知消息,通知消息中可包括网络访问的系统日志。In some embodiments of the present disclosure, a method for recovering a mobile network of a terminal is characterized in that it further includes: after switching the network access point of the mobile network and updating the network address of the terminal, determining whether the terminal can use the mobile network, If the terminal still cannot use the mobile network, the network access point of the mobile network is switched again. Specifically, there may be multiple network access points on the mobile network, and there may be faulty network access points among multiple network access points. Therefore, when the mobile network cannot be used, try to access other networks as much as possible. Click to restore the mobile network connection. In some embodiments, after using the network access point provided by the mobile network operator of the terminal at least twice, the mobile network cannot be accessed. You can try to access the network access point provided by other mobile network operators. The mobile network operator is temporarily unable to provide services. If the mobile network can be accessed after switching to the network access point provided by other network operators, and the mobile network strength provided by the mobile network operator of the terminal is not lower than the strength threshold, the terminal can be Of mobile network operators send notification messages, which can include system logs of network access.
在本公开的一些实施例中,若终端连续n次切换网络接入点后仍不能访问移动网络,可以自动检测各个网络运营商的网络接入点,确定各个网络运营商的各个网络接入点是否可访问移动网络,将可访问移动网络的网络接入点展示,根据被选中的网络接入点连接移动网络。n可以不小于2,这样减少切换网络接入点的次数。In some embodiments of the present disclosure, if the terminal cannot access the mobile network after switching network access points for n times, it can automatically detect the network access points of each network operator, and determine the network access points of each network operator Whether the mobile network can be accessed, display the network access points that can access the mobile network, and connect to the mobile network according to the selected network access point. n can be not less than 2, so as to reduce the number of switching network access points.
在本公开的一些实施例中,终端的移动网络恢复方法,还包括:若连续n次切换移动网络的网络接入点后,终端仍然无法使用移动网络,则发出第二提示信息,其中,n为不小于2的正整数。具体的,在多次切换了网络接入点后仍然无法使用移动网络,则可能是其他原因(例如网络服务器故障)造成使用移动网络失败,此时无法通过调整终端来恢复网络连接。在一些实施例中,若所有网络接入点都无法使用移动网络时发出第二提示信息。In some embodiments of the present disclosure, the method for recovering the mobile network of the terminal further includes: if the terminal still cannot use the mobile network after switching the network access point of the mobile network for n consecutive times, sending a second prompt message, where n It is a positive integer not less than 2. Specifically, if the mobile network cannot be used after switching the network access point many times, it may be other reasons (such as a network server failure) that cause the failure to use the mobile network. At this time, the network connection cannot be restored by adjusting the terminal. In some embodiments, the second prompt message is sent if all network access points cannot use the mobile network.
为了更好的说明本公开实施例中提出的终端的移动网络修复方法,以下结合附图2对一种实施例中的终端的移动网络修复方法进行说明。在本实施例中,以终端为手机为例,可以在手机的桌面上设置作为修复标识的修复按 钮,但该用户发现手机有信号但是无法使用蜂窝移动网络时,通过点击修复按钮产生移动网络修复指令,手机中的Telephony模块检测到移动网络修复指令后,根据手机的网络运营服务商选择新的网络接入点(APN),并向终端的调制解调通信模块(Modem)发送数据连接请求,Modem再采用新的APN建立与外部的网络(Network)之间的pdn(公用数据网,Public Data Network)连接,在重新建立pdn连接之后,终端将获得一个新的ip地址,终端数据连接成功,移动网络连接恢复。In order to better explain the mobile network repair method of the terminal proposed in the embodiment of the present disclosure, the following describes a mobile network repair method of the terminal in an embodiment with reference to FIG. 2. In this embodiment, taking the terminal as a mobile phone as an example, a repair button as a repair identification can be set on the desktop of the mobile phone, but when the user finds that the mobile phone has a signal but cannot use the cellular mobile network, the mobile network repair is generated by clicking the repair button Instruction, after the Telephony module in the mobile phone detects the mobile network repair instruction, it selects a new network access point (APN) according to the mobile phone’s network operator service provider, and sends a data connection request to the modem communication module (Modem) of the terminal, The Modem then uses the new APN to establish a pdn (Public Data Network) connection with an external network (Network). After re-establishing the pdn connection, the terminal will obtain a new IP address, and the terminal data connection is successful. The mobile network connection is restored.
如图3所示,本公开实施例还提供一种终端的移动网络恢复装置,包括:As shown in FIG. 3, an embodiment of the present disclosure also provides a mobile network recovery device for a terminal, including:
响应单元10,用于响应于移动网络修复指令;The response unit 10 is used to respond to mobile network repair instructions;
控制单元20,用于切换移动网络的网络接入点,更新所述终端的网络地址;其中,控制单元切换移动网络的网络接入点,包括:根据终端的移动网络运营商,确定一个与当前网络接入点不同的目标网络接入点,用目标网络接入点作为移动网络的网络接入点。The control unit 20 is used to switch the network access point of the mobile network and update the network address of the terminal; wherein the control unit switches the network access point of the mobile network, including: determining a network access point corresponding to the current one according to the mobile network operator of the terminal The target network access point is different from the network access point, and the target network access point is used as the network access point of the mobile network.
在一些实施例中,响应单元10用于响应于所述终端无法使用移动网络时自动产生的网络修复指令。In some embodiments, the response unit 10 is configured to respond to a network repair instruction automatically generated when the terminal cannot use the mobile network.
在一些实施例中,响应单元10用于响应于所述终端无法使用移动网络且所述移动网络的信号强度不低于强度阈值时自动产生的网络修复指令。In some embodiments, the response unit 10 is configured to respond to the network repair instruction automatically generated when the terminal cannot use the mobile network and the signal strength of the mobile network is not lower than the strength threshold.
在一些实施例中,所述终端的显示界面上设置有修复标识,所述响应单元用于响应于对所述修复标识执行触发操作所产生的移动网络修复指令。In some embodiments, a repair indicator is provided on the display interface of the terminal, and the response unit is configured to respond to a mobile network repair instruction generated by executing a trigger operation on the repair indicator.
一些实施例中,还包括提醒单元,用于在响应单元10响应于移动网络修复指令之后,在控制单元20切换移动网络的网络接入点之前,确定所述移动网络的信号强度是否低于强度阈值;若所述移动网络的信号强度低于强度阈值,则发出第一提示信息。In some embodiments, a reminder unit is further included for determining whether the signal strength of the mobile network is lower than the strength before the control unit 20 switches the network access point of the mobile network after the response unit 10 responds to the mobile network repair instruction Threshold; if the signal strength of the mobile network is lower than the strength threshold, send the first prompt message.
一些实施例中,控制单元20还用于:在切换移动网络的网络接入点,更新所述终端的网络地址之后,确定所述终端能否使用移动网络,若所述终端仍然无法使用移动网络,则再次切换移动网络的网络接入点。In some embodiments, the control unit 20 is further configured to: after switching the network access point of the mobile network and updating the network address of the terminal, determine whether the terminal can use the mobile network, if the terminal is still unable to use the mobile network , Then switch the network access point of the mobile network again.
一些实施例中,还包括提醒单元,用于若连续n次切换所述移动网络的网络接入点后,所述终端仍然无法使用移动网络,则发出第二提示信息,其中,n为不小于2的正整数。In some embodiments, it further includes a reminder unit, configured to send a second prompt message if the terminal still cannot use the mobile network after switching the network access point of the mobile network for n consecutive times, where n is not less than A positive integer of 2.
对于装置的实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离模块说明的模块可以是或者也可以不是分开的。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。As for the device embodiment, since it basically corresponds to the method embodiment, the relevant part can refer to the part of the description of the method embodiment. The device embodiments described above are merely illustrative, and the modules described as separate modules may or may not be separate. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments. Those of ordinary skill in the art can understand and implement without creative work.
以上,基于实施例和应用例说明了本公开的终端的移动网络恢复方法及装置。此外,本公开还提供一种终端及存储介质,以下说明这些终端和存储介质。Above, the mobile network recovery method and device of the terminal of the present disclosure have been described based on the embodiments and application examples. In addition, the present disclosure also provides a terminal and storage medium, which are described below.
下面参考图4,其示出了适于用来实现本公开实施例的电子设备(例如终端设备或服务器)800的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图中示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。4, which shows a schematic structural diagram of an electronic device (such as a terminal device or a server) 800 suitable for implementing the embodiments of the present disclosure. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (e.g. Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in the figure is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
如图4所示,电子设备800可以包括处理装置(例如中央处理器、图形处理器等)801,其可以根据存储在只读存储器(ROM)802中的程序或者从存储装置808加载到随机访问存储器(RAM)803中的程序而执行各种适当的动作和处理。在RAM803中,还存储有电子设备800操作所需的各种程序和数据。处理装置801、ROM 802以及RAM 803通过总线804彼此相连。输入/输出(I/O)接口805也连接至总线804。As shown in FIG. 4, the electronic device 800 may include a processing device (such as a central processing unit, a graphics processor, etc.) 801, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 802 or from a storage device 808 The program in the memory (RAM) 803 executes various appropriate actions and processing. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804.
通常,以下装置可以连接至I/O接口805:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置806;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置807;包括例如磁带、硬盘等的存储装置808;以及通信装置809。通信装置809可以允许电子设备800与其他设备进行无线或有线通信以交换数据。虽然图中示出了具有各种装置的电子设备800,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Generally, the following devices can be connected to the I/O interface 805: including input devices 806 such as touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, liquid crystal display (LCD), speakers, vibration An output device 807 such as a device; a storage device 808 such as a magnetic tape, a hard disk, etc.; and a communication device 809. The communication device 809 may allow the electronic device 800 to perform wireless or wired communication with other devices to exchange data. Although the figure shows the electronic device 800 with various devices, it should be understood that it is not required to implement or have all the devices shown. It may alternatively be implemented or provided with more or fewer devices.
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品, 其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置809从网络上被下载和安装,或者从存储装置808被安装,或者从ROM 802被安装。在该计算机程序被处理装置801执行时,执行本公开实施例的方法中限定的上述功能。In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network through the communication device 809, or installed from the storage device 808, or installed from the ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium. The computer-readable signal medium may send, propagate or transmit the program for use by or in combination with the instruction execution system, apparatus, or device . The program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and server can communicate with any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium. Communication (e.g., communication network) interconnects. Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet (for example, the Internet), and end-to-end networks (for example, ad hoc end-to-end networks), as well as any currently known or future research and development network of.
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独 存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行上述的本公开的方法。The aforementioned computer-readable medium carries one or more programs, and when the aforementioned one or more programs are executed by the electronic device, the electronic device is caused to execute the aforementioned method of the present disclosure.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。The computer program code used to perform the operations of the present disclosure may be written in one or more programming languages or a combination thereof. The above-mentioned programming languages include object-oriented programming languages—such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language. The program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user’s computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to pass Internet connection).
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions, and operations of the system, method, and computer program product according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram can represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logic function. Executable instructions. It should also be noted that, in some alternative implementations, the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown one after the other can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。The units involved in the embodiments described in the present disclosure can be implemented in software or hardware. Among them, the name of the unit does not constitute a limitation on the unit itself under certain circumstances.
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described herein above may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that can be used include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logical device (CPLD) and so on.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium, which may contain or store a program for use by the instruction execution system, apparatus, or device or in combination with the instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
根据本公开的一个或多个实施例,提供了一种终端的移动网络恢复方法,包括:According to one or more embodiments of the present disclosure, there is provided a method for recovering a mobile network of a terminal, including:
响应于移动网络修复指令;Respond to mobile network repair instructions;
切换移动网络的网络接入点,更新所述终端的网络地址;其中,切换移动网络的网络接入点,包括:根据所述终端的移动网络运营商,确定一个与当前网络接入点不同的目标网络接入点,用所述目标网络接入点作为所述移动网络的网络接入点。Switching the network access point of the mobile network and updating the network address of the terminal; wherein, switching the network access point of the mobile network includes: determining a network access point different from the current network access point according to the mobile network operator of the terminal A target network access point, using the target network access point as the network access point of the mobile network.
根据本公开的一个或多个实施例,提供了一种终端的移动网络恢复方法,在响应于移动网络修复指令之前,包括:According to one or more embodiments of the present disclosure, a method for recovering a mobile network of a terminal is provided. Before responding to a mobile network repairing instruction, the method includes:
响应于所述终端无法使用移动网络时自动产生的网络修复指令。In response to the network repair instruction automatically generated when the terminal cannot use the mobile network.
根据本公开的一个或多个实施例,提供了一种终端的移动网络恢复方法,在响应于移动网络修复指令之前,包括:According to one or more embodiments of the present disclosure, a method for recovering a mobile network of a terminal is provided. Before responding to a mobile network repairing instruction, the method includes:
响应于所述终端无法使用移动网络且所述移动网络的信号强度不低于强度阈值时自动产生的网络修复指令。In response to a network repair instruction that is automatically generated when the terminal cannot use the mobile network and the signal strength of the mobile network is not lower than the strength threshold.
根据本公开的一个或多个实施例,提供了一种终端的移动网络恢复方法,所述终端的显示界面上设置有修复标识,所述响应于移动网络修复指令,包括:响应于对所述修复标识执行触发操作所产生的移动网络修复指令。According to one or more embodiments of the present disclosure, there is provided a method for restoring a mobile network of a terminal, wherein a repair identifier is set on the display interface of the terminal, and the response to the mobile network repair instruction includes: responding to the The repair identifier executes the mobile network repair instruction generated by the trigger operation.
根据本公开的一个或多个实施例,提供了一种终端的移动网络恢复方法,在响应于移动网络修复指令之后,在切换移动网络的网络接入点之前,包括:According to one or more embodiments of the present disclosure, there is provided a method for recovering a mobile network of a terminal. After responding to a mobile network repairing instruction, before switching the network access point of the mobile network, the method includes:
确定所述移动网络的信号强度是否低于强度阈值;Determining whether the signal strength of the mobile network is lower than a strength threshold;
若所述移动网络的信号强度低于强度阈值,则发出第一提示信息。If the signal strength of the mobile network is lower than the strength threshold, the first prompt message is sent.
根据本公开的一个或多个实施例,提供了一种终端的移动网络恢复方法,还包括:According to one or more embodiments of the present disclosure, there is provided a method for recovering a mobile network of a terminal, which further includes:
在切换移动网络的网络接入点,更新所述终端的网络地址之后,确定所述终端能否使用移动网络,若所述终端仍然无法使用移动网络,则再次切换移动网络的网络接入点。After switching the network access point of the mobile network and updating the network address of the terminal, it is determined whether the terminal can use the mobile network, and if the terminal still cannot use the mobile network, the network access point of the mobile network is switched again.
根据本公开的一个或多个实施例,提供了一种终端的移动网络恢复方法,还包括:若连续n次切换所述移动网络的网络接入点后,所述终端仍然无法使用移动网络,则发出第二提示信息,其中,n为不小于2的正整数。。According to one or more embodiments of the present disclosure, there is provided a method for recovering a mobile network of a terminal, which further includes: if the terminal is still unable to use the mobile network after switching the network access point of the mobile network for n times, A second prompt message is sent, where n is a positive integer not less than 2. .
根据本公开的一个或多个实施例,提供了一种终端的移动网络恢复装置,包括:According to one or more embodiments of the present disclosure, there is provided a mobile network recovery device of a terminal, including:
响应单元,用于响应于移动网络修复指令;The response unit is used to respond to the mobile network repair instruction;
控制单元,用于切换移动网络的网络接入点,更新所述终端的网络地址;The control unit is used to switch the network access point of the mobile network and update the network address of the terminal;
其中,所述控制单元切换移动网络的网络接入点,包括:根据所述终端的移动网络运营商,确定一个与当前网络接入点不同的目标网络接入点,用所述目标网络接入点作为所述移动网络的网络接入点。Wherein, the control unit switching the network access point of the mobile network includes: determining a target network access point different from the current network access point according to the mobile network operator of the terminal, and using the target network to access The point serves as the network access point of the mobile network.
根据本公开的一个或多个实施例,提供了一种终端,包括:至少一个存储器和至少一个处理器;According to one or more embodiments of the present disclosure, there is provided a terminal, including: at least one memory and at least one processor;
其中,所述至少一个存储器用于存储程序代码,所述至少一个处理器用于调用所述至少一个存储器所存储的程序代码执行上述中任一项所述的方法。The at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute the method described in any one of the foregoing.
根据本公开的一个或多个实施例,提供了一种存储介质,所述存储介质用于存储程序代码,所述程序代码用于执行上述的方法。According to one or more embodiments of the present disclosure, a storage medium is provided, the storage medium is used to store program code, and the program code is used to execute the above-mentioned method.
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present disclosure and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of disclosure involved in this disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, and should also cover the above technical features or technical solutions without departing from the above disclosed concept. Other technical solutions formed by arbitrarily combining the equivalent features. For example, the above-mentioned features and the technical features disclosed in the present disclosure (but not limited to) having similar functions are replaced with each other to form a technical solution.
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。In addition, although the operations are depicted in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or performed in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, although several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable subcombination.
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。Although the subject matter has been described in language specific to structural features and/or logical actions of the method, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely exemplary forms of implementing the claims.

Claims (10)

  1. 一种终端的移动网络恢复方法,其特征在于,包括:A method for recovering a mobile network of a terminal, which is characterized in that it includes:
    响应于移动网络修复指令;Respond to mobile network repair instructions;
    切换移动网络的网络接入点,更新所述终端的网络地址;Switch the network access point of the mobile network, and update the network address of the terminal;
    其中,切换移动网络的网络接入点,包括:根据所述终端的移动网络运营商,确定一个与当前网络接入点不同的目标网络接入点,用所述目标网络接入点作为所述移动网络的网络接入点。Wherein, switching the network access point of the mobile network includes: determining a target network access point different from the current network access point according to the mobile network operator of the terminal, and using the target network access point as the The network access point of the mobile network.
  2. 根据权利要求1所述的终端的移动网络恢复方法,其特征在于,响应于移动网络修复指令,包括:The method for recovering a mobile network of a terminal according to claim 1, wherein the response to the mobile network repairing instruction comprises:
    响应于所述终端无法使用移动网络时自动产生的网络修复指令。In response to the network repair instruction automatically generated when the terminal cannot use the mobile network.
  3. 根据权利要求2所述的终端的移动网络恢复方法,其特征在于,响应于移动网络修复指令,包括:The method for recovering a mobile network of a terminal according to claim 2, wherein the response to the mobile network repairing instruction comprises:
    响应于所述终端无法使用移动网络且所述移动网络的信号强度不低于强度阈值时自动产生的网络修复指令。In response to a network repair instruction that is automatically generated when the terminal cannot use the mobile network and the signal strength of the mobile network is not lower than the strength threshold.
  4. 根据权利要求1所述的终端的移动网络恢复方法,其特征在于,The method for recovering a mobile network of a terminal according to claim 1, wherein:
    所述终端的显示界面上设置有修复标识,所述响应于移动网络修复指令包括:响应于对所述修复标识执行触发操作所产生的移动网络修复指令。A repair mark is set on the display interface of the terminal, and the response to the mobile network repair instruction includes: a mobile network repair instruction generated in response to a trigger operation performed on the repair mark.
  5. 根据权利要求1所述的终端的移动网络恢复方法,其特征在于,在响应于移动网络修复指令之后,在切换移动网络的网络接入点之前,包括:The method for recovering a mobile network of a terminal according to claim 1, wherein after responding to the mobile network repairing instruction, before switching the network access point of the mobile network, the method comprises:
    确定所述移动网络的信号强度是否低于强度阈值;Determining whether the signal strength of the mobile network is lower than a strength threshold;
    若所述移动网络的信号强度低于强度阈值,则发出第一提示信息。If the signal strength of the mobile network is lower than the strength threshold, the first prompt message is sent.
  6. 根据权利要求1所述的终端的移动网络恢复方法,其特征在于,还包括:The method for recovering a mobile network of a terminal according to claim 1, further comprising:
    在切换移动网络的网络接入点,更新所述终端的网络地址之后,确定所述终端能否使用移动网络,若所述终端仍然无法使用移动网络,则再次切换移动网络的网络接入点。After switching the network access point of the mobile network and updating the network address of the terminal, it is determined whether the terminal can use the mobile network, and if the terminal still cannot use the mobile network, the network access point of the mobile network is switched again.
  7. 根据权利要求6所述的终端的移动网络恢复方法,其特征在于,还包括:若连续n次切换所述移动网络的网络接入点后,所述终端仍然无法使用移动网络,则发出第二提示信息,其中,n为不小于2的正整数。The method for recovering a mobile network of a terminal according to claim 6, further comprising: if the terminal still cannot use the mobile network after switching the network access point of the mobile network for n consecutive times, sending a second Prompt message, where n is a positive integer not less than 2.
  8. 一种终端的移动网络恢复装置,包括:A device for restoring a mobile network of a terminal includes:
    响应单元,用于响应于移动网络修复指令;The response unit is used to respond to the mobile network repair instruction;
    控制单元,用于切换移动网络的网络接入点,更新所述终端的网络地址;The control unit is used to switch the network access point of the mobile network and update the network address of the terminal;
    其中,所述控制单元切换移动网络的网络接入点,包括:根据所述终端的移动网络运营商,确定一个与当前网络接入点不同的目标网络接入点,用所述目标网络接入点作为所述移动网络的网络接入点。Wherein, the control unit switching the network access point of the mobile network includes: determining a target network access point different from the current network access point according to the mobile network operator of the terminal, and using the target network to access The point serves as the network access point of the mobile network.
  9. 一种终端,包括:A terminal including:
    至少一个存储器和至少一个处理器;At least one memory and at least one processor;
    其中,所述至少一个存储器用于存储程序代码,所述至少一个处理器用于调用所述至少一个存储器所存储的程序代码执行权利要求1至7中任一项所述的方法。Wherein, the at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute the method according to any one of claims 1 to 7.
  10. 一种存储介质,所述存储介质用于存储程序代码,所述程序代码用于执行权利要求1至7中任一项所述的方法。A storage medium, the storage medium is used to store program code, and the program code is used to execute the method according to any one of claims 1 to 7.
PCT/CN2021/093847 2020-06-05 2021-05-14 Mobile network recovery method and apparatus for terminal, and terminal and storage medium WO2021244258A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010504152.0A CN111542080B (en) 2020-06-05 2020-06-05 Mobile network recovery method and device of terminal, terminal and storage medium
CN202010504152.0 2020-06-05

Publications (1)

Publication Number Publication Date
WO2021244258A1 true WO2021244258A1 (en) 2021-12-09

Family

ID=71978254

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/093847 WO2021244258A1 (en) 2020-06-05 2021-05-14 Mobile network recovery method and apparatus for terminal, and terminal and storage medium

Country Status (2)

Country Link
CN (1) CN111542080B (en)
WO (1) WO2021244258A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111542080B (en) * 2020-06-05 2023-03-24 北京字节跳动网络技术有限公司 Mobile network recovery method and device of terminal, terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600240A (en) * 2009-05-31 2009-12-09 腾讯科技(北京)有限公司 Method, instant communication client, management server and system that a kind of many networks switch
CN101902731A (en) * 2010-06-21 2010-12-01 优视科技有限公司 Internet access method based on mobile communication equipment terminals
CN105338596A (en) * 2015-11-17 2016-02-17 小米科技有限责任公司 Data service establishing method and device
US20160095023A1 (en) * 2014-09-30 2016-03-31 Qualcomm Incorporated Reducing attach delay for a multi-sim ue
CN110868746A (en) * 2019-11-18 2020-03-06 RealMe重庆移动通信有限公司 Network switching method and device, electronic equipment and storage medium
CN111542080A (en) * 2020-06-05 2020-08-14 北京字节跳动网络技术有限公司 Mobile network recovery method and device of terminal, terminal and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909326B (en) * 2010-08-17 2014-08-13 中兴通讯股份有限公司 Selection method and device of access point
CN106257952A (en) * 2015-06-16 2016-12-28 西安中兴新软件有限责任公司 A kind of method switching mobile network and mobile terminal
CN108770027A (en) * 2018-05-28 2018-11-06 深圳市零度智控科技有限公司 Switching method, mobile terminal and the computer readable storage medium of wireless access point
CN110719616A (en) * 2019-11-04 2020-01-21 RealMe重庆移动通信有限公司 Network switching method and device, storage medium and electronic equipment
CN110708733A (en) * 2019-11-07 2020-01-17 RealMe重庆移动通信有限公司 Network connection control method and device, storage medium and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600240A (en) * 2009-05-31 2009-12-09 腾讯科技(北京)有限公司 Method, instant communication client, management server and system that a kind of many networks switch
CN101902731A (en) * 2010-06-21 2010-12-01 优视科技有限公司 Internet access method based on mobile communication equipment terminals
US20160095023A1 (en) * 2014-09-30 2016-03-31 Qualcomm Incorporated Reducing attach delay for a multi-sim ue
CN105338596A (en) * 2015-11-17 2016-02-17 小米科技有限责任公司 Data service establishing method and device
CN110868746A (en) * 2019-11-18 2020-03-06 RealMe重庆移动通信有限公司 Network switching method and device, electronic equipment and storage medium
CN111542080A (en) * 2020-06-05 2020-08-14 北京字节跳动网络技术有限公司 Mobile network recovery method and device of terminal, terminal and storage medium

Also Published As

Publication number Publication date
CN111542080A (en) 2020-08-14
CN111542080B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
US11588709B2 (en) Method, device and system for ensuring service level agreement of application
US20220261127A1 (en) Information display method and apparatus, electronic device, and computer readable medium
WO2019024604A1 (en) Method and device for associating application with network slice, and communication system
US9538445B2 (en) Communication method and apparatus for electronic device in mobile communication system
CN106155818B (en) A kind of terminal pulls the processing method and terminal and server of information
CN113660616B (en) Communication method and device for multicast/broadcast service
WO2021057526A1 (en) Disaster recovery method for gateway device, and communication device
CN110493892B (en) Network connection method and device, storage medium and communication terminal
WO2011020379A1 (en) Method and device for switching display picture layers based on mobile phone terminal
EP2680661A1 (en) Mode Switching Method and Device
US20190361740A1 (en) Function Resource Configuration Method and Device
WO2021244258A1 (en) Mobile network recovery method and apparatus for terminal, and terminal and storage medium
CN112395106A (en) Process management method, mobile terminal, and computer-readable storage medium
WO2022194212A1 (en) Calling method and apparatus and electronic device
CN115665713A (en) Multi-device communication method, device, equipment and storage medium
CN113613239B (en) Network mode switching method, network mode switching device, medium, and electronic device
CN108282804B (en) Processing method for network communication function abnormity, application processor and mobile terminal
CN112202973B (en) Terminal control method and device, electronic equipment and computer readable medium
CN108462973B (en) Processing method for network communication function abnormity, modem and mobile terminal
WO2019134077A1 (en) Method for system handover without inter-system interface, device and storage medium
WO2022083483A1 (en) Display control method and apparatus, terminal and storage medium
CN110471714B (en) Method, device, terminal and storage medium for controlling application starting
CN108322942A (en) Data transmission method, device, terminal and computer readable storage medium
CN113079550B (en) Mobile terminal control method and device and electronic equipment
CN115225966B (en) Application starting method, device, terminal equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21818736

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 31/03/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21818736

Country of ref document: EP

Kind code of ref document: A1