Data acquisition method and device based on Actor model and storage medium

A technology of data acquisition and data collector, which is applied in multi-programming devices, electrical digital data processing, program synchronization, etc., can solve the problems of troublesome maintenance, multi-maintenance cost, complex implementation of distributed locks, etc., to improve concurrent performance, The effect of efficient data collection methods

Active Publication Date: 2019-09-17
PING AN TECH (SHENZHEN) CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the implementation of distributed locks is more complicated, and the maintenance is more troublesome, requiring more maintenance costs. Therefore, distributed locks are not an ideal solution to the deadlock problem of distributed data collection, and there is still a lack of a more efficient distributed lock. Data collection method

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
  • Data acquisition method and device based on Actor model and storage medium
  • Data acquisition method and device based on Actor model and storage medium
  • Data acquisition method and device based on Actor model and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0027] This application is mainly applied to data acquisition devices, which can be traditional data acquisition devices, large storage systems, desktop computers, notebook computers, tablet computers, palmtop computers, smart phones, portable digital players, smart watches and smart bracelets Etc., this application does not limit this.

[0028] The terminals described in the embodiments of this application include but are not limited to devices with communication functions, smart phones, tablet computers, notebook computers, desktop computers, portable digital players, smart bracelets, and smart watches. When the terminal sends data to the data acquisition device, the characteristics of the data are recorded and transmitted according to a preset format, wherein the characte...

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 discloses a data acquisition method and device based on an Actor model and a computer readable storage medium, and is applied to the field of data processing. The method comprises the steps of detecting whether a newly added target task exists in a task cluster or not; under the condition that it is detected that a newly-added target task exists in the task cluster, establishing an Actor model for the target task, wherein the Actor model comprises a plurality of data collectors; dividing the plurality of data collectors into a plurality of stages, and setting the trigger sequences of the plurality of stages; according to the triggering sequence of the multiple stages, sequentially triggering the data collectors of the multiple stages to collect data; and deleting the target task in the task cluster after it is detected that all the data collectors at multiple stages collect the data. According to the application, the plurality of data collectors are Actors, and the execution sequences of different data collectors are set, so that the plurality of data collectors can be dispatched to complete the data collection without a lock.

Description

technical field [0001] The present application relates to the field of data collection, in particular to a data collection method, device and computer-readable storage medium based on an Actor model. Background technique [0002] Data acquisition often falls into a deadlock due to concurrent access to a critical resource by multiple threads or processes. At this time, the critical resource can be locked to establish a mutual exclusion synchronization mechanism between threads or processes to ensure the critical resource. completeness and consistency. There are many mutual exclusion schemes available for stand-alone process synchronization and thread synchronization, such as mutexes, semaphores, and condition variables. However, these mutual exclusion schemes under a single machine cannot be used on multiple machines, because the components of the distributed system run on different machines, making them not in a unified operating environment. [0003] In distributed data c...

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/52G06F9/54
CPCG06F9/524G06F9/546
Inventor 袁康
Owner PING AN TECH (SHENZHEN) CO LTD
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