Hotspot account batch updating method and device, server and storage medium

A batch update and account technology, applied in the field of data processing, can solve problems such as low execution efficiency, slow execution speed, insufficient use of cpu, memory, and disk IO, and achieve the effect of improving execution speed

Pending Publication Date: 2019-06-14
深圳市盟天科技有限公司
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 1. Single thread processes all the data one by one, the execution speed is slow, and the overall execution efficiency is l

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
  • Hotspot account batch updating method and device, server and storage medium
  • Hotspot account batch updating method and device, server and storage medium
  • Hotspot account batch updating method and device, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] figure 1 The flow chart of the batch update method for hotspot accounts provided by Embodiment 1 of the present invention. This embodiment is applicable to the batch update of hotspot accounts. The method can be executed by a batch update device for hotspot accounts, and specifically includes the following steps:

[0057] Step 110: Divide task data into multiple partition tasks according to a preset partition strategy.

[0058] The task data in this embodiment may be account history data, or transaction data, which is not limited in this embodiment.

[0059] Optionally, the partition strategy includes: obtaining the total number of task data, and dividing the plurality of partition tasks according to the total number of task data; or obtaining computing resources for executing task data, according to the calculation The resource divides the multiple partition tasks; or obtains the total number of task data and computing resources for executing the task data; performs the...

Embodiment 2

[0076] The hotspot account batch update device provided by the embodiment of the present invention can execute the hotspot account batch update method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. figure 2 It is a schematic structural diagram of a hotspot account batch update device provided in Embodiment 2 of the present invention, the device includes:

[0077] A partition task unit 210, configured to divide task data into multiple partition tasks according to a preset partition strategy;

[0078] A temporary account unit 220, configured to generate multiple sets of temporary accounts based on the multiple hotspot accounts associated with the task data according to a preset partition strategy;

[0079] A parallel update unit 230, configured to process multiple partition tasks in parallel to update the multiple groups of temporary accounts in parallel;

[0080] The account mergin...

Embodiment 3

[0096] image 3 A schematic structural diagram of a server provided by Embodiment 5 of the present invention, such as image 3 As shown, the server includes a processor 30, a memory 31, an input device 32 and an output device 33; the number of processors 30 in the server can be one or more, image 3 Take a processor 30 as an example; the processor 30, memory 31, input device 32 and output device 33 in the server can be connected by bus or other methods, image 3 Take connection via bus as an example.

[0097] Memory 31, as a computer-readable storage medium, can be used to store software programs, computer-executable programs and modules, such as program instructions / modules corresponding to the hotspot account batch update method in the embodiment of the present invention (for example, a hotspot account batch update device The partition task unit 210, the temporary account unit 220, the parallel update unit 230 and the account merge unit 240). The processor 30 executes var...

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 embodiment of the invention discloses a hotspot account batch updating method and device, a server and a storage medium. The method comprises the following steps of dividing task data into a plurality of partition tasks according to a preset partition strategy; generating a plurality of groups of temporary accounts on the basis of a plurality of hotspot accounts associated with the task data according to a preset partitioning strategy; processing a plurality of partition tasks in parallel to update the plurality of groups of temporary accounts in parallel; and merging the multiple groups of updated temporary accounts into the hotspot account. According to the embodiment of the invention, a partitioning strategy is carried out on data, by copying the hotspot account into a plurality ofgroups of temporary accounts according to the mirror image corresponding to the data partition, and processing each group of temporary accounts in parallel by using partition data, the execution speedof hot account update data is greatly improved, and the capacity of concurrently processing hot account update, which can be adjusted and configured according to the CPU capacity, the memory capacityand the disk IO capacity of the server, is realized.

Description

technical field [0001] The embodiments of the present invention relate to data processing technology, and in particular to a method, device, server and storage medium for updating hotspot accounts in batches. Background technique [0002] With the rapid development of technology, enterprise batch processing applications are becoming more and more extensive. Among them, the Spring framework created based on the complexity of software development has become a leader in batch processing applications. [0003] The Spring Batch sub-project under the Spring framework is a lightweight and complete batch processing framework designed to help enterprises build robust and efficient batch processing applications. Spring Batch uses the Java language and is developed based on the Spring framework, making it easier for developers or enterprises that have already used the Spring framework to access and utilize enterprise services. [0004] In Spring Batch batch processing, in order to im...

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): G06F16/23
Inventor 刘启
Owner 深圳市盟天科技有限公司
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