CN108322345A - A kind of dissemination method and server of fault restoration data packet - Google Patents
A kind of dissemination method and server of fault restoration data packet Download PDFInfo
- Publication number
- CN108322345A CN108322345A CN201810121899.0A CN201810121899A CN108322345A CN 108322345 A CN108322345 A CN 108322345A CN 201810121899 A CN201810121899 A CN 201810121899A CN 108322345 A CN108322345 A CN 108322345A
- Authority
- CN
- China
- Prior art keywords
- fault
- user terminal
- data packet
- type
- fault type
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/069—Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling 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/62—Establishing a time schedule for servicing the requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/16—Threshold monitoring
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention is suitable for fault restoration technical field, provides a kind of dissemination method and server of fault restoration data packet, including:Receive the device Run Log of each user terminal uploads;Based on each device Run Log, the fault message that each user terminal includes is determined respectively;Classify to the fault message, determines the fault type of fault message;The corresponding user terminal of the fault message for including according to fault type, establishes the correspondence between fault type and user terminal;If getting the fault restoration data packet for repairing fault type, it is based on correspondence, fault restoration data packet is sent to the corresponding user terminal of fault type.The present invention, to reduce the instantaneous concurrent data volume of server, reduces the hardware and bandwidth requirement to server only to there are the user terminals of corresponding failure type to push fault restoration data packet.
Description
Technical field
The invention belongs to the dissemination methods and service of fault restoration technical field more particularly to a kind of fault restoration data packet
Device.
Background technology
Fault restoration data packet, such as patch, the important means multiple as hot repair, be widely used in various application programs or
The fault restoration that system occurs in operation.The published method of existing fault restoration data packet is uniformly pushed away using the overall situation
The published method sent is united to all user terminals for the application program or system for being mounted with to repair needed for fault restoration data packet
One software upgrading carried out, to change the loophole in the presence of software.
However aforesaid way, it is desirable that while pushing fault restoration data packet, instantaneous concurrent data amount to all user terminals
It is larger, it is more demanding to the hardware requirement and bandwidth resources of server.Also, if certain customers' terminal does not break down feelings
Condition, it is also desirable to download fault restoration data packet, then waste the data traffic of the certain customers, result in waste of resources, it is also possible to
Cause new fault condition because fault restoration data packet is mounted with, reduces the usage experience of user and the stabilization of software
Property.
Invention content
In view of this, an embodiment of the present invention provides a kind of dissemination method and server of fault restoration data packet, with solution
The dissemination method of certainly existing fault restoration data packet, it is more demanding to the hardware requirement and bandwidth resources of server, and
For the user terminal for the situation that do not break down, the problem of resulting in waste of resources and reduce terminal steady.
The first aspect of the embodiment of the present invention provides a kind of dissemination method of fault restoration data packet, including:
Receive the device Run Log of each user terminal uploads;
Based on the device Run Log of each user terminal uploads, determine that each user terminal includes respectively
Fault message;The fault message includes:Malfunctioning module mark, terminal software version and failure response mode;
Based on malfunctioning module mark, the terminal software version and the failure response mode, to the failure
Information is classified, and determines the fault type of the fault message;
The corresponding user terminal of the fault message for including according to the fault type, establishes the fault type and institute
State the correspondence between user terminal;The fault message corresponds at least one user terminal;
If getting the fault restoration data packet for repairing the fault type, it is based on the correspondence, to institute
It states the corresponding user terminal of fault type and sends the fault restoration data packet.
The second aspect of the embodiment of the present invention provides a kind of server, including memory, processor and is stored in institute
The computer program that can be run in memory and on the processor is stated, the processor executes real when the computer program
Existing following steps:
Receive the device Run Log of each user terminal uploads;
Based on the device Run Log of each user terminal uploads, determine that each user terminal includes respectively
Fault message;The fault message includes:Malfunctioning module mark, terminal software version and failure response mode;
Based on malfunctioning module mark, the terminal software version and the failure response mode, to the failure
Information is classified, and determines the fault type of the fault message;
The corresponding user terminal of the fault message for including according to the fault type, establishes the fault type and institute
State the correspondence between user terminal;The fault message corresponds at least one user terminal;
If getting the fault restoration data packet for repairing the fault type, it is based on the correspondence, to institute
It states the corresponding user terminal of fault type and sends the fault restoration data packet.
The third aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, the computer program to realize following steps when being executed by processor:
Receive the device Run Log of each user terminal uploads;
Based on the device Run Log of each user terminal uploads, determine that each user terminal includes respectively
Fault message;The fault message includes:Malfunctioning module mark, terminal software version and failure response mode;
Based on malfunctioning module mark, the terminal software version and the failure response mode, to the failure
Information is classified, and determines the fault type of the fault message;
The corresponding user terminal of the fault message for including according to the fault type, establishes the fault type and institute
State the correspondence between user terminal;The fault message corresponds at least one user terminal;
If getting the fault restoration data packet for repairing the fault type, it is based on the correspondence, to institute
It states the corresponding user terminal of fault type and sends the fault restoration data packet.
The dissemination method and server for implementing a kind of fault restoration data packet provided in an embodiment of the present invention have with following
Beneficial effect:
The embodiment of the present invention identifies the event for including in the user terminal by acquiring the device Run Log of user terminal
Hinder information, then classifies to the fault message, determine the fault type that the user terminal is included.It is a certain when acquiring
The fault restoration data packet of fault type, then to there are all user terminals of the fault type to send the fault restoration data
Packet realizes the purpose of the packet-oriented publication of fault restoration.Compared with the dissemination method of existing fault restoration data packet, this hair
Bright embodiment is due to not global unified push, only to there are the user terminals of corresponding failure type to push fault restoration data
Packet reduces the hardware and bandwidth requirement to server to reduce the instantaneous concurrent data volume of server.Another party
Face, the embodiment of the present invention are the processes of an orientation publication, for can't be into there is no the user terminal of corresponding failure type
The push of row fault restoration data packet can also improve stability and the user of user terminal so as to avoid the wasting of resources
Usage experience.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some
Embodiment for those of ordinary skill in the art without having to pay creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is a kind of implementation flow chart of the dissemination method for fault restoration data packet that first embodiment of the invention provides;
Fig. 2 is the specific implementation of the dissemination method S103 for fault restoration data packet that second embodiment of the invention provides a kind of
Flow chart;
Fig. 3 is the specific implementation of the dissemination method S105 for fault restoration data packet that third embodiment of the invention provides a kind of
Flow chart;
Fig. 4 is the specific implementation of the dissemination method S102 for fault restoration data packet that fourth embodiment of the invention provides a kind of
Flow chart;
Fig. 5 is a kind of specific implementation flow of the dissemination method for fault restoration data packet that fourth embodiment of the invention provides
Figure;
Fig. 6 is a kind of structure diagram for server that one embodiment of the invention provides;
Fig. 7 is a kind of schematic diagram for server that another embodiment of the present invention provides.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
The embodiment of the present invention identifies the event for including in the user terminal by acquiring the device Run Log of user terminal
Hinder information, then classifies to the fault message, determine the fault type that the user terminal is included.It is a certain when acquiring
The fault restoration data packet of fault type, then to there are all user terminals of the fault type to send the fault restoration data
Packet, solves the dissemination method of existing fault restoration data packet, hardware requirement to server and bandwidth resources require compared with
Height, and for the user terminal for the situation that do not break down, the problem of resulting in waste of resources and reduce terminal steady.
In embodiments of the present invention, the executive agent of flow is server, which obtains generation and reception
Fault restoration data packet is sent to each corresponding terminal device, realizes the purpose to fault restoration.Fig. 1 shows the present invention the
The implementation flow chart of the dissemination method for the fault restoration data packet that one embodiment provides, details are as follows:
In S101, the device Run Log of each user terminal uploads is received.
In the present embodiment, server is communicatively coupled with each user terminal, and user terminal can be with default rule
To server sending device running log.Specifically, user terminal in the process of running, can at predetermined intervals to
Server sending device running log, the preset time interval can have user oneself to carry out equipment, can also be by server
It is unified that equipment is carried out to all user terminals.After user terminal can also receive shutdown command, a daily record is created on backstage
The process of upload by the process to server sending device running log, and enters and intends off-mode;The quasi- off-mode tool
Body is:User terminal closes all modules and process unrelated with uploading device running log, for example, user terminal only retains
The process that communication module and daily record upload, closes other all processes, so that user terminal reduces electric quantity consumption.
In the present embodiment, server can be used for repairing fault condition caused by a certain application program, in the situation
Under, if user terminal is equipped with multiple application programs, server corresponding with each application program is communicatively coupled simultaneously,
And the device Run Log generated when user's operation is each application program is sent respectively to corresponding server.
In the present embodiment, server can be that different user terminal creates corresponding database, and according to receiving
Device Run Log in the terminal iidentification that carries, device Run Log is stored into user terminal corresponding to the terminal iidentification
Database in, the relevant operation of S102 is then executed after storage.
In S102, based on the device Run Log of each user terminal uploads, each user is determined respectively
The fault message that terminal includes;The fault message includes:Malfunctioning module mark, terminal software version and failure response side
Formula.
In the present embodiment, server is after receiving the device Run Log that each user terminal is sent, then by pre-
If fault message recognition rule, determine the user terminal uploads device Run Log whether there is fault condition, if in the presence of
Situation is then based on the device Run Log and generates a fault message.Wherein, malfunctioning module mark is contained in the fault message
Knowledge, fail soft version and failure response mode.Malfunctioning module mark method of determination be specially:Identification equipment running log
The middle EM equipment module for executing operation, and identified the mark of the EM equipment module as malfunctioning module.The determination of fail soft version
Mode is specially:The application program that respond request operates in the device Run Log is obtained, and is installed on being somebody's turn to do on user terminal
The start context of application program, using the start context as terminal software version.Failure response mode includes but not limited to:It forces
It exits, delay machine, terminal are restarted and response timeout.
In the present embodiment, due to recording the respond module for having this operation of response in each device Run Log, because
If it is failure operation daily record that this server, which identifies the device Run Log, can be the respond module in device Run Log
Mark as the fault message malfunctioning module mark.In device Run Log other than the module of recording responses, can also it remember
Record has time started and end time, the run time can be compared with average operating time, determines this operation
Whether it is overtime response, the end mode of the operation process can also be obtained from device Run Log, to passes through above-mentioned two
A aspect determines the failure response mode in the fault message.It certainly, can be direct for this information of fail soft version
Environment software mark from device Run Log where extraction request operation, the terminal software version as the fault message.
Optionally, in the present embodiment, user terminal just can be grasped this when detecting itself failure situation
Make corresponding equipment log and be sent to server, as long as then server receives the equipment operation day of terminal device transmission
Will can then identify that abnormal conditions occurs in the user terminal, directly from device Run Log from extraction fault message.
Certainly, if a task requests, a failure are completed in multiple module cooperative runnings involved in device Run Log
It can include that multiple malfunctioning modules identify in information, different malfunctioning modules can also be identified and be divided into multiple and different failure letters
Breath is recorded.It similarly, can be with if task requests need multiple application programs collaborations to complete, in a fault message
Including multiple terminal software marks;Or different terminal software marks independently generates a fault message to record.
It is right based on malfunctioning module mark, the terminal software version and the failure response mode in S103
The fault message is classified, and determines the fault type of the fault message.
In the present embodiment, server is according to malfunctioning module mark, the terminal software version for including in each fault message
This and failure response mode classify to it, due to that by above three characteristic item, then can identify to obtain each event
Whether the fault condition hindered indicated by information is same or similar, determines whether caused by the same origin cause of formation.For example, service
Device receives Fisrt fault information and the second fault message, and above three characteristic item is respectively (WIFI in Fisrt fault information
Module, Ver1, connection time-out);Above three characteristic item is respectively (WIFI module, Ver1, packet loss in second fault message
It is high), it can be seen that, Fisrt fault information and malfunctioning module mark and terminal software start context in the second fault message are homogeneous
Together, and failure response mode is similar, is that there are the common response modes of failure for WIFI connections, therefore, can be by the first event
Barrier information is identified as same fault type with the second fault message.By the above-mentioned means, different user terminals can be uploaded
Different faults information is classified as multiple fault types.
In the present embodiment, the same fault type can include multiple fault messages from different faults terminal.Clothes
It is engaged in that in the database of device the identified fault type determined can also be recorded.In this case, server can be by event
Barrier information is matched with existing fault type, it is determined whether there are the corresponding fault types created, if so, handle
Fault type of the fault type matched as the fault message, and the corresponding user terminal identification of the fault message is added to this
In the pre-stored mapping table of fault type.If the corresponding fault type of the fault message is not present in database, create
A fault type is built, and the fault type of the establishment is matched with the fault message that other are received, determines this reception
To other fault messages whether belong to the fault type, to complete to the sort operation of fault message.
In S104, the corresponding user terminal of the fault message for including according to the fault type establishes the event
Hinder the correspondence between type and the user terminal;The fault message corresponds at least one user terminal.
In the present embodiment, server then identifies each failure after the fault type that each fault message is determined
The fault message that type includes, and based on the user terminal corresponding to each fault message, establish fault type and user terminal
Between correspondence, illustratively, the failure correspondence is as shown in table 1.Referring to table 1, server can be each event
Hinder one failure number of type configuration, configures a failure-description paragraph for the fault type, and communicatedly by user terminal
Mark of the location as the user terminal.
Failure is numbered | Failure-description | User terminal identification |
1 | WIFI connecting faults | (198.15.255.14);(185.52.61.243); |
2 | Touch screen touch-control misplaces | (14.56.212.250);(201.212.85.2); |
Table 1
In the present embodiment, server, then can be the fault type and the failure after the fault type is determined
The fault message that type includes is sent to fault restoration administrator, is corresponded to so that fault restoration administrator determines according to fault type
Fault restoration scheme, then generate repair the fault type fault restoration data packet;Certainly, if being stored with event in server
Barrier repairs algorithm, can also build multiple pseudo subscriber terminals by each fault message in the fault type, pass through change
Whether the output feedback of pseudo subscriber terminal, determine the fault type after parameters in terminal software version, and modification
It has been be repaired that, if so, generating fault restoration data according to the parameters for repairing the terminal software corresponding to the fault type
Packet.
In S105, if getting the fault restoration data packet for repairing the fault type, it is based on the correspondence
Relationship sends the fault restoration data packet to the corresponding user terminal of the fault type.
In the present embodiment, server can be locally generated fault restoration data by administrator or fault restoration algorithm
Packet may also receive from the fault restoration data packet of other equipment transmission, such as receive the terminal of administrator or upper service
The fault restoration data packet that device is sent.Since fault restoration has certain hysteresis quality, that is, receive the event of user terminal feedback
Hinder information, after determining fault type, to getting between fault restoration data packet there are the regular hour is poor, therefore, server
It realizes the publication flow of fault restoration data packet at once not after receiving fault message, but is receiving fault restoration number
After packet, just the fault restoration data packet is pushed to the corresponding user terminal of the fault type.
In the present embodiment, server is after getting a new fault restoration data packet, it is determined that the fault restoration
Fault type of the data packet for reparation, and there are the user of fault type ends based on the correspondence inquiry generated in S104
Which end has, and then sends the fault restoration data packet to above-mentioned user terminal, realizes that orienting progress failure to user terminal repaiies
Multiple purpose.
It particularly, can if after server has sent fault restoration data packet to the user terminal in a certain fault type
Mark has been sent so that one is deleted or added to the terminal iidentification of the user terminal from correspondence.Believe in subsequent failure
During breath acquisition, when detecting that the fault message of a certain user terminal feedback belongs to existing fault restoration data packet again
Fault type when, the user terminal newly detected can be added in the correspondence of the fault type.According to be
The mode that the user identifier for having sent fault restoration data packet is deleted from correspondence, then server is into mapping table
There is currently user terminal push the fault restoration data packet;According to be addition one mode for having sent mark carry out
The differentiation of user terminal, then server be identified as empty user terminal and send the fault restoration data packet to having sent.
Above as can be seen that a kind of dissemination method of fault restoration data packet provided in an embodiment of the present invention is used by acquiring
The device Run Log of family terminal, and identify the fault message for including in the user terminal, then the fault message is divided
Class determines the fault type that the user terminal is included.When the fault restoration data packet for acquiring a certain fault type, then to
There are all user terminals of the fault type to send the fault restoration data packet, realizes the packet-oriented publication of fault restoration
Purpose.Compared with the dissemination method of existing fault restoration data packet, the embodiment of the present invention is due to not global unified push, only
It is to there are the user terminals of corresponding failure type to push fault restoration data packet, to reduce the instantaneous concurrent number of server
According to amount, reduce the hardware and bandwidth requirement to server.On the other hand, the embodiment of the present invention is the mistake of an orientation publication
Journey, for there is no the push that the user terminal of corresponding failure type can't carry out fault restoration data packet, so as to avoid
The wasting of resources can also improve the stability of user terminal and the usage experience of user.
Fig. 2 shows a kind of the specific of the dissemination method S103 of fault restoration data packet of second embodiment of the invention offer
Implementation flow chart.It is shown in Figure 2, relative to embodiment described in Fig. 1, a kind of fault restoration data packet provided in this embodiment
S103 includes S1031~S1033 in dissemination method, and specific details are as follows:
In S1031, it is based on malfunctioning module mark, the terminal software version and the failure response mode,
Calculate separately the matching degree for the fault type that prestores for including in each fault message and preset fault restoration library;Calculate institute
The model for stating matching degree is specially:
Wherein, matching degrees of the S between the fault message and the fault type;The A1、A2、A3Respectively
The malfunctioning module mark of the fault message, the parameter value of the terminal software version and the failure response mode;It is described
B1、B2、B3Malfunctioning module mark, the terminal software version and the failure response mode of the respectively described fault type
Parameter value;The e is natural constant.
In the present embodiment, storage there are one fault restoration library, in the fault restoration library includes multiple failures in server
Type, the fault type can be the fault types for acquiring and classifying during direct acquisition terminal equipment, may be used also
To be fault type that administrator has found during the test, can also be receive upper server or distributed server in order to
To the fault type that Mishap Database is synchronous and sends.In this case, different servers can be according to the area not
With or the difference of terminal type that is managed, user terminal is divided, different servers is different types of for managing
User terminal, and the fault type in the fault restoration library can be synchronized between each server at predetermined intervals, to
Reduce the case where fault restoration data packet is specified in repetition, reduces the reparation pressure of administrator, improve the efficiency of fault restoration.
In the present embodiment, server, can be according to the fault message when receiving the fault message of user terminal feedback
In include malfunctioning module mark, terminal versions number and failure response mode, determine whether the fault message belongs to and remembered
One of which in the fault type of record, therefore matched with the fault type in fault restoration library based on above three parameter
Degree calculates.The difference degree between various features item is calculated, that is, is calculated | A1-B1|、|A2-B2| and | A3-B3|, and by three differences
The sum of value obtains matching degree as the degree of deviation between fault type and fault message, and based on the degree of deviation.
Preferably, server is numbered modules based on the relevance between modules, and number difference is smaller
Two modules of then expression between function it is more similar, relevance is larger.For example, communication module can be classified as to third major class,
And bluetooth module is as the first group in the major class, WIFI module is as the second group in the major class, then bluetooth module
Number can be 31, and the number of WIFI module can be 32, therefore difference between the two is 1;And display module belongs to the 8th greatly
Class, and the touch screen in display module belongs to the first group, then the module number of touch screen is 81, therefore touch-control panel module and indigo plant
Difference between tooth module is 50, to the size of the difference between being identified based on malfunctioning module, it may be determined that fault message with
Whether fault type matches.It can also be numbered through the above way as described previously for failure response mode, herein no longer
It illustrates one by one.
Particularly, straight since software version number is that the precedence based on the version date of formation is numbered one by one
The difference between calculated version number is connect, then can determine the difference degree between two software versions, i.e., as calculating matching
One of factor of degree.
In S1032, if there are the matching degree of prestore described in one fault type and the fault message be more than it is preset
Matching degree threshold value, then using the fault type that prestores as the fault type of the fault message, and by the failure classes that prestore
The fault restoration data packet of type is sent to the user terminal belonging to the fault message.
In the present embodiment, it prestores and fault type and currently obtains if server finds one in fault restoration library
The matching degree of the fault message arrived is more than preset matching threshold, then corresponds to the fault type recognition that prestores for the fault message
Fault type, particularly, if there are the matching degrees of multiple prestore fault type and the fault messages to be all higher than preset matching
Threshold value is spent, then chooses the highest fault type that prestores of matching degree, the fault type as the fault message.
In the present embodiment, the fault type that each prestores corresponds to a fault restoration for changing the fault type that prestores
Data packet, therefore, server can directly be sent out to the failed terminals after determining that a certain fault message belongs to and prestores fault type
Give the fault type that prestores corresponding fault restoration data packet, to realize the purpose of fault restoration.
In S1033, if the matching degree of any prestore fault type and the fault message is respectively less than or equal to pre-
If matching degree threshold value, then the malfunctioning module mark carried according to the fault message, terminal software version and failure response
Mode creates a fault type, and using the fault type of establishment as the fault type of the fault message.
In the present embodiment, if each matching degree to prestore between fault type and the fault message is equal in fault restoration library
Less than or equal to matching degree threshold value, then it represents that the fault message be emerging fault message, server and for the failure into
Row is repaired, therefore, it will malfunctioning module expression, terminal software version and the failure response side carried based on the fault message
Formula creates a fault type, and the fault type is stored in fault restoration library, and identifies that the fault type of the establishment is made
For the fault type of the fault message, the relevant operation of S104 and S105 is then executed.
In embodiments of the present invention, by matching fault message with the fault type that prestores, to avoid repeating repairing
The case where multiple, repetition stores, reduces the operating pressure of the administrator of fault restoration, improves the efficiency of fault restoration.
The specific implementation of the dissemination method S105 for the fault restoration data packet that Fig. 3 third embodiment of the invention provides a kind of
Flow chart.It is shown in Figure 3, relative to embodiment described in Fig. 1, a kind of publication of fault restoration data packet provided in this embodiment
S105 further includes S1051~S1053 in method, and specific details are as follows:
In S1051, the data volume of the fault restoration data packet is obtained.
In the present embodiment, server can first determine the fault restoration data packet before sending fault restoration data packet
Data volume, and the data volume is compared with preset data-quantity threshold, the data volume of the fault restoration data packet is less than in advance
If data-quantity threshold, then execute the operation of S1052;Conversely, if data volume is greater than or equal to preset data-quantity threshold, hold
The operation of row S1053.
Optionally, the data-quantity threshold of the present embodiment can carry out manual setting by administrator, can also server according to
The bandwidth resources of residing network are adjusted automatically.For example, server settings send the estimated of fault restoration data packet
Shi Changwei 4 seconds, and the bandwidth resources occupied, no more than 50%, current bandwidth resources are 100M/s, it can be seen that, the data
Measuring threshold value can be then:Vmax=100M/s*50%*4=200M.
In S1052, if the data volume of the fault restoration data packet is less than preset data-quantity threshold, by main thread
It is set as serial operational mode, and institute is sent to the corresponding each user terminal of the fault type by the main thread one by one
State fault restoration data packet.
In the present embodiment, if server determines that the data volume of the fault restoration data packet is less than preset data volume threshold
Value, then it represents that the data volume of the fault restoration data packet is smaller, and the time sent needed for a data packet is shorter, is not in
Because sending fault restoration data packet, and leads to send the case where not being sent yet beyond preset duration and send, on this basis,
The transmitting efficiency that fault restoration data packet is carried out by main thread is higher.The hardware resource and bandwidth that can be called due to main thread
Resource is more, therefore the efficiency for carrying out data packet transmission is also higher, but since server is when detecting main thread operation, can be arranged
One peak response duration can identify that the main thread is in response abnormality if the response time is more than preset response lag
State can then terminate the operation of the main thread, re-start response.Therefore, if the data volume of fault restoration data packet is larger, clothes
Business device can then identify that the main thread is in response abnormality state, and terminate and retransmit repeatedly, lead to the wasting of resources and number of faults
The case where can not normally being sent according to packet.It therefore, just can be by main thread into line number when the data volume of fault data packet is smaller
According to publication.
In the present embodiment, server is determining that pass through main thread sends fault restoration data packet to each user terminal
When, according to the precedence of user terminal uploads fault message fault restoration data packet can be sent as the user terminal
Order of transmission.
In S1053, if the data volume of the fault restoration data packet is greater than or equal to the data-quantity threshold, in institute
The sub-line journey for creating multiple asynchronous parallels in main thread is stated, and is corresponded to respectively to the fault type by each sub-line journey
Each user terminal send the fault restoration data packet;The user that the number of the sub-line journey includes with the fault type
The number of terminal is identical.
In the present embodiment, if server is determining fault restoration data packet more than or equal to data-quantity threshold, table
Show that the data volume of the fault restoration data packet is larger, if being sent by main thread serial mode, easy tos produce above-mentioned
Send the situation of time-out.Therefore, in this case, failure will be sent to each user terminal by sub-line journey parallel form to repair
Complex data packet.
In the present embodiment, server inquires the terminal that user terminal is had recorded in the correspondence of the fault type
It counts, and creates the number of sub-line journey identical with the terminal number under main thread, and the operational mode of each sub-line journey is set
It is set to asynchronous parallel pattern, is communicatively coupled respectively with each user terminal to control each sub-line journey, passes through each height
Thread sends fault restoration data packet to each user terminal respectively.
Optionally, it if terminal number is more than server maximum sub-line number of passes, creates identical with maximum thread quantity
Sub-line journey carries out the transmission operation of fault restoration data packet to certain customers' terminal, after being sent, then to remaining part
User terminal is sent, and operation is sent until the corresponding user terminal of the fault type to be carried out to data packet.
In embodiments of the present invention, server selects suitable send according to the data volume size of fault restoration data packet
Mode carries out data transmission, to improve the success rate of transmitting efficiency and transmission.
The specific implementation of the dissemination method S102 for the fault restoration data packet that Fig. 4 fourth embodiment of the invention provides a kind of
Flow chart.It is shown in Figure 4, relative to embodiment described in Fig. 1, a kind of publication of fault restoration data packet provided in this embodiment
Method S102 includes:S1021~S1023, specific details are as follows:
In S1021, according to the device Run Log at the beginning of carve and finish time, determine the running log
Running duration.
In the present embodiment, it carves and ties at the beginning of the operation of this service response is had recorded in each device Run Log
Beam moment, server can determine that user terminal responds the service institute based on the difference between start time and finish time
The operation duration needed.
Optionally, server can be based on the service type, inquire the time threshold corresponding to the service type.Due to difference
Service type needed for respond time be all different, therefore have corresponding duration threshold value.Server can extract equipment fortune
The service type for including in row daily record then determines the duration threshold value of the fault type, then in the fortune for collecting this
Row duration is compared with duration threshold value.Particularly, server can repeatedly be fed back based on user terminal about the service class
The device Run Log of type determines the average operation duration of the service type, and using the operation duration that is averaged as duration threshold value.
In the present embodiment, if server detects that operation duration is less than preset duration threshold value, then it represents that this secondary response
It is without exception, which is identified as normal operation daily record;If conversely, the operation duration is more than preset duration threshold
Value, then carry out the operation of S1022, further confirm that whether the device Run Log is failure operation daily record.
In S1022, if the operation duration is more than preset duration threshold value, the money of the device Run Log is obtained
Source consumes parameter.
In the present embodiment, since operation duration is more than preset duration threshold value, then it represents that this service response belongs to super
When the resource situation that responds, therefore the user terminal consumed when this service will be obtained.It is general right due to for failure response
The hardware resource occupancy of user terminal is more, therefore can determine that the equipment runs day based on the size of resource consumption parameter values
Whether will is failure operation daily record.
In the present embodiment, resource consumption parameter can be the numerical value of terminal EMS memory occupation, or computing module is transported
Calculate the percentage of the occupancy of resource.Server carries out the consumption resource parameters in device Run Log with preset threshold value
It compares.And if be less than preset threshold value, identify the device Run Log be normal operation daily record;If conversely, being more than
Preset threshold value is then identified as failure operation daily record, and executes the operation of S1023.
In S1023, if the resource consumption parameter is more than preset threshold value, the device Run Log is identified
For failure operation daily record, and the fault message is generated based on the failure operation daily record.
In the present embodiment, server is determining that responding resource consumption parameter that this services required user terminal is more than
When preset threshold value, then it represents that this operates the resource for occupying a large amount of user terminal, determines the mistake for responding the service
Cheng Zhong, there are fault conditions, and generate a fault message.
In embodiments of the present invention, by operation duration and resource consumption parameter decision device Run Log whether be
Failure operation daily record improves the efficiency of fault restoration to realize the purpose of fault message automatic identification and extraction.
A kind of specific implementation flow of the dissemination method for the fault restoration data packet that Fig. 5 fifth embodiment of the invention provides
Figure.It is shown in Figure 5, relative to embodiment described in Fig. 1 to Fig. 4, a kind of hair of fault restoration data packet provided in this embodiment
Cloth method is based on the correspondence described, and the fault restoration data are sent to the corresponding user terminal of the fault type
Before packet, further include:S501 and S502, specific details are as follows:
In S501, the network state of the user terminal is obtained.
In the present embodiment, server, can be to user terminal before sending fault restoration data packet to user terminal
It sends a network state and obtains request, determine the network state of active user's terminal.The network state be with internet into
The specific connection type of row communication online is by cable network, WLAN or mobile network.User terminal is based on working as
The preceding network state with server communication generates a network state result and returns to server.
In S502, if the network state meets preset data packet download state, execute described based on described right
It should be related to, the operation of the fault restoration data packet is issued to the corresponding user terminal of the fault type.
In the present embodiment, server downloads shape if it is determined that the network state of active user's terminal is preset data packet
State then sends fault restoration data packet to user terminal.Particularly, which is:Status of wireless lan or
Cable network state.
Optionally, if server determines that current network state is unsatisfactory for preset data packet download state, it is arranged one
Retransmission timer returns to the relevant operation of S501 after the count value of retransmission timer is more than retransmission count value, until user's end
The network state at end meets preset data packet download state, then executes down operation.
Optionally, user terminal is after receiving network state and obtaining request, when determining that it is preset that current state is unsatisfactory for
When data packet download state, can enter download wait state, when detect the network state of user terminal meet data packet download
When state, actively a data packet is sent to server and obtain request, with log-on data packet down operation.
In embodiments of the present invention, by obtaining the network state of user terminal, determine whether that executing data packet sends, and keeps away
Exempt from user terminal to be not intended to download and waste a large amount of data traffic.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
Fig. 6 shows a kind of structure diagram for server that one embodiment of the invention provides, each list which includes
Member is for executing each step in the corresponding embodiments of Fig. 1.It is related in the embodiment corresponding to Fig. 1 referring specifically to Fig. 1
Description.For convenience of description, only the parts related to this embodiment are shown.
Referring to Fig. 6, the server includes:
Device Run Log receiving unit 61, the device Run Log for receiving each user terminal uploads;
Fault message acquiring unit 62 is used for the device Run Log based on each user terminal uploads, true respectively
The fault message that fixed each user terminal includes;The fault message includes:Malfunctioning module mark, terminal software version with
And failure response mode;
Fault type determination unit 63, for based on malfunctioning module mark, the terminal software version and described
Failure response mode classifies to the fault message, determines the fault type of the fault message;
Correspondence determination unit 64, the corresponding user of the fault message for including according to the fault type are whole
End, establishes the correspondence between the fault type and the user terminal;The fault message corresponds at least one described
User terminal;
Fault data packet transmission unit 65, if for getting the fault restoration data for repairing the fault type
Packet is then based on the correspondence, and the fault restoration data packet is sent to the corresponding user terminal of the fault type.
Optionally, fault type determination unit 63 includes:
Matching degree computing unit, for based on malfunctioning module mark, the terminal software version and the failure
Response mode calculates separately the matching for the fault type that prestores for including in each fault message and preset fault restoration library
Degree;The model for calculating the matching degree is specially:
Wherein, matching degrees of the S between the fault message and the fault type;The A1、A2、A3Respectively
The malfunctioning module mark of the fault message, the parameter value of the terminal software version and the failure response mode;It is described
B1、B2、B3Malfunctioning module mark, the terminal software version and the failure response mode of the respectively described fault type
Parameter value;The e is natural constant;
Prestore fault type determination unit, if for there are of prestore described in one fault type and the fault message
Be more than preset matching degree threshold value with degree, then using the fault type that prestores as the fault type of the fault message, and will
The fault restoration data packet of the fault type that prestores is sent to the user terminal belonging to the fault message;
Fault type creating unit, if the matching degree for any the prestore fault type and the fault message is small
In or be equal to preset matching degree threshold value, then according to the fault message carry malfunctioning module mark, terminal software version with
And failure response mode, a fault type is created, and using the fault type of establishment as the fault type of the fault message.
Optionally, fault data packet transmission unit 65, including:
Data volume determination unit, the data volume for obtaining the fault restoration data packet;
Serial transmission unit, if the data volume for the fault restoration data packet is less than preset data-quantity threshold,
Set main thread to serial operational mode, and whole to the corresponding each user of the fault type one by one by the main thread
End sends the fault restoration data packet;
Transmitted in parallel unit, if the data volume for the fault restoration data packet is greater than or equal to the data volume threshold
Value then creates the sub-line journey of multiple asynchronous parallels in the main thread, and by each sub-line journey respectively to the event
Hinder the corresponding each user terminal of type and sends the fault restoration data packet;The number of the sub-line journey and the fault type
Including user terminal number it is identical.
Optionally, fault message acquiring unit 62, including:
Operation duration computing unit, determines quarter and finish time at the beginning of being used for according to the device Run Log
The running duration of the running log;
Resource consumption determination unit obtains the equipment if being more than preset duration threshold value for the operation duration
The resource consumption parameter of running log;
Failure operation daily record determination unit identifies if being more than preset threshold value for the resource consumption parameter
The device Run Log is failure operation daily record, and generates the fault message based on the failure operation daily record.
Optionally, the server further includes:
Network state acquiring unit, the network state for obtaining the user terminal;
Network state judging unit executes institute if meeting preset data packet download state for the network state
It states and is based on the correspondence, the operation of the fault restoration data packet is issued to the corresponding user terminal of the fault type
Therefore, server provided in an embodiment of the present invention equally can be only to there are the user terminals of corresponding failure type to push away
Fault restoration data packet is sent, to reduce the instantaneous concurrent data volume of server, reduces the hardware and band to server
Width requires.On the other hand, the embodiment of the present invention is the process of an orientation publication, for there is no the users of corresponding failure type
Terminal can't carry out the push of fault restoration data packet, so as to avoid the wasting of resources, can also improve the steady of user terminal
Qualitative and user usage experience.
Fig. 7 is a kind of schematic diagram for server that another embodiment of the present invention provides.As shown in fig. 7, the clothes of the embodiment
Business device 7 include:It processor 70, memory 71 and is stored in the memory 71 and can be run on the processor 70
Computer program 72, for example, fault restoration data packet release process.When the processor 70 executes the computer program 72
Realize the step in the dissemination method embodiment of above-mentioned each fault restoration data packet, such as S101 shown in FIG. 1 to S105.Or
Person, the processor 70 realize the function of each unit in above-mentioned each device embodiment when executing the computer program 72, such as
The function of module 61 to 65 shown in Fig. 6.
Illustratively, the computer program 72 can be divided into one or more units, one or more of
Unit is stored in the memory 71, and is executed by the processor 70, to complete the present invention.One or more of lists
Member can complete the series of computation machine program instruction section of specific function, and the instruction segment is for describing the computer journey
Implementation procedure of the sequence 72 in the server 7.It is connect for example, the computer program 72 can be divided into device Run Log
It receives unit, fault message acquiring unit, fault type determination unit, correspondence determination unit and fault data packet and sends list
Member, each unit concrete function are as follows:
Device Run Log receiving unit, the device Run Log for receiving each user terminal uploads;
Fault message acquiring unit is used for the device Run Log based on each user terminal uploads, determines respectively
The fault message that each user terminal includes;The fault message includes:Malfunctioning module mark, terminal software version and
Failure response mode;
Fault type determination unit, for based on malfunctioning module mark, the terminal software version and the event
Hinder response mode, classifies to the fault message, determine the fault type of the fault message;
Correspondence determination unit, the corresponding user of the fault message for including according to the fault type are whole
End, establishes the correspondence between the fault type and the user terminal;The fault message corresponds at least one described
User terminal;
Fault data packet transmission unit, if for getting the fault restoration data packet for repairing the fault type,
It is then based on the correspondence, the fault restoration data packet is sent to the corresponding user terminal of the fault type.
The server 7 can be the computing devices such as desktop PC, notebook, palm PC and cloud server.
The server may include, but be not limited only to, processor 70, memory 71.It will be understood by those skilled in the art that Fig. 7 is only
It is the example of server 7, does not constitute the restriction to server 7, may include than illustrating more or fewer components or group
Close certain components or different components, for example, the server can also include input-output equipment, network access equipment,
Bus etc..
Alleged processor 70 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
The memory 71 can be the internal storage unit of the server 7, such as the hard disk or memory of server 7.
The memory 71 can also be that the plug-in type that is equipped on the External memory equipment of the server 7, such as the server 7 is hard
Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card) etc..Further, the memory 71 can also both include the internal storage unit of the server 7 or wrap
Include External memory equipment.The memory 71 is used to store other programs needed for the computer program and the server
And data.The memory 71 can be also used for temporarily storing the data that has exported or will export.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can be stored in a computer read/write memory medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method..Wherein, the computer program includes computer program code, the computer program
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..Computer-readable Jie
Matter may include:Can carry the computer program code any entity or device, recording medium, USB flash disk, mobile hard disk,
Magnetic disc, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to legislation in jurisdiction and the requirement of patent practice
Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and electricity
Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to aforementioned reality
Applying example, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each
Technical solution recorded in embodiment is modified or equivalent replacement of some of the technical features;And these are changed
Or replace, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of dissemination method of fault restoration data packet, which is characterized in that including:
Receive the device Run Log of each user terminal uploads;
Based on the device Run Log of each user terminal uploads, the failure that each user terminal includes is determined respectively
Information;The fault message includes:Malfunctioning module mark, terminal software version and failure response mode;
Based on malfunctioning module mark, the terminal software version and the failure response mode, to the fault message
Classify, determines the fault type of the fault message;
The corresponding user terminal of the fault message for including according to the fault type, establishes the fault type and the use
Correspondence between the terminal of family;The fault message corresponds at least one user terminal;
If getting the fault restoration data packet for repairing the fault type, it is based on the correspondence, to the event
Hinder the corresponding user terminal of type and sends the fault restoration data packet.
2. dissemination method according to claim 1, which is characterized in that described based on malfunctioning module mark, the end
Software version and the failure response mode are held, classifies to the fault message, determines the failure of the fault message
Type, including:
Based on malfunctioning module mark, the terminal software version and the failure response mode, each institute is calculated separately
State the matching degree for the fault type that prestores for including in fault message and preset fault restoration library;Calculate the model of the matching degree
Specially:
Wherein, matching degrees of the S between the fault message and the fault type;The A1、A2、A3It is respectively described
The malfunctioning module mark of fault message, the parameter value of the terminal software version and the failure response mode;The B1、B2、
B3Malfunctioning module mark, the parameter of the terminal software version and the failure response mode of the respectively described fault type
Value;The e is natural constant;
It, will if there are the matching degrees of prestore described in one fault type and the fault message to be more than preset matching degree threshold value
The fault type of the fault type as the fault message that prestore, and by the fault restoration data of the fault type that prestores
Packet is sent to the user terminal belonging to the fault message;
If the matching degree of any prestore fault type and the fault message is respectively less than or is equal to preset matching degree threshold value,
Malfunctioning module mark, terminal software version and the failure response mode then carried according to the fault message, creates an event
Hinder type, and using the fault type of establishment as the fault type of the fault message.
3. dissemination method according to claim 1, which is characterized in that if described get for repairing the fault type
Fault restoration data packet, then be based on the correspondence, the failure issued to the corresponding user terminal of the fault type
Repair data packet, including:
Obtain the data volume of the fault restoration data packet;
If the data volume of the fault restoration data packet is less than preset data-quantity threshold, main thread is set as serially running
Pattern, and the fault restoration data are sent to the corresponding each user terminal of the fault type by the main thread one by one
Packet;
If the data volume of the fault restoration data packet is greater than or equal to the data-quantity threshold, created in the main thread
The sub-line journey of multiple asynchronous parallels, and by each sub-line journey respectively to the corresponding each user terminal of the fault type
Send the fault restoration data packet;The number phase for the user terminal that the number of the sub-line journey includes with the fault type
Together.
4. dissemination method according to claim 1, which is characterized in that described to be based on each user terminal uploads
Device Run Log, determine each user terminal fault message for including respectively, including:
Quarter and finish time, determine the running duration of the running log at the beginning of according to the device Run Log;
If the operation duration is more than preset duration threshold value, the resource consumption parameter of the device Run Log is obtained;
If the resource consumption parameter is more than preset threshold value, identify that the device Run Log is failure operation day
Will, and the fault message is generated based on the failure operation daily record.
5. according to claim 1-4 any one of them dissemination methods, which is characterized in that it is based on the correspondence described,
Before sending the fault restoration data packet to the corresponding user terminal of the fault type, further include:
Obtain the network state of the user terminal;
If the network state meets preset data packet download state, execute it is described be based on the correspondence, to described
The corresponding user terminal of fault type issues the operation of the fault restoration data packet.
6. a kind of server, which is characterized in that the server includes memory, processor and is stored in the memory
And the computer program that can be run on the processor, the processor realize following step when executing the computer program
Suddenly:
Receive the device Run Log of each user terminal uploads;
Based on the device Run Log of each user terminal uploads, the failure that each user terminal includes is determined respectively
Information;The fault message includes:Malfunctioning module mark, terminal software version and failure response mode;
Based on malfunctioning module mark, the terminal software version and the failure response mode, to the fault message
Classify, determines the fault type of the fault message;
The corresponding user terminal of the fault message for including according to the fault type, establishes the fault type and the use
Correspondence between the terminal of family;The fault message corresponds at least one user terminal;
If getting the fault restoration data packet for repairing the fault type, it is based on the correspondence, to the event
Hinder the corresponding user terminal of type and sends the fault restoration data packet.
7. server according to claim 6, which is characterized in that described based on malfunctioning module mark, the terminal
Software version and the failure response mode, classify to the fault message, determine the failure classes of the fault message
Type, including:
Based on malfunctioning module mark, the terminal software version and the failure response mode, each institute is calculated separately
State the matching degree for the fault type that prestores for including in fault message and preset fault restoration library;Calculate the model of the matching degree
Specially:
Wherein, matching degrees of the S between the fault message and the fault type;The A1、A2、A3It is respectively described
The malfunctioning module mark of fault message, the parameter value of the terminal software version and the failure response mode;The B1、B2、
B3Malfunctioning module mark, the parameter of the terminal software version and the failure response mode of the respectively described fault type
Value;The e is natural constant;
It, will if there are the matching degrees of prestore described in one fault type and the fault message to be more than preset matching degree threshold value
The fault type of the fault type as the fault message that prestore, and by the fault restoration data of the fault type that prestores
Packet is sent to the user terminal belonging to the fault message;
If the matching degree of any prestore fault type and the fault message is respectively less than or is equal to preset matching degree threshold value,
Malfunctioning module mark, terminal software version and the failure response mode then carried according to the fault message, creates an event
Hinder type, and using the fault type of establishment as the fault type of the fault message.
8. server according to claim 6, which is characterized in that if described get for repairing the fault type
Fault restoration data packet is then based on the correspondence, issues the failure to the corresponding user terminal of the fault type and repaiies
Complex data packet, including:
Obtain the data volume of the fault restoration data packet;
If the data volume of the fault restoration data packet is less than preset data-quantity threshold, main thread is set as serially running
Pattern, and the fault restoration data are sent to the corresponding each user terminal of the fault type by the main thread one by one
Packet;
If the data volume of the fault restoration data packet is greater than or equal to the data-quantity threshold, created in the main thread
The sub-line journey of multiple asynchronous parallels, and by each sub-line journey respectively to the corresponding each user terminal of the fault type
Send the fault restoration data packet;The number phase for the user terminal that the number of the sub-line journey includes with the fault type
Together.
9. server according to claim 6, which is characterized in that described based on each user terminal uploads
Device Run Log determines the fault message that each user terminal includes respectively, including:
Quarter and finish time, determine the running duration of the running log at the beginning of according to the device Run Log;
If the operation duration is more than preset duration threshold value, the resource consumption parameter of the device Run Log is obtained;
If the resource consumption parameter is more than preset threshold value, identify that the device Run Log is failure operation day
Will, and the fault message is generated based on the failure operation daily record.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist
In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810121899.0A CN108322345B (en) | 2018-02-07 | 2018-02-07 | Method for issuing fault repair data packet and server |
PCT/CN2018/083288 WO2019153505A1 (en) | 2018-02-07 | 2018-04-17 | Method for publishing fault recovery data packet and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810121899.0A CN108322345B (en) | 2018-02-07 | 2018-02-07 | Method for issuing fault repair data packet and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108322345A true CN108322345A (en) | 2018-07-24 |
CN108322345B CN108322345B (en) | 2020-08-21 |
Family
ID=62902145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810121899.0A Active CN108322345B (en) | 2018-02-07 | 2018-02-07 | Method for issuing fault repair data packet and server |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108322345B (en) |
WO (1) | WO2019153505A1 (en) |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109144559A (en) * | 2018-09-26 | 2019-01-04 | 深圳壹账通智能科技有限公司 | A kind of method for pushing and server of updated data package |
CN109254864A (en) * | 2018-09-11 | 2019-01-22 | 北京奇艺世纪科技有限公司 | A kind of application failure restorative procedure, device and electronic equipment |
CN109933465A (en) * | 2019-03-12 | 2019-06-25 | 北京同城必应科技有限公司 | Abnormality eliminating method, device, server and storage medium |
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 |
CN111190630A (en) * | 2020-01-02 | 2020-05-22 | 竞技世界(北京)网络技术有限公司 | Terminal application updating method and server |
CN111385613A (en) * | 2018-12-29 | 2020-07-07 | 深圳Tcl数字技术有限公司 | Television system repairing method, storage medium and application server |
CN111664543A (en) * | 2020-05-25 | 2020-09-15 | 海信(山东)空调有限公司 | Air conditioner and control method thereof |
CN111786804A (en) * | 2019-04-04 | 2020-10-16 | 华为技术有限公司 | Link fault monitoring method and device |
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 |
CN112733369A (en) * | 2021-01-13 | 2021-04-30 | 青岛海尔科技有限公司 | Intelligent equipment maintenance method, terminal and system and electronic equipment |
CN113033889A (en) * | 2021-03-19 | 2021-06-25 | 国网河北省电力有限公司邢台供电分公司 | 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 |
CN113986603A (en) * | 2021-12-28 | 2022-01-28 | 深圳市明源云科技有限公司 | Method and device for determining page loading abnormity reason and storage medium |
CN114338765A (en) * | 2021-12-10 | 2022-04-12 | 青岛海尔科技有限公司 | Equipment connection abnormity identification method and system, electronic device and storage medium |
CN114722029A (en) * | 2022-04-18 | 2022-07-08 | 苏州浪潮智能科技有限公司 | Method, system, device and storage medium for repairing monitor database |
WO2023030391A1 (en) * | 2021-09-06 | 2023-03-09 | Wuhan United Imaging Healthcare Co., Ltd. | Systems and methods for failure warning |
Families Citing this family (7)
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 |
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 |
CN113190370B (en) * | 2021-05-08 | 2024-06-18 | 京东科技控股股份有限公司 | Emergency response method and device for application |
CN113692056B (en) * | 2021-08-25 | 2024-01-19 | 维沃移动通信有限公司 | Resource sharing method and device |
CN114294778B (en) * | 2021-12-27 | 2023-11-14 | 深圳市兴特能源科技有限公司 | Air circulation disinfection and purification method and system for classroom lamp |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101115264A (en) * | 2006-07-24 | 2008-01-30 | 中兴通讯股份有限公司 | 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 |
CN106161079A (en) * | 2015-04-28 | 2016-11-23 | 小米科技有限责任公司 | Fault feedback method and device |
US20170118041A1 (en) * | 2015-10-21 | 2017-04-27 | Brocade Communications Systems, Inc. | Distributed rule provisioning in an extended bridge |
CN106685744A (en) * | 2017-03-13 | 2017-05-17 | 福建中金在线信息科技有限公司 | Fault elimination method, apparatus and system |
EP3240240A1 (en) * | 2016-04-25 | 2017-11-01 | Cisco Technology, Inc. | Network architecture for predictive services management in cable network environments |
CN107357730A (en) * | 2017-07-17 | 2017-11-17 | 郑州云海信息技术有限公司 | A kind of system fault diagnosis restorative procedure and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102045181B (en) * | 2009-10-10 | 2013-08-07 | 中国移动通信集团公司 | 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 |
-
2018
- 2018-02-07 CN CN201810121899.0A patent/CN108322345B/en active Active
- 2018-04-17 WO PCT/CN2018/083288 patent/WO2019153505A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101115264A (en) * | 2006-07-24 | 2008-01-30 | 中兴通讯股份有限公司 | 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 |
CN106161079A (en) * | 2015-04-28 | 2016-11-23 | 小米科技有限责任公司 | Fault feedback method and device |
US20170118041A1 (en) * | 2015-10-21 | 2017-04-27 | Brocade Communications Systems, Inc. | Distributed rule provisioning in an extended bridge |
EP3240240A1 (en) * | 2016-04-25 | 2017-11-01 | 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 |
CN107357730A (en) * | 2017-07-17 | 2017-11-17 | 郑州云海信息技术有限公司 | A kind of system fault diagnosis restorative procedure and device |
Cited By (31)
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 |
WO2020062674A1 (en) * | 2018-09-26 | 2020-04-02 | 深圳壹账通智能科技有限公司 | Push method for update data packets and server |
CN109144559A (en) * | 2018-09-26 | 2019-01-04 | 深圳壹账通智能科技有限公司 | A kind of method for pushing and server of updated data package |
CN111385613B (en) * | 2018-12-29 | 2022-07-08 | 深圳Tcl数字技术有限公司 | Television system repairing method, storage medium and application server |
CN111385613A (en) * | 2018-12-29 | 2020-07-07 | 深圳Tcl数字技术有限公司 | Television system repairing method, storage medium and application server |
CN109933465A (en) * | 2019-03-12 | 2019-06-25 | 北京同城必应科技有限公司 | Abnormality eliminating method, device, server and storage medium |
CN111786804A (en) * | 2019-04-04 | 2020-10-16 | 华为技术有限公司 | Link fault monitoring method and device |
CN111786804B (en) * | 2019-04-04 | 2023-06-30 | 华为技术有限公司 | Link fault monitoring method and device |
US11968077B2 (en) | 2019-04-04 | 2024-04-23 | Huawei Technologies Co., Ltd. | Link fault monitoring method and apparatus |
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 |
CN111190630A (en) * | 2020-01-02 | 2020-05-22 | 竞技世界(北京)网络技术有限公司 | Terminal application updating method and server |
CN111190630B (en) * | 2020-01-02 | 2023-06-16 | 竞技世界(北京)网络技术有限公司 | Updating method of terminal application and server |
CN111664543A (en) * | 2020-05-25 | 2020-09-15 | 海信(山东)空调有限公司 | Air conditioner and control method thereof |
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 |
CN112733369A (en) * | 2021-01-13 | 2021-04-30 | 青岛海尔科技有限公司 | 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 |
CN113033889A (en) * | 2021-03-19 | 2021-06-25 | 国网河北省电力有限公司邢台供电分公司 | 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 |
WO2023030391A1 (en) * | 2021-09-06 | 2023-03-09 | Wuhan United Imaging Healthcare Co., Ltd. | Systems and methods for failure warning |
CN114338765A (en) * | 2021-12-10 | 2022-04-12 | 青岛海尔科技有限公司 | Equipment connection abnormity identification method and system, electronic device and storage medium |
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 |
CN113986603A (en) * | 2021-12-28 | 2022-01-28 | 深圳市明源云科技有限公司 | Method and device for determining page loading abnormity reason and storage medium |
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 |
---|---|
WO2019153505A1 (en) | 2019-08-15 |
CN108322345B (en) | 2020-08-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108322345A (en) | A kind of dissemination method and server of fault restoration data packet | |
CN109144559B (en) | Update data packet pushing method and server | |
US20090157835A1 (en) | Presence Enabled Instance Messaging for Distributed Energy Management Solutions | |
CN110794800A (en) | Monitoring system for wisdom mill information management | |
CN103024699B (en) | A kind of note transmission method and a kind of information resources station entity | |
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 | |
CN105556499A (en) | Intelligent auto-scaling | |
CN107992392A (en) | A kind of automatic monitoring repair system and method for cloud rendering system | |
CN110677274A (en) | Event-based cloud network service scheduling method and device | |
CN109002354A (en) | A kind of computing resource cubic elasticity telescopic method and system based on OpenStack | |
CN111031000B (en) | Processing method, device and system of business wind control system and storage medium | |
CN111400041A (en) | Server configuration file management method and device and computer readable storage medium | |
CN112565391A (en) | Method, apparatus, device and medium for adjusting instances in an industrial internet platform | |
CN110968479B (en) | Service level full-link monitoring method and server for application program | |
CN107015864B (en) | Business method for controlling batch processing and device | |
CN113448947B (en) | Method and device for distributed deployment operation and maintenance of mongo database | |
CN109039714A (en) | The management method and device of resource in cloud computing system | |
CN111628903B (en) | Monitoring method and monitoring system for transaction system running state | |
Mamatas et al. | Towards an information management overlay for emerging networks | |
CN109257256A (en) | Apparatus monitoring method, device, computer equipment and storage medium | |
CN109697117A (en) | Terminal control method, device and computer readable storage medium | |
CN103677994B (en) | Distributed data processing system, device and method | |
TWI772721B (en) | System and method using blockchain to manage network devices | |
CN114565201A (en) | Management system, method, device and storage medium of data center |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |