Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Task processing method and processing device

A processing method and task technology, applied in the database field, to achieve the effect of improving update speed and update performance

Inactive Publication Date: 2018-06-08
ALIBABA GRP HLDG LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0027] The embodiment of the present invention provides a task processing method and processing device to at least solve the technical problem that the mutual exclusion of a single hot record row lock in the database forms a global serial point

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
  • Task processing method and processing device
  • Task processing method and processing device
  • Task processing method and processing device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] According to an embodiment of the present invention, an embodiment of a task processing method is also provided. It should be noted that the steps shown in the flowcharts of the drawings can be executed in a computer system such as a set of computer-executable instructions, and, Although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0053] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. figure 1 It shows a hardware structure block diagram of a computer terminal (or mobile device) for realizing the task processing method. Such as figure 1 As shown, the computer terminal 10 (or mobile device 10) may include one or more (shown by 102a, 102b, ..., 102n in the figure) processors 102 (processors 102 may include but not limited to microprocessor...

Embodiment 2

[0123] According to an embodiment of the present invention, a processing device for implementing the above tasks is also provided, such as Figure 5 As shown, the device includes: an acquisition module 501 , an execution module 503 and a submission module 505 .

[0124] The obtaining module 501 is configured to obtain at least one update request for updating database records, wherein each update request includes identification information of different tasks.

[0125] In the acquisition module 501, the above-mentioned hotspot record may be a record whose number of updates exceeds a predetermined threshold within a specific time period, for example, if the record is updated more than 500 times within 5 seconds, then this record is a hotspot record. The above update request can be used to instruct the corresponding record in the database to be updated. image 3 It shows the display interface when buying the hot-selling computer "XXX notebook computer". As an optional embodiment,...

Embodiment 3

[0177] Embodiments of the present invention may provide a computer terminal, and the computer terminal may be any computer terminal device in a group of computer terminals. Optionally, in this embodiment, the foregoing computer terminal may also be replaced with a terminal device such as a mobile terminal.

[0178] Optionally, in this embodiment, the foregoing computer terminal may be located in at least one network device among multiple network devices of the computer network.

[0179] In this embodiment, the above-mentioned computer terminal may execute the program code of the following steps in the task processing method of the application program: obtain at least one update request for updating database records, wherein each update request includes identification information of different tasks ; Use the first processing process to execute the current update request of the current update database record, and obtain the update result, wherein, during the process of executing...

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 task processing method and processing device, wherein the method comprises the following steps of acquiring at least one updating request used for updating database records,wherein each updating request includes identification information of different tasks; using a first processing process to execute the current updating request recorded by the current updating databaseto obtain an updating result, wherein in the process of executing the current updating request by the first processing process, the next updating request is in a waiting state; using a second processing process to submit the updating result; if the second processing process starts to submit the updating result, the first processing process is triggered to execute the next updating request. The technical problem of global serial port point formation due to mutual repelling of single hotspot recording line lock in the database is solved.

Description

technical field [0001] The present invention relates to the technical field of databases, in particular to a task processing method and processing device. Background technique [0002] With the rapid development of Internet technology, due to the advantages of convenience and speed, online transactions have become an indispensable way for people to shop and entertain in their daily lives. [0003] When users conduct online transactions, some records in the background database are updated many times in a short period of time, thus forming hot records. The number of records that are located in the database will form a hot record. In addition, the problem of hotspot records will also appear in a large number of business databases such as purchase restrictions and red envelopes. [0004] In existing relational databases, hotspot records are processed by the following methods: [0005] (1) Find the corresponding hotspot record (for example, find the hotspot record through B tr...

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): G06F9/48G06F17/30
CPCG06F9/4843G06F16/23
Inventor 章颖强
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products