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

CN116455727BActive Publication Date: 2026-10-27VIVO MOBILE COMM CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310442807.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-21
Publication Date
2026-10-27
Estimated Expiration
2043-04-21

AI Technical Summary

Technical Problem

[0004]然而,上述两种方式都是在网络异常后才进行异常处理的,且均需要一定的时间才能解决网络异常问题,因此会影响电子设备对网络的使用连续性,如此现有方案无法有效地解决网络异常问题

Benefits of technology

[0015]在本申请实施例中,电子设备在使用第一小区的网络的情况下,向服务器发送目标数据包,并接收服务器发送的第一小区异常列表,电子设备根据第一小区异常列表,预测第一电子设备在目标时间段会出现网络异常,在第一电子设备的系统时刻处于目标时间段的情况下,执行与目标时间段对应的目标网络恢复策略,N为正整数。如此,电子设备可以在网络异常发生之前,通过向服务器发送目标数据包,并接收服务器发送的第一小区异常列表,在第一电子设备的系统时刻处于目标时间段的情况下,电子设备提前执行网络异常对应的网络恢复策略,避免了网络异常造成的网络使用不连续性,有效地解决网络异常的问题,从而提升了电子设备对网络使用的流畅性和连续性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116455727B_ABST
    Figure CN116455727B_ABST
Patent Text Reader

Abstract

The application discloses a network exception recovery method and device, electronic equipment, a server and a storage medium, and belongs to the technical field of communication. The method comprises the following steps: in the case that a first electronic equipment uses a network of a first cell, a target data packet is sent to a server, the target data packet comprises cell information of the first cell and operator information of the first electronic equipment; a first cell exception list sent by the server is received, the first cell exception list comprises N exception time periods and a network recovery strategy corresponding to each exception time period; wherein the N exception time periods are time periods in which a second electronic equipment using the network of the first cell appears network exception, and the second electronic equipment is the same operator as the first electronic equipment; according to the first cell exception list, it is predicted that the first electronic equipment will appear network exception in a target time period; in the case that the system time of the first electronic equipment is in the target time period, a target network recovery strategy corresponding to the target time period is executed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communication technology, specifically relating to a network anomaly recovery method, device, electronic device, server, and storage medium. Background Technology

[0002] With the development of mobile networks and electronic devices, users' demand for internet access is becoming increasingly strong. Everyone hopes to be able to smoothly access web pages, browse information, watch videos, and play games anytime, anywhere. At the same time, users also encounter various internet problems every day, such as network anomalies.

[0003] Currently, existing technologies allow users to move their electronic devices out of the area with network issues to use networks in other areas, or users can restart their devices to reconnect to the network, thus resolving network problems.

[0004] However, both of the above methods only handle network anomalies after they occur, and both require a certain amount of time to resolve the network anomaly. Therefore, they affect the continuity of electronic devices' network usage, and the existing solutions cannot effectively solve network anomaly problems. Summary of the Invention

[0005] The purpose of this application is to provide a network anomaly recovery method, apparatus, electronic device, server, and storage medium, which can improve the smoothness and continuity of network use of electronic devices by executing network recovery strategies corresponding to network anomalies in advance before network anomalies occur.

[0006] In a first aspect, embodiments of this application provide a network anomaly recovery method applied to a first electronic device. The method includes: when the first electronic device uses the network of a first cell, sending a target data packet to a server, the target data packet including cell information of the first cell and operator information of the first electronic device; receiving a first cell anomaly list sent by the server, the first cell anomaly list including: N anomaly time periods and a network recovery strategy corresponding to each anomaly time period; wherein, the N anomaly time periods are the time periods during which a second electronic device experiences network anomalies when using the network of the first cell, and the second electronic device uses the same operator as the first electronic device; predicting, based on the first cell anomaly list, that the first electronic device will experience network anomalies during a target time period; and, when the system time of the first electronic device is within the target time period, executing a target network recovery strategy corresponding to the target time period, where N is a positive integer.

[0007] Secondly, embodiments of this application provide a network anomaly recovery device applied to an electronic device. The device includes a sending module, a receiving module, a prediction module, and an execution module. The sending module is used to send a target data packet to a server when a first electronic device is using the network of a first cell. The target data packet includes cell information of the first cell and operator information of the first electronic device. The receiving module is used to receive a first cell anomaly list sent by the server. The first cell anomaly list includes N anomaly time periods and a network recovery strategy corresponding to each anomaly time period; wherein the N anomaly time periods are the time periods when a second electronic device experiences network anomalies while using the network of the first cell, and the second electronic device has the same operator as the first electronic device. The prediction module is used to predict, based on the first cell anomaly list, that the first electronic device will experience network anomalies during a target time period. The execution module is used to execute the target network recovery strategy corresponding to the target time period when the system time of the first electronic device is within the target time period, where N is a positive integer.

[0008] Thirdly, embodiments of this application provide a network anomaly recovery method applied to a server. The method includes: receiving a target data packet sent by a first electronic device, the target data packet including cell information of a first cell and operator information of the first electronic device, the first cell being the cell in which the first electronic device uses the network; sending a first cell anomaly list to the first electronic device, the first cell anomaly list including: N anomaly time periods and a network recovery strategy corresponding to each anomaly time period; wherein, the N anomaly time periods are the time periods in which a second electronic device experiences network anomalies when using the network of the first cell, and the second electronic device has the same operator as the first electronic device.

[0009] Fourthly, this application provides a network anomaly recovery device applied to a server. The device includes a receiving module and a sending module. The receiving module receives a target data packet sent by a first electronic device. The target data packet includes cell information of a first cell and operator information of the first electronic device. The first cell is the cell in which the first electronic device uses the network. The sending module sends a first cell anomaly list to the first electronic device. The first cell anomaly list includes N anomaly time periods and a network recovery strategy corresponding to each anomaly time period. The N anomaly time periods are the time periods during which a second electronic device experiences network anomalies while using the network of the first cell. The second electronic device uses the same operator as the first electronic device.

[0010] Fifthly, embodiments of this application provide an electronic device including a processor and a memory, the memory storing programs or instructions that can run on the processor, and when the programs or instructions are executed by the processor, they implement the steps of the method as described in the first aspect.

[0011] In a sixth aspect, embodiments of this application provide a server that includes a processor and a memory. The memory stores programs or instructions that can run on the processor. When the programs or instructions are executed by the processor, they implement the steps of the method as described in the third aspect.

[0012] In a seventh aspect, embodiments of this application provide a readable storage medium on which a program or instructions are stored. When the program or instructions are executed by a processor, they implement the steps of the method as described in the first aspect, or the steps of the method as described in the third aspect.

[0013] Eighthly, embodiments of this application provide a chip, which includes a processor and a communication interface, the communication interface and the processor being coupled together, the processor being used to run programs or instructions to implement the method as described in the first aspect, or to implement the method as described in the third aspect.

[0014] Ninthly, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method as described in the first aspect, or to implement the method as described in the third aspect.

[0015] In this embodiment, when using the network of a first cell, the electronic device sends a target data packet to the server and receives a list of anomalies in the first cell from the server. Based on the list of anomalies in the first cell, the electronic device predicts that a network anomaly will occur within a target time period. If the system time of the first electronic device is within the target time period, a target network recovery strategy corresponding to the target time period is executed, where N is a positive integer. Thus, the electronic device can, before a network anomaly occurs, send a target data packet to the server and receive the list of anomalies in the first cell from the server. If the system time of the first electronic device is within the target time period, the electronic device can execute the network recovery strategy corresponding to the network anomaly in advance, avoiding network discontinuity caused by network anomalies, effectively solving the network anomaly problem, and thereby improving the smoothness and continuity of network usage for the electronic device. Attached Figure Description

[0016] Figure 1 This is a schematic diagram of a network anomaly recovery method for electronic devices provided in an embodiment of this application;

[0017] Figure 2 This is a schematic diagram of a network anomaly recovery method for electronic devices provided in an embodiment of this application;

[0018] Figure 3 This is a schematic diagram of a network anomaly recovery method for servers provided in an embodiment of this application;

[0019] Figure 4This is a schematic diagram of a network anomaly recovery method for servers provided in an embodiment of this application;

[0020] Figure 5 This is a schematic diagram illustrating the interaction between an electronic device and a server, as provided in an embodiment of this application.

[0021] Figure 6 This is a schematic diagram of a network anomaly recovery device for electronic devices provided in an embodiment of this application;

[0022] Figure 7 This is a schematic diagram of a network anomaly recovery device for a server provided in an embodiment of this application;

[0023] Figure 8 This is one of the hardware structure diagrams of an electronic device provided in the embodiments of this application;

[0024] Figure 9 This is a second schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application;

[0025] Figure 10 This is a schematic diagram of the hardware structure of a server provided in an embodiment of this application. Detailed Implementation

[0026] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0027] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0028] The network anomaly recovery method provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.

[0029] The network anomaly recovery method in this application embodiment can be applied to scenarios where electronic devices experience network anomalies.

[0030] With the development of mobile networks and electronic devices, users' demand for internet access is becoming increasingly strong. Everyone hopes to be able to smoothly access web pages, browse information, watch videos, and play games anytime, anywhere. At the same time, users encounter various internet problems every day, some common and some unique. Users may experience various issues with poor internet experience daily, such as temporary base station malfunctions or base stations being overloaded at specific times, resulting in a signal but no internet access. Although operators monitor and maintain these issues, because they maintain a large number of base stations simultaneously, many problems are difficult to resolve in a timely manner. Therefore, users may repeatedly encounter these problems at specific times and locations, significantly diminishing their mobile phone usage experience.

[0031] In existing solutions, users can move their electronic devices out of the area with network problems to use the network in other areas, or they can restart their devices to reconnect to the network.

[0032] However, both of the above methods only handle network anomalies after they occur, and both require a certain amount of time to resolve the network anomaly. Therefore, they affect the continuity of electronic devices' network usage, and the existing solutions cannot effectively solve network anomaly problems.

[0033] In this embodiment, when using the network of a first cell, the first electronic device sends a target data packet to the server and receives a list of anomalies in the first cell from the server. Based on the list of anomalies in the first cell, the first electronic device predicts that a network anomaly will occur within a target time period. If the system time of the first electronic device is within the target time period, a target network recovery strategy corresponding to the target time period is executed, where N is a positive integer. Thus, the first electronic device can, before a network anomaly occurs, send a target data packet to the server and receive the list of anomalies in the first cell from the server. If the system time of the first electronic device is within the target time period, the first electronic device can execute the network recovery strategy corresponding to the network anomaly in advance, avoiding network discontinuity caused by network anomalies, effectively solving the network anomaly problem, and thereby improving the smoothness and continuity of network use for the electronic device.

[0034] Some embodiments of this application provide a network anomaly recovery method, applied to a first electronic device. Figure 1 A flowchart of a network anomaly recovery method provided in an embodiment of this application is shown. Figure 1 As shown, the network anomaly recovery method provided in this application embodiment may include the following steps 101 to 104.

[0035] Step 101: When the first electronic device uses the network of the first cell, the first electronic device sends the target data packet to the server.

[0036] In some embodiments of this application, the target data packet includes cell information of the first cell and operator information of the first electronic device.

[0037] In some embodiments of this application, the first electronic device may include, but is not limited to: a telephone with Internet access, an electronic watch with Internet access, a telephone with call functionality, an electronic watch with call functionality, and other electronic devices with Internet access or call functionality.

[0038] In some embodiments of this application, the first cell is the cell where the network being used by the first electronic device is located.

[0039] In some embodiments of this application, the server may include, but is not limited to, a carrier server or a carrier base station.

[0040] In some embodiments of this application, the cell information of the first cell may include, but is not limited to, the cell location information and the cell identifier information of the first cell.

[0041] In some embodiments of this application, the operator information of the first electronic device may include, but is not limited to: the operator category of the first electronic device and the operator name of the first electronic device.

[0042] For example, the first electronic device is a mobile phone. As shown in Table 1, the cell information of the first cell and the operator information of the first electronic device contained in the target data packet are shown.

[0043] Table 1

[0044] Geographical area of ​​the community: City A Carrier Category B Community ID: 11223344 Operator Name b

[0045] In Table 1 above, taking cell A as the first cell and electronic device B as the first electronic device as an example, the target data packet is shown in Table 1. It contains cell information of cell A and operator information of electronic device B. Cell information of cell A includes: cell geographical region of cell A: city A and cell identifier of cell A: 11223344. Operator information of electronic device B includes: operator category B and operator name b of electronic device B.

[0046] In some embodiments of this application, when an electronic device is using the network of a first cell, the first electronic device sends the cell information of the first cell and the operator information of the first electronic device to the server, so that the server can send back the abnormal information corresponding to both the cell information of the first cell and the operator information of the first electronic device to the first electronic device.

[0047] Step 102: The first electronic device receives the first cell anomaly list sent by the server.

[0048] In some embodiments of this application, the above-mentioned first cell anomaly list includes: N abnormal time periods and network recovery strategies corresponding to each abnormal time period, where N is a positive integer.

[0049] In some embodiments of this application, the aforementioned N abnormal time periods are the time periods during which network anomalies occur when the second electronic device uses the first cell network, and the second electronic device and the first electronic device operate on the same network.

[0050] In some embodiments of this application, the second electronic device may include, but is not limited to: a telephone with internet access, an electronic watch with internet access, a telephone with call functionality, an electronic watch with call functionality, and other electronic devices with internet access or call functionality.

[0051] In some embodiments of this application, the information in the first cell anomaly list is anomaly information that corresponds to both the cell information of the first cell and the operator information of the first electronic device.

[0052] In some embodiments of this application, the above-mentioned cell anomaly list includes: the abnormal time period during which each cell experienced an anomaly and the network recovery strategy corresponding to the abnormal time period.

[0053] In some embodiments of this application, the network recovery strategy corresponding to each abnormal time period may include at least one of the following: switching from 5G network standard to 4G network standard, switching from the current cell to another cell, switching from 4G network standard to 5G network standard, banning cells and banning frequencies.

[0054] In some embodiments of this application, the above-mentioned abnormal cell list may also include at least one of the following: the network standard corresponding to the cell, the operator information of the electronic device when the cell network is abnormal, the geographical area corresponding to the cell, the cell identifier, the number of users in the cell during each abnormal time period, and the percentage of abnormal users in the cell during each abnormal time period.

[0055] In some embodiments of this application, the network standard corresponding to the cell may include, but is not limited to, 2G, 3G, 4G and 5G.

[0056] In some embodiments of this application, when a cell network malfunctions, the operator information corresponding to the electronic device includes the operator category and operator name of the electronic device.

[0057] In some embodiments of this application, the number of users in each abnormal time period in the cell is the number of users using the network in each abnormal time period in the cell.

[0058] In some embodiments of this application, the percentage of abnormal users in a cell during each abnormal time period is calculated as follows: Abnormal User Ratio = Number of abnormal users occurring in a cell during a time period / Total number of users passing through the cell during that time period. Specifically, when calculating the number of users, the same user is counted once on the same day, but different users are counted as different users on different days. For example, if the number of abnormal users occurring in a cell during a time period is 35, and the total number of users passing through the cell during that time period is 50, then the Abnormal User Ratio = 35 / 50 = 70%.

[0059] For example, as shown in Table 2, the information contained in the first cell anomaly list is illustrated.

[0060] Table 2

[0061]

[0062] In Table 2 above, the geographic region refers to the geographic region where the electronic device is located, such as City A or City B; the network standard refers to the network standard used by the electronic device, such as 5G, 4G, 3G, and 2G networks; the operator information refers to the operator to which the network used by the electronic device belongs, such as Operator A or Operator B; the cell identifier refers to the cell where the electronic device camped, such as cell 11223344; the number of users refers to the total number of users within an abnormal time period; the abnormal time period refers to the time period during which the electronic device experienced network anomalies; the abnormal user ratio = the number of abnormal users in a cell during a time period / the total number of users passing through that cell during that time period; and the best recovery action refers to the most effective network recovery strategy when the electronic device experiences network anomalies.

[0063] Table 2 above contains abnormal information corresponding to the following: the geographical area of ​​the first community: City A; the community identifier of the first community: 11223344; and the operator information of the first electronic device: operator category B.

[0064] For example, in a community in City A with the identifier 11223344, during the time period from 9:00 to 10:00, with the network standard being 4G and the operator information being B, 50 electronic devices were logged in, of which 45 electronic devices experienced abnormalities, resulting in an abnormal user ratio of 90%. The best recovery action would be to turn on 5G.

[0065] For example, in a community in City A with the identifier 11223344, during the time period from 11:00 to 12:00, with the network standard being 5G and the operator information being B, 100 electronic devices were logged in. Among them, 95 electronic devices experienced abnormalities, with an abnormal user ratio of 95%. The best recovery action is to turn off 5G.

[0066] For example, in a community in City A with the identifier 11223344, during the time period from 19:00 to 20:00, with the network standard being 2G and the operator information being B, 40 electronic devices were logged in, of which 34 electronic devices experienced abnormalities, with an abnormal user ratio of 85%. The best recovery action is to turn on 5G.

[0067] For example, in City A, in a cell with the cell identifier 11223344, during the time period from 22:00 to 23:00, with the network standard being 3G and the operator information being B, 60 electronic devices were logged in, of which 48 electronic devices had abnormalities, with an abnormal user ratio of 80%. The best recovery action is to disable the cell.

[0068] As an example, Table 3 shows the information contained in the aforementioned cell anomaly list in the server.

[0069] Table 3

[0070]

[0071] In Table 3 above, the geographic region refers to the geographic region where the electronic device is located, such as City A, City B, and City C; the network standard refers to the network standard used by the electronic device, such as 5G, 4G, 3G, and 2G networks; the operator information refers to the operator to which the network used by the electronic device belongs, such as Operator A, Operator B, and Operator C; the cell identifier refers to the cell where the electronic device camped, such as cell 11223344, cell 22334455, cell 33445566, and cell 44556677; the number of users refers to the total number of users within an abnormal time period; the abnormal time period refers to the time period during which the electronic device experienced network anomalies; the abnormal user ratio = the number of abnormal users in a cell during a time period / the total number of users passing through that cell during that time period; and the best recovery action refers to the most effective network recovery strategy when the electronic device experiences a network anomaly.

[0072] For example, in a community in City A with the identifier 11223344, during the time period from 9:00 to 10:00, with the network standard being 4G and the operator information being B, 50 electronic devices were logged in, of which 45 electronic devices experienced abnormalities, resulting in an abnormal user ratio of 90%. The best recovery action would be to turn on 5G.

[0073] For example, in a community in City A with the identifier 11223344, during the time period from 11:00 to 12:00, with the network standard being 5G and the operator information being B, 100 electronic devices were logged in. Among them, 95 electronic devices experienced abnormalities, with an abnormal user ratio of 95%. The best recovery action is to turn off 5G.

[0074] For example, in a community in City A with the identifier 11223344, during the time period from 19:00 to 20:00, with the network standard being 2G and the operator information being B, 40 electronic devices were logged in, of which 34 electronic devices experienced abnormalities, with an abnormal user ratio of 85%. The best recovery action is to turn on 5G.

[0075] For example, in City A, in a cell with the cell identifier 11223344, during the time period from 22:00 to 23:00, with the network standard being 3G and the operator information being B, 60 electronic devices were logged in, of which 48 electronic devices had abnormalities, with an abnormal user ratio of 80%. The best recovery action is to disable the cell.

[0076] For example, in City B, in a community with the identifier 22334455, during the time period from 9:00 to 10:00, with the network standard being 4G and the operator information being A, 50 electronic devices were logged in, of which 45 electronic devices experienced abnormalities, with an abnormal user ratio of 90%. The best recovery action is to turn on 5G.

[0077] For example, in City B, in a cell with the cell identifier 33445566, during the time period from 11:00 to 12:00, with the network standard being 5G and the operator information being C, 100 electronic devices were logged in, of which 95 electronic devices experienced abnormalities, with an abnormal user ratio of 95%. The best recovery action is to turn off 5G.

[0078] For example, in a community in City C with the identifier 44556677, during the time period from 19:00 to 20:00, with the network standard being 2G and the operator information being B, 40 electronic devices were logged in, of which 34 electronic devices experienced abnormalities, with an abnormal user ratio of 85%. The best recovery action is to turn on 5G.

[0079] In some embodiments of this application, the first electronic device receives a first cell anomaly list returned by the server. The first cell anomaly list stores anomaly information that corresponds to both the cell information of the first cell and the operator information of the first electronic device, so that the first electronic device can subsequently execute a network recovery strategy based on the information in the first cell anomaly list.

[0080] Step 103: Based on the first cell anomaly list, the first electronic device predicts that a network anomaly will occur in the target time period.

[0081] In some embodiments of this application, the target time period is one of N abnormal time periods.

[0082] For example, in Table 2 above, the N abnormal time periods are 9:00-10:00, 11:00-12:00, 19:00-20:00 and 22:00-23:00, and the target time period can be any one of these four time periods.

[0083] In some embodiments of this application, the above prediction can be understood as the network anomaly recovery device predicting, based on the first cell anomaly list, that the first electronic device will experience network anomalies during an abnormal time period in the first cell anomaly list.

[0084] In some embodiments of this application, the first electronic device predicts that a network anomaly will occur in any abnormal time period within the abnormal time period based on the abnormal time period of the first cell anomaly list, so that the first electronic device can execute the network recovery strategy corresponding to the network anomaly in advance.

[0085] Step 104: When the system time of the first electronic device is within the target time period, the first electronic device executes the target network recovery strategy corresponding to the target time period.

[0086] For example, in Table 2 above, the target time period can be 9:00-10:00, 11:00-12:00, 19:00-20:00, and 22:00-23:00, and the target network recovery strategy can be to enable 5G, disable 5G, or disable cell access. For example, if the system time of the first electronic device is in the 9:00-10:00 time period, the network anomaly recovery device executes the network recovery strategy corresponding to the 9:00-10:00 time period to enable 5G; for example, if the system time of the first electronic device is in the 11:00-12:00 time period... During the period from 11:00 to 12:00, the network anomaly recovery device executes the network recovery strategy corresponding to the period from 11:00 to 12:00 to disable 5G; for example, if the system time of the first electronic device is during the period from 19:00 to 20:00, the network anomaly recovery device executes the network recovery strategy corresponding to the period from 19:00 to 20:00 to enable 5G; for example, if the system time of the first electronic device is during the period from 22:00 to 23:00, the network anomaly recovery device executes the network recovery strategy corresponding to the period from 22:00 to 23:00 to disable the cell.

[0087] In some embodiments of this application, the first electronic device executes a network recovery strategy corresponding to the abnormal time period when the system time of the first electronic device is in the abnormal time period according to the abnormal time period of the first cell abnormal list, thereby improving the smoothness and continuity of network use of the electronic device.

[0088] In some embodiments of this application, combined with Figure 1 ,like Figure 2 As shown, before "the first electronic device executes the target network recovery strategy corresponding to the target time period" in step 104 above, the network anomaly recovery method provided in some embodiments of this application further includes the following steps 104a and 104b.

[0089] Step 104a: When the system time of the first electronic device is within the target time period, the first electronic device obtains M network recovery strategies corresponding to the target time period.

[0090] In some embodiments of this application, the above M network recovery strategies are all network recovery strategies executed by the second electronic device when the number of abnormalities exceeds a preset number.

[0091] For example, as shown in Table 4, M network recovery strategies corresponding to the target time period of the first cell are illustrated.

[0092] Table 4

[0093]

[0094] In Table 4 above, the abnormal time period represents the time period during which the second electronic device experienced a network anomaly; the number of times the second electronic device stayed represents the number of times the second electronic device stayed; the number of anomalies represents the number of times the second electronic device experienced anomalies; the abnormal user ratio = the number of abnormal users in a cell during a time period / the total number of users passing through the cell during that time period; the best recovery action represents the most effective network recovery action when the second electronic device experienced a network anomaly; the number of recovery attempts represents the number of times the second electronic device performed recovery; the number of successful recovery attempts represents the number of times the second electronic device successfully recovered; and the recovery success rate = the number of successful recovery attempts by the second electronic device / the number of times the second electronic device performed recovery.

[0095] In Table 4 above, the preset number of anomalies is 20. The number of network anomalies corresponding to the above recovery strategies is all greater than 20. That is, the above four network recovery strategies are all network recovery strategies executed by the above second electronic device when the number of anomalies exceeds the preset number of 20.

[0096] In some embodiments of this application, the first electronic device obtains the network recovery strategy executed by the second electronic device when the number of anomalies exceeds a preset number, thereby avoiding obtaining the network recovery strategy corresponding to occasional anomalies and improving the accuracy of the first electronic device in predicting network anomalies in the first electronic device during a target time period.

[0097] Step 104b: The first electronic device determines the network recovery strategy with a recovery success rate greater than or equal to the threshold among the M network recovery strategies as the target network recovery strategy, where M is a positive integer.

[0098] For example, as shown in Table 5, network recovery strategies with a recovery success rate greater than or equal to a threshold are shown in the network recovery strategies corresponding to the target time period of the first cell.

[0099] Table 5

[0100]

[0101] In Table 5 above, the abnormal time period represents the time period during which the second electronic device experienced a network anomaly; the number of times the second electronic device stayed represents the number of times the second electronic device stayed; the number of anomalies represents the number of times the second electronic device experienced anomalies; the abnormal user ratio = the number of abnormal users in a cell during a time period / the total number of users passing through the cell during that time period; the best recovery action represents the most effective network recovery action when the second electronic device experienced a network anomaly; the number of recovery attempts represents the number of times the second electronic device performed recovery; the number of successful recovery attempts represents the number of times the second electronic device successfully recovered; and the recovery success rate = the number of successful recovery attempts by the second electronic device / the number of times the second electronic device performed recovery.

[0102] In Table 5 above, the network recovery strategy threshold is 85%, and the recovery success rate of the above recovery strategies is greater than the threshold of 85%.

[0103] It should be noted that, when performing steps 104a and 104b above, Figure 2 Step 104 specifically involves "the first electronic device executing the target network recovery strategy corresponding to the target time period".

[0104] In some embodiments of this application, the first electronic device determines the network recovery strategy with a recovery success rate greater than or equal to a threshold among M network recovery strategies as the target network recovery strategy, thereby improving the success rate of the network anomaly recovery device in recovering network anomalies.

[0105] In some embodiments of this application, the network anomaly recovery method may further include the following step 201.

[0106] Step 201: When the first electronic device detects a network anomaly, it writes the abnormal time period during which the network anomaly occurred, as well as the network recovery strategy adopted by the user thereafter, into the cell anomaly list.

[0107] For example, as shown in Table 6, the abnormal time period during which the first network anomaly occurred is illustrated, and the network recovery strategy adopted by the user afterwards.

[0108] Table 6

[0109]

[0110] In Table 6 above, the geographic region indicates the geographic region where the electronic device is located, such as City A or City B; the network standard indicates the network standard used by the electronic device, such as 5G, 4G, 3G, and 2G networks; the operator information indicates the operator to which the network used by the electronic device belongs, such as Operator A or Operator B; the cell identifier indicates the cell where the electronic device has camped, such as cell 11223344; the abnormal time period indicates the time period during which the electronic device experienced network abnormalities; and the best recovery action indicates the most effective network recovery strategy when the electronic device experiences network abnormalities.

[0111] For example, in a community in City A with the identifier 11223344, during the time period from 9:00 to 10:00, with the network standard being 4G and the operator information being B, if the first electronic device has experienced an anomaly, the best recovery action is to turn on 5G.

[0112] For example, in a community in City A with the identifier 11223344, during the time period from 11:00 to 12:00, with the network standard being 5G and the operator information being B, if the first electronic device has experienced an anomaly, the best recovery action would be to turn off 5G.

[0113] For example, in a community in City A with the identifier 11223344, during the time period from 19:00 to 20:00, with the network standard being 2G and the operator information being B, if the first electronic device has experienced an anomaly, the best recovery action is to turn on 5G.

[0114] For example, in City A, if a cell with the cell identifier 11223344, during the time period from 22:00 to 23:00, with a 3G network and operator information B, the first electronic device experienced an anomaly, and the best recovery action would be to disable the cell.

[0115] In some embodiments of this application, the first electronic device writes the time period during which the first electronic device is abnormal and the network recovery strategy adopted by the user thereafter into the cell anomaly list, so that when the current first electronic device is used as the second electronic device, the server can send network anomaly information of the second electronic devices corresponding to the other first electronic devices to other first electronic devices.

[0116] Some embodiments of this application provide a network anomaly recovery method applied to a server. Figure 3 A flowchart of a network anomaly recovery method provided in an embodiment of this application is shown. Figure 3 As shown, the network anomaly recovery method provided in this application embodiment may include the following steps 301 and 302.

[0117] Step 301: The server receives the target data packet sent by the first electronic device.

[0118] In some embodiments of this application, the target data packet includes cell information of a first cell and operator information of the first electronic device, wherein the first cell is the cell in which the first electronic device uses the network.

[0119] In some embodiments of this application, the description of the first electronic device described above is the same as that in the above embodiments, and will not be repeated here.

[0120] In some embodiments of this application, the description of the cell information of the first cell is the same as that in the above embodiments, and will not be repeated here.

[0121] In some embodiments of this application, the description of the operator information of the first electronic device is the same as that in the above embodiments, and will not be repeated here.

[0122] In some embodiments of this application, the information in the aforementioned first cell anomaly list consists of anomaly information that corresponds to both the cell information of the first cell and the operator information of the first electronic device. Combined with... Figure 3 ,like Figure 4 As shown, before performing step 301 above, some embodiments of the network anomaly recovery method provided in this application further include step 301a below.

[0123] Step 301a: The server trains based on the historical network usage data of each cell to obtain a list of abnormal cells.

[0124] In some embodiments of this application, the above-mentioned cell anomaly list includes: the abnormal time period during which each cell experienced an anomaly and the network recovery strategy corresponding to the abnormal time period.

[0125] In some embodiments of this application, the server obtains historical network usage data of at least one cell with data services, and based on the network anomaly data, while considering time period, operator information, abnormal cell, network type, abnormal user ratio and user number, trains a recovery strategy with the highest success rate in network anomaly recovery.

[0126] Step 302: The server sends the first cell anomaly list to the first electronic device.

[0127] In some embodiments of this application, the first cell anomaly list includes: N abnormal time periods and a network recovery strategy corresponding to each abnormal time period; wherein, the N abnormal time periods are the time periods when the second electronic device experiences network anomalies while using the first cell network, and the second electronic device operates on the same operator as the first electronic device.

[0128] In some embodiments of this application, the server receives the target data packet sent by the first electronic device and sends a first cell anomaly list to the first electronic device. This allows the first electronic device to execute a network recovery strategy corresponding to the network anomaly based on the information in the first cell anomaly list, avoiding network usage discontinuity caused by network anomalies, effectively resolving network anomaly problems, and thereby improving the smoothness and continuity of network usage for the electronic device.

[0129] It should be noted that the specific solutions for network anomaly recovery on the server side are the same as those for the network anomaly recovery on the first electronic device side, and can be found in the specific description of the first electronic device side, which will not be repeated here.

[0130] Some embodiments of this application provide a network anomaly recovery method, such as... Figure 5 The diagram illustrates the interaction process between a first electronic device and a server involved in the network anomaly recovery method provided in this application embodiment, including steps 601 to 606 below.

[0131] Step 601: When the first electronic device uses the network of the first cell, the first electronic device sends the target data packet to the server.

[0132] Step 602: The server receives the target data packet sent by the first electronic device.

[0133] Step 603: The server sends the first cell anomaly list to the first electronic device.

[0134] Step 604: The first electronic device receives the first cell anomaly list sent by the server.

[0135] Step 605: Based on the first cell anomaly list, the first electronic device predicts that a network anomaly will occur in the target time period.

[0136] Step 606: If the system time of the first electronic device is within the target time period, execute the target network recovery strategy corresponding to the target time period.

[0137] It should be noted that for specific explanations and beneficial effects of steps 601 to 606 above, please refer to the descriptions in the above embodiments, which will not be repeated here.

[0138] It should be noted that the network anomaly recovery method provided in this application embodiment can be executed by a network anomaly recovery device. This application embodiment uses a network anomaly recovery device executing the network anomaly recovery method as an example to illustrate the network anomaly recovery device provided in this application embodiment.

[0139] Figure 6A schematic diagram of a possible structure of the network anomaly recovery device involved in an embodiment of this application is shown. For example... Figure 6 As shown, the network anomaly recovery device 70 may include: a sending module 71, a receiving module 72, a prediction module 73, and an execution module 74.

[0140] The sending module 71 is used to send a target data packet to the server when the first electronic device is using the network of the first cell. The target data packet includes cell information of the first cell and operator information of the first electronic device.

[0141] The receiving module 72 is used to receive the first cell anomaly list sent by the server. The first cell anomaly list includes: N abnormal time periods and the network recovery strategy corresponding to each abnormal time period; wherein, the N abnormal time periods are the time periods when the second electronic device uses the network of the first cell and the network anomaly occurs, and the second electronic device is the same operator as the first electronic device.

[0142] The prediction module 73 is used to predict, based on the first cell anomaly list, that the first electronic device will experience network anomalies during a target time period.

[0143] The execution module 74 is used to execute the target network recovery strategy corresponding to the target time period when the system time of the first electronic device is within the target time period, where N is a positive integer.

[0144] This application provides a network anomaly recovery device. Before a network anomaly occurs, the device can send a target data packet to a server and receive a first cell anomaly list sent by the server. When the system time of the first electronic device is within the target time period, the device can execute the network recovery strategy corresponding to the network anomaly in advance, avoiding network usage discontinuity caused by the network anomaly, effectively solving the network anomaly problem, and thereby improving the smoothness and continuity of network use for electronic devices.

[0145] In some embodiments of this application, the information in the first cell anomaly list is anomaly information that corresponds to both the cell information of the first cell and the operator information of the first electronic device in the cell anomaly list; wherein, the cell anomaly list includes: the abnormal time period during which each cell is abnormal in use and the network recovery strategy corresponding to the abnormal time period.

[0146] In some embodiments of this application, the above-mentioned cell anomaly list also includes at least one of the following: the network standard corresponding to the cell, the operator information of the electronic device when the cell network is abnormal, the geographical area corresponding to the cell, the cell identifier, the number of users in the cell during each abnormal time period, and the percentage of abnormal users in the cell during each abnormal time period.

[0147] In some embodiments of this application, the above-described device 70 further includes:

[0148] The system comprises an acquisition module and a determination module. The acquisition module acquires M network recovery strategies corresponding to the target time period before the execution module 74 executes the target network recovery strategy. These M network recovery strategies are all network recovery strategies executed when the number of anomalies encountered by the second electronic device exceeds a preset number. The determination module determines the network recovery strategy with a recovery success rate greater than or equal to a threshold from the M network recovery strategies as the target network recovery strategy, where M is a positive integer.

[0149] In some embodiments of this application, the device 70 further includes a writing module. The writing module is configured to, upon detecting a network anomaly in the first electronic device, write the abnormal time period during which the network anomaly occurred, and the subsequent network recovery strategy adopted by the user, into a cell anomaly list.

[0150] The network anomaly recovery device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the device.

[0151] The network anomaly recovery device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit it.

[0152] The network anomaly recovery device provided in this application embodiment can implement all the processes implemented in the above method embodiments, and will not be described again here to avoid repetition.

[0153] Figure 7 A schematic diagram of a possible structure of the network anomaly recovery device involved in an embodiment of this application is shown. For example... Figure 7 As shown, the network anomaly recovery device 80 may include a receiving module 81 and a sending module 82.

[0154] The receiving module 81 is used to receive the target data packet sent by the first electronic device. The target data packet includes cell information of the first cell and operator information of the first electronic device. The first cell is the cell in which the first electronic device uses the network.

[0155] The sending module 82 is used to send a first cell anomaly list to the first electronic device. The first cell anomaly list includes N abnormal time periods and a network recovery strategy corresponding to each abnormal time period. The N abnormal time periods are the time periods when the second electronic device uses the network of the first cell and experiences network anomalies. The second electronic device and the first electronic device are from the same operator.

[0156] This application provides a network anomaly recovery device. Before a network anomaly occurs, the device can send a target data packet to a server and receive a first cell anomaly list sent by the server. When the system time of the first electronic device is within the target time period, the device can execute the network recovery strategy corresponding to the network anomaly in advance, avoiding network usage discontinuity caused by the network anomaly, effectively solving the network anomaly problem, and thereby improving the smoothness and continuity of network use for electronic devices.

[0157] In some embodiments of this application, the information in the first cell anomaly list refers to anomaly information that corresponds to both the cell information of the first cell and the operator information of the first electronic device. The device 80 further includes a training module. The training module is used to train the system based on historical network usage data of each cell before receiving the target data packet sent by the first electronic device, thereby obtaining the cell anomaly list. The cell anomaly list includes: the abnormal time period during which each cell experiences anomalies and the network recovery strategy corresponding to the abnormal time period.

[0158] The network anomaly recovery device provided in this application embodiment can implement all the processes implemented in the above method embodiments, and will not be described again here to avoid repetition.

[0159] In some embodiments of this application, such as Figure 8As shown, this application embodiment also provides an electronic device 90, including a processor 91 and a memory 92. The memory 92 stores a program or instructions that can run on the processor 91. When the program or instructions are executed by the processor 91, they implement the various steps of the above-described network anomaly recovery method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0160] It should be noted that the electronic devices in the embodiments of this application include the aforementioned mobile electronic devices and non-mobile electronic devices.

[0161] Figure 9 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0162] The electronic device 100 includes, but is not limited to, components such as: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.

[0163] Those skilled in the art will understand that the electronic device 100 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 110 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 9 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0164] The radio frequency unit 101 is configured to, when the first electronic device uses the network of the first cell, send a target data packet to the server, the target data packet including cell information of the first cell and operator information of the first electronic device; and receive a first cell anomaly list sent by the server, the first cell anomaly list including: N abnormal time periods and a network recovery strategy corresponding to each abnormal time period. The aforementioned N abnormal time periods are the time periods during which network anomalies occur when the second electronic device uses the network of the first cell, and the second electronic device uses the same operator as the first electronic device.

[0165] Processor 110 is configured to predict, based on the first cell anomaly list, that a network anomaly will occur in the first electronic device during a target time period; and, if the system time of the first electronic device is within the target time period, to execute a target network recovery strategy corresponding to the target time period, where N is a positive integer.

[0166] This application provides an electronic device that can send a target data packet to a server and receive a first cell anomaly list sent by the server before a network anomaly occurs. When the system time of the first electronic device is within the target time period, the electronic device can execute the network recovery strategy corresponding to the network anomaly in advance, thereby avoiding the discontinuity of network use caused by the network anomaly, effectively solving the problem of network anomaly, and thus improving the smoothness and continuity of network use of the electronic device.

[0167] In some embodiments of this application, the information in the first cell anomaly list is anomaly information that corresponds to both the cell information of the first cell and the operator information of the first electronic device in the cell anomaly list; wherein, the cell anomaly list includes: the abnormal time period during which each cell is abnormal in use and the network recovery strategy corresponding to the abnormal time period.

[0168] In some embodiments of this application, the above-mentioned cell anomaly list also includes at least one of the following: the network standard corresponding to the cell, the operator information of the electronic device when the cell network is abnormal, the geographical area corresponding to the cell, the cell identifier, the number of users in the cell during each abnormal time period, and the percentage of abnormal users in the cell during each abnormal time period.

[0169] In some embodiments of this application, the processor 110 is further configured to obtain M network recovery strategies corresponding to a target time period before executing the target network recovery strategy, wherein the M network recovery strategies are all network recovery strategies executed by the second electronic device when the number of abnormalities exceeds a preset number; and to determine the network recovery strategy with a recovery success rate greater than or equal to a threshold among the M network recovery strategies as the target network recovery strategy, where M is a positive integer.

[0170] In some embodiments of this application, the memory 109 is used to write the abnormal time period during which the first electronic device experienced a network abnormality, as well as the network recovery strategy adopted by the user thereafter, into a cell abnormality list when a network abnormality is detected in the first electronic device.

[0171] The electronic device provided in this application embodiment can implement the various processes implemented in the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0172] The beneficial effects of the various implementation methods in this embodiment can be found in the beneficial effects of the corresponding implementation methods in the above method embodiments. To avoid repetition, they will not be repeated here.

[0173] It should be understood that, in this embodiment, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, power buttons, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.

[0174] The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 109 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 109 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.

[0175] Processor 110 may include one or more processing units; optionally, processor 110 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 110.

[0176] In some embodiments of this application, such as Figure 10 As shown, embodiments of this application also provide a server, including... Figure 10 The processor 1601 and memory 1602 shown are stored in the memory 1602 and can run on the processor 1601. When the computer program is executed by the processor 1601, it implements the various processes of the above method embodiments and can achieve the same technical effect, which will not be described again here.

[0177] In some embodiments of this application, such as Figure 10 The diagram shown is a schematic representation of the hardware structure of a server provided in this application embodiment. Figure 10 As shown, the server 1600 may include one or more processors 1601, memory 1602, communication interface 1603, and bus 1604.

[0178] The processor 1601 can receive target data packets sent by a first electronic device via a bus 1604 and a communication interface 1603. The target data packets include cell information of a first cell and operator information of the first electronic device. The first cell is the cell in which the first electronic device uses the network. The processor 1601 can also send a first cell anomaly list to a terminal device via the bus 1604 and the communication interface 1603. The first cell anomaly list includes N abnormal time periods and a network recovery strategy corresponding to each abnormal time period. The N abnormal time periods are the time periods during which a second electronic device experiences network anomalies while using the network of the first cell. The second electronic device uses the same operator as the first electronic device.

[0179] In this embodiment of the invention, one or more processors 1601, memory 1602, and communication interface 1603 are interconnected via bus 1604. Bus 1604 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. Bus 1604 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 10 The bus is represented by a single thick line, but this does not indicate that there is only one bus or one type of bus. Additionally, the server 1600 may include some functional modules not shown, which will not be described further here.

[0180] This application provides a network anomaly recovery device. The device receives a target data packet from a first electronic device and sends a first cell anomaly list to the first electronic device. Thus, before a network anomaly occurs, the device can send a target data packet to a server and receive the first cell anomaly list from the server. If the system time of the first electronic device is within a target time period, the device can preemptively execute the network recovery strategy corresponding to the network anomaly, avoiding network discontinuity caused by the anomaly and effectively resolving the network anomaly problem. This improves the smoothness and continuity of network usage for the electronic device.

[0181] In some embodiments of this application, the information in the first cell anomaly list is anomaly information that corresponds to both the cell information of the first cell and the operator information of the first electronic device.

[0182] In some embodiments of this application, the processor 1601 is specifically configured to, before receiving the target data packet sent by the first electronic device, train based on historical network usage data of each cell to obtain the aforementioned cell anomaly list. The aforementioned cell anomaly list includes: the abnormal time period during which each cell experienced anomalies during use and the corresponding network recovery strategy for that abnormal time period.

[0183] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described network anomaly recovery method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0184] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0185] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described network anomaly recovery method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0186] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0187] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the network anomaly recovery method embodiment described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0188] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0189] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0190] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A method for network anomaly recovery, characterized in that, Applied to a first electronic device, the method includes: When the first electronic device uses the network of the first cell, it sends a target data packet to the server. The target data packet includes cell information of the first cell and operator information of the first electronic device. The system receives a first cell anomaly list sent by the server. The first cell anomaly list includes N abnormal time periods and a network recovery strategy corresponding to each abnormal time period. The N abnormal time periods are the time periods when the second electronic device experiences network anomalies while using the network of the first cell. The second electronic device is operated by the same operator as the first electronic device. Based on the first cell's anomaly list, it is predicted that the first electronic device will experience network anomalies during the target time period; When the system time of the first electronic device is within the target time period, the target network recovery strategy corresponding to the target time period is executed, where N is a positive integer.

2. The method according to claim 1, characterized in that, The information in the first cell anomaly list is the anomaly information that corresponds to both the cell information of the first cell and the operator information of the first electronic device. The abnormal cell list includes: the abnormal time period during which each cell experienced abnormalities and the corresponding network recovery strategy for the abnormal time period.

3. The method according to claim 2, characterized in that, The abnormal cell list also includes at least one of the following: the network standard corresponding to the cell, the operator information of the electronic device when the cell network is abnormal, the geographical area corresponding to the cell, the cell identifier, the number of users in the cell during each abnormal time period, and the percentage of abnormal users in the cell during each abnormal time period.

4. The method according to claim 1, characterized in that, Before implementing the target network recovery strategy, the following is also included: Obtain M network recovery strategies corresponding to the target time period, wherein the M network recovery strategies are all network recovery strategies executed by the second electronic device when the number of abnormalities exceeds a preset number; Among the M network recovery strategies, the network recovery strategy with a recovery success rate greater than or equal to the threshold is determined as the target network recovery strategy, where M is a positive integer.

5. The method according to claim 1, characterized in that, The method further includes: If a network anomaly is detected in the first electronic device, the abnormal time period during which the network anomaly occurred, as well as the network recovery strategy adopted by the user thereafter, are written into the cell anomaly list.

6. A method for network anomaly recovery, characterized in that, Applied to a server, the method includes: Receive a target data packet sent by a first electronic device, the target data packet including cell information of a first cell and operator information of the first electronic device, the first cell being the cell in which the first electronic device uses the network; A first cell anomaly list is sent to the first electronic device. The first cell anomaly list includes N abnormal time periods and a network recovery strategy corresponding to each abnormal time period. The N abnormal time periods are the time periods when the second electronic device experiences network anomalies while using the network of the first cell. The second electronic device operates on the same network as the first electronic device.

7. The method according to claim 6, characterized in that, The information in the first cell anomaly list is the anomaly information that corresponds to both the cell information of the first cell and the operator information of the first electronic device. Before receiving the target data packet sent by the first electronic device, the method further includes: The cell anomaly list is obtained by training based on the historical network usage data of each cell; the cell anomaly list includes: the abnormal time period when the cell experienced anomalies during use and the network recovery strategy corresponding to the abnormal time period.

8. A network anomaly recovery device, characterized in that, The device is applied to a first electronic device, and includes: a transmitting module, a receiving module, a prediction module, and an execution module; The sending module is used to send a target data packet to the server when the first electronic device is using the network of the first cell. The target data packet includes cell information of the first cell and operator information of the first electronic device. The receiving module is used to receive a first cell anomaly list sent by the server. The first cell anomaly list includes: N abnormal time periods and a network recovery strategy corresponding to each abnormal time period; wherein, the N abnormal time periods are the time periods when the second electronic device experiences network anomalies while using the network of the first cell, and the second electronic device is the same operator as the first electronic device. The prediction module is used to predict, based on the first cell anomaly list, that the first electronic device will experience network anomalies during a target time period. The execution module is used to execute a target network recovery strategy corresponding to the target time period when the system time of the first electronic device is within the target time period, where N is a positive integer.

9. The apparatus according to claim 8, characterized in that, The information in the first cell anomaly list is the anomaly information that corresponds to both the cell information of the first cell and the operator information of the first electronic device. The abnormal cell list includes: the abnormal time period during which each cell experienced abnormalities and the corresponding network recovery strategy for the abnormal time period.

10. The apparatus according to claim 9, characterized in that, The abnormal cell list also includes at least one of the following: the network standard corresponding to the cell, the operator information of the electronic device when the cell network is abnormal, the geographical area corresponding to the cell, the cell identifier, the number of users in the cell during each abnormal time period, and the percentage of abnormal users in the cell during each abnormal time period.

11. The apparatus according to claim 8, characterized in that, The device further includes: The acquisition module is used to acquire M network recovery strategies corresponding to the target time period before executing the target network recovery strategy, wherein the M network recovery strategies are all network recovery strategies executed by the second electronic device when the number of abnormalities exceeds a preset number; The determination module is used to determine the network recovery strategy with a recovery success rate greater than or equal to a threshold among the M network recovery strategies as the target network recovery strategy, where M is a positive integer.

12. The apparatus according to claim 8, characterized in that, The device further includes: The writing module is used to write the abnormal time period during which the network abnormality of the first electronic device occurred, as well as the network recovery strategy adopted by the user thereafter, into the cell abnormality list when a network abnormality is detected in the first electronic device.

13. A network anomaly recovery device, characterized in that, Applied to a server, the device includes: a receiving module and a sending module; The receiving module is used to receive a target data packet sent by the first electronic device. The target data packet includes cell information of the first cell and operator information of the first electronic device. The first cell is the cell in which the first electronic device uses the network. The sending module is used to send a first cell anomaly list to the first electronic device. The first cell anomaly list includes N abnormal time periods and a network recovery strategy corresponding to each abnormal time period. The N abnormal time periods are the time periods when the second electronic device experiences network anomalies while using the network of the first cell. The second electronic device operates on the same network as the first electronic device.

14. The apparatus according to claim 13, characterized in that, The information in the first cell anomaly list is the anomaly information that corresponds to both the cell information of the first cell and the operator information of the first electronic device. The device further includes: a training module, used to train based on historical network usage data of each cell before receiving the target data packet sent by the first electronic device, to obtain the cell anomaly list; the cell anomaly list includes: the abnormal time period during which each cell experienced anomalies and the network recovery strategy corresponding to the abnormal time period.

15. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the network anomaly recovery method as described in any one of claims 1-5.

16. A server, characterized in that, It includes a processor and a memory, the memory storing programs or instructions that can run on the processor, the programs or instructions being executed by the processor to implement the steps of the network anomaly recovery method as described in claim 6 or 7.

17. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions, which, when executed by a processor, implement the steps of the network anomaly recovery method as described in any one of claims 1-5, or implement the steps of the network anomaly recovery method as described in claim 6 or 7.

Citation Information

Patent Citations

  • Network switching method and device, terminal and storage medium

    CN110856225A

  • Network exception processing method and device, terminal equipment and medium

    CN113115351A

  • Network switching method and network switching device

    CN113347675A