[go: up one dir, main page]

CN112035232B - Job operation priority determining method and related equipment - Google Patents

Job operation priority determining method and related equipment Download PDF

Info

Publication number
CN112035232B
CN112035232B CN202010903886.6A CN202010903886A CN112035232B CN 112035232 B CN112035232 B CN 112035232B CN 202010903886 A CN202010903886 A CN 202010903886A CN 112035232 B CN112035232 B CN 112035232B
Authority
CN
China
Prior art keywords
job
determined
service
priority
determining
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.)
Active
Application number
CN202010903886.6A
Other languages
Chinese (zh)
Other versions
CN112035232A (en
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202010903886.6A priority Critical patent/CN112035232B/en
Publication of CN112035232A publication Critical patent/CN112035232A/en
Application granted granted Critical
Publication of CN112035232B publication Critical patent/CN112035232B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a method for determining operation priority of a job and related equipment, wherein the method comprises the following steps: firstly, generating each job to be determined and a corresponding data mapping relation according to data processing logic in a data system; acquiring service mapping relations for recording the corresponding relations between each job to be determined and service scenes of the job to be determined and service; and determining the job operation priority of each job to be determined according to the service mapping relation, each job to be determined and the corresponding data mapping relation. The job operation priority of each job to be determined is determined according to the service scene of the job service to be determined and the data mapping relation corresponding to each job to be determined, so that the job operation priority of the job to be determined can more accurately represent the importance degree of the job to be determined, and the accuracy of the job operation priority is improved.

Description

Job operation priority determining method and related equipment
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method and related device for determining a priority of operation.
Background
A job refers to computer program code that runs in a computer system for a fixed period of time or at a frequency to accomplish a specific task, typically a program for performing data processing in a data-like system.
A plurality of jobs are typically run within the data system, and the jobs may be run in a predetermined order of operation. In addition, the operation order may be generally determined according to the job operation priority of the jobs, which is specifically: when a plurality of jobs each reach an operation condition, a job having the highest job operation priority is preferentially allocated with computer resources (e.g., CPU, MEM, memory, etc.) required for its operation so that the job having the highest job operation priority is preferentially operated.
However, how to determine the job operation priority is a technical problem to be solved.
Disclosure of Invention
In order to solve the technical problems in the prior art, the application provides a method for determining the operation priority of a job and related equipment, which can accurately determine the operation priority of each job in a data system.
In order to achieve the above object, the technical solution provided by the embodiments of the present application is as follows:
the embodiment of the application provides a method for determining operation priority of a job, which comprises the following steps:
generating each job to be determined and a corresponding data mapping relation according to data processing logic in the data system;
acquiring a service mapping relation; the service mapping relation is used for recording the corresponding relation between each job to be determined and the service scene of the job to be determined and the service;
and determining the job operation priority of each job to be determined according to the service mapping relation, each job to be determined and the corresponding data mapping relation.
Optionally, the number of the data systems is N, and N is a positive integer.
Optionally, the method further comprises:
acquiring the priority of each service scene;
the determining the job operation priority of each job to be determined according to the service mapping relationship and the each job to be determined and the corresponding data mapping relationship comprises the following steps:
and determining the job operation priority of each job to be determined according to the service mapping relation, the priority of each service scene and the corresponding data mapping relation of each job to be determined.
Optionally, when the number of the jobs to be determined is T, determining the job operation priority of each job to be determined according to the service mapping relationship, the priority of each service scenario, and the data mapping relationship corresponding to each job to be determined, includes:
according to the service mapping relation, determining M of the ith job service to be determined i A personal business scenario; i is a positive integer, and i is not more than T, M i Is a positive integer;
m according to the ith job service to be determined i The priority of each service scene is determined, and first priority information corresponding to the ith job to be determined is determined;
according to the jobs to be determined and the corresponding data mapping relation, determining a result cited range corresponding to the ith job to be determined;
and determining the job operation priority of the ith job to be determined according to the quoted range of the result corresponding to the ith job to be determined and the first priority information corresponding to the ith job to be determined.
The embodiment of the application also provides a device for determining the operation priority of the job, which comprises the following steps:
the generation unit is used for generating each job to be determined and the corresponding data mapping relation according to the data processing logic in the data system;
the first acquisition unit is used for acquiring the service mapping relation; the service mapping relation is used for recording the corresponding relation between each job to be determined and the service scene of the job to be determined and the service;
and the determining unit is used for determining the job operation priority of each job to be determined according to the service mapping relation, each job to be determined and the corresponding data mapping relation.
Optionally, the number of the data systems is N, and N is a positive integer.
Optionally, the apparatus further includes:
the second acquisition unit is used for acquiring the priority of each service scene;
the determining unit is specifically configured to: and determining the job operation priority of each job to be determined according to the service mapping relation, the priority of each service scene and the corresponding data mapping relation of each job to be determined.
Optionally, the determining unit is specifically configured to:
when the number of the jobs to be determined is T, determining M of the ith job service to be determined according to the service mapping relation i A personal business scenario; m according to the ith job service to be determined i The priority of each service scene is determined, and first priority information corresponding to the ith job to be determined is determined; according to the jobs to be determined and the corresponding data mapping relation, determining a result cited range corresponding to the ith job to be determined; determining the job operation priority of the ith job to be determined according to the quoted range of the result corresponding to the ith job to be determined and the first priority information corresponding to the ith job to be determined; wherein i is positive integerNumber i is less than or equal to T, M i Is a positive integer.
The embodiment of the application also provides equipment, which comprises a processor and a memory:
the memory is used for storing a computer program;
the processor is configured to execute any implementation mode of the job operation priority determining method provided by the embodiment of the present application according to the computer program.
The embodiment of the application also provides a computer readable storage medium for storing a computer program for executing any implementation mode of the job operation priority determining method provided by the embodiment of the application.
Compared with the prior art, the embodiment of the application has at least the following advantages:
in the method for determining the operation priority of the job, each job to be determined and the corresponding data mapping relation are generated according to the data processing logic in the data system; acquiring service mapping relations for recording the corresponding relations between each job to be determined and service scenes of the job to be determined and service; and determining the job operation priority of each job to be determined according to the service mapping relation, each job to be determined and the corresponding data mapping relation. The job operation priority of each job to be determined is determined according to the service scene of the job service to be determined and the data mapping relation corresponding to each job to be determined, so that the job operation priority of the job to be determined can more accurately represent the importance degree of the job to be determined, and the accuracy of the job operation priority is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings may be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a job operation priority determination method according to an embodiment of the present application;
FIG. 2 is a flowchart of another method for determining operation priority of a job according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a job operation priority determining apparatus according to an embodiment of the present application;
fig. 4 is a schematic diagram of an apparatus structure according to an embodiment of the present application.
Detailed Description
The inventors found in the study of job operation priority that: in the related art, the priority of a service scenario served by a job to be determined may be directly determined as the job operation priority of the job to be determined. However, if the service scenario served by the job to be determined is relatively more or the job to be determined does not serve any service scenario, the job operation priority of the job to be determined cannot be determined by using the related technology, which results in lower accuracy of the job operation priority.
In order to solve the technical problems in the background art and the drawbacks of the related art, an embodiment of the present application provides a method for determining a job operation priority, including: generating each job to be determined and a corresponding data mapping relation according to data processing logic in the data system; acquiring a service mapping relation; the service mapping relation is used for recording the corresponding relation between each job to be determined and the service scene of the job to be determined and the service; and determining the job operation priority of each job to be determined according to the service mapping relation, each job to be determined and the corresponding data mapping relation.
Therefore, the operation priority of each job to be determined is determined according to the service scene of the job service to be determined and the data mapping relation corresponding to each job to be determined, so that the operation priority of the job to be determined can more accurately represent the importance degree of the job to be determined, and the accuracy of the operation priority is improved.
In order to make the present application better understood by those skilled in the art, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Method embodiment one
Referring to fig. 1, the flowchart of a job operation priority determining method according to an embodiment of the present application is shown.
The job operation priority determining method provided by the embodiment of the application comprises the following steps of S101-S103:
s101: and generating each job to be determined and the corresponding data mapping relation according to the data processing logic in the data system.
A data system refers to a computer software system for processing (e.g., cleaning, converting, processing, analyzing, mining, etc.) received data. In addition, embodiments of the present application are not limited to data systems, for example, the data systems may be data warehouse systems, data mart systems, big data analysis systems, and the like. In addition, the number of the data systems is not limited in the embodiment of the present application, for example, the number of the data systems is N, where N is a positive integer.
The data processing logic is used to describe execution logic that generates another data using at least one data. For example, the data processing logic may be: and generating the VIP customer deposit total table according to the customer identity table and the customer deposit total table.
The job to be determined refers to an execution program for completing the data processing logic, and the data mapping relationship corresponding to the job to be determined refers to the mapping relationship between different data related to the data processing logic. For example, when the data processing logic is "generating a VIP customer deposit total table from a customer identity table and a customer deposit total table", the job to be determined refers to an execution program capable of implementing generation of the VIP customer deposit total table from the customer identity table and the customer deposit total table, and the data mapping relationship corresponding to the job to be determined is that there is a mapping relationship between the customer identity table and the VIP customer deposit total table, and there is a mapping relationship between the customer deposit total table and the VIP customer deposit total table.
Based on the above-mentioned related content of S101, according to each data processing logic existing in the N data systems, each job to be determined and the corresponding data mapping relationship thereof are respectively generated, which specifically includes: if T data processing logics exist in the N data systems, generating an ith job to be determined and a data mapping relation corresponding to the ith job to be determined according to the ith data processing logic; wherein i is a positive integer, i is not more than T.
S102: and obtaining the service mapping relation.
The service mapping relationship is used for recording the corresponding relationship between each job to be determined and the service scene of the job to be determined and the service. It should be noted that a job to be determined may correspond to M application scenarios, where M is a positive integer.
The service scene refers to an application scene of a job to be processed. In addition, the embodiment of the present application is not limited to a business scenario, and for example, the business scenario may be an internal data management scenario, a customer data providing scenario, a market data development scenario, and the like.
Based on the above-mentioned related content of S102, after each job to be determined is obtained, the service scenario served by each job to be determined may be first established, and then the corresponding relationship between each job to be determined and the service scenario served by each job to be determined is established, and based on the corresponding relationship between each job to be determined and the service scenario served by each job to be determined, the service mapping relationship is generated, so that the service mapping relationship can record the corresponding relationship between each job to be determined and the service scenario served by each job to be determined.
For example, when the number of jobs to be determined is T, S102 may specifically be: first, M served by the ith job to be determined is acquired i The ith job to be determined and the M are respectively established in the business scenes i Correspondence between individual business scenarios; wherein i is a positive integer, and i is not more than T, M i Is a positive integer. Then, according to the 1 st job to be determined and M 1 Correspondence between individual business scenarios, 2 nd job to be determined and M 2 Correspondence between individual business scenarios, … …, the T-th job to be determined and the M T Generating a service mapping relation according to the corresponding relation between the service scenes, so that the service mapping relation comprises the 1 st job to be determined and M 1 Correspondence between individual business scenarios, 2 nd job to be determined and M 2 Correspondence between individual business scenarios, … …, the T-th job to be determined and the M T Correspondence between individual business scenarios.
S103: and determining the job operation priority of each job to be determined according to the service mapping relation, each job to be determined and the corresponding data mapping relation.
The job execution priority is used to describe the execution ordering position of the job to be determined.
In addition, the embodiment of the present application further provides a possible implementation manner of S103, which specifically includes S1031-S1033:
s1031: m according to ith job service to be determined i The method comprises the steps of determining a scene influence parameter corresponding to an ith job service to be determined according to a business scene; wherein i is a positive integer, and i is less than or equal to T.
Wherein, the scene influence parameters corresponding to the ith job service to be determined are used for describing M of the ith job service to be determined i The influence of the individual business scenario on the job operation priority of the ith job service to be determined.
In addition, the embodiment of the application also provides a determination process of scene influence parameters corresponding to the ith job service to be determined, which specifically comprises the following steps: and (3) calculating scene influence parameters corresponding to the ith job service to be determined by using the formula (1).
In delta i The scene influence parameters corresponding to the ith job service to be determined are;the influence of the j business scene of the i-th job service to be determined on the job operation priority of the i-th job service to be determined is generated; m is M i And the total number of business scenes of the job service to be determined is the ith.
It should be noted that the number of the substrates,can be preset according to the application scenario, e.g., ->In addition, a->The priority of the j business scenario of the i-th job service to be determined can also be determined according to the priority of the j-th business scenario of the i-th job service to be determined, which specifically comprises: />Directly related to the priority of the j-th business scenario of the i-th job service to be determined, the priority of the j-th business scenario of the i-th job service to be determined can be determined as +.>
Based on the above-mentioned related content of S1031, in the embodiment of the application, M of the ith job service to be determined is obtained i After the business scenario, M of the job service can be determined according to the ith to-be-determined i The method comprises the steps of determining a scene influence parameter corresponding to an ith job service to be determined according to a business scene, wherein the scene influence parameter comprises the following specific steps: determining scene influence parameters corresponding to an ith job service to be determined by using a formula (1) so that the scene influence parameters corresponding to the ith job service to be determined can accurately represent the operation advantages of each business scene of the ith job service to be determined on the job operation of the ith job service to be determinedThe effect of the first order.
S1032: according to each job to be determined and the corresponding data mapping relation, determining a result cited range corresponding to the ith job to be determined; wherein i is a positive integer, and i is less than or equal to T.
The result referenced range corresponding to the ith job to be determined is used for describing the distribution range of other jobs to be determined except the ith job to be determined, which directly references or indirectly references the generated result (such as the VIP customer deposit total table) of the ith job to be determined in the data system. Wherein, the direct reference refers to directly taking the generation result of the ith job to be determined as input data (i.e. basic data). The indirect reference means that data obtained by performing data processing at least once on the generation result of the i-th job to be determined is taken as input data (i.e., base data).
In addition, the embodiment of the application is not limited to the range of the result to be referred to corresponding to the ith job to be determined, for example, the range of the result to be referred to corresponding to the ith job to be determined may be the number of other jobs to be determined except the ith job to be determined, which directly refers to or indirectly refers to the generated result of the ith job to be determined in the data system.
Based on the above-mentioned related content of S1032, in the embodiment of the present application, the range to which the result corresponding to the ith job to be determined is referred may be determined according to each job to be determined and the corresponding data mapping relationship thereof, so that the range to which the result corresponding to the ith job to be determined is referred may accurately represent the influence of the generated result of the ith job to be determined on other jobs to be determined except the ith job to be determined.
S1033: determining the job operation priority of the ith job to be determined according to the scene influence parameter corresponding to the ith job to be determined service and the referenced range of the result corresponding to the ith job to be determined; wherein i is a positive integer, and i is less than or equal to T.
In the embodiment of the application, the operation priority of the ith job to be determined can be determined according to the scene influence parameter corresponding to the ith job to be determined service and the cited range of the result corresponding to the ith job to be determined, so that the operation priority of the ith job to be determined is more accurate.
Note that, the embodiment of the present application is not limited to the implementation of S1033, for example, S1033 may be: and adding the scene influence parameter corresponding to the ith job to be determined service and the referenced range of the result corresponding to the ith job to be determined, and determining the scene influence parameter as the job operation priority of the ith job to be determined. As another example, S1033 may be: and determining the product of the scene influence parameter corresponding to the ith job to be determined service and the referenced range of the result corresponding to the ith job to be determined as the job operation priority of the ith job to be determined.
Based on the above-mentioned related content of S103, in the embodiment of the present application, the job operation priority of each job to be determined may be determined directly according to the corresponding relationship between each job to be determined and the service scenario served by each job to be determined, and the corresponding data mapping relationship between each job to be determined and each job to be determined, so that the job operation priority of each job to be determined is more accurate.
Based on the above-mentioned related content from S101 to S103, in the method for determining job operation priority provided in the embodiment of the present application, each job to be determined and the corresponding data mapping relationship thereof are generated according to the data processing logic in the data system; acquiring service mapping relations for recording the corresponding relations between each job to be determined and service scenes of the job to be determined and service; and determining the job operation priority of each job to be determined according to the service mapping relation, each job to be determined and the corresponding data mapping relation. The job operation priority of each job to be determined is determined according to the service scene of the job service to be determined and the data mapping relation corresponding to each job to be determined, so that the job operation priority of the job to be determined can more accurately represent the importance degree of the job to be determined, and the accuracy of the job operation priority is improved.
It should be noted that, the embodiment of the present application does not limit the execution time of S101, and in order to improve the determination efficiency of the job operation priority, S101 needs to be executed only when the data processing logic in the data system is updated; similarly, the embodiment of the present application does not limit the execution time of S102, and in order to improve the determination efficiency of the job operation priority, S102 needs to be executed only when there is a change in the correspondence between the job to be determined and the service scenario served by the job.
In some cases, different business scenarios have different priorities, and the priorities of the different business scenarios can have different effects on the job running priorities of the jobs to be determined. Based on this, the embodiment of the application also provides another implementation method of the job operation priority determination method, which is combined with the following stepsMethod embodiment IIAn explanation is given.
Method embodiment II
Referring to fig. 2, a flowchart of another job operation priority determining method according to an embodiment of the present application is shown.
The job operation priority determining method provided by the embodiment of the application comprises the following steps of S201 to S204:
s201: and generating each job to be determined and the corresponding data mapping relation according to the data processing logic in the data system.
Note that, the content of S201 is the same as that of S101, and for brevity, description thereof is omitted here.
S202: and obtaining the service mapping relation.
It should be noted that the content of S202 is the same as that of S102 above, and for brevity, description thereof is omitted here.
S203: and acquiring the priority of each service scene.
The priority of a traffic scenario is used to describe the importance of the traffic scenario.
In the embodiment of the application, the priority of each service scene corresponding to the data system can be obtained in advance, so that the operation priority of the job to be processed serving the service scene can be determined based on the priority of each service scene.
S204: and determining the job operation priority of each job to be determined according to the service mapping relation, the priority of each service scene and the corresponding data mapping relation of each job to be determined.
To facilitate understanding of S204, the following description is made in connection with an example.
As an example, S204 may specifically include S2041-S2044:
s2041: according to the service mapping relation, determining M of the ith job service to be determined i A personal business scenario; wherein i is a positive integer, and i is not more than T, M i Is a positive integer.
In the embodiment of the application, after the service mapping relation is obtained, the service scene corresponding to the ith job to be determined can be directly inquired in the service mapping relation and used as M of the service of the ith job to be determined i A business scenario.
S2042: m according to the ith job service to be determined i The priority of each service scene is determined, and first priority information corresponding to the ith job to be determined is determined; wherein i is a positive integer, and i is not more than T, M i Is a positive integer.
Wherein, the first priority information corresponding to the ith job to be determined is used for describing M of the service of the ith job to be determined i And the influence of the business scene and the priority thereof on the operation priority of the ith job service to be determined.
In addition, the embodiment of the application does not limit the determination process of the first priority information corresponding to the ith job to be determined. For ease of understanding, the following description is made in terms of two examples.
Example 1, S2042 is specifically: and (3) calculating first priority information corresponding to the ith job to be determined by using the formula (2).
In delta i The scene influence parameters corresponding to the ith job service to be determined are;the influence of the j business scene of the i-th job service to be determined on the job operation priority of the i-th job service to be determined is generated; />Priority of the j business scenario of the j business service to be determined for the i-th job; m is M i And the total number of business scenes of the job service to be determined is the ith.
Example 2, S2042 is specifically: and (3) calculating first priority information corresponding to the ith job to be determined by using the formula (3).
In delta i The scene influence parameters corresponding to the ith job service to be determined are;priority of the j business scenario of the j business service to be determined for the i-th job; m is M i And the total number of business scenes of the job service to be determined is the ith.
Based on the above-mentioned content of S2042, when the M of the ith job service to be determined is acquired i After the priority of each business scenario, M of the job service can be determined according to the ith to-be-determined i The priority of each business scene, and the first priority information corresponding to the ith job to be determined is determined, so that the first priority information corresponding to the ith job to be determined can accurately represent the M of the service of the ith job to be determined i And the influence of the business scene and the priority thereof on the operation priority of the ith job service to be determined.
S2043: according to the jobs to be determined and the corresponding data mapping relation, determining a result cited range corresponding to the ith job to be determined; wherein i is a positive integer, and i is not more than T, M i Is a positive integer.
Note that S2043 is the same as that of S1032, and is not described here again for brevity.
S2044: determining the job operation priority of the ith job to be determined according to the quoted range of the result corresponding to the ith job to be determined and the first priority information corresponding to the ith job to be determined; wherein i is a positive integer, and i is not more than T, M i Is a positive integer.
In the embodiment of the application, the operation priority of the ith job to be determined can be determined according to the first priority information corresponding to the ith job to be determined service and the referenced range of the result corresponding to the ith job to be determined, so that the operation priority of the ith job to be determined is more accurate.
Note that, the embodiment of the present application is not limited to the implementation of S2044, and for example, S2044 may be: and adding the first priority information corresponding to the service of the ith job to be determined and the referenced range of the result corresponding to the ith job to be determined, and determining the result as the job operation priority of the ith job to be determined. As another example, S2044 may be: and determining the product of the first priority information corresponding to the service of the ith job to be determined and the referenced range of the result corresponding to the ith job to be determined as the job operation priority of the ith job to be determined.
Based on the above-mentioned related content of S204, in the embodiment of the present application, the job operation priority of each job to be determined may be determined directly according to the corresponding relationship between each job to be determined and the service scenario served by each job to be determined, and the corresponding data mapping relationship between each job to be determined and each job to be determined, so that the job operation priority of each job to be determined is more accurate.
Based on the above-mentioned related content from S201 to S204, in the method for determining job operation priority provided in the embodiment of the present application, each job to be determined and the corresponding data mapping relationship thereof are generated according to the data processing logic in the data system; acquiring service mapping relations for recording corresponding relations between each job to be determined and service scenes of the job to be determined and service, and acquiring priorities of each service scene; and determining the job operation priority of each job to be determined according to the service mapping relation, the priority of each service scene and the corresponding data mapping relation of each job to be determined. The job operation priority of each job to be determined is determined according to the data mapping relation corresponding to each job to be determined, the service scene of the job service to be determined and the priority information thereof, so that the job operation priority of the job to be determined can more accurately represent the importance degree of the job to be determined, and the accuracy of the job operation priority is improved.
It should be noted that, the embodiment of the present application does not limit the execution time of S201, and in order to improve the determination efficiency of the job operation priority, S201 needs to be executed only when the data processing logic in the data system is updated; similarly, the embodiment of the application also does not limit the execution time of S202, and in order to improve the determination efficiency of the operation priority of the job, S202 needs to be executed only when there is a change in the correspondence between the job to be determined and the service scenario served by the job; similarly, the embodiment of the present application also does not limit the execution time of S203, and in order to improve the efficiency of determining the priority of job operation, S203 needs to be executed only when the priority of the existence service scenario is updated.
Based on the job operation priority determining method provided by the above method embodiment, the embodiment of the present application further provides a job operation priority determining device, which is explained and illustrated below with reference to the accompanying drawings.
Device embodiment
For technical details of the job operation priority determining device provided in the device embodiment, please refer to the above method embodiment.
Referring to fig. 3, a schematic structural diagram of a job operation priority determining apparatus according to an embodiment of the present application is shown.
The job operation priority determining apparatus 300 provided in the embodiment of the present application includes:
a generating unit 301, configured to generate each job to be determined and a corresponding data mapping relationship thereof according to data processing logic in the data system;
a first obtaining unit 302, configured to obtain a service mapping relationship; the service mapping relation is used for recording the corresponding relation between each job to be determined and the service scene of the job to be determined and the service;
and the determining unit 303 is configured to determine a job operation priority of each job to be determined according to the service mapping relationship and the each job to be determined and the corresponding data mapping relationship.
In one possible implementation manner, the number of the data systems is N, and N is a positive integer.
In one possible embodiment, the job execution priority determining apparatus 300 further includes:
the second acquisition unit is used for acquiring the priority of each service scene;
the determining unit 303 is specifically configured to: and determining the job operation priority of each job to be determined according to the service mapping relation, the priority of each service scene and the corresponding data mapping relation of each job to be determined.
In a possible implementation manner, the determining unit 303 is specifically configured to:
when the number of the jobs to be determined is T, determining M of the ith job service to be determined according to the service mapping relation i A personal business scenario; m according to the ith job service to be determined i The priority of each service scene is determined, and first priority information corresponding to the ith job to be determined is determined; according to the jobs to be determined and the corresponding data mapping relation, determining a result cited range corresponding to the ith job to be determined; determining the job operation priority of the ith job to be determined according to the quoted range of the result corresponding to the ith job to be determined and the first priority information corresponding to the ith job to be determined; wherein i is a positive integer, and i is not more than T, M i Is a positive integer.
Based on the related content of the job operation priority determining apparatus 300, each job to be determined and the corresponding data mapping relationship thereof may be generated according to the data processing logic in the data system; acquiring service mapping relations for recording the corresponding relations between each job to be determined and service scenes of the job to be determined and service; and determining the job operation priority of each job to be determined according to the service mapping relation, each job to be determined and the corresponding data mapping relation. The job operation priority of each job to be determined is determined according to the service scene of the job service to be determined and the data mapping relation corresponding to each job to be determined, so that the job operation priority of the job to be determined can more accurately represent the importance degree of the job to be determined, and the accuracy of the job operation priority is improved.
Based on the job operation priority determining method provided by the above method embodiment, the embodiment of the present application further provides an apparatus, which is explained and illustrated below with reference to the accompanying drawings.
Device embodiment
For the technical details of the device provided in the device embodiment, please refer to the above method embodiment.
Referring to fig. 4, a schematic diagram of an apparatus structure according to an embodiment of the present application is shown.
The device 400 provided by the embodiment of the application comprises: a processor 401 and a memory 402;
the memory 402 is used for storing a computer program;
the processor 401 is configured to execute any implementation of the job execution priority determining method provided in the above method embodiment according to the computer program. That is, the processor 401 is configured to perform the steps of:
generating each job to be determined and a corresponding data mapping relation according to data processing logic in the data system;
acquiring a service mapping relation; the service mapping relation is used for recording the corresponding relation between each job to be determined and the service scene of the job to be determined and the service;
and determining the job operation priority of each job to be determined according to the service mapping relation, each job to be determined and the corresponding data mapping relation.
Optionally, the number of the data systems is N, and N is a positive integer.
Optionally, the method further comprises:
acquiring the priority of each service scene;
the determining the job operation priority of each job to be determined according to the service mapping relationship and the each job to be determined and the corresponding data mapping relationship comprises the following steps:
and determining the job operation priority of each job to be determined according to the service mapping relation, the priority of each service scene and the corresponding data mapping relation of each job to be determined.
Optionally, when the number of the jobs to be determined is T, determining the job operation priority of each job to be determined according to the service mapping relationship, the priority of each service scenario, and the data mapping relationship corresponding to each job to be determined, includes:
according to the service mapping relation, determining M of the ith job service to be determined i A personal business scenario; i is a positive integer, and i is not more than T, M i Is a positive integer;
m according to the ith job service to be determined i The priority of each service scene is determined, and first priority information corresponding to the ith job to be determined is determined;
according to the jobs to be determined and the corresponding data mapping relation, determining a result cited range corresponding to the ith job to be determined;
and determining the job operation priority of the ith job to be determined according to the quoted range of the result corresponding to the ith job to be determined and the first priority information corresponding to the ith job to be determined.
The foregoing is related to the device 400 provided in the embodiments of the present application.
Based on the job operation priority determining method provided by the method embodiment, the embodiment of the application also provides a computer readable storage medium.
Media embodiment
For technical details of the computer-readable storage medium provided in the medium embodiment, please refer to the method embodiment.
An embodiment of the present application provides a computer-readable storage medium storing a computer program for executing any one of the job execution priority determination methods provided by the above-described method embodiments. That is, the computer program is for performing the steps of:
generating each job to be determined and a corresponding data mapping relation according to data processing logic in the data system;
acquiring a service mapping relation; the service mapping relation is used for recording the corresponding relation between each job to be determined and the service scene of the job to be determined and the service;
and determining the job operation priority of each job to be determined according to the service mapping relation, each job to be determined and the corresponding data mapping relation.
Optionally, the number of the data systems is N, and N is a positive integer.
Optionally, the method further comprises:
acquiring the priority of each service scene;
the determining the job operation priority of each job to be determined according to the service mapping relationship and the each job to be determined and the corresponding data mapping relationship comprises the following steps:
and determining the job operation priority of each job to be determined according to the service mapping relation, the priority of each service scene and the corresponding data mapping relation of each job to be determined.
Optionally, when the number of the jobs to be determined is T, determining the job operation priority of each job to be determined according to the service mapping relationship, the priority of each service scenario, and the data mapping relationship corresponding to each job to be determined, includes:
according to the service mapping relation, determining M of the ith job service to be determined i A personal business scenario; i is a positive integer, and i is not more than T, M i Is a positive integer;
m according to the ith job service to be determined i The priority of each service scene is determined, and first priority information corresponding to the ith job to be determined is determined;
according to the jobs to be determined and the corresponding data mapping relation, determining a result cited range corresponding to the ith job to be determined;
and determining the job operation priority of the ith job to be determined according to the quoted range of the result corresponding to the ith job to be determined and the first priority information corresponding to the ith job to be determined.
The above is related content of a computer readable storage medium provided by an embodiment of the present application.
It should be understood that in the present application, "at least one (item)" means one or more, and "a plurality" means two or more. "and/or" for describing the association relationship of the association object, the representation may have three relationships, for example, "a and/or B" may represent: only a, only B and both a and B are present, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b or c may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
The above description is only of the preferred embodiment of the present application, and is not intended to limit the present application in any way. While the application has been described with reference to preferred embodiments, it is not intended to be limiting. Any person skilled in the art can make many possible variations and modifications to the technical solution of the present application or modifications to equivalent embodiments using the methods and technical contents disclosed above, without departing from the scope of the technical solution of the present application. Therefore, any simple modification, equivalent variation and modification of the above embodiments according to the technical substance of the present application still fall within the scope of the technical solution of the present application.

Claims (6)

1. A job execution priority determination method, the method comprising:
generating each job to be determined and a corresponding data mapping relation according to data processing logic in the data system;
acquiring a service mapping relation; the service mapping relation is used for recording the corresponding relation between each job to be determined and the service scene of the job to be determined and the service;
determining the job operation priority of each job to be determined according to the service mapping relation and the each job to be determined and the corresponding data mapping relation;
the method further comprises the steps of:
acquiring the priority of each service scene;
the determining the job operation priority of each job to be determined according to the service mapping relationship and the each job to be determined and the corresponding data mapping relationship comprises the following steps:
determining the job operation priority of each job to be determined according to the service mapping relation, the priority of each service scene and the corresponding data mapping relation of each job to be determined;
when the number of the jobs to be determined is T, determining the job operation priority of each job to be determined according to the service mapping relationship, the priority of each service scenario, and the data mapping relationship corresponding to each job to be determined, including:
according to the service mapping relation, determining M of the ith job service to be determined i A personal business scenario; i is a positive integer, and i is not more than T, M i Is a positive integer;
m according to the ith job service to be determined i The priority of each service scene is determined, and first priority information corresponding to the ith job to be determined is determined;
according to the jobs to be determined and the corresponding data mapping relation, determining a result cited range corresponding to the ith job to be determined;
and determining the job operation priority of the ith job to be determined according to the quoted range of the result corresponding to the ith job to be determined and the first priority information corresponding to the ith job to be determined.
2. The method of claim 1, wherein the number of data systems is N, N being a positive integer.
3. A job execution priority determining apparatus, characterized by comprising:
the generation unit is used for generating each job to be determined and the corresponding data mapping relation according to the data processing logic in the data system;
the first acquisition unit is used for acquiring the service mapping relation; the service mapping relation is used for recording the corresponding relation between each job to be determined and the service scene of the job to be determined and the service;
the determining unit is used for determining the job operation priority of each job to be determined according to the service mapping relation, each job to be determined and the corresponding data mapping relation;
the apparatus further comprises:
the second acquisition unit is used for acquiring the priority of each service scene;
the determining unit is specifically configured to: determining the job operation priority of each job to be determined according to the service mapping relation, the priority of each service scene and the corresponding data mapping relation of each job to be determined;
the determining unit is specifically configured to:
when the number of the jobs to be determined is T, determining M of the ith job service to be determined according to the service mapping relation i A personal business scenario; m according to the ith job service to be determined i The priority of the individual traffic scenario(s),determining first priority information corresponding to an ith job to be determined; according to the jobs to be determined and the corresponding data mapping relation, determining a result cited range corresponding to the ith job to be determined; determining the job operation priority of the ith job to be determined according to the quoted range of the result corresponding to the ith job to be determined and the first priority information corresponding to the ith job to be determined; wherein i is a positive integer, and i is not more than T, M i Is a positive integer.
4. The apparatus of claim 3, wherein the number of data systems is N, N being a positive integer.
5. A job execution priority determining apparatus, characterized in that the apparatus includes a processor and a memory:
the memory is used for storing a computer program;
the processor is configured to perform the method of any of claims 1-2 according to the computer program.
6. A computer-readable storage medium, characterized in that the computer-readable storage medium is adapted to store a computer program for performing the method of any of claims 1-2 when being executed by a processor.
CN202010903886.6A 2020-09-01 2020-09-01 Job operation priority determining method and related equipment Active CN112035232B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010903886.6A CN112035232B (en) 2020-09-01 2020-09-01 Job operation priority determining method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010903886.6A CN112035232B (en) 2020-09-01 2020-09-01 Job operation priority determining method and related equipment

Publications (2)

Publication Number Publication Date
CN112035232A CN112035232A (en) 2020-12-04
CN112035232B true CN112035232B (en) 2023-08-18

Family

ID=73590689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010903886.6A Active CN112035232B (en) 2020-09-01 2020-09-01 Job operation priority determining method and related equipment

Country Status (1)

Country Link
CN (1) CN112035232B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106296009A (en) * 2016-08-12 2017-01-04 中国银行股份有限公司 A kind of method for processing business and device
CN106600082A (en) * 2015-10-14 2017-04-26 阿里巴巴集团控股有限公司 Processing method and device of task in service system, and service system construction system
CN107239324A (en) * 2017-05-22 2017-10-10 阿里巴巴集团控股有限公司 Work flow processing method, apparatus and system
CN107291547A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 A kind of task scheduling processing method, apparatus and system
CN108062254A (en) * 2017-12-12 2018-05-22 腾讯科技(深圳)有限公司 Job processing method, device, storage medium and equipment
CN109471711A (en) * 2018-11-12 2019-03-15 中国银行股份有限公司 A kind of method and device of task processing
CN110688210A (en) * 2019-09-17 2020-01-14 Oppo广东移动通信有限公司 Task priority determination method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9870265B2 (en) * 2014-12-09 2018-01-16 Successfactors, Inc. Prioritizing cloud-based computing tasks according to global company and job type priority levels

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106600082A (en) * 2015-10-14 2017-04-26 阿里巴巴集团控股有限公司 Processing method and device of task in service system, and service system construction system
CN107291547A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 A kind of task scheduling processing method, apparatus and system
CN106296009A (en) * 2016-08-12 2017-01-04 中国银行股份有限公司 A kind of method for processing business and device
CN107239324A (en) * 2017-05-22 2017-10-10 阿里巴巴集团控股有限公司 Work flow processing method, apparatus and system
CN108062254A (en) * 2017-12-12 2018-05-22 腾讯科技(深圳)有限公司 Job processing method, device, storage medium and equipment
CN109471711A (en) * 2018-11-12 2019-03-15 中国银行股份有限公司 A kind of method and device of task processing
CN110688210A (en) * 2019-09-17 2020-01-14 Oppo广东移动通信有限公司 Task priority determination method and device

Also Published As

Publication number Publication date
CN112035232A (en) 2020-12-04

Similar Documents

Publication Publication Date Title
US8756209B2 (en) Computing resource allocation based on query response analysis in a networked computing environment
CN112449750A (en) Log data collection method, log data collection device, storage medium, and log data collection system
CN109948807B (en) Active learning method and device
CN110059172B (en) Method and device for recommending answers based on natural language understanding
CN110046303B (en) Information recommendation method and device based on demand matching platform
US11949760B2 (en) System and method for content parsing
CN114223189B (en) Duration statistics method, device, electronic device and computer readable medium
CN112579273A (en) Task scheduling method and device and computer readable storage medium
CN107623862B (en) Multimedia information push control method and device and server
CN113760521B (en) Virtual resource allocation method and device
CN110389817B (en) Scheduling method, device and computer readable medium of multi-cloud system
JP2023029604A (en) Apparatus and method for processing patent information, and program
US10832419B2 (en) Cognitive search analytics for multi-dimensional objects
CN111143546A (en) Method and device for obtaining recommendation language and electronic equipment
CN112035232B (en) Job operation priority determining method and related equipment
CN113313196A (en) Annotation data processing method, related device and computer program product
CN111353688B (en) User resource allocation method and device
CN113238852A (en) Task allocation method and device, electronic equipment and storage medium
Jamili et al. The impact of resource sharing on the design of multi-client warehouses
CN113762675A (en) Information generating method, apparatus, server, system and storage medium
CN108268313A (en) The method and apparatus of data processing
CN114520773B (en) Service request response method, device, server and storage medium
CN106557469B (en) Method and device for processing data in data warehouse
US8875136B2 (en) Methods of personalizing services via identification of common components
CN113256144A (en) Target object determination method and device, electronic equipment and storage 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
GR01 Patent grant
GR01 Patent grant