Event processing method and device, equipment and storage medium

An event processing and event technology, applied in the computer field, can solve the problems of high development and debugging costs, large development and debugging costs, etc., and achieve the effect of balancing development cost and performance, improving development efficiency and system performance

Active Publication Date: 2019-08-20
TENCENT TECH SHANGHAI
View PDF13 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The single-process and single-thread model has high development efficiency, but it is not enough to carry too many users; the single-process and multi-thread model has no disadvantages of memory redundancy, and can make full use of the advantages of multi-core. It does not require a central control server to synchronize data, but it will involve locking And a large number of asynchronous callbacks, the cost of devel

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
  • Event processing method and device, equipment and storage medium
  • Event processing method and device, equipment and storage medium
  • Event processing method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0034] In the description of the present invention, it should be understood that the terms "first" and "second" are used for description purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features. Also, the terms "first", "second", et...

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 an event processing method and device, equipment and a storage medium. The method comprises: acquiring a target event; dividing the target event into a plurality of sub-events, and classifying the plurality of sub-events into a first type of events and a second type of events according to a preset rule; dividing the current time period into time periods which are not overlapped in time, the time periods which are not overlapped in time comprising a single-thread stage and a multi-thread stage; and processing the first type of events in the single thread stage, and processing the second type of events in the multi-thread stage. According to the processing characteristics of different threads, different types of events are put in different thread stages to be processed, so that the development efficiency and the system performance are improved; and meanwhile, a single thread is combined with multiple threads, so that the development cost and the performance are balanced.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to an event processing method, device, equipment and storage medium. Background technique [0002] In the field of computer technology application, single-process single-thread model, single-process multi-thread model and multi-process single-thread model are usually used for event processing. The single-process and single-thread model has high development efficiency, but it is not enough to carry too many users; the single-process and multi-thread model has no disadvantages of memory redundancy, and can make full use of the advantages of multi-core. It does not require a central control server to synchronize data, but it will involve locking And a large number of asynchronous callbacks, the cost of development and debugging is high; the multi-process single-thread model can be used for fault isolation, and the downtime of a single server process will not affect all player...

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
IPC IPC(8): G06F9/46
CPCG06F9/466G06F2209/5018Y02D10/00
Inventor 祝清鲁
Owner TENCENT TECH SHANGHAI
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