WO2019153505A1 - Method for publishing fault recovery data packet and server - Google Patents

Method for publishing fault recovery data packet and server Download PDF

Info

Publication number
WO2019153505A1
WO2019153505A1 PCT/CN2018/083288 CN2018083288W WO2019153505A1 WO 2019153505 A1 WO2019153505 A1 WO 2019153505A1 CN 2018083288 W CN2018083288 W CN 2018083288W WO 2019153505 A1 WO2019153505 A1 WO 2019153505A1
Authority
WO
WIPO (PCT)
Prior art keywords
fault
data packet
type
user terminal
information
Prior art date
Application number
PCT/CN2018/083288
Other languages
French (fr)
Chinese (zh)
Inventor
陈颖聪
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019153505A1 publication Critical patent/WO2019153505A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/62Establishing a time schedule for servicing the requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring

Definitions

  • the present application belongs to the technical field of fault repair, and in particular, to a method and a server for releasing a fault repair data packet.
  • Fault repair packets such as patches
  • the existing fault repair data packet is distributed in a global unified push release manner, that is, a software update is uniformly performed to all the user terminals of the application or the system that is required to be repaired by the fault repair data package to modify the software.
  • the vulnerability exists in it.
  • the fault repair data packet it is required to push the fault repair data packet to all user terminals at the same time, the amount of instantaneous concurrent data is large, and the hardware requirements and bandwidth resources of the server are relatively high. Moreover, if some user terminals do not have a fault condition, and the fault repair data packet needs to be downloaded, the data traffic of the part of the user is wasted, resulting in waste of resources, and a new fault condition may be caused by installing the fault repair data packet. Reduce the user experience and the stability of the software.
  • the embodiment of the present application provides a method for releasing a fault repair data packet and a server, to solve the method for distributing the fault repair data packet, and the hardware requirements and bandwidth resources of the server are high, and A user terminal that does not have a fault condition causes waste of resources and reduces stability of the terminal.
  • a method for issuing a fault repair data package provided by the application includes:
  • fault information included in each of the user terminals includes: a fault module identifier, a terminal software version, and a fault response manner;
  • the embodiment of the present application pushes the fault repair data packet to the user terminal having the corresponding fault type, which reduces the instantaneous data volume of the server and reduces the hardware and bandwidth requirements of the server.
  • the embodiment of the present application is a directed release process, and the user terminal that does not have the corresponding fault type does not push the fault repair data packet, thereby avoiding waste of resources and improving the stability of the user terminal. User experience.
  • FIG. 1 is a flowchart of an implementation of a method for issuing a fault repair data packet according to a first embodiment of the present application
  • FIG. 2 is a specific implementation flowchart of a method for issuing a fault repair data packet S103 according to the second embodiment of the present application;
  • FIG. 3 is a specific implementation flowchart of a method for issuing a fault repair data packet S105 according to the third embodiment of the present application;
  • FIG. 4 is a specific implementation flowchart of a method for issuing a fault repair data packet S102 according to the fourth embodiment of the present application;
  • FIG. 5 is a flowchart of an implementation of a method for issuing a fault repair data packet according to a fourth embodiment of the present application
  • FIG. 6 is a structural block diagram of a server according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a server according to another embodiment of the present application.
  • FIG. 1 is a flowchart of an implementation of a method for issuing a fault repair data packet according to a first embodiment of the present application, which is described in detail as follows:
  • the server performs communication connection with each user terminal, and the user terminal may send a device operation log to the server by using a preset rule. Specifically, during the running process, the user terminal may send a device running log to the server at a preset time interval. The preset time interval may be performed by the user himself or by the server for all user terminals.
  • the user terminal After receiving the shutdown command, the user terminal can also create a log uploading process in the background, and send the device running log to the server through the process, and enter the state to be shut down; the intended shutdown state is specifically: the user terminal is shut down and the uploading device running log is All modules and processes that are irrelevant, for example, the user terminal only keeps the communication module and the process of log uploading, and closes all other processes to reduce the power consumption of the user terminal.
  • the server may be used to repair a fault condition generated by an application.
  • the server corresponding to each application is simultaneously connected, and The device running logs generated when the user operates each application are respectively sent to the corresponding server.
  • the server may create a corresponding database for the different user terminals, and store the device running log in the database of the user terminal corresponding to the terminal identifier according to the terminal identifier carried in the received device running log. After the storage is completed, the related operations of S102 are performed.
  • the fault information included in each of the user terminals is determined according to a device operation log uploaded by each of the user terminals, and the fault information includes: a fault module identifier, a terminal software version, and a fault response manner.
  • the server determines, by using a preset fault information identification rule, whether the device running log uploaded by the user terminal has a fault condition, and if yes, based on The device running log generates a fault message.
  • the fault information includes the faulty module identifier, the faulty software version, and the fault response mode.
  • the method for determining the faulty module identifier is specifically: identifying a device module that performs an operation in the device running log, and identifying the identifier of the device module as a faulty module.
  • the method for determining the faulty software version is specifically: obtaining an application that responds to the request operation in the running log of the device, and installing the version number of the application on the user terminal, and using the version number as the terminal software version.
  • the fault response modes include but are not limited to: forced exit, downtime, terminal restart, and response timeout.
  • each device running log since each device running log records a response module that responds to the current operation, if the server identifies that the device running log is a fault running log, the identifier of the response module in the device running log may be used as The faulty module identifier of the fault information.
  • the device running log records the start time and the end time. You can compare the running time with the average running time to determine whether the current operation is a timeout response. You can also obtain the device running log. The ending mode of the running process, thereby determining the fault response mode in the fault information by using the above two aspects.
  • the environment software identifier of the request operation can be directly extracted from the device running log as the terminal software version of the fault information.
  • the user terminal may send the device running record corresponding to the current operation to the server when the fault condition is detected, and the server only needs to receive the device running log sent by the terminal device.
  • the abnormality of the user terminal can be identified, and the fault information is directly extracted from the device running log.
  • one fault information may include multiple fault module identifiers, and different fault module identifiers may be divided into multiple fault information for recording.
  • one fault information may include multiple terminal software identifiers; or one fault information may be independently generated for different terminal software identifiers for recording.
  • the fault information is classified according to the faulty module identifier, the terminal software version, and the fault response manner, and the fault type of the fault information is determined.
  • the server classifies the fault module identifier, the terminal software version, and the fault response manner included in each fault information. Because the above three feature items are used, the fault information indicated by each fault information can be identified. Whether the fault conditions are the same or similar to determine whether they are caused by the same cause. For example, the server receives the first fault information and the second fault information, where the three characteristic items in the first fault information are respectively (WIFI module, Ver1, connection timeout); the third feature items in the second fault information are respectively ( WIFI module, Ver1, high packet loss rate), it can be seen that the first fault information and the second fault information have the same fault module identifier and terminal software version number, and the fault response mode is similar, which is common for WIFI connection faults. In response, the first fault information and the second fault information can be identified as the same fault type. In the above manner, different fault information uploaded by different user terminals can be classified into multiple fault types.
  • the same fault type may contain multiple fault information from different faulty terminals.
  • the type of fault that has been identified and identified can also be recorded in the database of the server.
  • the server can match the fault information with the existing fault type to determine whether there is a corresponding fault type that has been created. If yes, the matched fault type is used as the fault type of the fault information, and the fault is The user terminal identifier corresponding to the information is added to the correspondence table pre-stored by the fault type. If the fault type corresponding to the fault information does not exist in the database, create a fault type, and match the created fault type with other received fault information to determine whether other fault information received this time belongs to the fault type. Thereby completing the classification operation of the fault information.
  • a correspondence between the fault type and the user terminal is established according to the user terminal corresponding to the fault information included in the fault type, and the fault information corresponds to at least one of the user terminals.
  • the server after determining the fault type of each fault information, the server identifies the fault information included in each fault type, and establishes a correspondence between the fault type and the user terminal based on the user terminal corresponding to each fault information. Relationship, for example, the fault correspondence is shown in Table 1. Referring to Table 1, the server can configure a fault number for each fault type, configure a fault description segment for the fault type, and use the communication address of the user terminal as the identifier of the user terminal.
  • the server may send the fault type and the fault information included in the fault type to the fault repair administrator, so that the fault repair administrator determines the corresponding fault repair scheme according to the fault type. And generating a fault repair data packet for repairing the fault type; of course, if the fault repair algorithm is stored in the server, a plurality of simulated user terminals can be built by using each fault information in the fault type, by changing the software version of the terminal. Each parameter, and the output feedback of the modified user terminal after modification, determines whether the fault type has been repaired, and if so, generates a fault repair data packet according to each parameter of the terminal software corresponding to the repaired fault type.
  • the fault repair data packet for repairing the fault type is acquired, the fault repair data packet is sent to the user terminal corresponding to the fault type based on the correspondence relationship.
  • the server may generate a fault repair data packet locally through an administrator or a fault repair algorithm, and may also receive a fault repair data packet sent from another device, for example, receiving the fault repair data sent by the administrator terminal or the upper server. package. Since the fault repair has a certain hysteresis, that is, the fault information fed back by the user terminal is received, and after the fault type is determined, there is a certain time difference between the fault repair data packets, and therefore, the server does not realize the fault information immediately after receiving the fault information. After the fault repair data packet is released, the fault repair data packet is pushed to the user terminal corresponding to the fault type after receiving the fault repair data packet.
  • the server determines the fault type used by the fault repair data packet for repair, and queries the user terminal that has the fault type based on the corresponding relationship generated in S104. Which, in turn, sends the fault repair data packet to the user terminal to achieve the purpose of redirecting the fault to the user terminal.
  • the terminal identifier of the user terminal may be deleted from the corresponding relationship or a sent identifier may be added.
  • the newly detected user terminal may be added to the corresponding relationship of the fault type. in.
  • the server pushes the fault repair data packet to the user terminal currently existing in the corresponding relationship table; if the added identifier is added In the manner of distinguishing the user terminals, the server sends the fault repair data packet to the user terminal that has sent the identifier to be empty.
  • the method for distributing the fault repair data packet collects the device operation log of the user terminal, and identifies the fault information included in the user terminal, and then classifies the fault information, and determines the The type of fault that the user terminal contains.
  • the fault repair data packet of a fault type is obtained, the fault repair data packet is sent to all user terminals that have the fault type, and the purpose of the fault repair data packet is released.
  • the embodiment of the present application pushes the fault repair data packet to the user terminal having the corresponding fault type, instead of the global unified push, thereby reducing the instantaneous data volume of the server and reducing the amount of data.
  • the hardware and bandwidth requirements for the server is a directed release process, and the user terminal that does not have the corresponding fault type does not push the fault repair data packet, thereby avoiding waste of resources and improving the stability of the user terminal. User experience.
  • FIG. 2 is a flowchart showing a specific implementation of a method for issuing a fault repair data packet S103 according to the second embodiment of the present application.
  • S103 includes S1031 to S1033, and the details are as follows:
  • the S is a matching degree between the fault information and the fault type; the A 1 , A 2 , and A 3 are respectively a fault module identifier of the fault information, the terminal software version, and the The parameter value of the fault response mode; the B 1 , B 2 , and B 3 are respectively the fault module identifier of the fault type, the terminal software version, and the parameter value of the fault response mode; the e is a natural constant.
  • a fault repairing library is stored in the server, and the fault repairing library includes multiple fault types, and the fault type may be a fault type collected and classified in the process of directly collecting the terminal device, or may be The type of fault discovered by the administrator during the test can also be the type of fault sent by the host server or distributed server to synchronize the faulty database.
  • different servers may divide the user terminals according to different regions or different types of managed terminals, and different servers are used to manage different types of user terminals, and each server may pre-empt The set time interval synchronizes the fault type in the fault repair library, thereby reducing the situation of repeatedly specifying the fault repair data packet, reducing the repair pressure of the administrator, and improving the efficiency of fault repair.
  • the server when receiving the fault information fed back by the user terminal, the server may determine, according to the faulty module identifier, the terminal version number, and the fault response manner included in the fault information, whether the fault information belongs to the recorded fault type. One of them is therefore based on the above three parameters and the failure type calculation in the fault repair library. Calculate the degree of difference between each feature item, that is, calculate
  • the server numbers each module based on the association between the modules, and the smaller number difference indicates that the functions between the two modules are relatively similar and the correlation is relatively large.
  • the communication module can be classified into the third category, and the Bluetooth module is the first subclass of the large class, and the WIFI module is the second subclass of the large class, and the number of the Bluetooth module can be 31, WIFI.
  • the module number can be 32, so the difference between the two is 1; while the display module belongs to the 8th category, and the touch screen in the display module belongs to the first subclass, the module number of the touch screen is 81.
  • the difference between the touch screen module and the Bluetooth module is 50, so that based on the difference between the faulty module identifiers, it can be determined whether the fault information matches the fault type.
  • the fault response manner can also be numbered in the above manner, and will not be described one by one.
  • the software version numbers are numbered one by one based on the order in which the version is generated, directly calculating the difference between the version numbers can determine the degree of difference between the two software versions, that is, as a factor for calculating the matching degree. one.
  • the pre-stored fault type is used as a fault type of the fault information, and the pre-stored fault is A type of fault repair data packet is sent to the user terminal to which the fault information belongs.
  • the server if the server finds that the matching degree between the pre-stored fault type and the currently obtained fault information is greater than a preset matching threshold, the server identifies the pre-stored fault type as the fault corresponding to the fault information.
  • the type in particular, if there is a plurality of pre-stored fault types and the matching degree of the fault information is greater than a preset matching degree threshold, the one of the pre-stored fault types with the highest matching degree is selected as the fault type of the fault information.
  • each pre-stored fault type corresponds to a fault repair data packet for modifying the pre-stored fault type. Therefore, after determining that the fault information belongs to the pre-stored fault type, the server may directly send the pre-stored fault to the faulty terminal. The fault repair packet corresponding to the fault type, thereby achieving the purpose of fault repair.
  • the faulty module identifier, the terminal software version, and the fault response manner carried according to the fault information are used. Create a fault type and use the type of fault created as the fault type for the fault information.
  • the fault information is newly generated fault information, and the server is the fault.
  • the repair is performed. Therefore, based on the faulty module representation, the terminal software version, and the fault response mode carried in the fault information, a fault type is created, and the fault type is stored in the fault repair library, and the created fault type is identified as The failure type of the failure information is then performed in S104 and S105.
  • FIG. 3 is a specific implementation flowchart of a method for issuing a fault repair data packet S105 according to the third embodiment of the present application. As shown in FIG. 3, in the method for issuing the fault repair data packet provided by the embodiment, S105 further includes S1051 to S1053, which are specifically described as follows:
  • the server before sending the fault repair data packet, the server first determines the data amount of the fault repair data packet, and compares the data amount with a preset data volume threshold, and the fault repair data packet data. If the amount is less than the preset data amount threshold, the operation of S1052 is performed; otherwise, if the data amount is greater than or equal to the preset data amount threshold, the operation of S1053 is performed.
  • the data volume threshold of the embodiment may be manually set by an administrator, or may be automatically adjusted by the server according to the bandwidth resource of the network.
  • the server sets the estimated duration of sending a fault repair packet to 4 seconds, and the occupied bandwidth resource cannot exceed 50%.
  • the main thread is set to the serial operation mode, and the main thread corresponds to each user terminal corresponding to the fault type. Send the fault repair packet.
  • the server determines that the data amount of the fault repair data packet is less than a preset data amount threshold, it indicates that the data amount of the fault repair data packet is small, and the time required for sending a data packet is short. There is no case that the data packet is sent due to the transmission failure repair, and the transmission is not sent after the preset duration is exceeded. On this basis, the transmission efficiency of the fault repair data packet through the main thread is high.
  • the server Since the main thread can call the hardware resources and the bandwidth resources are more, the efficiency of sending the data packet is also higher, but since the server detects the main thread running, it sets a maximum response duration, if the response duration exceeds the preset In response to the threshold, the main thread is identified as being in an abnormal state, and the operation of the main thread is terminated and the response is resumed. Therefore, if the amount of data of the fault repair packet is large, the server will recognize that the main thread is in an abnormal state of response, and repeatedly terminates and resends, resulting in waste of resources and failure to transmit the faulty data packet. Therefore, when the amount of data of the faulty packet is small, data can be released through the main thread.
  • the server when the server determines to send the fault repair data packet to each user terminal through the main thread, the server may send the fault repair data packet according to the order in which the user terminal uploads the fault information.
  • the server determines that the fault repair data packet is greater than or equal to the data amount threshold, it indicates that the data amount of the fault repair data packet is large, and if the main thread is serially transmitted, the foregoing sending is easily generated. Timeout situation. Therefore, in this case, the fault repair data packet will be transmitted to each user terminal in a parallel manner by the child threads.
  • the server queries the number of terminals of the user terminal in the corresponding relationship of the fault type, and creates the number of child threads equal to the number of the terminal under the main thread, and runs the sub-threads.
  • the mode is set to the asynchronous parallel mode, so that each sub-thread is controlled to communicate with each user terminal, and each sub-thread sends a fault repair data packet to each user terminal.
  • the server selects an appropriate transmission mode to perform data transmission according to the data volume of the fault repair data packet, thereby improving the transmission efficiency and the success rate of the transmission.
  • FIG. 4 is a specific implementation flowchart of a method for issuing a fault repair data packet S102 according to the fourth embodiment of the present application.
  • a method for issuing a fault repair data packet S102 provided by this embodiment includes: S1021 to S1023, which are specifically described as follows:
  • the running time of the running log is determined according to the start time and the ending time of the device running log.
  • each device operation log records the start time and the end time of the current service response operation
  • the server may determine the running time required by the user terminal to respond to the service based on the difference between the start time and the end time.
  • the server may query a time threshold corresponding to the service type based on the service type. Since different service types require different response times, they have corresponding duration thresholds.
  • the server may extract the service type included in the running log of the device, and then determine the duration threshold of the fault type, and then compare the running duration obtained by the current collection with the duration threshold.
  • the server may determine an average running time of the service type based on a device running log of the service type that is repeatedly fed back by the user terminal, and use the average running time as a duration threshold.
  • the server detects that the running time is less than the preset duration threshold, it indicates that the current response is abnormal, and the device running log is identified as a normal running log; otherwise, if the running time is greater than the preset duration threshold Then, the operation of S1022 is performed to further confirm whether the device running log is a fault running log.
  • the running time is greater than the preset duration threshold, it indicates that the current service response belongs to the timeout response, and therefore the resource status of the user terminal consumed during the current service is obtained.
  • the hardware resources of the user terminal are generally occupied. Therefore, based on the size of the resource consumption parameter, it is determined whether the device running log is a fault running log.
  • the resource consumption parameter may be a value occupied by the terminal memory, or may be a percentage of the operation resource of the operation module.
  • the server compares the consumption resource parameter in the device running log with a preset consumption threshold. If the preset consumption threshold is not exceeded, the device running log is identified as a normal running log; otherwise, if the preset consumption threshold is exceeded, the fault running log is identified, and the operation of S1023 is performed.
  • the device running log is identified as a fault running log, and the fault information is generated based on the fault running log.
  • the server when the server determines that the resource consumption parameter of the user terminal required to respond to the current service exceeds a preset consumption threshold, the server indicates that the operation consumes a large amount of resources of the user terminal, and determines the process of responding to the service. There is a fault condition and a fault message is generated.
  • the purpose of automatically identifying and extracting fault information is achieved, and the efficiency of fault repair is improved.
  • FIG. 5 is a specific implementation flowchart of a method for issuing a fault repair data packet according to a fifth embodiment of the present application.
  • a method for issuing a fault repair data packet according to the present embodiment is based on the corresponding relationship, and the user terminal corresponding to the fault type is Before sending the fault repair data packet, the method further includes: S501 and S502, which are specifically described as follows:
  • the server may send a network state acquisition request to the user terminal to determine the network state of the current user terminal.
  • the network status is a specific connection method for communicating with the Internet, and is through a wired network, a wireless local area network, or a mobile network.
  • the user terminal generates a network status result and returns it to the server based on the current network state communicated with the server.
  • the server determines that the network status of the current user terminal is a preset data packet download status, the server sends a fault repair data packet to the user terminal.
  • the packet download status is: wireless local area status or wired network status.
  • the server determines that the current network status does not meet the preset data packet download status, set a retransmission timer, and after the count value of the retransmission timer is greater than the retransmission count value, return to the related operation of S501 until The network status of the user terminal satisfies the preset data packet download status, and then the download operation is performed.
  • the user terminal may enter a download waiting state when determining that the current state does not satisfy the preset data packet downloading state, and when detecting that the network state of the user terminal meets the data packet downloading state, , actively send a packet acquisition request to the server to start the packet download operation.
  • FIG. 6 is a structural block diagram of a server according to an embodiment of the present application, where each unit included in the server is used to execute each step in the embodiment corresponding to FIG. 1.
  • each unit included in the server is used to execute each step in the embodiment corresponding to FIG. 1.
  • please refer to the related description in the embodiment corresponding to FIG. 1 and FIG. For the convenience of explanation, only the parts related to the present embodiment are shown.
  • the server includes:
  • the device operation log receiving unit 61 is configured to receive a device operation log uploaded by each user terminal;
  • the fault information obtaining unit 62 is configured to determine, according to the device running logs uploaded by each of the user terminals, fault information included in each of the user terminals, where the fault information includes: a fault module identifier, a terminal software version, and a fault response manner;
  • the fault type determining unit 63 is configured to classify the fault information based on the faulty module identifier, the terminal software version, and the fault response manner, and determine a fault type of the fault information.
  • the correspondence determining unit 64 is configured to establish, according to the user terminal corresponding to the fault information that is included in the fault type, a correspondence between the fault type and the user terminal, where the fault information corresponds to at least one user. terminal;
  • the fault data packet sending unit 65 is configured to: if the fault repair data packet for repairing the fault type is acquired, send the fault repair data packet to the user terminal corresponding to the fault type based on the correspondence relationship.
  • the fault type determining unit 63 includes:
  • a matching degree calculation unit configured to calculate, according to the faulty module identifier, the terminal software version, and the fault response manner, a matching degree between each fault information and a pre-stored fault type included in a preset fault repair library;
  • the model for calculating the matching degree is specifically:
  • the S is a matching degree between the fault information and the fault type;
  • the A 1 , A 2 , and A 3 are respectively a fault module identifier of the fault information, the terminal software version, and the a parameter value of the fault response mode;
  • the B 1 , B 2 , and B 3 are respectively a fault module identifier of the fault type, the terminal software version, and a parameter value of the fault response manner;
  • the e is a natural constant;
  • a pre-stored fault type determining unit configured to use the pre-stored fault type as the fault type of the fault information if there is a matching degree of the pre-stored fault type and the fault information is greater than a preset matching degree threshold
  • the fault repair data packet of the pre-stored fault type is sent to the user terminal to which the fault information belongs;
  • a fault type creation unit configured to: if the matching degree of any of the pre-stored fault types and the fault information is less than or equal to a preset matching degree threshold, the fault module identifier, the terminal software version, and the version of the terminal software carried according to the fault information In the fault response mode, a fault type is created, and the fault type created is used as the fault type of the fault information.
  • the fault data packet sending unit 65 includes:
  • a data amount determining unit configured to acquire a data amount of the fault repair data packet
  • a serial sending unit configured to: if the data volume of the fault repairing data packet is less than a preset data amount threshold, set the main thread to a serial running mode, and respectively correspond to the fault type by the main thread Each user terminal sends the fault repair data packet;
  • a parallel sending unit configured to create a plurality of asynchronous parallel child threads in the main thread if the data amount of the fault repair data packet is greater than or equal to the data amount threshold, and respectively use each of the child threads to Each user terminal corresponding to the fault type sends the fault repair data packet; the number of the child threads is the same as the number of user terminals included in the fault type.
  • the fault information obtaining unit 62 includes:
  • a running time calculation unit configured to determine a working duration of the running log according to a start time and an ending time of the device running log
  • a resource consumption determining unit configured to acquire a resource consumption parameter of the device running log, if the running time is greater than a preset duration threshold
  • the fault running log determining unit is configured to: if the resource consumption parameter exceeds a preset consumption threshold, identify the device running log as a fault running log, and generate the fault information based on the fault running log.
  • the server further includes:
  • a network status obtaining unit configured to acquire a network status of the user terminal
  • a network status determining unit configured to: if the network status meets a preset data packet download status, perform the operation of releasing the fault repair data packet to the user terminal corresponding to the fault type based on the corresponding relationship
  • the server provided by the embodiment of the present application can also push the fault repair data packet only to the user terminal having the corresponding fault type, thereby reducing the instantaneous concurrent data volume of the server and reducing the hardware and bandwidth requirements of the server.
  • the embodiment of the present application is a directed release process, and the user terminal that does not have the corresponding fault type does not push the fault repair data packet, thereby avoiding waste of resources and improving the stability of the user terminal. User experience.
  • FIG. 7 is a schematic diagram of a server according to another embodiment of the present application.
  • the server 7 of this embodiment includes a processor 70, a memory 71, and computer readable instructions 72 stored in the memory 71 and executable on the processor 70, such as a fault repair packet. Release program.
  • the processor 70 executes the computer readable instructions 72, the steps in the embodiment of the method for issuing the respective fault repair data packets are implemented, such as S101 to S105 shown in FIG. 1.
  • the processor 70 when executing the computer readable instructions 72, implements the functions of the various units in the various apparatus embodiments described above, such as the functions of modules 61 through 65 shown in FIG.
  • the computer readable instructions 72 may be partitioned into one or more units, the one or more units being stored in the memory 71 and executed by the processor 70 to complete the application.
  • the one or more units may be a series of computer readable instruction instructions segments capable of performing a particular function for describing the execution of the computer readable instructions 72 in the server 7.
  • the computer readable instructions 72 may be divided into a device operation log receiving unit, a failure information acquisition unit, a failure type determination unit, a correspondence relationship determination unit, and a failure data packet transmission unit, each of which has a specific function as described above.
  • the server 7 can be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the server may include, but is not limited to, a processor 70, a memory 71. It will be understood by those skilled in the art that FIG. 7 is only an example of the server 7, and does not constitute a limitation on the server 7, and may include more or less components than those illustrated, or combine some components, or different components, such as
  • the server may also include an input and output device, a network access device, a bus, and the like.
  • the processor 70 may be a central processing unit (CPU), or may be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 71 may be an internal storage unit of the server 7, such as a hard disk or a memory of the server 7.
  • the memory 71 may also be an external storage device of the server 7, such as a plug-in hard disk equipped with the server 7, a smart memory card (SMC), and a Secure Digital (SD) card. Flash card, etc.
  • the memory 71 may also include both an internal storage unit of the server 7 and an external storage device.
  • the memory 71 is configured to store the computer readable instructions and other programs and data required by the server.
  • the memory 71 can also be used to temporarily store data that has been output or is about to be output.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present application is applicable to the technical field of fault recovery, and provided therein are a method for publishing a fault recovery data packet and a server, wherein the method comprises: receiving device operation logs uploaded by each user terminal; determining fault information contained in each of the user terminals respectively on the basis of each of the device operation logs; classifying the fault information, and determining a fault type for the fault information; establishing a correspondence between the fault type and the user terminals according to a user terminal that corresponds to the fault information contained in the fault type; if a fault recovery data packet used for repairing the fault type is acquired, then sending the fault recovery data packet to the user terminal corresponding to the fault type on the basis of the correspondence. The present application only pushes the fault recovery data packet to a user terminal that has a corresponding fault type, thereby reducing the data volume instantaneously concurred by a server and reducing the hardware and bandwidth requirements for the server.

Description

一种故障修复数据包的发布方法及服务器Method and server for issuing fault repair data packet
本申请申明享有2018年02月07日递交的申请号为201810121899.0、名称为“一种故障修复数据包的发布方法及服务器”中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。The application claims the priority of the Chinese Patent Application No. 201810121899.0, entitled "A Method for Distributing a Fault Repair Data Packet and a Server", which is filed on February 7, 2018, the entire contents of which are incorporated by reference. Combined in this application.
技术领域Technical field
本申请属于故障修复技术领域,尤其涉及一种故障修复数据包的发布方法及服务器。The present application belongs to the technical field of fault repair, and in particular, to a method and a server for releasing a fault repair data packet.
背景技术Background technique
故障修复数据包,例如补丁,作为热修复的重要手段,被广泛用于各种应用程序或系统在运行中出现的故障修复。现有的故障修复数据包的发布方式,采用的是全局统一推送的发布方式,即向安装了故障修复数据包所需修复的应用程序或系统的所有用户终端统一进行的软件更新,以修改软件中所存在的漏洞。Fault repair packets, such as patches, are an important means of hot fixes and are widely used for fault recovery in various applications or systems during operation. The existing fault repair data packet is distributed in a global unified push release manner, that is, a software update is uniformly performed to all the user terminals of the application or the system that is required to be repaired by the fault repair data package to modify the software. The vulnerability exists in it.
然而上述方式,要求同时向所有用户终端推送故障修复数据包,瞬时并发数据量较大,对服务器的硬件要求以及带宽资源要求较高。并且,若部分用户终端并未出现故障情况,也需要下载故障修复数据包,则浪费了该部分用户的数据流量,造成资源浪费,还可能因为安装了故障修复数据包而引起新的故障情况,降低用户的使用体验以及软件的稳定性。However, in the above manner, it is required to push the fault repair data packet to all user terminals at the same time, the amount of instantaneous concurrent data is large, and the hardware requirements and bandwidth resources of the server are relatively high. Moreover, if some user terminals do not have a fault condition, and the fault repair data packet needs to be downloaded, the data traffic of the part of the user is wasted, resulting in waste of resources, and a new fault condition may be caused by installing the fault repair data packet. Reduce the user experience and the stability of the software.
技术问题technical problem
有鉴于此,本申请实施例提供了一种故障修复数据包的发布方法及服务器,以解决现有的故障修复数据包的发布方法,对服务器的硬件要求以及带宽资源要求较高,以及对于并未出现故障情况的用户终端,造成资源浪费以及降低终端稳定性的问题。In view of this, the embodiment of the present application provides a method for releasing a fault repair data packet and a server, to solve the method for distributing the fault repair data packet, and the hardware requirements and bandwidth resources of the server are high, and A user terminal that does not have a fault condition causes waste of resources and reduces stability of the terminal.
技术解决方案Technical solution
本申请提供的一种故障修复数据包的发布方法,包括:A method for issuing a fault repair data package provided by the application includes:
接收各个用户终端上传的设备运行日志;Receiving a device running log uploaded by each user terminal;
基于各个所述用户终端上传的设备运行日志,分别确定各个所述用户终端包含的故障信息;所述故障信息包括:故障模块标识、终端软件版本以及故障响应方式;And determining, according to the device running logs uploaded by each of the user terminals, fault information included in each of the user terminals, where the fault information includes: a fault module identifier, a terminal software version, and a fault response manner;
基于所述故障模块标识、所述终端软件版本以及所述故障响应方式,对所述故障信息进行分类,确定所述故障信息的故障类型;And determining, according to the faulty module identifier, the terminal software version, and the fault response manner, the fault information, and determining a fault type of the fault information;
根据所述故障类型包含的所述故障信息对应的用户终端,建立所述故障类型与所述用户终端之间的对应关系;所述故障信息对应至少一个所述用户终端;Determining, according to the user terminal corresponding to the fault information that is included in the fault type, a correspondence between the fault type and the user terminal; the fault information corresponding to at least one of the user terminals;
若获取到用于修复所述故障类型的故障修复数据包,则基于所述对应关系,向所述故障类型对应的用户终端发送所述故障修复数据包。If the fault repair data packet for repairing the fault type is obtained, sending the fault repair data packet to the user terminal corresponding to the fault type based on the correspondence relationship.
有益效果Beneficial effect
本申请实施例由于并非全局统一推送,只是向存在相应故障类型的用户终端推送故障修复数据包,从而减少了服务器瞬时并发的数据量,减少了对服务器的硬件以及带宽要求。另一方面,本申请实施例是一个定向发布的过程,对于不存在相应故障类型的用户终端并不会进行故障修复数据包的推送,从而避免了资源浪费,也能够提高用户终端的稳定性以及用户的使用体验。The embodiment of the present application pushes the fault repair data packet to the user terminal having the corresponding fault type, which reduces the instantaneous data volume of the server and reduces the hardware and bandwidth requirements of the server. On the other hand, the embodiment of the present application is a directed release process, and the user terminal that does not have the corresponding fault type does not push the fault repair data packet, thereby avoiding waste of resources and improving the stability of the user terminal. User experience.
附图说明DRAWINGS
图1是本申请第一实施例提供的一种故障修复数据包的发布方法的实现流程图;1 is a flowchart of an implementation of a method for issuing a fault repair data packet according to a first embodiment of the present application;
图2是本申请第二实施例提供的一种故障修复数据包的发布方法S103的具体实现流程图;2 is a specific implementation flowchart of a method for issuing a fault repair data packet S103 according to the second embodiment of the present application;
图3是本申请第三实施例提供的一种故障修复数据包的发布方法S105的具体实现流程图;3 is a specific implementation flowchart of a method for issuing a fault repair data packet S105 according to the third embodiment of the present application;
图4是本申请第四实施例提供的一种故障修复数据包的发布方法S102的具体实现流程图;4 is a specific implementation flowchart of a method for issuing a fault repair data packet S102 according to the fourth embodiment of the present application;
图5是本申请第四实施例提供故障修复数据包的发布方法的实现流程图;FIG. 5 is a flowchart of an implementation of a method for issuing a fault repair data packet according to a fourth embodiment of the present application;
图6是本申请一实施例提供的一种服务器的结构框图;FIG. 6 is a structural block diagram of a server according to an embodiment of the present application;
图7是本申请另一实施例提供的一种服务器的示意图。FIG. 7 is a schematic diagram of a server according to another embodiment of the present application.
本发明的实施方式Embodiments of the invention
在本申请实施例中,流程的执行主体为服务器,该服务器将生成以及接收得到的故障修复数据包发送给各个对应的终端设备,实现对故障修复的目的。图1示出了本申请第一实施例提供的故障修复数据包的发布方法的实现流程图,详述如下:In the embodiment of the present application, the execution entity of the process is a server, and the server sends the fault repair data packet generated and received to each corresponding terminal device to achieve the purpose of repairing the fault. FIG. 1 is a flowchart of an implementation of a method for issuing a fault repair data packet according to a first embodiment of the present application, which is described in detail as follows:
在S101中,接收各个用户终端上传的设备运行日志。In S101, a device running log uploaded by each user terminal is received.
在本实施例中,服务器与各个用户终端进行通信连接,用户终端可以预设的规则向服务器发送设备运行日志。具体地,用户终端在运行的过程中,可以以预设的时间间隔向服务器发送设备运行日志,该预设的时间间隔可以有用户自己进行设备,也可以由服务器统一对所有用户终端进行设备。用户终端还可以接收到关机指令后,在后台创建一条日志上传的进程,通过该进程向服务器发送设备运行日志,并进入拟关机状态;该拟关机状态具体为:用户终端关闭与上传设备运行日志无关的所有模块以及进程,例如,用户终端只保留通信模块以及日志上传的进程,关闭其他所有进程,以使用户终端减少电量消耗。In this embodiment, the server performs communication connection with each user terminal, and the user terminal may send a device operation log to the server by using a preset rule. Specifically, during the running process, the user terminal may send a device running log to the server at a preset time interval. The preset time interval may be performed by the user himself or by the server for all user terminals. After receiving the shutdown command, the user terminal can also create a log uploading process in the background, and send the device running log to the server through the process, and enter the state to be shut down; the intended shutdown state is specifically: the user terminal is shut down and the uploading device running log is All modules and processes that are irrelevant, for example, the user terminal only keeps the communication module and the process of log uploading, and closes all other processes to reduce the power consumption of the user terminal.
在本实施例中,服务器可以用于修复某一应用程序所产生的故障情况,在该情况下,若用户终端安装有多个应用程序,则同时与各个应用程序对应的服务器进行通信连接,并将用户操作各个应用程序时生成的设备运行日志分别发送给对应的服务器。In this embodiment, the server may be used to repair a fault condition generated by an application. In this case, if the user terminal is installed with multiple applications, the server corresponding to each application is simultaneously connected, and The device running logs generated when the user operates each application are respectively sent to the corresponding server.
在本实施例中,服务器可以为不同的用户终端创建对应的数据库,并根据接收到的设备运行日志中携带有的终端标识,将设备运行日志存储至该终端标识对应的用户终端的数据库内,存储完毕后则执行S102的相关操作。In this embodiment, the server may create a corresponding database for the different user terminals, and store the device running log in the database of the user terminal corresponding to the terminal identifier according to the terminal identifier carried in the received device running log. After the storage is completed, the related operations of S102 are performed.
在S102中,基于各个所述用户终端上传的设备运行日志,分别确定各个所述用户终端包含的 故障信息;所述故障信息包括:故障模块标识、终端软件版本以及故障响应方式。In S102, the fault information included in each of the user terminals is determined according to a device operation log uploaded by each of the user terminals, and the fault information includes: a fault module identifier, a terminal software version, and a fault response manner.
在本实施例中,服务器在接收到各个用户终端发送的设备运行日志后,则通过预设的故障信息识别规则,确定该用户终端上传的设备运行日志是否存在故障情况,若存在情况,则基于该设备运行日志生成一个故障信息。其中,该故障信息中包含了故障模块标识、故障软件版本以及故障响应方式。故障模块标识的确定方式具体为:识别设备运行日志中执行操作的设备模块,并将该设备模块的标识作为故障模块标识。故障软件版本的确定方式具体为:获取该设备运行日志中响应请求操作的应用程序,并安装于用户终端上的该应用程序的版本编号,将该版本编号作为终端软件版本。故障响应方式包括但不限于:强制退出、宕机、终端重启以及响应超时。In this embodiment, after receiving the device running log sent by each user terminal, the server determines, by using a preset fault information identification rule, whether the device running log uploaded by the user terminal has a fault condition, and if yes, based on The device running log generates a fault message. The fault information includes the faulty module identifier, the faulty software version, and the fault response mode. The method for determining the faulty module identifier is specifically: identifying a device module that performs an operation in the device running log, and identifying the identifier of the device module as a faulty module. The method for determining the faulty software version is specifically: obtaining an application that responds to the request operation in the running log of the device, and installing the version number of the application on the user terminal, and using the version number as the terminal software version. The fault response modes include but are not limited to: forced exit, downtime, terminal restart, and response timeout.
在本实施例中,由于每一个设备运行日志中记录有响应本次操作的响应模块,因此若服务器识别了该设备运行日志为故障运行日志,则可以把设备运行日志中的响应模块的标识作为该故障信息的故障模块标识。设备运行日志中除了记录响应的模块外,还会记录有开始时间以及结束时间,可以将该运行时间与平均运行时间进行比较,确定本次操作是否为超时响应,还可以从设备运行日志中获取该运行进程的结束方式,从而通过上述两个方面,确定该故障信息中的故障响应方式。当然,对于故障软件版本这一信息,可以直接从设备运行日志中提取请求操作所在的环境软件标识,作为该故障信息的终端软件版本。In this embodiment, since each device running log records a response module that responds to the current operation, if the server identifies that the device running log is a fault running log, the identifier of the response module in the device running log may be used as The faulty module identifier of the fault information. In addition to the module that records the response, the device running log records the start time and the end time. You can compare the running time with the average running time to determine whether the current operation is a timeout response. You can also obtain the device running log. The ending mode of the running process, thereby determining the fault response mode in the fault information by using the above two aspects. Of course, for the faulty software version information, the environment software identifier of the request operation can be directly extracted from the device running log as the terminal software version of the fault information.
可选地,在本实施例中,用户终端可以在检测到自身出现故障情况时,才将本次操作对应的设备运行记录发送给服务器,则服务器只要接收到终端设备发送的设备运行日志,则可以识别该用户终端出现异常情况,直接从设备运行日志从提取故障信息。Optionally, in this embodiment, the user terminal may send the device running record corresponding to the current operation to the server when the fault condition is detected, and the server only needs to receive the device running log sent by the terminal device. The abnormality of the user terminal can be identified, and the fault information is directly extracted from the device running log.
当然,若设备运行日志中涉及多个模块协同运作完成一个任务请求,则一个故障信息中可以包含多个故障模块标识,也可以将不同的故障模块标识分为多个不同的故障信息进行记录。同样地,若一个任务请求需要多个应用程序协同完成,则一个故障信息中可以包含多个终端软件标识;也可以为不同的终端软件标识独立生成一个故障信息用以记录。Of course, if a plurality of modules in the device running log cooperate to complete a task request, one fault information may include multiple fault module identifiers, and different fault module identifiers may be divided into multiple fault information for recording. Similarly, if a task request requires multiple applications to be collaboratively completed, one fault information may include multiple terminal software identifiers; or one fault information may be independently generated for different terminal software identifiers for recording.
在S103中,基于所述故障模块标识、所述终端软件版本以及所述故障响应方式,对所述故障信息进行分类,确定所述故障信息的故障类型。In S103, the fault information is classified according to the faulty module identifier, the terminal software version, and the fault response manner, and the fault type of the fault information is determined.
在本实施例中,服务器根据每一个故障信息中包含的故障模块标识、终端软件版本以及故障响应方式对其进行分类,由于通过上述三个特征项,则可以识别得到每一个故障信息所指示的故障情况是否相同或相似,从而确定是否由同一个成因引起的。例如,服务器接收到第一故障信息以及第二故障信息,第一故障信息中上述三个特征项分别为(WIFI模块、Ver1、连接超时);第二故障信息中上述三个特征项分别为(WIFI模块、Ver1、丢包率高),由此可见,第一故障信息与第二故障信息中故障模块标识以及终端软件版本编号均相同,并且故障响应方式类似,均是WIFI连接存在故障的常见响应方式,因此,可以将第一故障信息与第二故障信息识别为同一故障类型。通过 上述方式,可以将不同用户终端上传的不同故障信息,归类为多个故障类型。In this embodiment, the server classifies the fault module identifier, the terminal software version, and the fault response manner included in each fault information. Because the above three feature items are used, the fault information indicated by each fault information can be identified. Whether the fault conditions are the same or similar to determine whether they are caused by the same cause. For example, the server receives the first fault information and the second fault information, where the three characteristic items in the first fault information are respectively (WIFI module, Ver1, connection timeout); the third feature items in the second fault information are respectively ( WIFI module, Ver1, high packet loss rate), it can be seen that the first fault information and the second fault information have the same fault module identifier and terminal software version number, and the fault response mode is similar, which is common for WIFI connection faults. In response, the first fault information and the second fault information can be identified as the same fault type. In the above manner, different fault information uploaded by different user terminals can be classified into multiple fault types.
在本实施例中,同一个故障类型可以包含多个来自不同故障终端的故障信息。服务器的数据库中还可以记录有已经识别确定了的故障类型。在该情况下,服务器可以将故障信息与已有的故障类型进行匹配,确定是否存在对应的已创建的故障类型,若是,则把匹配的故障类型作为该故障信息的故障类型,并将该故障信息对应的用户终端标识添加到该故障类型预先存储的对应关系表中。若数据库中不存在该故障信息对应的故障类型,则创建一个故障类型,并将该创建的故障类型与其他接收的故障信息进行匹配,确定本次接收到的其他故障信息是否属于该故障类型,从而完成对故障信息的分类操作。In this embodiment, the same fault type may contain multiple fault information from different faulty terminals. The type of fault that has been identified and identified can also be recorded in the database of the server. In this case, the server can match the fault information with the existing fault type to determine whether there is a corresponding fault type that has been created. If yes, the matched fault type is used as the fault type of the fault information, and the fault is The user terminal identifier corresponding to the information is added to the correspondence table pre-stored by the fault type. If the fault type corresponding to the fault information does not exist in the database, create a fault type, and match the created fault type with other received fault information to determine whether other fault information received this time belongs to the fault type. Thereby completing the classification operation of the fault information.
在S104中,根据所述故障类型包含的所述故障信息对应的用户终端,建立所述故障类型与所述用户终端之间的对应关系;所述故障信息对应至少一个所述用户终端。In S104, a correspondence between the fault type and the user terminal is established according to the user terminal corresponding to the fault information included in the fault type, and the fault information corresponds to at least one of the user terminals.
在本实施例中,服务器在确定了各个故障信息的故障类型后,则识别每一个故障类型包含的故障信息,并基于各个故障信息所对应的用户终端,建立故障类型与用户终端之间的对应关系,举例性地,该故障对应关系如表1所示。参见表1,服务器可以为每一个故障类型配置一个故障编号,为该故障类型配置一个故障描述语段,并将用户终端的通信地址作为该用户终端的标识。In this embodiment, after determining the fault type of each fault information, the server identifies the fault information included in each fault type, and establishes a correspondence between the fault type and the user terminal based on the user terminal corresponding to each fault information. Relationship, for example, the fault correspondence is shown in Table 1. Referring to Table 1, the server can configure a fault number for each fault type, configure a fault description segment for the fault type, and use the communication address of the user terminal as the identifier of the user terminal.
故障编号Fault number 故障描述Fault description 用户终端标识User terminal identification
11 WIFI连接故障WIFI connection failure (198.15.255.14);(185.52.61.243);(198.15.255.14); (185.52.61.243);
22 触控屏触控错位Touch screen touch misplacement (14.56.212.250);(201.212.85.2);(14.56.212.250); (201.212.85.2);
表1Table 1
在本实施例中,服务器在确定了该故障类型后,则可以把该故障类型以及该故障类型包含的故障信息发送给故障修复管理员,以便故障修复管理员根据故障类型确定对应的故障修复方案,继而生成修复该故障类型的故障修复数据包;当然,若服务器中存储有故障修复算法,还可以通过该故障类型中的各个故障信息,搭建多个模拟用户终端,通过改变终端软件版本中的各个参数,以及修改后模拟用户终端的输出反馈,确定该故障类型是否已被修复,若是,则根据修复该故障类型所对应的终端软件的各个参数生成故障修复数据包。In this embodiment, after determining the fault type, the server may send the fault type and the fault information included in the fault type to the fault repair administrator, so that the fault repair administrator determines the corresponding fault repair scheme according to the fault type. And generating a fault repair data packet for repairing the fault type; of course, if the fault repair algorithm is stored in the server, a plurality of simulated user terminals can be built by using each fault information in the fault type, by changing the software version of the terminal. Each parameter, and the output feedback of the modified user terminal after modification, determines whether the fault type has been repaired, and if so, generates a fault repair data packet according to each parameter of the terminal software corresponding to the repaired fault type.
在S105中,若获取到用于修复所述故障类型的故障修复数据包,则基于所述对应关系,向所述故障类型对应的用户终端发送所述故障修复数据包。In S105, if the fault repair data packet for repairing the fault type is acquired, the fault repair data packet is sent to the user terminal corresponding to the fault type based on the correspondence relationship.
在本实施例中,服务器可以通过管理员或故障修复算法在本地生成故障修复数据包,还可以接收来自其他设备发送的故障修复数据包,例如接收管理员的终端或上位服务器发送的故障修复数据包。由于故障修复具有一定的滞后性,即接收到用户终端反馈的故障信息,确定故障类型后,到获取到故障修复数据包之间存在一定的时间差,因此,服务器并非在接收到故障信息后马上实现故障修复数据包的发布流程,而是在接收到故障修复数据包后,才向该故障类型对应的用户终端推送该 故障修复数据包。In this embodiment, the server may generate a fault repair data packet locally through an administrator or a fault repair algorithm, and may also receive a fault repair data packet sent from another device, for example, receiving the fault repair data sent by the administrator terminal or the upper server. package. Since the fault repair has a certain hysteresis, that is, the fault information fed back by the user terminal is received, and after the fault type is determined, there is a certain time difference between the fault repair data packets, and therefore, the server does not realize the fault information immediately after receiving the fault information. After the fault repair data packet is released, the fault repair data packet is pushed to the user terminal corresponding to the fault type after receiving the fault repair data packet.
在本实施例中,服务器在获取到一个新的故障修复数据包后,则确定该故障修复数据包用于修复的故障类型,并基于S104中生成的对应关系查询存在该故障类型的用户终端有哪些,继而向上述用户终端发送该故障修复数据包,实现向用户终端定向进行故障修复的目的。In this embodiment, after obtaining a new fault repair data packet, the server determines the fault type used by the fault repair data packet for repair, and queries the user terminal that has the fault type based on the corresponding relationship generated in S104. Which, in turn, sends the fault repair data packet to the user terminal to achieve the purpose of redirecting the fault to the user terminal.
特别地,服务器若对某一故障类型中的用户终端发送了故障修复数据包后,则可以把该用户终端的终端标识从对应关系中删除或者添加一个已发送标识。在后续的故障信息采集的过程中,当再次检测到某一用户终端反馈的故障信息属于已存在故障修复数据包的故障类型时,可以把新检测到的用户终端添加到该故障类型的对应关系中。若采用的是将已发送故障修复数据包的用户标识从对应关系中删除的方式,则服务器向对应关系表中当前存在的用户终端推送该故障修复数据包;若采用的是添加一个已发送标识的方式进行用户终端的区分,则服务器向已发送标识为空的用户终端发送该故障修复数据包。In particular, if the server sends a fault repair data packet to the user terminal in a certain fault type, the terminal identifier of the user terminal may be deleted from the corresponding relationship or a sent identifier may be added. During the subsequent fault information collection process, when it is detected again that the fault information fed back by a certain user terminal belongs to the fault type of the existing fault repair data packet, the newly detected user terminal may be added to the corresponding relationship of the fault type. in. If the user identifier of the failed repair data packet is deleted from the corresponding relationship, the server pushes the fault repair data packet to the user terminal currently existing in the corresponding relationship table; if the added identifier is added In the manner of distinguishing the user terminals, the server sends the fault repair data packet to the user terminal that has sent the identifier to be empty.
以上可以看出,本申请实施例提供的一种故障修复数据包的发布方法通过采集用户终端的设备运行日志,并识别该用户终端中包含的故障信息,继而对该故障信息进行分类,确定该用户终端所包含的故障类型。当获取得到某一故障类型的故障修复数据包,则向存在该故障类型的所有用户终端发送该故障修复数据包,实现故障修复数据包定向发布的目的。与现有的故障修复数据包的发布方法相比,本申请实施例由于并非全局统一推送,只是向存在相应故障类型的用户终端推送故障修复数据包,从而减少了服务器瞬时并发的数据量,减少了对服务器的硬件以及带宽要求。另一方面,本申请实施例是一个定向发布的过程,对于不存在相应故障类型的用户终端并不会进行故障修复数据包的推送,从而避免了资源浪费,也能够提高用户终端的稳定性以及用户的使用体验。It can be seen that the method for distributing the fault repair data packet provided by the embodiment of the present application collects the device operation log of the user terminal, and identifies the fault information included in the user terminal, and then classifies the fault information, and determines the The type of fault that the user terminal contains. When the fault repair data packet of a fault type is obtained, the fault repair data packet is sent to all user terminals that have the fault type, and the purpose of the fault repair data packet is released. Compared with the existing method for issuing the fault repair data packet, the embodiment of the present application pushes the fault repair data packet to the user terminal having the corresponding fault type, instead of the global unified push, thereby reducing the instantaneous data volume of the server and reducing the amount of data. The hardware and bandwidth requirements for the server. On the other hand, the embodiment of the present application is a directed release process, and the user terminal that does not have the corresponding fault type does not push the fault repair data packet, thereby avoiding waste of resources and improving the stability of the user terminal. User experience.
图2示出了本申请第二实施例提供的一种故障修复数据包的发布方法S103的具体实现流程图。参见图2所示,相对于图1所述实施例,本实施例提供的一种故障修复数据包的发布方法中S103包括S1031~S1033,具体详述如下:FIG. 2 is a flowchart showing a specific implementation of a method for issuing a fault repair data packet S103 according to the second embodiment of the present application. Referring to FIG. 2, in the method for issuing the fault repair data packet provided by the embodiment, S103 includes S1031 to S1033, and the details are as follows:
在S1031中,基于所述故障模块标识、所述终端软件版本以及所述故障响应方式,分别计算各个所述故障信息与预设的故障修复库中包含的预存故障类型的匹配度;计算所述匹配度的模型具体为:In S1031, calculating, according to the faulty module identifier, the terminal software version, and the fault response manner, a matching degree between each fault information and a pre-stored fault type included in a preset fault repair library; The model of matching is specifically:
Figure PCTCN2018083288-appb-000001
Figure PCTCN2018083288-appb-000001
其中,所述S为所述故障信息与所述故障类型之间的匹配度;所述A 1、A 2、A 3分别为所述故障信息的故障模块标识、所述终端软件版本以及所述故障响应方式的参数值;所述B 1、B 2、B 3分别为所述故障类型的故障模块标识、所述终端软件版本以及所述故障响应方式的参数值;所述e为自然 常数。 The S is a matching degree between the fault information and the fault type; the A 1 , A 2 , and A 3 are respectively a fault module identifier of the fault information, the terminal software version, and the The parameter value of the fault response mode; the B 1 , B 2 , and B 3 are respectively the fault module identifier of the fault type, the terminal software version, and the parameter value of the fault response mode; the e is a natural constant.
在本实施例中,服务器中存储有一个故障修复库,该故障修复库中包含多个故障类型,该故障类型可以是在直接采集终端设备的过程中采集并分类得到的故障类型,还可以是管理员在测试过程中发现的故障类型,也可以是接收上位服务器或分布式服务器为了对故障数据库同步而发送的故障类型。在该情况下,不同的服务器可以根据所述地区的不同或所管理的终端类型的不同,对用户终端进行划分,不同的服务器用于管理不同类型的用户终端,而各个服务器之间会以预设的时间间隔同步该故障修复库中的故障类型,从而减少了重复指定故障修复数据包的情况,减少管理员的修复压力,提高故障修复的效率。In this embodiment, a fault repairing library is stored in the server, and the fault repairing library includes multiple fault types, and the fault type may be a fault type collected and classified in the process of directly collecting the terminal device, or may be The type of fault discovered by the administrator during the test can also be the type of fault sent by the host server or distributed server to synchronize the faulty database. In this case, different servers may divide the user terminals according to different regions or different types of managed terminals, and different servers are used to manage different types of user terminals, and each server may pre-empt The set time interval synchronizes the fault type in the fault repair library, thereby reducing the situation of repeatedly specifying the fault repair data packet, reducing the repair pressure of the administrator, and improving the efficiency of fault repair.
在本实施例中,服务器在接收到用户终端反馈的故障信息时,可根据该故障信息中包含的故障模块标识、终端版本编号以及故障响应方式,确定该故障信息是否属于已记录的故障类型中的其中一种,因此基于上述三个参数与故障修复库中的故障类型进行匹配度计算。计算各项特征项之间的差异程度,即计算|A 1-B 1|、|A 2-B 2|以及|A 3-B 3|,并将三个差值之和作为故障类型与故障信息之间的偏差度,并基于该偏差度得到匹配度。 In this embodiment, when receiving the fault information fed back by the user terminal, the server may determine, according to the faulty module identifier, the terminal version number, and the fault response manner included in the fault information, whether the fault information belongs to the recorded fault type. One of them is therefore based on the above three parameters and the failure type calculation in the fault repair library. Calculate the degree of difference between each feature item, that is, calculate |A 1 -B 1 |, |A 2 -B 2 | and |A 3 -B 3 |, and use the sum of the three differences as the fault type and fault The degree of deviation between the information, and the degree of matching is obtained based on the degree of deviation.
优选地,服务器基于各个模块之间的关联性,对各个模块进行编号,编号差异较小的则表示两个模块之间功能较为相似,关联性较大。例如,可以将通信模块归为第三大类,而蓝牙模块作为该大类中的第一小类,WIFI模块作为该大类中的第二小类,则蓝牙模块的编号可以为31,WIFI模块的编号可以为32,因此两者之间的差值为1;而显示模块属于第8大类,而显示模块中的触控屏属于第一小类,则触控屏的模块编号为81,因此触控屏模块与蓝牙模块之间的差值为50,从而基于故障模块标识之间的差值的大小,可以确定故障信息与故障类型是否匹配。如上所述,对于故障响应方式也可以通过上述方式进行编号,在此不再一一阐述。Preferably, the server numbers each module based on the association between the modules, and the smaller number difference indicates that the functions between the two modules are relatively similar and the correlation is relatively large. For example, the communication module can be classified into the third category, and the Bluetooth module is the first subclass of the large class, and the WIFI module is the second subclass of the large class, and the number of the Bluetooth module can be 31, WIFI. The module number can be 32, so the difference between the two is 1; while the display module belongs to the 8th category, and the touch screen in the display module belongs to the first subclass, the module number of the touch screen is 81. Therefore, the difference between the touch screen module and the Bluetooth module is 50, so that based on the difference between the faulty module identifiers, it can be determined whether the fault information matches the fault type. As described above, the fault response manner can also be numbered in the above manner, and will not be described one by one.
特别地,由于软件版本编号是基于版本生成日期的先后次序逐一编号的,因此直接计算版本编号之间的差值,则可以确定两个软件版本之间的差异程度,即作为计算匹配度的因子之一。In particular, since the software version numbers are numbered one by one based on the order in which the version is generated, directly calculating the difference between the version numbers can determine the degree of difference between the two software versions, that is, as a factor for calculating the matching degree. one.
在S1032中,若存在一个所述预存故障类型与所述故障信息的匹配度大于预设的匹配度阈值,则将所述预存故障类型作为所述故障信息的故障类型,并将所述预存故障类型的故障修复数据包发送给所述故障信息所属的用户终端。In S1032, if there is a matching degree of the pre-stored fault type and the fault information is greater than a preset matching degree threshold, the pre-stored fault type is used as a fault type of the fault information, and the pre-stored fault is A type of fault repair data packet is sent to the user terminal to which the fault information belongs.
在本实施例中,服务器若在故障修复库中查找到一个预存故障类型与当前获取得到的故障信息的匹配度大于预设的匹配阈值,则将该预存故障类型识别为该故障信息对应的故障类型,特别地,若存在多个预存故障类型与该故障信息的匹配度均大于预设的匹配度阈值,则选取匹配度最高的一个预存故障类型,作为该故障信息的故障类型。In this embodiment, if the server finds that the matching degree between the pre-stored fault type and the currently obtained fault information is greater than a preset matching threshold, the server identifies the pre-stored fault type as the fault corresponding to the fault information. The type, in particular, if there is a plurality of pre-stored fault types and the matching degree of the fault information is greater than a preset matching degree threshold, the one of the pre-stored fault types with the highest matching degree is selected as the fault type of the fault information.
在本实施例中,每个预存故障类型对应一个用于修改该预存故障类型的故障修复数据包,因此,服务器在确定某一故障信息属于预存故障类型后,可以直接向该故障终端发送该预存故障类型对应 的故障修复数据包,从而实现故障修复的目的。In this embodiment, each pre-stored fault type corresponds to a fault repair data packet for modifying the pre-stored fault type. Therefore, after determining that the fault information belongs to the pre-stored fault type, the server may directly send the pre-stored fault to the faulty terminal. The fault repair packet corresponding to the fault type, thereby achieving the purpose of fault repair.
在S1033中,若任一所述预存故障类型与所述故障信息的匹配度均小于或等于预设的匹配度阈值,则根据所述故障信息携带的故障模块标识、终端软件版本以及故障响应方式,创建一个故障类型,并将创建的故障类型作为所述故障信息的故障类型。In S1033, if the matching degree of any of the pre-stored fault types and the fault information is less than or equal to a preset matching degree threshold, the faulty module identifier, the terminal software version, and the fault response manner carried according to the fault information are used. Create a fault type and use the type of fault created as the fault type for the fault information.
在本实施例中,若故障修复库中各个预存故障类型与该故障信息之间的匹配度均小于或等于匹配度阈值,则表示该故障信息为新出现的故障信息,服务器并为对该故障进行修复,因此,将会基于该故障信息携带的故障模块表示、终端软件版本以及故障响应方式,创建一个故障类型,并将该故障类型存储于故障修复库中,并识别该创建的故障类型作为该故障信息的故障类型,然后执行S104以及S105的相关操作。In this embodiment, if the matching degree between each pre-stored fault type and the fault information in the fault repairing library is less than or equal to the matching degree threshold, the fault information is newly generated fault information, and the server is the fault. The repair is performed. Therefore, based on the faulty module representation, the terminal software version, and the fault response mode carried in the fault information, a fault type is created, and the fault type is stored in the fault repair library, and the created fault type is identified as The failure type of the failure information is then performed in S104 and S105.
在本申请实施例中,通过将故障信息与预存故障类型进行匹配,从而避免重复修复、重复存储的情况发生,减少了故障修复的管理员的工作压力,提高了故障修复的效率。In the embodiment of the present application, by matching the fault information with the pre-stored fault type, the situation of repeated repair and repeated storage is avoided, the work pressure of the administrator of the fault repair is reduced, and the efficiency of fault repair is improved.
图3了本申请第三实施例提供的一种故障修复数据包的发布方法S105的具体实现流程图。参见图3所示,相对于图1所述实施例,本实施例提供的一种故障修复数据包的发布方法中S105还包括S1051~S1053,具体详述如下:FIG. 3 is a specific implementation flowchart of a method for issuing a fault repair data packet S105 according to the third embodiment of the present application. As shown in FIG. 3, in the method for issuing the fault repair data packet provided by the embodiment, S105 further includes S1051 to S1053, which are specifically described as follows:
在S1051中,获取所述故障修复数据包的数据量。In S1051, the data amount of the fault repair data packet is acquired.
在本实施例中,服务器在发送故障修复数据包前,会先确定该故障修复数据包的数据量,并把该数据量与预设的数据量阈值进行比对,该故障修复数据包的数据量小于预设的数据量阈值,则执行S1052的操作;反之,若数据量大于或等于预设的数据量阈值,则执行S1053的操作。In this embodiment, before sending the fault repair data packet, the server first determines the data amount of the fault repair data packet, and compares the data amount with a preset data volume threshold, and the fault repair data packet data. If the amount is less than the preset data amount threshold, the operation of S1052 is performed; otherwise, if the data amount is greater than or equal to the preset data amount threshold, the operation of S1053 is performed.
可选地,本实施例的数据量阈值可以由管理员进行手动设置,也可以服务器根据所处网络的带宽资源自动进行调整。例如,服务器设定了发送一个故障修复数据包的预计时长为4秒,且占用的带宽资源不能超过50%,当前的带宽资源为100M/s,由此可见,该数据量阈值则可以为:Vmax=100M/s*50%*4=200M。Optionally, the data volume threshold of the embodiment may be manually set by an administrator, or may be automatically adjusted by the server according to the bandwidth resource of the network. For example, the server sets the estimated duration of sending a fault repair packet to 4 seconds, and the occupied bandwidth resource cannot exceed 50%. The current bandwidth resource is 100 M/s. Therefore, the data volume threshold can be: Vmax = 100 M / s * 50% * 4 = 200M.
在S1052中,若所述故障修复数据包的数据量小于预设的数据量阈值,则将主线程设置为串行运行模式,并通过所述主线程逐一向所述故障类型对应的各个用户终端发送所述故障修复数据包。In S1052, if the data amount of the fault repair data packet is less than a preset data amount threshold, the main thread is set to the serial operation mode, and the main thread corresponds to each user terminal corresponding to the fault type. Send the fault repair packet.
在本实施例中,若服务器确定了该故障修复数据包的数据量小于预设的数据量阈值,则表示该故障修复数据包的数据量较小,发送一个数据包所需的时间较短,并不会出现因发送故障修复数据包,而导致发送超出预设时长仍未发送完毕的情况发送,在此基础上,通过主线程进行故障修复数据包的发送效率较高。由于主线程可调用的硬件资源以及带宽资源较多,因此进行数据包发送的效率也较高,但由于服务器在检测主线程运行时,会设置一个最大响应时长,若该响应时长超过预设的响应阈值,则会识别该主线程处于响应异常状态,则会终止该主线程的操作,重新进行响应。因此,若故障修复数据包的数据量较大,服务器则会识别该主线程处于响应异常状态,并反复终止并 重发,导致资源浪费以及故障数据包无法正常发送的情况。因此,当故障数据包的数据量较小时,才可以通过主线程进行数据发布。In this embodiment, if the server determines that the data amount of the fault repair data packet is less than a preset data amount threshold, it indicates that the data amount of the fault repair data packet is small, and the time required for sending a data packet is short. There is no case that the data packet is sent due to the transmission failure repair, and the transmission is not sent after the preset duration is exceeded. On this basis, the transmission efficiency of the fault repair data packet through the main thread is high. Since the main thread can call the hardware resources and the bandwidth resources are more, the efficiency of sending the data packet is also higher, but since the server detects the main thread running, it sets a maximum response duration, if the response duration exceeds the preset In response to the threshold, the main thread is identified as being in an abnormal state, and the operation of the main thread is terminated and the response is resumed. Therefore, if the amount of data of the fault repair packet is large, the server will recognize that the main thread is in an abnormal state of response, and repeatedly terminates and resends, resulting in waste of resources and failure to transmit the faulty data packet. Therefore, when the amount of data of the faulty packet is small, data can be released through the main thread.
在本实施例中,服务器在确定通过主线程向各个用户终端发送故障修复数据包时,可以根据用户终端上传故障信息的先后次序,作为该用户终端发送故障修复数据包的发送次序。In this embodiment, when the server determines to send the fault repair data packet to each user terminal through the main thread, the server may send the fault repair data packet according to the order in which the user terminal uploads the fault information.
在S1053中,若所述故障修复数据包的数据量大于或等于所述数据量阈值,则在所述主线程内创建多个异步并行的子线程,并通过各个所述子线程分别向所述故障类型对应的各个用户终端发送所述故障修复数据包;所述子线程的个数与所述故障类型包含的用户终端的个数相同。In S1053, if the data amount of the fault repair data packet is greater than or equal to the data amount threshold, a plurality of asynchronous parallel child threads are created in the main thread, and respectively, by each of the child threads Each user terminal corresponding to the fault type sends the fault repair data packet; the number of the child threads is the same as the number of user terminals included in the fault type.
在本实施例中,若服务器在确定了故障修复数据包大于或等于数据量阈值,则表示该故障修复数据包的数据量较大,通过主线程串行方式进行发送的话,容易产生上述的发送超时的情况。因此,在该情况下,将通过子线程并行的方式向各个用户终端发送故障修复数据包。In this embodiment, if the server determines that the fault repair data packet is greater than or equal to the data amount threshold, it indicates that the data amount of the fault repair data packet is large, and if the main thread is serially transmitted, the foregoing sending is easily generated. Timeout situation. Therefore, in this case, the fault repair data packet will be transmitted to each user terminal in a parallel manner by the child threads.
在本实施例中,服务器查询该故障类型的对应关系中记录了用户终端的终端个数,并在主线程下创建与该终端个数相同的子线程的个数,并将各个子线程的运行模式设置为异步并行模式,从而控制各个子线程分别与各个用户终端进行通信连接,通过各个子线程分别向各个用户终端发送故障修复数据包。In this embodiment, the server queries the number of terminals of the user terminal in the corresponding relationship of the fault type, and creates the number of child threads equal to the number of the terminal under the main thread, and runs the sub-threads. The mode is set to the asynchronous parallel mode, so that each sub-thread is controlled to communicate with each user terminal, and each sub-thread sends a fault repair data packet to each user terminal.
在本申请实施例中,服务器根据故障修复数据包的数据量大小,选择合适的发送方式进行数据发送,从而提高了发送效率以及发送的成功率。In the embodiment of the present application, the server selects an appropriate transmission mode to perform data transmission according to the data volume of the fault repair data packet, thereby improving the transmission efficiency and the success rate of the transmission.
图4了本申请第四实施例提供的一种故障修复数据包的发布方法S102的具体实现流程图。参见图4所示,相对于图1所述实施例,本实施例提供的一种故障修复数据包的发布方法S102包括:S1021~S1023,具体详述如下:FIG. 4 is a specific implementation flowchart of a method for issuing a fault repair data packet S102 according to the fourth embodiment of the present application. As shown in FIG. 4, with respect to the embodiment shown in FIG. 1, a method for issuing a fault repair data packet S102 provided by this embodiment includes: S1021 to S1023, which are specifically described as follows:
在S1021中,根据所述设备运行日志的开始时刻以及结束时刻,确定所述运行日志的运作时长。In S1021, the running time of the running log is determined according to the start time and the ending time of the device running log.
在本实施例中,各个设备运行日志中记录了本次服务响应操作的开始时刻以及结束时刻,服务器可以基于开始时刻以及结束时刻之间的差值,确定用户终端响应该服务所需的运行时长。In this embodiment, each device operation log records the start time and the end time of the current service response operation, and the server may determine the running time required by the user terminal to respond to the service based on the difference between the start time and the end time. .
可选地,服务器可基于该服务类型,查询该服务类型所对应的时间阈值。由于不同的服务类型所需响应的时间均不相同,因此具有对应的时长阈值。服务器可提取该设备运行日志中包含的服务类型,继而确定该故障类型的时长阈值,然后在将本次采集得到的运行时长与时长阈值进行比对。特别地,服务器可以基于用户终端多次反馈的关于该服务类型的设备运行日志,确定该服务类型的平均运行时长,并将该平均运行时长作为时长阈值。Optionally, the server may query a time threshold corresponding to the service type based on the service type. Since different service types require different response times, they have corresponding duration thresholds. The server may extract the service type included in the running log of the device, and then determine the duration threshold of the fault type, and then compare the running duration obtained by the current collection with the duration threshold. In particular, the server may determine an average running time of the service type based on a device running log of the service type that is repeatedly fed back by the user terminal, and use the average running time as a duration threshold.
在本实施例中,若服务器检测到运行时长小于预设的时长阈值,则表示本次响应无异常,将该设备运行日志识别为正常运行日志;反之,若该运行时长大于预设的时长阈值,则进行S1022的操作,进一步确认该设备运行日志是否为故障运行日志。In this embodiment, if the server detects that the running time is less than the preset duration threshold, it indicates that the current response is abnormal, and the device running log is identified as a normal running log; otherwise, if the running time is greater than the preset duration threshold Then, the operation of S1022 is performed to further confirm whether the device running log is a fault running log.
在S1022中,若所述运行时长大于预设的时长阈值,则获取所述设备运行日志的资源消耗参数。In S1022, if the running time length is greater than a preset duration threshold, the resource consumption parameter of the device running log is obtained.
在本实施例中,由于运行时长大于预设的时长阈值,则表示本次服务响应属于超时响应,因此将获取本次服务时所消耗的用户终端的资源情况。由于对于故障响应,一般对用户终端的硬件资源占用较多,因此可基于资源消耗参数数值的大小,确定该设备运行日志是否为故障运行日志。In this embodiment, since the running time is greater than the preset duration threshold, it indicates that the current service response belongs to the timeout response, and therefore the resource status of the user terminal consumed during the current service is obtained. As a result of the failure response, the hardware resources of the user terminal are generally occupied. Therefore, based on the size of the resource consumption parameter, it is determined whether the device running log is a fault running log.
在本实施例中,资源消耗参数可以为终端内存占用的数值,也可以为运算模块运算资源的占用的百分比。服务器将设备运行日志中的消耗资源参数与预设的消耗阈值进行比对。若并未超过预设的消耗阈值,则识别该设备运行日志为正常运行日志;反之,若超过预设的消耗阈值,则识别为故障运行日志,并执行S1023的操作。In this embodiment, the resource consumption parameter may be a value occupied by the terminal memory, or may be a percentage of the operation resource of the operation module. The server compares the consumption resource parameter in the device running log with a preset consumption threshold. If the preset consumption threshold is not exceeded, the device running log is identified as a normal running log; otherwise, if the preset consumption threshold is exceeded, the fault running log is identified, and the operation of S1023 is performed.
在S1023中,若所述资源消耗参数超过预设的消耗阈值,则识别所述设备运行日志为故障运行日志,并基于所述故障运行日志生成所述故障信息。In S1023, if the resource consumption parameter exceeds a preset consumption threshold, the device running log is identified as a fault running log, and the fault information is generated based on the fault running log.
在本实施例中,服务器在确定了响应本次服务所需用户终端的资源消耗参数超过预设的消耗阈值时,则表示本次操作占用了大量的用户终端的资源,确定响应该服务的过程中,存在故障情况,并生成一个故障信息。In this embodiment, when the server determines that the resource consumption parameter of the user terminal required to respond to the current service exceeds a preset consumption threshold, the server indicates that the operation consumes a large amount of resources of the user terminal, and determines the process of responding to the service. There is a fault condition and a fault message is generated.
在本申请实施例中,通过对运行时长以及资源消耗参数判定设备运行日志是否为故障运行日志,从而实现了故障信息自动识别以及提取的目的,提高了故障修复的效率。In the embodiment of the present application, by determining whether the running log of the device is a fault running log for the running time and the resource consumption parameter, the purpose of automatically identifying and extracting fault information is achieved, and the efficiency of fault repair is improved.
图5了本申请第五实施例提供的一种故障修复数据包的发布方法的具体实现流程图。参见图5所示,相对于图1至图4所述实施例,本实施例提供的一种故障修复数据包的发布方法在所述基于所述对应关系,向所述故障类型对应的用户终端发送所述故障修复数据包之前,还包括:S501以及S502,具体详述如下:FIG. 5 is a specific implementation flowchart of a method for issuing a fault repair data packet according to a fifth embodiment of the present application. As shown in FIG. 5, with respect to the embodiment shown in FIG. 1 to FIG. 4, a method for issuing a fault repair data packet according to the present embodiment is based on the corresponding relationship, and the user terminal corresponding to the fault type is Before sending the fault repair data packet, the method further includes: S501 and S502, which are specifically described as follows:
在S501中,获取所述用户终端的网络状态。In S501, a network status of the user terminal is obtained.
在本实施例中,服务器在向用户终端发送故障修复数据包之前,可以向用户终端发送一个网络状态获取请求,确定当前用户终端的网络状态。该网络状态即为与互联网进行通信联机的具体连接方式,是通过有线网络、无线局域网或是移动网络。用户终端基于当前与服务器通信的网络状态,生成一个网络状态结果返回给服务器。In this embodiment, before sending the fault repair data packet to the user terminal, the server may send a network state acquisition request to the user terminal to determine the network state of the current user terminal. The network status is a specific connection method for communicating with the Internet, and is through a wired network, a wireless local area network, or a mobile network. The user terminal generates a network status result and returns it to the server based on the current network state communicated with the server.
在S502中,若所述网络状态满足预设的数据包下载状态,则执行所述基于所述对应关系,向所述故障类型对应的用户终端发布所述故障修复数据包的操作。In S502, if the network status meets a preset data packet downloading state, performing the operation of releasing the fault repair data packet to the user terminal corresponding to the fault type based on the corresponding relationship.
在本实施例中,服务器若确定当前用户终端的网络状态为预设的数据包下载状态,则向用户终端发送故障修复数据包。特别地,该数据包下载状态为:无线局域网状态或有线网络状态。In this embodiment, if the server determines that the network status of the current user terminal is a preset data packet download status, the server sends a fault repair data packet to the user terminal. In particular, the packet download status is: wireless local area status or wired network status.
可选地,若服务器确定当前网络状态不满足预设的数据包下载状态,则设置一个重发计时器,在重发计时器的计数值大于重发计数值后,返回S501的相关操作,直到用户终端的网络状态满足预设的数据包下载状态,再执行下载操作。Optionally, if the server determines that the current network status does not meet the preset data packet download status, set a retransmission timer, and after the count value of the retransmission timer is greater than the retransmission count value, return to the related operation of S501 until The network status of the user terminal satisfies the preset data packet download status, and then the download operation is performed.
可选地,用户终端在接收到网络状态获取请求后,当确定当前状态不满足预设的数据包下载状 态时,可进入下载等待状态,当检测到用户终端的网络状态满足数据包下载状态时,主动向服务器发送一个数据包获取请求,以启动数据包下载操作。Optionally, after receiving the network state obtaining request, the user terminal may enter a download waiting state when determining that the current state does not satisfy the preset data packet downloading state, and when detecting that the network state of the user terminal meets the data packet downloading state, , actively send a packet acquisition request to the server to start the packet download operation.
在本申请实施例中,通过获取用户终端的网络状态,判定是否执行数据包发送,避免用户终端无意下载而浪费大量的数据流量。In the embodiment of the present application, by acquiring the network status of the user terminal, it is determined whether to perform data packet transmission, and the user terminal is prevented from inadvertently downloading, thereby wasting a large amount of data traffic.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence of the steps in the above embodiments does not mean that the order of execution is performed. The order of execution of each process should be determined by its function and internal logic, and should not be construed as limiting the implementation process of the embodiments of the present application.
图6示出了本申请一实施例提供的一种服务器的结构框图,该服务器包括的各单元用于执行图1对应的实施例中的各步骤。具体请参阅图1与图1所对应的实施例中的相关描述。为了便于说明,仅示出了与本实施例相关的部分。FIG. 6 is a structural block diagram of a server according to an embodiment of the present application, where each unit included in the server is used to execute each step in the embodiment corresponding to FIG. 1. For details, please refer to the related description in the embodiment corresponding to FIG. 1 and FIG. For the convenience of explanation, only the parts related to the present embodiment are shown.
参见图6,所述服务器包括:Referring to FIG. 6, the server includes:
设备运行日志接收单元61,用于接收各个用户终端上传的设备运行日志;The device operation log receiving unit 61 is configured to receive a device operation log uploaded by each user terminal;
故障信息获取单元62,用于基于各个所述用户终端上传的设备运行日志,分别确定各个所述用户终端包含的故障信息;所述故障信息包括:故障模块标识、终端软件版本以及故障响应方式;The fault information obtaining unit 62 is configured to determine, according to the device running logs uploaded by each of the user terminals, fault information included in each of the user terminals, where the fault information includes: a fault module identifier, a terminal software version, and a fault response manner;
故障类型确定单元63,用于基于所述故障模块标识、所述终端软件版本以及所述故障响应方式,对所述故障信息进行分类,确定所述故障信息的故障类型;The fault type determining unit 63 is configured to classify the fault information based on the faulty module identifier, the terminal software version, and the fault response manner, and determine a fault type of the fault information.
对应关系确定单元64,用于根据所述故障类型包含的所述故障信息对应的用户终端,建立所述故障类型与所述用户终端之间的对应关系;所述故障信息对应至少一个所述用户终端;The correspondence determining unit 64 is configured to establish, according to the user terminal corresponding to the fault information that is included in the fault type, a correspondence between the fault type and the user terminal, where the fault information corresponds to at least one user. terminal;
故障数据包发送单元65,用于若获取到用于修复所述故障类型的故障修复数据包,则基于所述对应关系,向所述故障类型对应的用户终端发送所述故障修复数据包。The fault data packet sending unit 65 is configured to: if the fault repair data packet for repairing the fault type is acquired, send the fault repair data packet to the user terminal corresponding to the fault type based on the correspondence relationship.
可选地,故障类型确定单元63包括:Optionally, the fault type determining unit 63 includes:
匹配度计算单元,用于基于所述故障模块标识、所述终端软件版本以及所述故障响应方式,分别计算各个所述故障信息与预设的故障修复库中包含的预存故障类型的匹配度;计算所述匹配度的模型具体为:a matching degree calculation unit, configured to calculate, according to the faulty module identifier, the terminal software version, and the fault response manner, a matching degree between each fault information and a pre-stored fault type included in a preset fault repair library; The model for calculating the matching degree is specifically:
Figure PCTCN2018083288-appb-000002
Figure PCTCN2018083288-appb-000002
其中,所述S为所述故障信息与所述故障类型之间的匹配度;所述A 1、A 2、A 3分别为所述故障信息的故障模块标识、所述终端软件版本以及所述故障响应方式的参数值;所述B 1、B 2、B 3分别为所述故障类型的故障模块标识、所述终端软件版本以及所述故障响应方式的参数值;所述e为自然常数; The S is a matching degree between the fault information and the fault type; the A 1 , A 2 , and A 3 are respectively a fault module identifier of the fault information, the terminal software version, and the a parameter value of the fault response mode; the B 1 , B 2 , and B 3 are respectively a fault module identifier of the fault type, the terminal software version, and a parameter value of the fault response manner; the e is a natural constant;
预存故障类型确定单元,用于若存在一个所述预存故障类型与所述故障信息的匹配度大于预设 的匹配度阈值,则将所述预存故障类型作为所述故障信息的故障类型,并将所述预存故障类型的故障修复数据包发送给所述故障信息所属的用户终端;a pre-stored fault type determining unit, configured to use the pre-stored fault type as the fault type of the fault information if there is a matching degree of the pre-stored fault type and the fault information is greater than a preset matching degree threshold The fault repair data packet of the pre-stored fault type is sent to the user terminal to which the fault information belongs;
故障类型创建单元,用于若任一所述预存故障类型与所述故障信息的匹配度均小于或等于预设的匹配度阈值,则根据所述故障信息携带的故障模块标识、终端软件版本以及故障响应方式,创建一个故障类型,并将创建的故障类型作为所述故障信息的故障类型。a fault type creation unit, configured to: if the matching degree of any of the pre-stored fault types and the fault information is less than or equal to a preset matching degree threshold, the fault module identifier, the terminal software version, and the version of the terminal software carried according to the fault information In the fault response mode, a fault type is created, and the fault type created is used as the fault type of the fault information.
可选地,故障数据包发送单元65,包括:Optionally, the fault data packet sending unit 65 includes:
数据量确定单元,用于获取所述故障修复数据包的数据量;a data amount determining unit, configured to acquire a data amount of the fault repair data packet;
串行发送单元,用于若所述故障修复数据包的数据量小于预设的数据量阈值,则将主线程设置为串行运行模式,并通过所述主线程逐一向所述故障类型对应的各个用户终端发送所述故障修复数据包;a serial sending unit, configured to: if the data volume of the fault repairing data packet is less than a preset data amount threshold, set the main thread to a serial running mode, and respectively correspond to the fault type by the main thread Each user terminal sends the fault repair data packet;
并行发送单元,用于若所述故障修复数据包的数据量大于或等于所述数据量阈值,则在所述主线程内创建多个异步并行的子线程,并通过各个所述子线程分别向所述故障类型对应的各个用户终端发送所述故障修复数据包;所述子线程的个数与所述故障类型包含的用户终端的个数相同。a parallel sending unit, configured to create a plurality of asynchronous parallel child threads in the main thread if the data amount of the fault repair data packet is greater than or equal to the data amount threshold, and respectively use each of the child threads to Each user terminal corresponding to the fault type sends the fault repair data packet; the number of the child threads is the same as the number of user terminals included in the fault type.
可选地,故障信息获取单元62,包括:Optionally, the fault information obtaining unit 62 includes:
运行时长计算单元,用于根据所述设备运行日志的开始时刻以及结束时刻,确定所述运行日志的运作时长;a running time calculation unit, configured to determine a working duration of the running log according to a start time and an ending time of the device running log;
资源消耗确定单元,用于若所述运行时长大于预设的时长阈值,则获取所述设备运行日志的资源消耗参数;a resource consumption determining unit, configured to acquire a resource consumption parameter of the device running log, if the running time is greater than a preset duration threshold;
故障运行日志确定单元,用于若所述资源消耗参数超过预设的消耗阈值,则识别所述设备运行日志为故障运行日志,并基于所述故障运行日志生成所述故障信息。The fault running log determining unit is configured to: if the resource consumption parameter exceeds a preset consumption threshold, identify the device running log as a fault running log, and generate the fault information based on the fault running log.
可选地,所述服务器还包括:Optionally, the server further includes:
网络状态获取单元,用于获取所述用户终端的网络状态;a network status obtaining unit, configured to acquire a network status of the user terminal;
网络状态判定单元,用于若所述网络状态满足预设的数据包下载状态,则执行所述基于所述对应关系,向所述故障类型对应的用户终端发布所述故障修复数据包的操作a network status determining unit, configured to: if the network status meets a preset data packet download status, perform the operation of releasing the fault repair data packet to the user terminal corresponding to the fault type based on the corresponding relationship
因此,本申请实施例提供的服务器同样可以只向存在相应故障类型的用户终端推送故障修复数据包,从而减少了服务器瞬时并发的数据量,减少了对服务器的硬件以及带宽要求。另一方面,本申请实施例是一个定向发布的过程,对于不存在相应故障类型的用户终端并不会进行故障修复数据包的推送,从而避免了资源浪费,也能够提高用户终端的稳定性以及用户的使用体验。Therefore, the server provided by the embodiment of the present application can also push the fault repair data packet only to the user terminal having the corresponding fault type, thereby reducing the instantaneous concurrent data volume of the server and reducing the hardware and bandwidth requirements of the server. On the other hand, the embodiment of the present application is a directed release process, and the user terminal that does not have the corresponding fault type does not push the fault repair data packet, thereby avoiding waste of resources and improving the stability of the user terminal. User experience.
图7是本申请另一实施例提供的一种服务器的示意图。如图7所示,该实施例的服务器7包括:处理器70、存储器71以及存储在所述存储器71中并可在所述处理器70上运行的计算机可读指令72,例如故障修复数据包的发布程序。所述处理器70执行所述计算机可读指令72时实现上述 各个故障修复数据包的发布方法实施例中的步骤,例如图1所示的S101至S105。或者,所述处理器70执行所述计算机可读指令72时实现上述各装置实施例中各单元的功能,例如图6所示模块61至65功能。FIG. 7 is a schematic diagram of a server according to another embodiment of the present application. As shown in FIG. 7, the server 7 of this embodiment includes a processor 70, a memory 71, and computer readable instructions 72 stored in the memory 71 and executable on the processor 70, such as a fault repair packet. Release program. When the processor 70 executes the computer readable instructions 72, the steps in the embodiment of the method for issuing the respective fault repair data packets are implemented, such as S101 to S105 shown in FIG. 1. Alternatively, the processor 70, when executing the computer readable instructions 72, implements the functions of the various units in the various apparatus embodiments described above, such as the functions of modules 61 through 65 shown in FIG.
示例性的,所述计算机可读指令72可以被分割成一个或多个单元,所述一个或者多个单元被存储在所述存储器71中,并由所述处理器70执行,以完成本申请。所述一个或多个单元可以是能够完成特定功能的一系列计算机可读指令指令段,该指令段用于描述所述计算机可读指令72在所述服务器7中的执行过程。例如,所述计算机可读指令72可以被分割成设备运行日志接收单元、故障信息获取单元、故障类型确定单元、对应关系确定单元以及故障数据包发送单元,各单元具体功能如上所述。Illustratively, the computer readable instructions 72 may be partitioned into one or more units, the one or more units being stored in the memory 71 and executed by the processor 70 to complete the application. . The one or more units may be a series of computer readable instruction instructions segments capable of performing a particular function for describing the execution of the computer readable instructions 72 in the server 7. For example, the computer readable instructions 72 may be divided into a device operation log receiving unit, a failure information acquisition unit, a failure type determination unit, a correspondence relationship determination unit, and a failure data packet transmission unit, each of which has a specific function as described above.
所述服务器7可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述服务器可包括,但不仅限于,处理器70、存储器71。本领域技术人员可以理解,图7仅仅是服务器7的示例,并不构成对服务器7的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述服务器还可以包括输入输出设备、网络接入设备、总线等。The server 7 can be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The server may include, but is not limited to, a processor 70, a memory 71. It will be understood by those skilled in the art that FIG. 7 is only an example of the server 7, and does not constitute a limitation on the server 7, and may include more or less components than those illustrated, or combine some components, or different components, such as The server may also include an input and output device, a network access device, a bus, and the like.
所称处理器70可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 70 may be a central processing unit (CPU), or may be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
所述存储器71可以是所述服务器7的内部存储单元,例如服务器7的硬盘或内存。所述存储器71也可以是所述服务器7的外部存储设备,例如所述服务器7上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器71还可以既包括所述服务器7的内部存储单元也包括外部存储设备。所述存储器71用于存储所述计算机可读指令以及所述服务器所需的其他程序和数据。所述存储器71还可以用于暂时地存储已经输出或者将要输出的数据。The memory 71 may be an internal storage unit of the server 7, such as a hard disk or a memory of the server 7. The memory 71 may also be an external storage device of the server 7, such as a plug-in hard disk equipped with the server 7, a smart memory card (SMC), and a Secure Digital (SD) card. Flash card, etc. Further, the memory 71 may also include both an internal storage unit of the server 7 and an external storage device. The memory 71 is configured to store the computer readable instructions and other programs and data required by the server. The memory 71 can also be used to temporarily store data that has been output or is about to be output.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still implement the foregoing embodiments. The technical solutions described in the examples are modified or equivalently replaced with some of the technical features; and the modifications or substitutions do not deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in Within the scope of protection of this application.

Claims (20)

  1. 一种故障修复数据包的发布方法,其特征在于,包括:A method for issuing a fault repair data packet, comprising:
    接收各个用户终端上传的设备运行日志;Receiving a device running log uploaded by each user terminal;
    基于各个所述用户终端上传的设备运行日志,分别确定各个所述用户终端包含的故障信息;所述故障信息包括:故障模块标识、终端软件版本以及故障响应方式;And determining, according to the device running logs uploaded by each of the user terminals, fault information included in each of the user terminals, where the fault information includes: a fault module identifier, a terminal software version, and a fault response manner;
    基于所述故障模块标识、所述终端软件版本以及所述故障响应方式,对所述故障信息进行分类,确定所述故障信息的故障类型;And determining, according to the faulty module identifier, the terminal software version, and the fault response manner, the fault information, and determining a fault type of the fault information;
    根据所述故障类型包含的所述故障信息对应的用户终端,建立所述故障类型与所述用户终端之间的对应关系;所述故障信息对应至少一个所述用户终端;Determining, according to the user terminal corresponding to the fault information that is included in the fault type, a correspondence between the fault type and the user terminal; the fault information corresponding to at least one of the user terminals;
    若获取到用于修复所述故障类型的故障修复数据包,则基于所述对应关系,向所述故障类型对应的用户终端发送所述故障修复数据包。If the fault repair data packet for repairing the fault type is obtained, sending the fault repair data packet to the user terminal corresponding to the fault type based on the correspondence relationship.
  2. 根据权利要求1所述的发布方法,其特征在于,所述基于所述故障模块标识、所述终端软件版本以及所述故障响应方式,对所述故障信息进行分类,确定所述故障信息的故障类型,包括:The method according to claim 1, wherein the fault information is classified based on the faulty module identifier, the terminal software version, and the fault response mode, and the fault information is determined to be faulty. Types, including:
    基于所述故障模块标识、所述终端软件版本以及所述故障响应方式,分别计算各个所述故障信息与预设的故障修复库中包含的预存故障类型的匹配度;计算所述匹配度的模型具体为:Calculating, according to the faulty module identifier, the terminal software version, and the fault response manner, a matching degree between each fault information and a pre-stored fault type included in a preset fault repair database; and calculating a model of the matching degree Specifically:
    Figure PCTCN2018083288-appb-100001
    Figure PCTCN2018083288-appb-100001
    其中,所述S为所述故障信息与所述故障类型之间的匹配度;所述A 1、A 2、A 3分别为所述故障信息的故障模块标识、所述终端软件版本以及所述故障响应方式的参数值;所述B 1、B 2、B 3分别为所述故障类型的故障模块标识、所述终端软件版本以及所述故障响应方式的参数值;所述e为自然常数; The S is a matching degree between the fault information and the fault type; the A 1 , A 2 , and A 3 are respectively a fault module identifier of the fault information, the terminal software version, and the a parameter value of the fault response mode; the B 1 , B 2 , and B 3 are respectively a fault module identifier of the fault type, the terminal software version, and a parameter value of the fault response manner; the e is a natural constant;
    若存在一个所述预存故障类型与所述故障信息的匹配度大于预设的匹配度阈值,则将所述预存故障类型作为所述故障信息的故障类型,并将所述预存故障类型的故障修复数据包发送给所述故障信息所属的用户终端;If the matching degree of the pre-stored fault type and the fault information is greater than a preset matching degree threshold, the pre-stored fault type is used as the fault type of the fault information, and the fault of the pre-stored fault type is repaired. The data packet is sent to the user terminal to which the fault information belongs;
    若任一所述预存故障类型与所述故障信息的匹配度均小于或等于预设的匹配度阈值,则根据所述故障信息携带的故障模块标识、终端软件版本以及故障响应方式,创建一个故障类型,并将创建的故障类型作为所述故障信息的故障类型。If the matching degree of the pre-stored fault type and the fault information is less than or equal to the preset matching degree threshold, create a fault according to the faulty module identifier, the terminal software version, and the fault response mode carried in the fault information. Type and the type of failure created as the type of failure for the fault information.
  3. 根据权利要求1所述的发布方法,其特征在于,所述若获取到用于修复所述故障类型的故障修复数据包,则基于所述对应关系,向所述故障类型对应的用户终端发布所述故障修复数据包,包括:The method according to claim 1, wherein if the fault repair data packet for repairing the fault type is acquired, the user terminal corresponding to the fault type is issued based on the correspondence relationship. The fault repair data package includes:
    获取所述故障修复数据包的数据量;Obtaining the data amount of the fault repair data packet;
    若所述故障修复数据包的数据量小于预设的数据量阈值,则将主线程设置为串行运行模式,并通过所述主线程逐一向所述故障类型对应的各个用户终端发送所述故障修复数据包;If the data volume of the fault repair data packet is less than a preset data volume threshold, set the main thread to a serial operation mode, and send the fault to each user terminal corresponding to the fault type one by one by the main thread. Repair the data packet;
    若所述故障修复数据包的数据量大于或等于所述数据量阈值,则在所述主线程内创建多个异步并行的子线程,并通过各个所述子线程分别向所述故障类型对应的各个用户终端发送所述故障修复数据包;所述子线程的个数与所述故障类型包含的用户终端的个数相同。If the data volume of the fault repair data packet is greater than or equal to the data volume threshold, create a plurality of asynchronous parallel child threads in the main thread, and respectively correspond to the fault type by each of the child threads. Each user terminal sends the fault repair data packet; the number of the child threads is the same as the number of user terminals included in the fault type.
  4. 根据权利要求1所述的发布方法,其特征在于,所述基于所述各个所述用户终端上传的设备运行日志,分别确定各个所述用户终端包含的故障信息,包括:The method according to claim 1, wherein the determining, according to the device running logs uploaded by the respective user terminals, the fault information included in each of the user terminals, includes:
    根据所述设备运行日志的开始时刻以及结束时刻,确定所述运行日志的运作时长;Determining an operation duration of the operation log according to a start time and an end time of the device operation log;
    若所述运行时长大于预设的时长阈值,则获取所述设备运行日志的资源消耗参数;Obtaining a resource consumption parameter of the device running log, if the running time is greater than a preset duration threshold;
    若所述资源消耗参数超过预设的消耗阈值,则识别所述设备运行日志为故障运行日志,并基于所述故障运行日志生成所述故障信息。If the resource consumption parameter exceeds a preset consumption threshold, the device running log is identified as a fault running log, and the fault information is generated based on the fault running log.
  5. 根据权利要求1-4任一项所述的发布方法,其特征在于,在所述基于所述对应关系,向所述故障类型对应的用户终端发送所述故障修复数据包之前,还包括:The method according to any one of claims 1 to 4, wherein before the sending the fault repair data packet to the user terminal corresponding to the fault type, the method further includes:
    获取所述用户终端的网络状态;Obtaining a network status of the user terminal;
    若所述网络状态满足预设的数据包下载状态,则执行所述基于所述对应关系,向所述故障类型对应的用户终端发布所述故障修复数据包的操作。If the network status meets the preset data packet downloading status, performing the operation of releasing the fault repair data packet to the user terminal corresponding to the fault type based on the corresponding relationship.
  6. 一种服务器,其特征在于,包括:A server, comprising:
    设备运行日志接收单元,用于接收各个用户终端上传的设备运行日志;The device running log receiving unit is configured to receive a device running log uploaded by each user terminal;
    故障信息获取单元,用于基于各个所述用户终端上传的设备运行日志,分别确定各个所述用户终端包含的故障信息;所述故障信息包括:故障模块标识、终端软件版本以及故障响应方式;The fault information obtaining unit is configured to determine, according to the device running logs uploaded by each of the user terminals, fault information included in each of the user terminals, where the fault information includes: a fault module identifier, a terminal software version, and a fault response manner;
    故障类型确定单元,用于基于所述故障模块标识、所述终端软件版本以及所述故障响应方式,对所述故障信息进行分类,确定所述故障信息的故障类型;a fault type determining unit, configured to classify the fault information based on the faulty module identifier, the terminal software version, and the fault response manner, and determine a fault type of the fault information;
    对应关系确定单元,用于根据所述故障类型包含的所述故障信息对应的用户终端,建立所述故障类型与所述用户终端之间的对应关系;所述故障信息对应至少一个所述用户终端;a correspondence determining unit, configured to establish a correspondence between the fault type and the user terminal according to the user terminal corresponding to the fault information included in the fault type; the fault information corresponds to at least one user terminal ;
    故障数据包发送单元,用于若获取到用于修复所述故障类型的故障修复数据包,则基于所述对应关系,向所述故障类型对应的用户终端发送所述故障修复数据包。And a failure data packet sending unit, configured to send the fault repair data packet to the user terminal corresponding to the fault type, based on the correspondence relationship, if the fault repair data packet for repairing the fault type is obtained.
  7. 根据权利要求6所述的服务器,其特征在于,故障类型确定单元包括:The server according to claim 6, wherein the failure type determining unit comprises:
    匹配度计算单元,用于基于所述故障模块标识、所述终端软件版本以及所述故障响应方式,分别计算各个所述故障信息与预设的故障修复库中包含的预存故障类型的匹配度;计算所述匹配度的模型具体为:a matching degree calculation unit, configured to calculate, according to the faulty module identifier, the terminal software version, and the fault response manner, a matching degree between each fault information and a pre-stored fault type included in a preset fault repair library; The model for calculating the matching degree is specifically:
    Figure PCTCN2018083288-appb-100002
    Figure PCTCN2018083288-appb-100002
    其中,所述S为所述故障信息与所述故障类型之间的匹配度;所述A 1、A 2、A 3分别为所述故障信息的故障模块标识、所述终端软件版本以及所述故障响应方式的参数值;所述B 1、B 2、B 3分别为所述故障类型的故障模块标识、所述终端软件版本以及所述故障响应方式的参数值;所述e为自然常数; The S is a matching degree between the fault information and the fault type; the A 1 , A 2 , and A 3 are respectively a fault module identifier of the fault information, the terminal software version, and the a parameter value of the fault response mode; the B 1 , B 2 , and B 3 are respectively a fault module identifier of the fault type, the terminal software version, and a parameter value of the fault response manner; the e is a natural constant;
    预存故障类型确定单元,用于若存在一个所述预存故障类型与所述故障信息的匹配度大于预设的匹配度阈值,则将所述预存故障类型作为所述故障信息的故障类型,并将所述预存故障类型的故障修复数据包发送给所述故障信息所属的用户终端;a pre-stored fault type determining unit, configured to use the pre-stored fault type as the fault type of the fault information if there is a matching degree of the pre-stored fault type and the fault information is greater than a preset matching degree threshold The fault repair data packet of the pre-stored fault type is sent to the user terminal to which the fault information belongs;
    故障类型创建单元,用于若任一所述预存故障类型与所述故障信息的匹配度均小于或等于预设的匹配度阈值,则根据所述故障信息携带的故障模块标识、终端软件版本以及故障响应方式,创建一个故障类型,并将创建的故障类型作为所述故障信息的故障类型。a fault type creation unit, configured to: if the matching degree of any of the pre-stored fault types and the fault information is less than or equal to a preset matching degree threshold, the fault module identifier, the terminal software version, and the version of the terminal software carried according to the fault information In the fault response mode, a fault type is created, and the fault type created is used as the fault type of the fault information.
  8. 根据权利要求6所述的服务器,其特征在于,故障数据包发送单元包括:The server according to claim 6, wherein the faulty data packet transmitting unit comprises:
    数据量确定单元,用于获取所述故障修复数据包的数据量;a data amount determining unit, configured to acquire a data amount of the fault repair data packet;
    串行发送单元,用于若所述故障修复数据包的数据量小于预设的数据量阈值,则将主线程设置为串行运行模式,并通过所述主线程逐一向所述故障类型对应的各个用户终端发送所述故障修复数据包;a serial sending unit, configured to: if the data volume of the fault repairing data packet is less than a preset data amount threshold, set the main thread to a serial running mode, and respectively correspond to the fault type by the main thread Each user terminal sends the fault repair data packet;
    并行发送单元,用于若所述故障修复数据包的数据量大于或等于所述数据量阈值,则在所述主线程内创建多个异步并行的子线程,并通过各个所述子线程分别向所述故障类型对应的各个用户终端发送所述故障修复数据包;所述子线程的个数与所述故障类型包含的用户终端的个数相同。a parallel sending unit, configured to create a plurality of asynchronous parallel child threads in the main thread if the data amount of the fault repair data packet is greater than or equal to the data amount threshold, and respectively use each of the child threads to Each user terminal corresponding to the fault type sends the fault repair data packet; the number of the child threads is the same as the number of user terminals included in the fault type.
  9. 根据权利要求6所述的服务器,其特征在于,故障信息获取单元包括:The server according to claim 6, wherein the fault information acquiring unit comprises:
    运行时长计算单元,用于根据所述设备运行日志的开始时刻以及结束时刻,确定所述运行日志的运作时长;a running time calculation unit, configured to determine a working duration of the running log according to a start time and an ending time of the device running log;
    资源消耗确定单元,用于若所述运行时长大于预设的时长阈值,则获取所述设备运行日志的资源消耗参数;a resource consumption determining unit, configured to acquire a resource consumption parameter of the device running log, if the running time is greater than a preset duration threshold;
    故障运行日志确定单元,用于若所述资源消耗参数超过预设的消耗阈值,则识别所述设备运行日志为故障运行日志,并基于所述故障运行日志生成所述故障信息。The fault running log determining unit is configured to: if the resource consumption parameter exceeds a preset consumption threshold, identify the device running log as a fault running log, and generate the fault information based on the fault running log.
  10. 根据权利要求6-9任一项所述的服务器,其特征在于,所述服务器还包括:The server according to any one of claims 6 to 9, wherein the server further comprises:
    网络状态获取单元,用于获取所述用户终端的网络状态;a network status obtaining unit, configured to acquire a network status of the user terminal;
    网络状态判定单元,用于若所述网络状态满足预设的数据包下载状态,则执行所述基于所述对应关系,向所述故障类型对应的用户终端发布所述故障修复数据包的操作。The network state determining unit is configured to: if the network state meets a preset data packet downloading state, perform the operation of releasing the fault repair data packet to the user terminal corresponding to the fault type based on the correspondence relationship.
  11. 一种服务器,其特征在于,所述服务器包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:A server, comprising: a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, the processor executing the computer readable instructions Implement the following steps:
    接收各个用户终端上传的设备运行日志;Receiving a device running log uploaded by each user terminal;
    基于各个所述用户终端上传的设备运行日志,分别确定各个所述用户终端包含的故障信息;所述故障信息包括:故障模块标识、终端软件版本以及故障响应方式;And determining, according to the device running logs uploaded by each of the user terminals, fault information included in each of the user terminals, where the fault information includes: a fault module identifier, a terminal software version, and a fault response manner;
    基于所述故障模块标识、所述终端软件版本以及所述故障响应方式,对所述故障信息进行分类,确定所述故障信息的故障类型;And determining, according to the faulty module identifier, the terminal software version, and the fault response manner, the fault information, and determining a fault type of the fault information;
    根据所述故障类型包含的所述故障信息对应的用户终端,建立所述故障类型与所述用户终端之间的对应关系;所述故障信息对应至少一个所述用户终端;Determining, according to the user terminal corresponding to the fault information that is included in the fault type, a correspondence between the fault type and the user terminal; the fault information corresponding to at least one of the user terminals;
    若获取到用于修复所述故障类型的故障修复数据包,则基于所述对应关系,向所述故障类型对应的用户终端发送所述故障修复数据包。If the fault repair data packet for repairing the fault type is obtained, sending the fault repair data packet to the user terminal corresponding to the fault type based on the correspondence relationship.
  12. 根据权利要求11所述的服务器,其特征在于,所述基于所述故障模块标识、所述终端软件版本以及所述故障响应方式,对所述故障信息进行分类,确定所述故障信息的故障类型,包括:The server according to claim 11, wherein the fault information is classified based on the faulty module identifier, the terminal software version, and the fault response mode, and the fault type of the fault information is determined. ,include:
    基于所述故障模块标识、所述终端软件版本以及所述故障响应方式,分别计算各个所述故障信息与预设的故障修复库中包含的预存故障类型的匹配度;计算所述匹配度的模型具体为:Calculating, according to the faulty module identifier, the terminal software version, and the fault response manner, a matching degree between each fault information and a pre-stored fault type included in a preset fault repair database; and calculating a model of the matching degree Specifically:
    Figure PCTCN2018083288-appb-100003
    Figure PCTCN2018083288-appb-100003
    其中,所述S为所述故障信息与所述故障类型之间的匹配度;所述A 1、A 2、A 3分别为所述故障信息的故障模块标识、所述终端软件版本以及所述故障响应方式的参数值;所述B 1、B 2、B 3分别为所述故障类型的故障模块标识、所述终端软件版本以及所述故障响应方式的参数值;所述e为自然常数; The S is a matching degree between the fault information and the fault type; the A 1 , A 2 , and A 3 are respectively a fault module identifier of the fault information, the terminal software version, and the a parameter value of the fault response mode; the B 1 , B 2 , and B 3 are respectively a fault module identifier of the fault type, the terminal software version, and a parameter value of the fault response manner; the e is a natural constant;
    若存在一个所述预存故障类型与所述故障信息的匹配度大于预设的匹配度阈值,则将所述预存故障类型作为所述故障信息的故障类型,并将所述预存故障类型的故障修复数据包发送给所述故障信息所属的用户终端;若任一所述预存故障类型与所述故障信息的匹配度均小于或等于预设的匹配度阈值,则根据所述故障信息携带的故障模块标识、终端软件版本以及故障响应方式,创建一个故障类型,并将创建的故障类型作为所述故障信息的故障类型。If the matching degree of the pre-stored fault type and the fault information is greater than a preset matching degree threshold, the pre-stored fault type is used as the fault type of the fault information, and the fault of the pre-stored fault type is repaired. The data packet is sent to the user terminal to which the fault information belongs; if the matching degree of any of the pre-stored fault types and the fault information is less than or equal to a preset matching degree threshold, the fault module carried according to the fault information The identification, the terminal software version, and the fault response mode create a fault type and use the created fault type as the fault type of the fault information.
  13. 根据权利要求11所述的服务器,其特征在于,所述若获取到用于修复所述故障类型的故障修复数据包,则基于所述对应关系,向所述故障类型对应的用户终端发布所述故障修复数据包,包括:The server according to claim 11, wherein if the fault repair data packet for repairing the fault type is acquired, the user terminal is issued according to the correspondence relationship to the user terminal corresponding to the fault type. Fault repair packets, including:
    获取所述故障修复数据包的数据量;Obtaining the data amount of the fault repair data packet;
    若所述故障修复数据包的数据量小于预设的数据量阈值,则将主线程设置为串行运行模式,并 通过所述主线程逐一向所述故障类型对应的各个用户终端发送所述故障修复数据包;If the data volume of the fault repair data packet is less than a preset data volume threshold, set the main thread to a serial operation mode, and send the fault to each user terminal corresponding to the fault type one by one by the main thread. Repair the data packet;
    若所述故障修复数据包的数据量大于或等于所述数据量阈值,则在所述主线程内创建多个异步并行的子线程,并通过各个所述子线程分别向所述故障类型对应的各个用户终端发送所述故障修复数据包;所述子线程的个数与所述故障类型包含的用户终端的个数相同。If the data volume of the fault repair data packet is greater than or equal to the data volume threshold, create a plurality of asynchronous parallel child threads in the main thread, and respectively correspond to the fault type by each of the child threads. Each user terminal sends the fault repair data packet; the number of the child threads is the same as the number of user terminals included in the fault type.
  14. 根据权利要求11所述的服务器,其特征在于,所述基于所述各个所述用户终端上传的设备运行日志,分别确定各个所述用户终端包含的故障信息,包括:The server according to claim 11, wherein the determining the fault information included in each of the user terminals based on the device running logs uploaded by the respective user terminals includes:
    根据所述设备运行日志的开始时刻以及结束时刻,确定所述运行日志的运作时长;Determining an operation duration of the operation log according to a start time and an end time of the device operation log;
    若所述运行时长大于预设的时长阈值,则获取所述设备运行日志的资源消耗参数;Obtaining a resource consumption parameter of the device running log, if the running time is greater than a preset duration threshold;
    若所述资源消耗参数超过预设的消耗阈值,则识别所述设备运行日志为故障运行日志,并基于所述故障运行日志生成所述故障信息。If the resource consumption parameter exceeds a preset consumption threshold, the device running log is identified as a fault running log, and the fault information is generated based on the fault running log.
  15. 根据权利要求11-14任一项所述的服务器,其特征在于,所述处理器执行所述计算机可读指令时还实现如下步骤:The server according to any one of claims 11 to 14, wherein the processor further implements the following steps when the computer readable instructions are executed:
    获取所述用户终端的网络状态;Obtaining a network status of the user terminal;
    若所述网络状态满足预设的数据包下载状态,则执行所述基于所述对应关系,向所述故障类型对应的用户终端发布所述故障修复数据包的操作。If the network status meets the preset data packet downloading status, performing the operation of releasing the fault repair data packet to the user terminal corresponding to the fault type based on the corresponding relationship.
  16. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被处理器执行时实现如下步骤:A computer readable storage medium storing computer readable instructions, wherein the computer readable instructions, when executed by a processor, implement the following steps:
    接收各个用户终端上传的设备运行日志;Receiving a device running log uploaded by each user terminal;
    基于各个所述用户终端上传的设备运行日志,分别确定各个所述用户终端包含的故障信息;所述故障信息包括:故障模块标识、终端软件版本以及故障响应方式;And determining, according to the device running logs uploaded by each of the user terminals, fault information included in each of the user terminals, where the fault information includes: a fault module identifier, a terminal software version, and a fault response manner;
    基于所述故障模块标识、所述终端软件版本以及所述故障响应方式,对所述故障信息进行分类,确定所述故障信息的故障类型;And determining, according to the faulty module identifier, the terminal software version, and the fault response manner, the fault information, and determining a fault type of the fault information;
    根据所述故障类型包含的所述故障信息对应的用户终端,建立所述故障类型与所述用户终端之间的对应关系;所述故障信息对应至少一个所述用户终端;Determining, according to the user terminal corresponding to the fault information that is included in the fault type, a correspondence between the fault type and the user terminal; the fault information corresponding to at least one of the user terminals;
    若获取到用于修复所述故障类型的故障修复数据包,则基于所述对应关系,向所述故障类型对应的用户终端发送所述故障修复数据包。If the fault repair data packet for repairing the fault type is obtained, sending the fault repair data packet to the user terminal corresponding to the fault type based on the correspondence relationship.
  17. 根据权利要求16所述的计算机可读存储介质,其特征在于,所述基于所述故障模块标识、所述终端软件版本以及所述故障响应方式,对所述故障信息进行分类,确定所述故障信息的故障类型,包括:The computer readable storage medium according to claim 16, wherein the fault information is classified based on the faulty module identifier, the terminal software version, and the fault response manner, and the fault is determined. The type of information failure, including:
    基于所述故障模块标识、所述终端软件版本以及所述故障响应方式,分别计算各个所述故障信息与预设的故障修复库中包含的预存故障类型的匹配度;计算所述匹配度的模型具体为:Calculating, according to the faulty module identifier, the terminal software version, and the fault response manner, a matching degree between each fault information and a pre-stored fault type included in a preset fault repair database; and calculating a model of the matching degree Specifically:
    Figure PCTCN2018083288-appb-100004
    Figure PCTCN2018083288-appb-100004
    其中,所述S为所述故障信息与所述故障类型之间的匹配度;所述A 1、A 2、A 3分别为所述故障信息的故障模块标识、所述终端软件版本以及所述故障响应方式的参数值;所述B 1、B 2、B 3分别为所述故障类型的故障模块标识、所述终端软件版本以及所述故障响应方式的参数值;所述e为自然常数; The S is a matching degree between the fault information and the fault type; the A 1 , A 2 , and A 3 are respectively a fault module identifier of the fault information, the terminal software version, and the a parameter value of the fault response mode; the B 1 , B 2 , and B 3 are respectively a fault module identifier of the fault type, the terminal software version, and a parameter value of the fault response manner; the e is a natural constant;
    若存在一个所述预存故障类型与所述故障信息的匹配度大于预设的匹配度阈值,则将所述预存故障类型作为所述故障信息的故障类型,并将所述预存故障类型的故障修复数据包发送给所述故障信息所属的用户终端;若任一所述预存故障类型与所述故障信息的匹配度均小于或等于预设的匹配度阈值,则根据所述故障信息携带的故障模块标识、终端软件版本以及故障响应方式,创建一个故障类型,并将创建的故障类型作为所述故障信息的故障类型。If the matching degree of the pre-stored fault type and the fault information is greater than a preset matching degree threshold, the pre-stored fault type is used as the fault type of the fault information, and the fault of the pre-stored fault type is repaired. The data packet is sent to the user terminal to which the fault information belongs; if the matching degree of any of the pre-stored fault types and the fault information is less than or equal to a preset matching degree threshold, the fault module carried according to the fault information The identification, the terminal software version, and the fault response mode create a fault type and use the created fault type as the fault type of the fault information.
  18. 根据权利要求16所述的计算机可读存储介质,其特征在于,所述若获取到用于修复所述故障类型的故障修复数据包,则基于所述对应关系,向所述故障类型对应的用户终端发布所述故障修复数据包,包括:The computer readable storage medium according to claim 16, wherein if the fault repair data packet for repairing the fault type is acquired, the user corresponding to the fault type is based on the correspondence relationship The terminal issues the fault repair data packet, including:
    获取所述故障修复数据包的数据量;Obtaining the data amount of the fault repair data packet;
    若所述故障修复数据包的数据量小于预设的数据量阈值,则将主线程设置为串行运行模式,并通过所述主线程逐一向所述故障类型对应的各个用户终端发送所述故障修复数据包;If the data volume of the fault repair data packet is less than a preset data volume threshold, set the main thread to a serial operation mode, and send the fault to each user terminal corresponding to the fault type one by one by the main thread. Repair the data packet;
    若所述故障修复数据包的数据量大于或等于所述数据量阈值,则在所述主线程内创建多个异步并行的子线程,并通过各个所述子线程分别向所述故障类型对应的各个用户终端发送所述故障修复数据包;所述子线程的个数与所述故障类型包含的用户终端的个数相同。If the data volume of the fault repair data packet is greater than or equal to the data volume threshold, create a plurality of asynchronous parallel child threads in the main thread, and respectively correspond to the fault type by each of the child threads. Each user terminal sends the fault repair data packet; the number of the child threads is the same as the number of user terminals included in the fault type.
  19. 根据权利要求16所述的计算机可读存储介质,其特征在于,所述基于所述各个所述用户终端上传的设备运行日志,分别确定各个所述用户终端包含的故障信息,包括:The computer-readable storage medium according to claim 16, wherein the determining, according to the device operation log uploaded by each of the user terminals, the fault information included in each of the user terminals, respectively, includes:
    根据所述设备运行日志的开始时刻以及结束时刻,确定所述运行日志的运作时长;Determining an operation duration of the operation log according to a start time and an end time of the device operation log;
    若所述运行时长大于预设的时长阈值,则获取所述设备运行日志的资源消耗参数;Obtaining a resource consumption parameter of the device running log, if the running time is greater than a preset duration threshold;
    若所述资源消耗参数超过预设的消耗阈值,则识别所述设备运行日志为故障运行日志,并基于所述故障运行日志生成所述故障信息。If the resource consumption parameter exceeds a preset consumption threshold, the device running log is identified as a fault running log, and the fault information is generated based on the fault running log.
  20. 根据权利要求16-19任一项所述的计算机可读存储介质,其特征在于,所述处理器执行所述计算机可读指令时还实现如下步骤:The computer readable storage medium according to any one of claims 16 to 19, wherein the processor further implements the following steps when the computer readable instructions are executed:
    获取所述用户终端的网络状态;Obtaining a network status of the user terminal;
    若所述网络状态满足预设的数据包下载状态,则执行所述基于所述对应关系,向所述故障类型对应的用户终端发布所述故障修复数据包的操作。If the network status meets the preset data packet downloading status, performing the operation of releasing the fault repair data packet to the user terminal corresponding to the fault type based on the corresponding relationship.
PCT/CN2018/083288 2018-02-07 2018-04-17 Method for publishing fault recovery data packet and server WO2019153505A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810121899.0 2018-02-07
CN201810121899.0A CN108322345B (en) 2018-02-07 2018-02-07 Method for issuing fault repair data packet and server

Publications (1)

Publication Number Publication Date
WO2019153505A1 true WO2019153505A1 (en) 2019-08-15

Family

ID=62902145

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/083288 WO2019153505A1 (en) 2018-02-07 2018-04-17 Method for publishing fault recovery data packet and server

Country Status (2)

Country Link
CN (1) CN108322345B (en)
WO (1) WO2019153505A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704093A (en) * 2019-09-18 2020-01-17 上海麦克风文化传媒有限公司 Method and system for processing operation feedback online fault
CN112732520A (en) * 2020-12-30 2021-04-30 中国人民解放军32181部队 Fault processing method and system for equipment operation monitoring software
CN112988437A (en) * 2019-12-17 2021-06-18 深信服科技股份有限公司 Fault prediction method and device, electronic equipment and storage medium
CN113051112A (en) * 2021-03-16 2021-06-29 北京经纬恒润科技股份有限公司 Method and system for acquiring ECU fault information
CN113190370A (en) * 2021-05-08 2021-07-30 京东数字科技控股股份有限公司 Emergency response method and device for application
CN113692056A (en) * 2021-08-25 2021-11-23 维沃移动通信有限公司 Resource sharing method and device
CN114294778A (en) * 2021-12-27 2022-04-08 深圳市兴特能源科技有限公司 Air circulation disinfection and purification method and system for classroom lamp
CN114722029A (en) * 2022-04-18 2022-07-08 苏州浪潮智能科技有限公司 Method, system, device and storage medium for repairing monitor database

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109254864A (en) * 2018-09-11 2019-01-22 北京奇艺世纪科技有限公司 A kind of application failure restorative procedure, device and electronic equipment
CN109144559B (en) * 2018-09-26 2022-02-01 深圳壹账通智能科技有限公司 Update data packet pushing method and server
CN111385613B (en) * 2018-12-29 2022-07-08 深圳Tcl数字技术有限公司 Television system repairing method, storage medium and application server
CN109933465B (en) * 2019-03-12 2021-12-10 北京同城必应科技有限公司 Exception handling method, exception handling device, server and storage medium
CN111786804B (en) 2019-04-04 2023-06-30 华为技术有限公司 Link fault monitoring method and device
CN110191003A (en) * 2019-06-18 2019-08-30 北京达佳互联信息技术有限公司 Fault repairing method, device, computer equipment and storage medium
CN110633099A (en) * 2019-09-05 2019-12-31 北京无限光场科技有限公司 Application program repairing method, device, equipment and readable medium
CN111026572A (en) * 2019-11-15 2020-04-17 北京金山云网络技术有限公司 Fault processing method and device of distributed system and electronic equipment
CN111190630B (en) * 2020-01-02 2023-06-16 竞技世界(北京)网络技术有限公司 Updating method of terminal application and server
CN111664543B (en) * 2020-05-25 2022-12-13 海信空调有限公司 Air conditioner and control method thereof
CN111897683A (en) * 2020-07-10 2020-11-06 广东小天才科技有限公司 Electronic equipment and fault repairing method and device thereof
CN112104497A (en) * 2020-09-11 2020-12-18 北京达佳互联信息技术有限公司 Terminal management method, device, system, server, terminal and storage medium
CN112328422A (en) * 2020-11-06 2021-02-05 深圳市锐尔觅移动通信有限公司 Abnormity repairing method and device, electronic equipment and storage medium
CN112733369B (en) * 2021-01-13 2023-06-13 青岛海尔科技有限公司 Intelligent equipment maintenance method, terminal and system and electronic equipment
CN113033889B (en) * 2021-03-19 2022-12-20 国网河北省电力有限公司邢台供电分公司 High-voltage transmission line fault prediction method and device and terminal equipment
CN113255454A (en) * 2021-04-26 2021-08-13 广西电网有限责任公司桂林供电局 Power grid self-adaptive fault positioning method and related equipment
CN113808725A (en) * 2021-09-06 2021-12-17 武汉联影医疗科技有限公司 Equipment early warning system and method
CN114338765B (en) * 2021-12-10 2024-03-22 青岛海尔科技有限公司 Equipment connection abnormality identification method and system, electronic device and storage medium
CN113986603B (en) * 2021-12-28 2022-04-15 深圳市明源云科技有限公司 Method and device for determining page loading abnormity reason and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045181A (en) * 2009-10-10 2011-05-04 中国移动通信集团公司 Method and device for handling terminal offline fault
CN105335277A (en) * 2014-06-27 2016-02-17 可牛网络技术(北京)有限公司 Fault information processing method and device as well as terminal
CN106161079A (en) * 2015-04-28 2016-11-23 小米科技有限责任公司 Fault feedback method and device
WO2017070587A1 (en) * 2015-10-21 2017-04-27 Brocade Communications Systems, Inc. Distributed rule provisioning in an extended bridge

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101115264B (en) * 2006-07-24 2010-09-01 中兴通讯股份有限公司 Communication terminal failure monitoring system and implementing method thereof
CN102857365A (en) * 2012-06-07 2013-01-02 中兴通讯股份有限公司 Fault preventing and intelligent repairing method and device for network management system
US10367699B2 (en) * 2016-04-25 2019-07-30 Cisco Technology, Inc. Network architecture for predictive services management in cable network environments
CN106685744A (en) * 2017-03-13 2017-05-17 福建中金在线信息科技有限公司 Fault elimination method, apparatus and system
CN107357730B (en) * 2017-07-17 2021-03-19 苏州浪潮智能科技有限公司 System fault diagnosis and repair method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045181A (en) * 2009-10-10 2011-05-04 中国移动通信集团公司 Method and device for handling terminal offline fault
CN105335277A (en) * 2014-06-27 2016-02-17 可牛网络技术(北京)有限公司 Fault information processing method and device as well as terminal
CN106161079A (en) * 2015-04-28 2016-11-23 小米科技有限责任公司 Fault feedback method and device
WO2017070587A1 (en) * 2015-10-21 2017-04-27 Brocade Communications Systems, Inc. Distributed rule provisioning in an extended bridge

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704093A (en) * 2019-09-18 2020-01-17 上海麦克风文化传媒有限公司 Method and system for processing operation feedback online fault
CN112988437B (en) * 2019-12-17 2023-12-29 深信服科技股份有限公司 Fault prediction method and device, electronic equipment and storage medium
CN112988437A (en) * 2019-12-17 2021-06-18 深信服科技股份有限公司 Fault prediction method and device, electronic equipment and storage medium
CN112732520A (en) * 2020-12-30 2021-04-30 中国人民解放军32181部队 Fault processing method and system for equipment operation monitoring software
CN112732520B (en) * 2020-12-30 2024-04-12 中国人民解放军32181部队 Fault processing method and system for equipment operation monitoring software
CN113051112A (en) * 2021-03-16 2021-06-29 北京经纬恒润科技股份有限公司 Method and system for acquiring ECU fault information
CN113190370A (en) * 2021-05-08 2021-07-30 京东数字科技控股股份有限公司 Emergency response method and device for application
CN113692056A (en) * 2021-08-25 2021-11-23 维沃移动通信有限公司 Resource sharing method and device
CN113692056B (en) * 2021-08-25 2024-01-19 维沃移动通信有限公司 Resource sharing method and device
CN114294778A (en) * 2021-12-27 2022-04-08 深圳市兴特能源科技有限公司 Air circulation disinfection and purification method and system for classroom lamp
CN114294778B (en) * 2021-12-27 2023-11-14 深圳市兴特能源科技有限公司 Air circulation disinfection and purification method and system for classroom lamp
CN114722029A (en) * 2022-04-18 2022-07-08 苏州浪潮智能科技有限公司 Method, system, device and storage medium for repairing monitor database
CN114722029B (en) * 2022-04-18 2024-01-09 苏州浪潮智能科技有限公司 Method, system, equipment and storage medium for repairing monitor database

Also Published As

Publication number Publication date
CN108322345A (en) 2018-07-24
CN108322345B (en) 2020-08-21

Similar Documents

Publication Publication Date Title
WO2019153505A1 (en) Method for publishing fault recovery data packet and server
CN108600029B (en) Configuration file updating method and device, terminal equipment and storage medium
CN107689953B (en) Multi-tenant cloud computing-oriented container security monitoring method and system
WO2021129367A1 (en) Method and apparatus for monitoring distributed storage system
CN109144559B (en) Update data packet pushing method and server
US10365915B2 (en) Systems and methods of monitoring a network topology
CN108566290B (en) Service configuration management method, system, storage medium and server
JP4760491B2 (en) Event processing system, event processing method, event processing apparatus, and event processing program
WO2021169064A1 (en) Edge network-based anomaly processing method and apparatus
CN109495306B (en) Method and equipment for expanding capacity of service network
CN109714202B (en) Client off-line reason distinguishing method and cluster type safety management system
CN105049268A (en) Distributed computing resource allocation system and task processing method
CN107783829B (en) Task processing method and device, storage medium and computer equipment
CN111818132A (en) Control method and device of Internet of things equipment, computer equipment and storage medium
CN113051019A (en) Flow task execution control method, device and equipment
TWI603203B (en) Method and system for recommending application parameter setting and system specification setting in distributed computation
WO2019148728A1 (en) Electronic device, execution task assignment method for distributed system, and storage medium
CN110290166B (en) Cross-cluster data interaction method, system and device and readable storage medium
CN111641524A (en) Monitoring data processing method, device, equipment and storage medium
CN108847995A (en) A kind of method and apparatus of the configuration O&M alarm template based on private clound
CN108737499A (en) server configuration method and device
US20120072589A1 (en) Information Processing Apparatus and Method of Operating the Same
WO2021056739A1 (en) Performance analysis method, device, computer apparatus and storage medium
CN104780062A (en) Method for quickly acquiring IP address of BMC management network interface
WO2020098266A1 (en) Abnormal response method and device

Legal Events

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

Ref document number: 18905610

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

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

122 Ep: pct application non-entry in european phase

Ref document number: 18905610

Country of ref document: EP

Kind code of ref document: A1