Failure event thrown method and device

A technology of events and events to be tested, applied in the field of computer processing, can solve problems such as occupying equipment processing resources, poor robustness, and poor timeliness

Active Publication Date: 2017-04-26
NEUSOFT CORP
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to throw failure events, most of the existing technologies use the redis cache mechanism to detect failure events. The robustness of this detection scheme is poor, which can be specifically reflected in the following: when the number of failure events is small, failure events cannot be thrown in time, Poor timeliness; when there are a large number of failure events, throwing failure events continuously will occupy a large amount of processing resources of the device and affect the overall performance of the device

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Failure event thrown method and device
  • Failure event thrown method and device
  • Failure event thrown method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] Specific embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present disclosure, and are not intended to limit the present disclosure.

[0056] see figure 1 It is a schematic flowchart of Embodiment 1 of the failure event throwing method of the present disclosure. The application running on the computer can throw an invalidation event through this method, and the method may include the following steps:

[0057] Step 101, selecting a predetermined number of events to be tested from the pool of events to be tested.

[0058] Still taking the online detection of users in the instant messaging field as an example, if the status of 100,000 users is to be monitored, the status of each user can be stored as an online detection event in the event pool to be tested. In this way, when a failure event is...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a failure event thrown method and device. The method comprises the steps of selecting a predetermined number of events to be tested from an event pool to be detected; judging whether the number of failure events in the events to be detected is smaller than a preset value or not; and throwing the failure events if the number of the failure events in the events to be detected is not smaller than the preset value, continuing to select a next batch of events to be detected from the event pool to be detected, and performing failure event detection until the number of the failure events in the events to be detected is smaller than the preset value. By such a scheme, the thrown timeliness of the failure events existing in the events to be detected can be ensured, the occupancy and the influence on equipment processing resources during simultaneously throwing of a large amount of failure events when the large amount of failure events exist in the event pool to be detected can be effectively reduced, and the robustness of failure event detection is favorably improved.

Description

technical field [0001] The present disclosure relates to the technical field of computer processing, and in particular, to a failure event throwing method and device. Background technique [0002] Generally, in the field of software, the actions performed by the device can be divided into two types: one is the immediate execution action without time difference, that is, the action B is executed after the execution of action A; the other is the non-immediate execution action, also That is, after action C is executed, action D needs to be executed under preset conditions, which may be reaching a predetermined time interval, satisfying predetermined execution conditions, and the like. [0003] Taking the user online detection in the field of instant messaging as an example, if the user sends a heartbeat packet every predetermined time interval T, it can be determined that the user is online; otherwise, if the user exceeds T without sending a heartbeat packet, it can be determin...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/10
CPCG06F11/1064
Inventor 赵研
Owner NEUSOFT CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products