Network exception processing method, electronic device, apparatus, and storage medium

By determining the anomaly handling strategy based on the network anomaly type and device status information when an electronic device is in a network abnormal state, the problem of long processing time in existing technologies is solved, and the effect of rapid and automatic network recovery is achieved.

CN115696412BActive Publication Date: 2026-04-07GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-11
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

Existing network anomaly handling solutions are time-consuming and cannot meet users' needs for rapid internet access. They usually require users to manually restart or adjust modem configuration parameters.

Method used

When an electronic device is in a network abnormal state, an abnormality handling strategy is determined based on the network abnormality type and device status information, and the corresponding strategy is executed to automatically restore the network, taking into account multiple dimensions such as the status information of running services, mobility status information, and location information.

Benefits of technology

It enables automatic handling of network anomalies, rapid network recovery, reduced user intervention, and policy judgments that are more aligned with users' actual needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115696412B_ABST
    Figure CN115696412B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a network exception processing method, an electronic device, an apparatus and a storage medium. The network exception processing method can comprise: when the electronic device is in a network exception state, determining an exception processing strategy according to a network exception type and device state information; wherein the device state information comprises at least one of the following: operating service state information, movement state information and a place information; and executing the exception processing strategy. Through implementation of the method, automatic processing of network exceptions can be realized, which is conducive to rapid recovery of the network.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, in particular to a network exception processing method, an electronic device, an apparatus and a storage medium. BACKGROUND

[0002] Due to weak coverage, parameter exception and other problems on the network side, it is easy to cause network exception of the electronic device. It is found in practice that the existing exception processing scheme is mostly that the user manually forces the electronic device to restart to recover or sets the configuration parameters of the modem to recover the data service. This scheme usually takes a long time and cannot meet the requirement of the user to quickly access the network, which brings much inconvenience to the user. SUMMARY

[0003] The present application provides a network exception processing method, an electronic device, an apparatus and a storage medium, which can realize automatic processing of network exception and is beneficial to quickly recover the network.

[0004] The first aspect of the present application provides a network exception processing method, which comprises the following steps:

[0005] When the electronic device is in a network exception state, determining an exception processing strategy according to a network exception type and device state information; wherein the device state information comprises at least one of the following: operating service state information, mobile state information and place information;

[0006] Executing the exception processing strategy.

[0007] The second aspect of the present application provides a network exception processing apparatus, which comprises:

[0008] A strategy determination unit is configured to determine an exception processing strategy according to a network exception type and device state information when the electronic device is in a network exception state; wherein the device state information comprises at least one of the following: operating service state information, mobile state information and place information;

[0009] A strategy execution unit is configured to execute the exception processing strategy.

[0010] The third aspect of the present application provides an electronic device, which comprises:

[0011] A memory storing executable program codes;

[0012] and a processor coupled with the memory;

[0013] The processor invokes the executable program codes stored in the memory, and the executable program codes are executed by the processor to enable the processor to implement the method according to the first aspect of the present application.

[0014] The fourth aspect of the embodiment of the present application provides a computer readable storage medium, which stores executable program codes, and the executable program codes are executed by a processor to implement the method in the first aspect of the embodiment of the present application.

[0015] The fifth aspect of the embodiment of the present application discloses a computer program product, which, when running on a computer, causes the computer to execute the method in the first aspect of the embodiment of the present application.

[0016] The sixth aspect of the embodiment of the present application discloses an application publishing platform, which is used for publishing a computer program product, and when the computer program product runs on a computer, causes the computer to execute the method in the first aspect of the embodiment of the present application.

[0017] From the above technical solutions, the embodiment of the present application has the following advantages:

[0018] When the electronic device is in a network exception state, an exception handling strategy is determined according to a network exception type and device state information, wherein the device state information includes at least one of service operation state information, movement state information and place information, and the exception handling strategy is executed.

[0019] By implementing the method, when the network of the electronic device is in an exception state, an exception handling strategy is first determined according to a network exception type and device state information, and then the automatic processing of the network exception is realized by executing the exception handling strategy, which is conducive to quickly recovering the network without user intervention. Further, when determining the exception handling strategy, not only the network exception type is considered, but also the device state information, and this multi-dimensional strategy determination method can make the determined exception handling strategy more suitable for the actual needs of the user. BRIEF DESCRIPTION OF DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments and the prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained from these drawings.

[0021] Figure 1 is a scenario diagram of the network exception processing method disclosed by the embodiment of the present application;

[0022] Figure 2 is a flow diagram of the network exception processing method disclosed by the embodiment of the present application;

[0023] Figure 3 is another flow diagram of the network exception processing method disclosed by the embodiment of the present application;

[0024] Figure 4 is another flow diagram of the method for processing network exception disclosed by the embodiments of the present application;

[0025] Figure 5 is a structural diagram of the device for processing network exception disclosed by the embodiments of the present application;

[0026] Figure 6 is a structural diagram of the electronic device disclosed by the embodiments of the present application. DETAILED DESCRIPTION

[0027] The embodiments of the present application provide a method for processing network exception, an electronic device, a device and a storage medium, which can realize automatic processing of network exception and are beneficial to fast recovery of network.

[0028] In order to enable persons skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all should belong to the scope of protection of the present application.

[0029] It can be understood that the electronic device involved in the embodiments of the present application can include a general handheld electronic user terminal with a screen, such as a mobile phone, a smart phone, a portable terminal, a terminal, a personal digital assistant (PDA), a portable multimedia player (PMP) device, a notebook computer, a notebook (Note Pad), a wireless broadband (Wibro) terminal, a tablet computer (PC), a smart PC, a point of sales (POS) terminal and a vehicle-mounted computer, etc.

[0030] The electronic device can also include a wearable device. The wearable device can be directly worn on the user, or integrated into the clothes or accessories of the user, which is a portable electronic device. The wearable device is not only a hardware device, but also can realize powerful intelligent functions through software support and data interaction, cloud server interaction, such as computing function, positioning function, alarm function, and can also be connected with a mobile phone and various terminals. The wearable device can include but is not limited to watch type (such as watch, wrist, etc.) supported by wrist, shoes type (such as shoes, socks or other leg-wearing products) supported by feet, glass type (such as glasses, helmet, headband, etc.) supported by head, and smart clothes, backpack, walking stick, accessories and various non-mainstream product forms.

[0031] In addition, the electronic device provided by the embodiment of the present application can communicate with other devices through the near distance transmission module and the near distance communication connection established with the other devices, and can also communicate with other network devices through a communication network. The network device can be a cloud server, and the communication network can be a 5G network, a long term evolution (LTE) network, or a future-oriented communication network, which is not limited herein.

[0032] Please refer to Figure 1 , Figure 1 is a scenario diagram of the network exception processing method disclosed by the embodiment of the present application. As shown in the scenario diagram Figure 1 , the scenario diagram includes an electronic device 100, which can be the execution subject of the network exception processing method disclosed by the embodiment of the present application.

[0033] In practice, it is found that network exceptions of the electronic device 100 are usually caused by weak coverage, abnormal parameters and other problems on the network side. Existing exception processing schemes are mostly manual forced restart recovery of the electronic device 100 or setting of modem configuration parameters for data service recovery. Such schemes usually take a long time and cannot meet the requirement of users to quickly access the network, which brings great inconvenience to the users.

[0034] To solve this problem, the technical scheme can first determine an exception processing strategy according to a network exception type and device state information when the electronic device 100 is in a network exception state, and then automatically process the network exception by executing the exception processing strategy, which is beneficial to quickly recover the network without user intervention. Further, the device state information is considered when determining the exception processing strategy, which is a multi-dimensional strategy judgment method, and the determined exception processing strategy is more suitable for the actual needs of the users.

[0035] The network exception processing method disclosed by the embodiment of the present application will be further described below in combination with the following method flow diagram.

[0036] Please refer to Figure 2 , Figure 2 is a flow diagram of the network exception processing method disclosed by the embodiment of the present application. As shown in the flow diagram Figure 2 of the network exception processing method can include the following steps:

[0037] 201. When the electronic device is in a network exception state, an exception processing strategy is determined according to a network exception type and device state information. The device state information includes at least one of the following: operating service state information, mobile state information and place information.

[0038] The electronic device being in the network abnormal state means that the electronic device cannot normally browse or acquire various network data through the mobile network.

[0039] The operating service state information is used to indicate the current service details of the electronic device. The operating service state information can include service information and / or scene information. The service information is used to identify the current service of the electronic device, and the scene information is used to identify the scene to which the current service of the electronic device belongs. A plurality of scenes can be predefined on the electronic device, and the perception of the user to the network abnormality can be different in different scenes. The service information corresponding to each scene information can be customized by the user.

[0040] For example, the service information can include screen-off standby, screen-on standby, web browsing, game, video call, and the like. The screen-off standby can belong to one scene, the screen-on standby and the web browsing belong to another scene, and the game and the video call belong to another scene.

[0041] The moving state information is used to indicate whether the electronic device is currently moving or not. The moving state information can include information indicating that the electronic device is moving, or information indicating that the electronic device is stationary.

[0042] The place information is used to indicate the current place where the electronic device is located. The place information can include the category of the place. The category of the place can include a specified place and a non-specified place. The non-specified place refers to a place with relatively small influence on electromagnetic wave propagation, and the specified place refers to a place with relatively large influence on electromagnetic wave propagation. For example, the specified place can include a basement, a subway station, and the like.

[0043] In some embodiments, when the electronic device is in the network abnormal state, network abnormal information can also be acquired, and the network abnormal information can be identified to obtain the current network abnormal type of the electronic device. The network abnormal information refers to information that has been explicitly defined in the electronic device and has an explicit error code.

[0044] In some embodiments, identifying the network abnormal information to obtain the current network abnormal type of the electronic device can include identifying the network abnormal information based on a network abnormal database to obtain the current network abnormal type of the electronic device. The network abnormal database can include a plurality of network abnormal types and network abnormal information corresponding to each network abnormal type.

[0045] 202, executing the abnormal handling strategy.

[0046] In some embodiments, the abnormal handling strategy can include threshold information and interface information.

[0047] Further, the executing the exception handling strategy can include: calling an operation corresponding to the interface information according to an indication of the threshold information, to execute an operation corresponding to the exception handling strategy.

[0048] By implementing the above method, when the network of the electronic device is abnormal, first, the exception handling strategy is determined according to the network exception type and the device state information, and then the automatic processing of the network exception is realized by executing the exception handling strategy, which is beneficial to quickly recover the network without user intervention. Further, when determining the exception handling strategy, not only the network exception type is considered, but also the device state information. This multi-dimensional strategy determination method can make the determined exception handling strategy more in line with the actual needs of the user.

[0049] Please refer to Figure 3 , Figure 3 is another flowchart of the network exception processing method disclosed in the embodiments of the present application. As shown in Figure 3 The network exception processing method can include the following steps:

[0050] 301. When the electronic device is in a network exception state, a target strategy library matching the network exception type is obtained.

[0051] In some embodiments, the electronic device can pre-store an exception strategy database, and the electronic device can obtain the target strategy library matching the network exception type from the exception strategy database. It can be understood that the exception strategy database stores a plurality of network exception types and a strategy library corresponding to each type. It should be noted that the exception strategy database can be built-in in the electronic device before it is shipped, or it can be downloaded from the operation and maintenance server in advance, and the present application does not limit it.

[0052] 302. In the target strategy library, an exception handling strategy matching the device state information is found.

[0053] The target strategy library can include a plurality of exception handling strategies and device state information corresponding to each exception handling strategy.

[0054] In some embodiments, the above-mentioned plurality of network exception types can include no service, cell ping-pong, and signal drop. The signal drop refers to no 4G or 5G network.

[0055] In some embodiments, when the network exception type is cell ping-pong or signal drop, the device state information can only include operation service state information. When the network exception type is no service, the device state information can include operation service state information, mobile state information, and place information.

[0056] Further, the searching for the abnormal handling policy matching the device state information in the target policy library can include: searching for the abnormal handling policy matching the operation service state information in the target policy library when the network abnormal type is cell ping-pong or signal back-off; searching for the abnormal handling policy matching the operation service state information, the mobile state information and the place information in the target policy library when the network abnormal type is no service.

[0057] It can be understood that, when the network abnormal type is cell ping-pong or signal back-off, the target policy library stores the relationship between the operation service state information and the abnormal handling policy. When the network abnormal type is no service, the target policy library stores the relationship between the abnormal handling policy and the operation service state information, the place information and the mobile state information.

[0058] For example, the target policy library corresponding to the cell ping-pong can refer to Table 1 below:

[0059] Operate business status information Take threshold Interface Game, video call Threshold 1 Interface 3: adjust A3 threshold Screen on standby and browse web page Threshold 2 Interface 3: adjust A3 threshold Screen off standby Threshold 3 Interface 3: adjust A3 threshold

[0060] Table 1

[0061] In Table 1, the threshold refers to the threshold of the A3 measurement event reporting condition. Threshold 1 refers to the RSRP of the neighbor cell being greater than the RSRP of the serving cell by 5 dB, threshold 2 refers to the RSRP of the neighbor cell being greater than the RSRP of the serving cell by 4 dB, and threshold 3 refers to the RSRP of the neighbor cell being greater than the RSRP of the serving cell by 3 dB.

[0062] For example, the target policy library corresponding to the signal back-off can refer to Table 2 below:

[0063] Operate business status information Take threshold Interface Game, video call Threshold 1 Interface 4: fast search 5G Screen on standby and browse web page Threshold 2 Interface 4: fast search 5G Screen off standby Threshold 3 Interface 4: fast search 5G

[0064] Table 2

[0065] In Table 2, the threshold refers to the duration of no 4G or 5G network. Threshold 1 refers to 10 seconds, threshold 2 refers to 15 seconds, and threshold 2 refers to 20 seconds.

[0066] In some embodiments, the searching for the abnormal handling policy matching the operation service state information, the mobile state information and the place information in the target policy library can include: searching for a first strategy list corresponding to a specified place in the target policy library when the place information indicates that the electronic device is in the specified place; searching for a second strategy list matching the mobile state information in the first strategy list; and searching for the abnormal handling policy matching the operation service state information in the second strategy list.

[0067] For example, the diagram of the target policy library corresponding to the no service can refer to Table 3 below:

[0068] In Table 3, the threshold refers to the duration of no 4G or 5G network. Threshold 1 refers to 10 seconds, threshold 2 refers to 15 seconds, and threshold 2 refers to 20 seconds.

[0069]

[0070] Table 3

[0071] In Table 3, the threshold refers to the duration of no service, threshold 1 refers to 20 seconds, threshold 2 refers to 10 seconds, threshold 3 refers to 30 seconds, threshold 4 refers to 25 seconds, threshold 5 refers to 40 seconds, threshold 6 refers to 35 seconds, threshold 7 refers to 35 seconds, and threshold 8 refers to 40 seconds.

[0072] 303, execute the exception handling strategy.

[0073] For details of step 303, please refer to the description in step 202, which will not be repeated here.

[0074] By implementing the above method, when the network of the electronic device is abnormal, first, the exception handling strategy is determined according to the network exception type and the device state information, and then the automatic processing of the network exception is realized by executing the exception handling strategy, which is beneficial to quickly recover the network without user intervention. Further, when determining the exception handling strategy, not only the network exception type is considered, but also the device state information. This multi-dimensional strategy judgment method can make the determined exception handling strategy more suitable for the actual needs of users. Further, first, the target strategy library matching the network exception type is obtained, and then the exception handling strategy matching the device state information is searched in the target strategy library, which can effectively improve the search efficiency.

[0075] Please refer to Figure 4 , Figure 4 is another flowchart of the network exception processing method disclosed in the embodiments of the present application. As shown in Figure 4 The network exception processing method can include the following steps:

[0076] 401, determine the user's perception level of the network exception state according to the device state information.

[0077] In some embodiments, determining the user's perception level of the network exception state according to the device state information can include: determining the user's perception level of the network exception state according to the operating service state information.

[0078] In some embodiments, when the operating service state information includes service information, determining the user's perception level of the network exception state according to the operating service state information can include, but is not limited to, the following methods:

[0079] Looking up the awareness level corresponding to the service information in a pre-set awareness level table; wherein the awareness level table comprises a plurality of awareness levels and service information corresponding to each awareness level;

[0080] Or,

[0081] Determining the scene information corresponding to the service information; looking up the awareness level corresponding to the scene information in a pre-set awareness level table; wherein the awareness level table comprises a plurality of awareness levels and scene information corresponding to each awareness level.

[0082] In some embodiments, when the service information includes scene information, looking up the awareness level corresponding to the scene information in a pre-set awareness level table; wherein the awareness level table comprises a plurality of awareness levels and scene information corresponding to each awareness level.

[0083] 402. According to the network anomaly type and the awareness level, determining an abnormality handling strategy.

[0084] In some embodiments, according to the network anomaly type and the awareness level, determining an abnormality handling strategy can include: obtaining a target strategy library matching the network anomaly type; when the network anomaly type is cell ping-pong or signal back-off, looking up the abnormality handling strategy corresponding to the awareness level in the target strategy library; when the network anomaly type is no service, looking up the abnormality handling strategy corresponding to the awareness level, the place information and the moving state information in the target strategy library.

[0085] It can be understood that when the network anomaly type is cell ping-pong or signal back-off, the target strategy library stores the relationship between the awareness level and the abnormality handling strategy, and when the network anomaly type is no service, the target strategy library stores the relationship between the abnormality handling strategy and the awareness level, the place information and the moving state information.

[0086] For example, the target strategy library corresponding to cell ping-pong is shown in Table 4 below:

[0087] Perception level Take threshold Interface First perception level Threshold 1 Interface 3: adjust A3 threshold Second perception level Threshold 2 Interface 3: adjust A3 threshold Third perception level Threshold 3 Interface 3: adjust A3 threshold

[0088] Table 4

[0089] For example, the target strategy library corresponding to signal back-off is shown in Table 5 below:

[0090]

[0091]

[0092] Table 5

[0093] In some embodiments, the step of searching the target policy library for the abnormality handling policy corresponding to the current location information, the movement state information and the perception level can include: searching the target policy library for a first policy list corresponding to the specified location when the current location information indicates that the electronic device is in the specified location; searching the first policy list for a second policy list matching the movement state information; and searching the second policy list for the abnormality handling policy matching the perception level.

[0094] For example, a diagram of the target policy library corresponding to no service can be seen in Table 6 below:

[0095]

[0096] Table 6

[0097] It should be noted that the explanation of the thresholds in Tables 4-6 can refer to the description in Tables 1-3 above, which will not be repeated here.

[0098] 403. Execute the abnormality handling policy.

[0099] By implementing the above method, when the electronic device is in a network abnormality, the abnormality handling policy is first determined according to the network abnormality type and the device state information, and then the automatic processing of the network abnormality is realized by executing the abnormality handling policy, without the need for user intervention. Further, when determining the abnormality handling policy, not only the network abnormality type is considered, but also the device state information. This multi-dimensional strategy determination method can make the determined abnormality handling policy more in line with the actual needs of the user. Further, since the target policy library indicates the relationship between the abnormality handling policy and the perception level, or the relationship between the abnormality handling policy, the current location information and the movement state information. Therefore, the target policy library does not need to store complex operational service state information, which can effectively reduce the data volume of the target policy library.

[0100] Please refer to Figure 5 , Figure 5 is a structural diagram of a network abnormality processing apparatus disclosed by the embodiments of the present application. As shown in Figure 5 the processing apparatus can include a policy determination unit 501 and a policy execution unit 502; wherein:

[0101] The policy determination unit 501 is configured to determine an abnormality handling policy according to a network abnormality type and device state information when the electronic device is in a network abnormality state; wherein the device state information includes at least one of operational service state information, movement state information and current location information.

[0102] The policy execution unit 502 is configured to execute the abnormality handling policy.

[0103] In some embodiments, the policy determining unit 501 is configured to determine the abnormality handling policy according to the network abnormality type and the device state information, and the manner can include: the policy determining unit 501 is configured to obtain a target policy library matched with the network abnormality type, and search for an abnormality handling policy matched with the device state information in the target policy library.

[0104] In some embodiments, the network abnormality type includes no service, cell ping-pong, or signal drop.

[0105] In some embodiments, the policy determining unit 501 is configured to search for the abnormality handling policy matched with the device state information in the target policy library, and the manner can include: the policy determining unit 501 is configured to search for an abnormality handling policy matched with the operation service state information in the target policy library when the network abnormality type is cell ping-pong or signal drop, and search for an abnormality handling policy matched with the operation service state information, the moving state information, and the place information in the target policy library when the network abnormality type is no service.

[0106] In some embodiments, the policy determining unit 501 is configured to search for the abnormality handling policy matched with the operation service state information, the moving state information, and the place information in the target policy library when the network abnormality type is no service, and the manner can include: the policy determining unit 501 is configured to search for a first strategy list corresponding to a specified place in the target policy library when the place information indicates that the electronic device is in the specified place, wherein the specified place refers to a place that is not conducive to electromagnetic wave propagation, search for a second strategy list matched with the moving state information in the first strategy list, and search for an abnormality handling policy matched with the operation service state information in the second strategy list.

[0107] In some embodiments, the policy determining unit 501 is configured to determine the abnormality handling policy according to the network abnormality type and the device state information, and the manner can include: the policy determining unit 501 is configured to determine a perception level of the user for the network abnormality state according to the device state information, and determine the abnormality handling policy according to the network abnormality type and the perception level.

[0108] In some embodiments, the policy determining unit 501 is configured to determine the abnormality handling policy according to the network abnormality type and the perception level, and the manner can include: the policy determining unit 501 is configured to obtain a target policy library matched with the network abnormality type, search for an abnormality handling policy corresponding to the perception level in the target policy library when the network abnormality type is cell ping-pong or signal drop, and search for an abnormality handling policy corresponding to the place information, the moving state information, and the perception level in the target policy library when the network abnormality type is no service.

[0109] In some embodiments, the exception handling policy includes threshold information and interface information, and the manner in which the policy execution unit 502 is configured to execute the exception handling policy can include that the policy execution unit 502 is configured to invoke an interface corresponding to the interface information to perform an operation corresponding to the exception handling policy according to an indication of the threshold information.

[0110] Referring to Figure 6 , Figure 6 is a structural diagram of an electronic device disclosed in embodiments of the present application. As shown in Figure 6 , the electronic device can include a processor 610, a memory 620, a display unit 630, an input unit 640, a sensor 650, an audio circuit 660, and the like.

[0111] The processor 610 is the control center of the electronic device, and connects various parts of the electronic device through various interfaces and lines. The processor 610 performs various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 620 and calling data stored in the memory 620, thereby monitoring the entire electronic device. Optionally, the processor 610 can include one or more processing units. Optionally, the processor 610 can include an application processor that mainly processes operation devices, user interfaces, and application programs, and can also include other processors, which are not listed here.

[0112] The memory 620 can be used to store software programs and modules. The processor 610 performs various functions of the electronic device and processes data by running the software programs and modules stored in the memory 620. The memory 620 can mainly include a program storage area and a data storage area. The program storage area can store application programs required by at least one function (such as a sound playing function, an image playing function, and the like) and the like. The data storage area can store data created according to the use of the electronic device (such as audio data, a phone book, and the like) and the like. In addition, the memory 620 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device.

[0113] The display unit 630 can be used to display information input by a user or information provided to the user, as well as various menus of the electronic device. The display unit 630 can include a display panel, which can optionally be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, a touch panel can be overlaid on the display panel, which, when detecting a touch operation thereon or in the vicinity thereof, transmits to the processor 610 to determine the type of touch event, and then the processor 610 provides a corresponding visual output on the display panel according to the type of touch event. The touch panel and the display panel are not shown above. The touch panel and the display panel can be implemented as two independent components to realize the input and output functions of the electronic device, or the touch panel and the display panel can be integrated to realize the input and output functions of the electronic device. Figure 6

[0114] The input unit 640 can be used to receive input digital or character information, and to generate key signal inputs related to user settings and function control of the electronic device. Specifically, the input unit 640 can include a touch panel and other input devices. The touch panel, also known as a touch screen, can collect a user's touch operation (such as the user's operation on or in the vicinity of the touch panel using a finger, a stylus, or any suitable object or accessory) and drive the corresponding connection device according to the pre-set program. In addition, the touch panel can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel, the input unit 640 can also include other input devices. Specifically, the other input devices can include one or more of function keys (such as volume control buttons, on / off buttons, etc.), trackballs, joysticks, etc.

[0115] The electronic device can also include at least one sensor 650, such as a gyroscope sensor, a motion sensor, and other sensors. Specifically, the gyroscope sensor can be used to determine the motion posture of the electronic device, can be used for shooting anti-shake, and can also be used for navigation, motion sensing game scenarios. As one of the motion sensors, the acceleration sensor can detect the size of acceleration in each direction, and when stationary, it can detect the size and direction of gravity, which can be used for applications that identify the posture of the electronic device, such as landscape / portrait screen switching, related games, magnetometer posture calibration, etc. As for other sensors that the electronic device can also be configured, such as a manometer, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., they will not be described here.

[0116] ​The audio circuit 660 can include a speaker 661 and a microphone 662, and can provide an audio interface between a user and the electronic device. The audio circuit 660 can convert received audio data into an electrical signal, transmit the electrical signal to the speaker 661, and convert the electrical signal into a sound signal output by the speaker 661. On the other hand, the microphone 662 converts a sound signal collected into an electrical signal, and the audio circuit 660 receives the electrical signal, converts the electrical signal into audio data, and outputs the audio data to the processor 610 for processing, to the video circuit for transmission to another electronic device, or to the memory 620 for further processing.

[0117] Although not shown, the electronic device can also include a power supply and a camera. Optionally, the camera can be positioned on the front or the back of the electronic device, and embodiments of the present application do not limit the position of the camera.

[0118] It can be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device can include more or fewer components than those illustrated, or combine certain components, or split certain components, or different arrangement of components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.

[0119] In embodiments of the present application, the processor 610 also has the following functions:

[0120] When the electronic device is in a network abnormal state, an abnormal handling strategy is determined according to a network abnormal type and device state information; wherein the device state information includes at least one of the following: operating service state information, movement state information, and place information;

[0121] The abnormal handling strategy is executed.

[0122] In embodiments of the present application, the processor 610 also has the following functions:

[0123] A target strategy library matching the network abnormal type is obtained;

[0124] An abnormal handling strategy matching the device state information is searched for in the target strategy library.

[0125] In embodiments of the present application, the network abnormal type includes no service, cell ping-pong, or signal drop.

[0126] In embodiments of the present application, the processor 610 also has the following functions:

[0127] When the network abnormal type is cell ping-pong or signal drop, an abnormal handling strategy matching the operating service state information is searched for in the target strategy library;

[0128] When the network exception type is no service, the target policy library is searched for an exception handling policy matching the operating service state information, the moving state information and the place information.

[0129] In the embodiments of the present application, the processor 610 further has the following functions:

[0130] When the place information indicates that the electronic device is in a specified place, a first strategy list corresponding to the specified place is searched for in the target policy library; the specified place refers to a place that is not conducive to electromagnetic wave propagation.

[0131] An exception handling policy matching the operating service state information is searched for in the second strategy list.

[0132] In the second strategy list, an exception handling policy matching the operating service state information is searched for.

[0133] In the embodiments of the present application, the processor 610 further has the following functions:

[0134] According to the device state information, a perception level of the user for the network exception state is determined.

[0135] According to the network exception type and the perception level, an exception handling policy is determined.

[0136] In the embodiments of the present application, the processor 610 further has the following functions:

[0137] A target policy library matching the network exception type is obtained.

[0138] When the network exception type is cell ping-pong or signal back-off, an exception handling policy corresponding to the perception level is searched for in the target policy library.

[0139] When the network exception type is no service, an exception handling policy corresponding to the place information, the moving state information and the perception level is searched for in the target policy library.

[0140] In the embodiments of the present application, the exception handling policy includes threshold information and interface information; the processor 610 further has the following functions:

[0141] According to the indication of the threshold information, an interface corresponding to the interface information is called to perform an operation corresponding to the exception handling policy.

[0142] The embodiments of the present application disclose a computer readable storage medium storing a computer program, wherein the computer program is executed by a processor to implement the method described in the above embodiments.

[0143] The embodiment of the present application discloses a computer program product, which comprises a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement the method described in the above embodiments.

[0144] The embodiment of the present application discloses an application publishing platform, which is used for publishing a computer program product, wherein when the computer program product runs on a computer, the computer is caused to execute the method described in the above embodiments.

[0145] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by a computer program instructing related hardware, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, the program can include the processes of the above-mentioned embodiments. The storage medium can be a magnetic disc, an optical disc, a ROM, etc.

[0146] Any reference to memory, storage, databases, or other media herein can include non-volatile and / or volatile memory. Suitable non-volatile memory can include ROM, programmable ROM (PROM), erasable programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM), which acts as external cache. By way of illustration and not limitation, RAM is available in many forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), Rambus DRAM (RDRAM), and direct Rambus dynamic RAM (DRDRAM).

[0147] It should be understood that every feature, structure, or characteristic described in relation to one embodiment is applicable to at least one other embodiment, unless the context clearly dictates otherwise. Thus, appearances of the language "one embodiment" or "an embodiment" in various places in the specification are not necessarily referring to the same embodiment. Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It will be appreciated by persons skilled in the art that the embodiments described herein represent a description of the underlying concept over which modifications can be made and equivalents can be substituted. Thus, the application is not intended to be limited to the embodiments described herein, but rather the scope of the application is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures.

[0148] In various embodiments of the present application, it should be understood that the size of the serial number of the above processes does not mean the inevitable sequence of execution, and the execution sequence of the processes should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0149] The functional units in the embodiments of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0150] The integrated unit described above, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a computer accessible memory. Based on such understanding, the technical solutions of the present application, essentially or in the form of a contribution to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. The computer software product is stored in a memory and includes several steps for causing one computer device (which can be a personal computer, a server, or a network device, etc., and specifically can be a processor in a computer device) to perform all or part of the steps of the methods described in the embodiments of the present application.

[0151] The above describes the principles and implementation manners of the present application by applying specific examples. The above embodiment descriptions are only for helping to understand the method of the present application and its core idea. Meanwhile, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application range. In summary, the content of the specification should not be understood as a limitation on the present application.

Claims

1. A method for handling network anomalies, characterized in that, The method includes: When an electronic device is in a network abnormal state, an abnormality handling strategy is determined based on the network abnormality type and device status information. The device status information includes at least one of the following: running service status information, mobility status information, and location information. The location information is used to indicate whether the electronic device is in a specified location, which is a location unfavorable to the propagation of electromagnetic waves. The abnormality handling strategy corresponds to the specified location. Execute the aforementioned exception handling strategy; When the network anomaly type is "no service," determining the anomaly handling strategy based on the network anomaly type and device status information includes: Search the target policy library for anomaly handling policies that match the operational service status information, the mobility status information, and the location information; When the network anomaly type is no service, the target policy library stores the relationship between the anomaly handling policy and the running service status information, the location information, and the mobility status information.

2. The method according to claim 1, characterized in that, The step of determining the anomaly handling strategy based on the network anomaly type and device status information includes: Retrieve the target policy library that matches the network anomaly type; Search the target policy library for anomaly handling policies that match the device status information.

3. The method according to claim 2, characterized in that, The network anomaly types include no service, cell ping-pong, or signal drop-off.

4. The method according to claim 3, characterized in that, The step of searching for an anomaly handling strategy that matches the device status information in the target strategy library includes: When the network anomaly type is "cell ping-pong" or "signal fallback", search the target policy library for an anomaly handling policy that matches the running service status information.

5. The method according to claim 1, characterized in that, The step of searching the target policy library for anomaly handling policies that match the operational service status information, mobility status information, and location information includes: When the location information indicates that the electronic device is in the designated location, the first policy list corresponding to the designated location is searched in the target policy library; Search the first strategy list for the second strategy list that matches the mobility status information; In the second strategy list, find the exception handling strategy that matches the running business status information.

6. The method according to claim 1, characterized in that, The step of determining the anomaly handling strategy based on the network anomaly type and device status information includes: Based on the device status information, determine the user's perception level of the network anomaly. An anomaly handling strategy is determined based on the network anomaly type and the perception level.

7. The method according to claim 6, characterized in that, The step of determining the anomaly handling strategy based on the network anomaly type and the perception level includes: Retrieve the target policy library that matches the network anomaly type; When the network anomaly type is cell ping-pong or signal fallback, search the target policy library for the anomaly handling policy corresponding to the perception level. When the network anomaly type is no service, search the target policy library for anomaly handling policies corresponding to the location information, mobility status information, and the perception level.

8. The method according to any one of claims 1-7, characterized in that, The exception handling strategy includes threshold information and interface information. Executing the exception handling strategy includes: According to the threshold information, the interface corresponding to the interface information is called to execute the operation corresponding to the exception handling strategy.

9. A network anomaly handling device, characterized in that, include: The strategy determination unit is used to determine an anomaly handling strategy based on the network anomaly type and device status information when the electronic device is in a network anomaly state; wherein, the device status information includes at least one of the following: running service status information, mobility status information, and location information, wherein the location information is used to indicate whether the electronic device is in a specified location, wherein the specified location is a location unfavorable to electromagnetic wave propagation, and the anomaly handling strategy corresponds to the specified location; The strategy execution unit is used to execute the exception handling strategy; When the network anomaly type is "no service", the policy determination unit is further configured to: Search the target policy library for anomaly handling policies that match the operational service status information, the mobility status information, and the location information; When the network anomaly type is no service, the target policy library stores the relationship between the anomaly handling policy and the running service status information, the location information, and the mobility status information.

10. An electronic device, characterized in that, include: Memory containing executable program code; and the processor coupled to the memory; The processor calls the executable program code stored in the memory, and when the executable program code is executed by the processor, the processor implements the method as described in any one of claims 1-8.

11. A computer-readable storage medium storing a computer program, wherein, When the computer program is executed by the processor, it causes the processor to implement the method as described in any one of claims 1-8.

Citation Information

Patent Citations

  • Network anomaly recovery method and device, electronic equipment and storage medium

    CN112203316A