CN112596880A - Data processing method, device, equipment and storage medium - Google Patents

Data processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN112596880A
CN112596880A CN202011563742.7A CN202011563742A CN112596880A CN 112596880 A CN112596880 A CN 112596880A CN 202011563742 A CN202011563742 A CN 202011563742A CN 112596880 A CN112596880 A CN 112596880A
Authority
CN
China
Prior art keywords
data
returned
data processing
logic tasks
tasks
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011563742.7A
Other languages
Chinese (zh)
Inventor
刘新
刘俊落
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN202011563742.7A priority Critical patent/CN112596880A/en
Publication of CN112596880A publication Critical patent/CN112596880A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5018Thread allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a data processing method, which comprises the steps of obtaining a request to be processed; determining the specific content type of the data to be returned according to the request to be processed; determining a plurality of computation logic tasks according to the specific content type of the data to be returned; the calculation logic tasks are logic tasks which need to be executed for generating data to be returned, and comprise at least two independent calculation logic tasks; calling at least two threads to process independent computing logic tasks in parallel to generate data to be returned; and sending the data to be returned to the front end. By determining a plurality of computation logic tasks according to the data to be returned and then executing at least two computation logic tasks which are not mutually dependent in parallel through threads, the generation time of the whole data to be returned can be effectively reduced, and the data can be rapidly processed. The application also provides a data processing device, a data processing device and a computer readable storage medium, and the beneficial effects are also achieved.

Description

Data processing method, device, equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data processing method, a data processing apparatus, a data processing device, and a computer-readable storage medium.
Background
At present, more and more internet software products are available, and many software products include two parts during running, namely front-end page display and background interface logic processing, and usually the front end calls the background interface to acquire data to be displayed. At this time, if the logic processing in the background interface is too much and under the complex condition, the response time of the interface is slow or overtime, which directly affects the display efficiency of the front-end page, and further affects the user experience. Therefore, how to provide a method for processing data quickly is an urgent problem to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a data processing method which can realize the rapid processing of data; another object of the present application is to provide a data processing apparatus, a data processing device, and a computer-readable storage medium, which can realize fast processing of data.
In order to solve the above technical problem, the present application provides a data processing method, including:
acquiring a request to be processed;
determining the specific content type of the data to be returned according to the request to be processed;
determining a plurality of computation logic tasks according to the specific content type of the data to be returned; the computation logic task is a logic task which needs to be executed to generate the data to be returned, and the computation logic task comprises at least two computation logic tasks which are not dependent on each other;
calling at least two threads to process independent computing logic tasks in parallel to generate the data to be returned;
and sending the data to be returned to the front end.
Optionally, the invoking at least two threads to process independent computing logic tasks in parallel, and generating the data to be returned includes:
distributing threads corresponding to one to each computing logic task;
and when the computation logic tasks are not mutually dependent, calling the thread to process at least two computation logic tasks which are not mutually dependent in parallel so as to generate the data to be returned.
Optionally, when the computation logic tasks are not dependent on each other, invoking the thread to process at least two computation logic tasks that are not dependent on each other in parallel includes:
and when the computing logic tasks are not mutually dependent, calling the threads to process all the computing logic tasks which are not mutually dependent in parallel.
Optionally, after allocating threads corresponding to one to each computation logic task, the method further includes:
and when the calculation logic tasks are mutually dependent, sequentially calling the calculation logic tasks which are mutually dependent by the thread processing according to the dependence relationship of the calculation logic tasks.
The present application also provides a data processing apparatus, including:
a request acquisition module: the method comprises the steps of obtaining a request to be processed;
a data determination module: the system comprises a data processing module, a data processing module and a data processing module, wherein the data processing module is used for processing the data to be returned;
a task determination module: the system comprises a data processing unit, a data processing unit and a data processing unit, wherein the data processing unit is used for determining a plurality of computing logic tasks according to specific content types of the data to be returned; the computation logic task is a logic task which needs to be executed to generate the data to be returned, and the computation logic task comprises at least two computation logic tasks which are not dependent on each other;
a generation module: the system comprises a data processing module, a data processing module and a data processing module, wherein the data processing module is used for calling at least two threads to process independent computing logic tasks in parallel and generating the data to be returned;
a return module: and the front end is used for sending the data to be returned to the front end.
Optionally, the generating module includes:
a distribution unit: the thread allocation module is used for allocating threads corresponding to each computation logic task;
a parallel unit: and when the computation logic tasks are not mutually dependent, calling the thread to process at least two non-mutually dependent computation logic tasks in parallel to generate the data to be returned.
Optionally, the parallel unit is specifically configured to:
and when the computing logic tasks are not mutually dependent, calling the threads to process all the computing logic tasks which are not mutually dependent in parallel.
Optionally, the generating module further includes:
a serial unit: and when the computation logic tasks are interdependent, sequentially calling the computation logic tasks which are interdependent by thread processing according to the dependency relationship of the computation logic tasks.
The present application also provides a data processing apparatus, the apparatus comprising:
a memory: for storing a computer program;
a processor: for implementing the steps of the data processing method as described in any one of the above when executing the computer program.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the data processing method as described in any one of the above.
The data processing method comprises the steps of obtaining a request to be processed; determining the specific content type of the data to be returned according to the request to be processed; determining a plurality of computation logic tasks according to the specific content type of the data to be returned; the calculation logic tasks are logic tasks which need to be executed for generating data to be returned, and comprise at least two independent calculation logic tasks; calling at least two threads to process independent computing logic tasks in parallel to generate data to be returned; and sending the data to be returned to the front end.
By determining a plurality of computation logic tasks according to the data to be returned and then executing at least two computation logic tasks which are not mutually dependent in parallel through threads, the generation time of the whole data to be returned can be effectively reduced, and the data can be rapidly processed.
The application also provides a data processing device, a data processing device and a computer readable storage medium, which also have the beneficial effects and are not repeated herein.
Drawings
For a clearer explanation of the embodiments or technical solutions of the prior art of the present application, the drawings needed for the description of the embodiments or prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a data processing method according to an embodiment of the present application;
fig. 2 is a flowchart of a specific data processing method according to an embodiment of the present application;
fig. 3 is a block diagram of a data processing apparatus according to an embodiment of the present application;
fig. 4 is a block diagram of a data processing device according to an embodiment of the present application.
Detailed Description
The core of the application is to provide a data processing method. In the prior art, if the logic processing in the background interface is too much and under the complex condition, the response time of the interface is slow or overtime, which directly affects the display efficiency of the front-end page, and further affects the user experience.
The data processing method provided by the application comprises the steps of obtaining a request to be processed; determining data to be returned according to the request to be processed; determining a plurality of computation logic tasks according to data to be returned; the calculation logic tasks are logic tasks which need to be executed for generating data to be returned, and comprise at least two independent calculation logic tasks; calling at least two threads to process independent computing logic tasks in parallel to generate data to be returned; and sending the data to be returned to the front end.
By determining a plurality of computation logic tasks according to the data to be returned and then executing at least two computation logic tasks which are not mutually dependent in parallel through threads, the generation time of the whole data to be returned can be effectively reduced, and the data can be rapidly processed.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart of a data processing method according to an embodiment of the present disclosure.
Referring to fig. 1, in an embodiment of the present application, a data processing method includes:
s101: and acquiring a request to be processed.
It should be noted that, in this step, a to-be-processed request sent by a front end needs to be obtained, where the to-be-processed request usually corresponds to data to be returned that needs to be returned by a background processor, and specific content of the to-be-returned data needs to be set according to an actual situation, which is not limited herein. The specific content of the pending request also needs to be set according to the actual situation, and is not limited in detail herein.
And S102, determining the specific content type of the data to be returned according to the request to be processed.
In this step, the data to be returned needs to be determined according to the request to be processed, and it should be noted that, in this step, it is not necessary to determine the specific numerical value of the data to be returned, that is, it is not necessary to calculate which specific data to be returned is, but it is necessary to determine the specific content type of the data to be returned, that is, what content the data to be returned needs to specifically include, for example, a list of rentable vehicles needs to be returned this time.
S103: and determining a plurality of calculation logic tasks according to the specific content type of the data to be returned.
In this embodiment of the present application, the computation logic task is a logic task that needs to be executed to generate the data to be returned, and the computation logic task includes at least two computation logic tasks that are not dependent on each other.
That is, in this step, it is determined which steps are required to finally calculate the data to be returned according to the specific content type of the data to be returned, where the steps are the calculation logic tasks provided in the embodiment of the present application. In the embodiment of the application, a plurality of steps are required to be executed to calculate the data to be returned, that is, the specific content type of the data to be returned needs to correspond to a plurality of calculation logic tasks, and at least two calculation logic tasks do not have a dependency relationship.
For example, if three calculation logic tasks of acquiring data a, acquiring data B and obtaining data C to be returned according to the calculation of data a and data B are required to be executed in the process of generating data C to be returned, there is no dependency relationship between the calculation logic task of acquiring data a and the calculation logic task of acquiring data B, but there is a dependency relationship with the calculation logic task of obtaining data C to be returned according to the calculation of data a and data B. Of course, the specific dependency relationships of the multiple computation logic tasks determined in this step need to be determined according to actual situations, and the above description is only an example to illustrate, and explains the dependency relationships. In the embodiment of the present application, the plurality of computation logic tasks need to include at least two computation logic tasks without dependency relationship.
S104: and calling at least two threads to process independent computing logic tasks in parallel to generate data to be returned.
In this step, at least two computing logic tasks without dependency relationship are executed in parallel, that is, at least two threads are called to process the computing logic tasks independent of each other in parallel, and then the data to be returned is generated after all the computing logic tasks are executed.
Specifically, in this step, generally, a thread corresponding to each computation logic task is allocated to each computation logic task, and then when the computation logic tasks are not dependent on each other, the threads are called to process at least two computation logic tasks that are not dependent on each other in parallel to generate the data to be returned. In other words, in this step, the one-to-one corresponding computation logic tasks are executed through the threads, wherein when the computation logic tasks are not dependent on each other, at least two computation logic tasks that are not dependent on each other are processed in parallel, so that when all the computation logic tasks are finally executed, the data to be returned is generated.
S105: and sending the data to be returned to the front end.
In this step, the data to be returned is sent to the front end, so that the front end displays the data to be returned to the client. For the specific communication mode between the front end and the background processor, reference may be made to the prior art, and details thereof are not repeated herein.
The data processing method provided by the embodiment of the application comprises the steps of obtaining a request to be processed; determining the specific content type of the data to be returned according to the request to be processed; determining a plurality of computation logic tasks according to the specific content type of the data to be returned; the calculation logic tasks are logic tasks which need to be executed for generating data to be returned, and comprise at least two independent calculation logic tasks; calling at least two threads to process independent computing logic tasks in parallel to generate data to be returned; and sending the data to be returned to the front end.
By determining a plurality of computation logic tasks according to the data to be returned and then executing at least two computation logic tasks which are not mutually dependent in parallel through threads, the generation time of the whole data to be returned can be effectively reduced, and the data can be rapidly processed.
The details of a data processing method provided in the present application will be described in detail in the following embodiments of the invention.
Referring to fig. 2, fig. 2 is a flowchart illustrating a specific data processing method according to an embodiment of the present disclosure.
Referring to fig. 2, in an embodiment of the present application, a data processing method includes:
s201: and acquiring a request to be processed.
And S202, determining the specific content type of the data to be returned according to the request to be processed.
S203: and determining a plurality of calculation logic tasks according to the specific content type of the data to be returned.
S201 to S203 are substantially the same as S101 to S103 in the above embodiment of the invention, and for details, reference is made to the above embodiment of the invention, which is not repeated herein.
S204: and when the computing logic tasks are not mutually dependent, calling the threads to process all the computing logic tasks which are not mutually dependent in parallel.
In this step, all independent computing logic tasks are executed in parallel through the invocation of the threads, so that the time required for generating the data to be returned is reduced to the greatest extent.
S205: and when the calculation logic tasks are mutually dependent, sequentially calling the threads to process the mutually dependent calculation logic tasks according to the dependence relationship of the calculation logic tasks.
In this step, for the computation logic tasks with dependency relationship, the corresponding threads are called in sequence according to the dependency relationship to process the computation logic tasks, thereby ensuring the correct execution of each computation logic task.
S206: and sending the data to be returned to the front end.
This step is substantially the same as S105 in the above embodiment of the present invention, and for details, reference is made to the above embodiment of the present invention, which is not repeated herein.
According to the data processing method provided by the embodiment of the application, a plurality of computation logic tasks are determined according to the data to be returned, and then at least two computation logic tasks which are not dependent with each other are executed in parallel through threads, so that the generation time of the whole data to be returned can be effectively shortened, and the data can be rapidly processed.
A specific embodiment will be provided below to describe a data processing method provided by the above embodiment of the invention.
S301: the back-end processor receives a pending request corresponding to a list of rentable vehicles.
S302: the back-end processor determines that a list of rentable vehicles needs to be returned according to the pending request.
S303: three computational logic tasks are determined from the list of rentable vehicles.
In the step, three calculation logic tasks determined according to the rentable vehicle list respectively comprise a first calculation logic task and obtain vehicle type list data; secondly, acquiring specific vehicle information data; and thirdly, classifying the specific vehicle information according to the vehicle type to obtain a rentable vehicle list. Wherein the first two computational logic tasks are not interdependent and the third computational logic task is interdependent with the first two computational logic tasks.
S304: two threads are called to simultaneously obtain vehicle type list data and specific vehicle information data, and then one thread is called to classify the specific vehicle information according to vehicle types to obtain a rentable vehicle list.
S305: the rentable vehicle list is sent to the head end.
In the following, a data processing apparatus provided in the embodiments of the present application is introduced, and the data processing apparatus described below and the data processing method described above may be referred to correspondingly.
Referring to fig. 3, fig. 3 is a block diagram of a data processing apparatus according to an embodiment of the present disclosure.
Referring to fig. 3, in an embodiment of the present application, a data processing apparatus may include:
the request acquisition module 100: for obtaining the pending request.
Data determination module 200: and the method is used for determining the specific content type of the data to be returned according to the request to be processed.
The task determination module 300: the system comprises a data processing unit, a data processing unit and a data processing unit, wherein the data processing unit is used for determining a plurality of computing logic tasks according to specific content types of the data to be returned; the computation logic tasks are logic tasks required to be executed for generating the data to be returned, and the computation logic tasks comprise at least two computation logic tasks which are not dependent on each other.
The generation module 400: the method is used for calling at least two threads to process independent computing logic tasks in parallel and generating the data to be returned.
The return module 500: and the front end is used for sending the data to be returned to the front end.
Preferably, in this embodiment of the present application, the generating module 400 includes:
a distribution unit: the thread allocation module is used for allocating threads corresponding to each computation logic task;
a parallel unit: and when the computation logic tasks are not mutually dependent, calling the thread to process at least two non-mutually dependent computation logic tasks in parallel to generate the data to be returned.
Preferably, in the embodiment of the present application, the parallel unit is specifically configured to:
and when the computing logic tasks are not mutually dependent, calling the threads to process all the computing logic tasks which are not mutually dependent in parallel.
Preferably, in this embodiment of the application, the generating module further includes:
a serial unit: and when the computation logic tasks are interdependent, sequentially calling the computation logic tasks which are interdependent by thread processing according to the dependency relationship of the computation logic tasks.
The data processing apparatus of this embodiment is configured to implement the foregoing data processing method, and therefore a specific implementation of the data processing apparatus may be found in the foregoing embodiments of the data processing method, for example, the request obtaining module 100, the data determining module 200, the task determining module 300, the generating module 400, and the returning module 500 are respectively configured to implement steps S101, S102, S103, S104, and S105 in the foregoing data processing method, so that the specific implementation may refer to descriptions of corresponding embodiments of each part, and is not described herein again.
In the following, a data processing device provided by an embodiment of the present application is introduced, and the data processing device described below, the data processing method described above, and the data processing apparatus described above may be referred to correspondingly.
Referring to fig. 4, fig. 4 is a block diagram of a data processing apparatus according to an embodiment of the present disclosure.
Referring to fig. 4, the data processing apparatus may include a processor 11 and a memory 12.
The memory 12 is used for storing a computer program; the processor 11 is configured to implement the data processing method described in the above embodiment of the invention when executing the computer program.
The processor 11 in the data processing apparatus of this embodiment is used to install the data processing device described in the above embodiment of the invention, and the processor 11 and the memory 12 are combined to implement the data processing method described in any embodiment of the invention. Therefore, the specific implementation manner in the data processing device can be seen in the foregoing embodiment section of the data processing method, and the specific implementation manner may refer to the description of each corresponding embodiment section, which is not described herein again.
The present application further provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements a data processing method introduced in any of the above-described embodiments of the invention. The rest can be referred to the prior art and will not be described in an expanded manner.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
A data processing method, a data processing apparatus, a data processing device, and a computer-readable storage medium provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.

Claims (10)

1. A data processing method, comprising:
acquiring a request to be processed;
determining the specific content type of the data to be returned according to the request to be processed;
determining a plurality of computation logic tasks according to the specific content type of the data to be returned; the computation logic task is a logic task which needs to be executed to generate the data to be returned, and the computation logic task comprises at least two computation logic tasks which are not dependent on each other;
calling at least two threads to process independent computing logic tasks in parallel to generate the data to be returned;
and sending the data to be returned to the front end.
2. The method of claim 1, wherein invoking at least two threads to process independent computational logic tasks in parallel, and wherein generating the data to be returned comprises:
distributing threads corresponding to one to each computing logic task;
and when the computation logic tasks are not mutually dependent, calling the thread to process at least two computation logic tasks which are not mutually dependent in parallel so as to generate the data to be returned.
3. The method of claim 2, wherein when the computational logic tasks are not interdependent, invoking the thread to process at least two of the computational logic tasks that are not interdependent in parallel comprises:
and when the computing logic tasks are not mutually dependent, calling the threads to process all the computing logic tasks which are not mutually dependent in parallel.
4. The method of claim 2, after said assigning a one-to-one thread to each of said compute logical tasks, further comprising:
and when the calculation logic tasks are mutually dependent, sequentially calling the calculation logic tasks which are mutually dependent by the thread processing according to the dependence relationship of the calculation logic tasks.
5. A data processing apparatus, comprising:
a request acquisition module: the method comprises the steps of obtaining a request to be processed;
a data determination module: the system comprises a data processing module, a data processing module and a data processing module, wherein the data processing module is used for processing the data to be returned;
a task determination module: the system comprises a data processing unit, a data processing unit and a data processing unit, wherein the data processing unit is used for determining a plurality of computing logic tasks according to specific content types of the data to be returned; the computation logic task is a logic task which needs to be executed to generate the data to be returned, and the computation logic task comprises at least two computation logic tasks which are not dependent on each other;
a generation module: the system comprises a data processing module, a data processing module and a data processing module, wherein the data processing module is used for calling at least two threads to process independent computing logic tasks in parallel and generating the data to be returned;
a return module: and the front end is used for sending the data to be returned to the front end.
6. The apparatus of claim 5, wherein the generating module comprises:
a distribution unit: the thread allocation module is used for allocating threads corresponding to each computation logic task;
a parallel unit: and when the computation logic tasks are not mutually dependent, calling the thread to process at least two non-mutually dependent computation logic tasks in parallel to generate the data to be returned.
7. The apparatus of claim 6, wherein the parallel unit is specifically configured to:
and when the computing logic tasks are not mutually dependent, calling the threads to process all the computing logic tasks which are not mutually dependent in parallel.
8. The apparatus of claim 6, wherein the generating module further comprises:
a serial unit: and when the computation logic tasks are interdependent, sequentially calling the computation logic tasks which are interdependent by thread processing according to the dependency relationship of the computation logic tasks.
9. A data processing apparatus, characterized in that the apparatus comprises:
a memory: for storing a computer program;
a processor: for implementing the steps of the data processing method according to any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the data processing method according to any one of claims 1 to 4.
CN202011563742.7A 2020-12-25 2020-12-25 Data processing method, device, equipment and storage medium Pending CN112596880A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011563742.7A CN112596880A (en) 2020-12-25 2020-12-25 Data processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011563742.7A CN112596880A (en) 2020-12-25 2020-12-25 Data processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112596880A true CN112596880A (en) 2021-04-02

Family

ID=75202190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011563742.7A Pending CN112596880A (en) 2020-12-25 2020-12-25 Data processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112596880A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485763A (en) * 2021-07-02 2021-10-08 中国建设银行股份有限公司 Data processing method and device, electronic equipment and computer readable medium
CN114995898A (en) * 2022-05-13 2022-09-02 Oppo广东移动通信有限公司 Target object processing method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108628675A (en) * 2018-05-14 2018-10-09 五八有限公司 A kind of data processing method, device, equipment and computer readable storage medium
CN110609707A (en) * 2018-06-14 2019-12-24 北京嘀嘀无限科技发展有限公司 Online data processing system generation method, device and equipment
CN110851246A (en) * 2019-09-30 2020-02-28 天阳宏业科技股份有限公司 Batch task processing method, device and system and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108628675A (en) * 2018-05-14 2018-10-09 五八有限公司 A kind of data processing method, device, equipment and computer readable storage medium
CN110609707A (en) * 2018-06-14 2019-12-24 北京嘀嘀无限科技发展有限公司 Online data processing system generation method, device and equipment
CN110851246A (en) * 2019-09-30 2020-02-28 天阳宏业科技股份有限公司 Batch task processing method, device and system and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485763A (en) * 2021-07-02 2021-10-08 中国建设银行股份有限公司 Data processing method and device, electronic equipment and computer readable medium
CN114995898A (en) * 2022-05-13 2022-09-02 Oppo广东移动通信有限公司 Target object processing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN110413396B (en) Resource scheduling method, device and equipment and readable storage medium
CN107958349B (en) Task allocation method and device, computer equipment and storage medium
CN112596880A (en) Data processing method, device, equipment and storage medium
CN108804230B (en) Method, device and medium for allocating resources according to types of PCI (peripheral component interconnect) equipment
CN109684080B (en) Centralized task scheduling method, system and storage medium
CN115562843B (en) Container cluster computational power scheduling method and related device
CN110933136A (en) Service node selection method, device, equipment and readable storage medium
CN106682167B (en) Statistical device and method for user behavior data
CN112181613A (en) Heterogeneous resource distributed computing platform batch task scheduling method and storage medium
CN112363834A (en) Task processing method, device, terminal and storage medium
CN109800078B (en) Task processing method, task distribution terminal and task execution terminal
CN109102200B (en) Timed task processing method and device
CN111858014A (en) Resource allocation method and device
CN112000485B (en) Task allocation method, device, electronic equipment and computer readable storage medium
CN111813541B (en) Task scheduling method, device, medium and equipment
CN110413393B (en) Cluster resource management method and device, computer cluster and readable storage medium
CN112463361A (en) Method and equipment for distributing elastic resources of distributed computation
CN116594753A (en) Task scheduling method, device, electronic equipment, storage medium and program product
CN105511959A (en) Method and device for distributing virtual resource
CN108399117B (en) Processor occupancy rate display method and device
CN109842665B (en) Task processing method and device for task allocation server
CN115599300A (en) Task allocation method, device, equipment and medium
CN111198756A (en) Application scheduling method and device of kubernets cluster
CN115329005A (en) Multi-cluster cooperation method, system, device and computer readable storage medium
CN113918344A (en) Resource demand allocation method, device, equipment and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination