[go: up one dir, main page]

CN113298336B - Resource scheduling information determining method and device - Google Patents

Resource scheduling information determining method and device Download PDF

Info

Publication number
CN113298336B
CN113298336B CN202010851359.5A CN202010851359A CN113298336B CN 113298336 B CN113298336 B CN 113298336B CN 202010851359 A CN202010851359 A CN 202010851359A CN 113298336 B CN113298336 B CN 113298336B
Authority
CN
China
Prior art keywords
resource
scheduling
service
event
information
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
CN202010851359.5A
Other languages
Chinese (zh)
Other versions
CN113298336A (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.)
Alibaba China Network Technology Co Ltd
Original Assignee
Alibaba China Network 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 Alibaba China Network Technology Co Ltd filed Critical Alibaba China Network Technology Co Ltd
Priority to CN202010851359.5A priority Critical patent/CN113298336B/en
Publication of CN113298336A publication Critical patent/CN113298336A/en
Application granted granted Critical
Publication of CN113298336B publication Critical patent/CN113298336B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06313Resource planning in a project environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Tourism & Hospitality (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Educational Administration (AREA)
  • Accounting & Taxation (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Finance (AREA)
  • Data Mining & Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application provides a method and a device for determining resource scheduling information, comprising the following steps: calling a required resource acquisition service to acquire at least one resource requirement information and sending out a bill creation event; under the condition that a bill creation event is monitored, calling a constraint resource acquisition service to acquire constraint resource data, and sending a data ready event; and under the condition that the data ready event is monitored, calling a scheduling determination service to obtain resource scheduling information according to at least one piece of resource demand information, constraint resource data and a preset scheduling rule. The application achieves the aim of connecting the whole production flow in series by the event sent out during the updating of the status of the screening event. Compared with the prior art that a corresponding fixed serial production scheduling process is established for each demand party, the embodiment of the application can quickly establish a production scheduling implementation system compatible with all demand parties by refining the common problem of each demand party, and reduces the development quantity and development difficulty.

Description

Resource scheduling information determining method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, and a system for determining resource scheduling information.
Background
The scheduling plan refers to a matching mode of the resources of the producer and the receipts of the demander in the production link of the supply chain, specifically, the scheduling plan is based on the existing production resources, the required resources are allocated for the demands in the receipts, and the resource scheduling information is generated so that the producer can formulate a specific production plan according to the resource scheduling information, thereby improving the operation efficiency of the supply chain and ensuring smooth logistics.
In order to meet the service requirements of multiple industries and realize the scheduling of documents of different demand parties, the current scheme can be based on customized design thinking, and a scheduling flow meeting the requirements is formulated for the documents of each demand party, and the documents of each demand party are processed according to the corresponding scheduling flow to obtain corresponding customized resource scheduling information, namely a corresponding scheduling system is developed for each demand party.
However, the inventor finds that, in the research process, because there are a large number of demand parties, developing corresponding production scheduling systems for each demand party independently can result in large development quantity and difficulty.
Disclosure of Invention
The embodiment of the application provides a method for determining resource scheduling information, which is used for reducing the development quantity and development difficulty when a scheduling system is developed for a plurality of demanding parties.
Correspondingly, the embodiment of the application also provides a resource scheduling information determining device, electronic equipment and a storage medium, which are used for ensuring the realization and the application of the method.
In order to solve the above problems, an embodiment of the present application discloses a method for determining resource scheduling information, which includes:
Calling a required resource acquisition service to acquire at least one resource requirement information and sending out a bill creation event;
Under the condition that the bill creation event is monitored, calling a constraint resource acquisition service to acquire constraint resource data, and sending a data ready event;
and under the condition that the data ready event is monitored, calling a scheduling determination service to obtain resource scheduling information according to the at least one resource demand information, the constraint resource data and a preset scheduling rule, wherein the resource scheduling information is used for providing a production plan for the resource demand information.
The embodiment of the application also discloses a device for determining the resource scheduling information, which comprises the following steps:
the resource demand information acquisition module is used for calling a demand resource acquisition service to acquire at least one resource demand information and sending out a bill creation event;
The resource acquisition module is used for calling a constraint resource acquisition service to acquire constraint resource data and sending a data ready event under the condition that the bill creation event is monitored;
And the scheduling module is used for calling scheduling determining service to obtain resource scheduling information according to the at least one resource demand information, the constraint resource data and a preset scheduling rule under the condition that the data ready event is monitored, and the resource scheduling information is used for providing a production plan for the resource demand information.
The embodiment of the application discloses a method for determining resource scheduling information, which comprises the following steps:
providing a plurality of scheduling services, wherein the scheduling services are respectively used for processing part of scheduling flows in the complete resource scheduling flows and sending out driving events belonging to corresponding services under the condition that the part of scheduling flows are processed; the method comprises the following steps:
after a scheduling service is executed, after the driving event is monitored, the scheduling service is called to execute a corresponding partial scheduling flow according to the scheduling service pointed by the driving event;
After the plurality of scheduling services complete the execution of the complete resource scheduling process, resource scheduling information is obtained, and the resource scheduling information is used for providing a production plan for the resource demand information.
The embodiment of the application discloses a resource scheduling information determining device, which comprises:
The system comprises a providing module, a processing module and a processing module, wherein the providing module is used for providing a plurality of scheduling services which are respectively used for processing part of the scheduling flows in the complete resource scheduling flows and sending out driving events belonging to corresponding services under the condition that the part of the scheduling flows are processed; the method comprises the following steps:
The scheduling module is used for calling the scheduling service to execute a corresponding part of scheduling flow according to the scheduling service pointed by the driving event after the driving event is monitored after the scheduling service is executed;
After the plurality of scheduling services complete the execution of the complete resource scheduling process, resource scheduling information is obtained, and the resource scheduling information is used for providing a production plan for the resource demand information.
The embodiment of the application also discloses an electronic device, which comprises: a processor; and a memory having executable code stored thereon that, when executed, causes the processor to perform a method as described in one or more of the embodiments of the application.
Embodiments of the application also disclose one or more machine-readable media having executable code stored thereon that, when executed, cause a processor to perform a method as described in one or more of the embodiments of the application.
Compared with the prior art, the embodiment of the application has the following advantages:
the embodiment of the application carries out general abstract extraction on the problem of commonality of resource demand information of each demand party and constraint resource data of a production party in a production scheduling calculation flow, at least provides three screening events of resource demand information acquisition, resource acquisition and production scheduling calculation, then correspondingly sets the events needing to trigger service switching, and enables the screening events to be mutually independent, establishes an event-driven system architecture, namely, each screening event does not pay attention to the difference of each demand party, processes unified resource demand information and constraint resource data, generates corresponding events, directly schedules another screening event corresponding to the event to execute after a scheduling service monitors the corresponding event until the whole production scheduling flow is finished, and achieves the aim of serially connecting the whole production scheduling flow by the events sent when the states of the screening events are updated. Compared with the prior art that a corresponding fixed serial production scheduling process is established for each demand party, the embodiment of the application can quickly establish a production scheduling implementation system compatible with all demand parties by refining the common problem of each demand party, and reduces the development quantity and development difficulty.
Drawings
FIG. 1 is a block diagram of a production implementation system according to an embodiment of the present application;
FIG. 2 is a block diagram of the structure of a scheduling service, a constrained resource acquisition service, and a scheduling determination service of the present application;
FIG. 3 is a flow chart of steps of a method for determining resource scheduling information according to the present application;
FIG. 4 is a schematic diagram showing specific steps of a method for determining resource scheduling information according to the present application;
FIG. 5 is a schematic diagram of a resource scheduling information determining system according to the present application;
FIG. 6 is a flow chart of steps of another method for determining resource scheduling information of the present application;
FIG. 7 is a block diagram showing the construction of an embodiment of a resource scheduling information determining apparatus of the present application;
FIG. 8 is a block diagram showing the construction of another embodiment of the resource scheduling information determining apparatus of the present application;
fig. 9 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
Detailed Description
In order that the above-recited objects, features and advantages of the present application will become more readily apparent, a more particular description of the application will be rendered by reference to the appended drawings and appended detailed description.
Referring to fig. 1, a system architecture diagram of a method for determining resource scheduling information according to an embodiment of the present application is shown, including: the utility model provides a demand side, producer, storage end, display end and scheduling realization system, scheduling realization system includes: a demand resource acquisition service, a constraint resource acquisition service, a scheduling determination service, and a scheduling service. The services may be threads, and the threads of the demand resource acquisition service, the threads of the constraint resource acquisition service, and the threads of the schedule determination service are decoupled from each other.
The demand side may include a demand side server, where the demand side server is configured to generate resource demand information for the producer, the resource demand information may include a document, the document includes a demand amount for a preset resource, and different demand sides have different industry scene identifiers, and the document may include the industry scene identifier to reflect a source of the document.
The producer may include a producer server that may count and monitor the resources in the producer's production environment to provide constraint resource data including the amount of resources. In addition, the producer server may also interface with the requester server to further process the data of the requester to produce valuable data. For example, in a logistics supply chain scenario, a producer may obtain historical sales data of a consumer, and analyze the historical sales data to obtain future sales prediction data of the consumer.
For example, in a certain scenario of a logistics supply chain, the resource demand information may be a bill, the producer is a warehouse system, and has different warehouses, where specific commodities are stored, the demander is an online store, and the bill of the demander may include: document number-industry scene identification-warehouse number-commodity identification-quantity. Wherein the document number may reflect the uniqueness of the document; the industry scene identification can reflect the party to which the document belongs; the warehouse number, the commodity identification and the quantity reflect that the producer needs to call the specified commodity with the specified quantity from the specified warehouse. In general, a demand party may provide a demand through a bill, while a producer may satisfy the demand of the demand party through existing resources. It should be noted that there may be a plurality of producers, for example, at least two, and the embodiment of the present application does not limit the number of the producers, and different resource scheduling information may be sent to the producer of the corresponding type according to the type to which the resource scheduling information belongs, so that the producer may produce the resource scheduling information.
The storage end can be a physical storage server or a cloud server and is used for receiving and storing the resource demand information sent by the demand party. The storage end can also receive constraint resource data sent by the producer for storage. The scheduling realization system can acquire the data in the storage terminal by calling the storage terminal, thereby realizing the generation of the resource scheduling information. It should be noted that, under the condition of no storage end, the scheduling realization system can also be directly connected with the producer server and the demander server, so as to directly obtain the required data from the data source.
The display end can receive information sent by the production server of the producer and conduct information display operation facing to the user.
The scheduling realization system is mainly used for acquiring resource demand information of a demand party and constraint resource data of a producer, calculating the allocation quantity of resources corresponding to each resource demand information according to the resource quantity of resources in the constraint resource data according to a preset scheduling rule, so that the allocation quantity meets the demand quantity of the resource demand information, and tabulating the corresponding relation of the resource demand information, the demand quantity and the allocation quantity to obtain resource scheduling information. The resource scheduling information can be a scheduling list prepared by a preset list format, the resource scheduling information is output to a producer, so that the producer can specify a specific production plan according to the resource scheduling information, and the producer can further send the resource scheduling information to a display end so that the display end can display the resource scheduling information to a user; the resource scheduling information may also be output to the requesting party for the requesting party to guide the business decision based on the resource scheduling information.
The embodiment of the application discovers that the commonality problem can be fully extracted for the scheduling scene among different demand parties, in addition, in the fast-eliminating (fast-consuming product) scene, the commodity consumption is fast and the commodity change is fast, so that the scheduling realization system needs to be flexibly adjusted to meet the fast-eliminating demand, and the adjustment process cannot bring larger development quantity and development difficulty.
In addition, for the fast-fire scenario, the resource requirement information includes: at least one item demand document of the electronic commerce platform, at least one item demand document of the vertical electronic commerce platform, an item demand document of a store in the electronic commerce platform and an item demand document of an off-line store are integrated.
For example, the resource requirement information may include a warehouse-commodity-quantity correspondence to embody the basic format of the item requirement document in the quick-elimination scenario.
Aiming at the objectively existing commonality problem and the demand under the fast elimination scene, the embodiment of the application can be compatible with a plurality of different demand parties simultaneously by establishing an event-driven scheduling realization system, thereby avoiding independently customizing the scheduling system for each demand party, reducing the development quantity and the development difficulty, and in addition, when the scheduling rule of the existing demand party is required to be changed or a new demand party is added, the whole scheduling realization system is also avoided from being modified, and the adjustment difficulty is reduced.
The implementation of the event-driven production implementation system is now performed by way of a specific example: assuming that in a logistics supply chain scenario, there are a demand party 1 and a demand party 2, the demand party 1 requires the production party to replenish its warehouse with 10 items of merchandise and provides the time-consuming replenishment process; the demander 2 needs the producer to replenish 15 goods for its warehouse and provide a path for the replenishment process. In this scenario, the resource demand information of the demand party 1 and the demand party 2 both have corresponding relation information of warehouse-commodity-quantity, and when the production is calculated, the information of warehouse numbers, available commodity stocks and the like of the production party are required to be acquired from the production party aiming at the demand party 1 and the demand party 2, so that based on the commonality problem, the embodiment of the application can extract the commonality of the resource demand information of the demand party 1 and the demand party 2, establish the resource demand information shared by the demand party 1 and the demand party 2, and the resource demand information can only comprise warehouse-commodity-quantity, thereby realizing the generalization abstraction of the resource demand information, and only comprising the commonality demand of the generalization of each demand party. In addition, the data of the producer can be generalized and abstracted to obtain constraint resource data only comprising warehouse numbers and available commodity inventory. Finally, the scheduling calculation aiming at the demand side 1 and the demand side 2 has a common scheduling rule for extracting the existing commodities in the warehouse to perform commodity distribution.
Further, the commonality extraction can be performed for the scheduling flows of the demander 1 and the demander 2, that is, in the existing case, if the resource scheduling information calculation is performed separately for the demander 1 and the demander 2, three event steps are required to be performed for both: 1. and obtaining resource demand information. 2. And constraining the resource data acquisition. 3. And (5) scheduling production calculation. In the prior art, the execution of the three event steps is implemented according to a fixed serial flow, that is, the execution of the step 2 is performed strictly according to the order of the step 1 and the step 3 is performed completely in the step 2, and if the order of executing the steps needs to be changed by the demander 1, the serial implementation flow of the demander 1 needs to be redeveloped, which results in huge development quantity. In addition, if a new requiring party 3 joins, and the requiring party 3 needs to perform the step of checking the integrity of the resource requirement information between the steps 1 and 2, the requiring party 3 cannot directly sleeve the serial flow, needs to perform the personalized requirement of checking the integrity of the resource requirement information for the requiring party 3, and restarts to establish a corresponding serial implementation flow for the requiring party, which also results in huge development quantity.
In the embodiment of the present application, referring to fig. 1, for the problem of commonality of the demand side 1 and the demand side 2 in the process of generating the resource scheduling information, an event-driven scheduling implementation system may be established, and according to three event steps shared when the demand side 1 and the demand side 2 execute the scheduling operation, the scheduling implementation system includes: a demand resource acquisition service, a constraint resource acquisition service, a scheduling determination service, and a scheduling service. The demand resource acquisition service, the constraint resource acquisition service and the scheduling determination service work independently of each other and do not perform interactive operation, and are uniformly scheduled and processed by the scheduling service.
The desiring party 1 and the desiring party 2 upload the resource demand information which is generally abstracted to the storage end, and the producer may upload the constraint resource data which is generally abstracted to the storage end. The demand resource acquisition service may periodically acquire resource demand information from the storage terminal and generate a document creation event including the resource demand information.
The scheduling service can monitor all events in the system, when the bill creation event is monitored, the constraint resource acquisition service work is scheduled according to the bill creation event, and meanwhile, the resource demand information extracted from the bill creation event is sent to the constraint resource acquisition service.
After receiving the resource demand information, the constraint resource acquisition service can acquire constraint resource data from the storage end, and at the moment, the resource demand information and the constraint resource data required by the scheduling calculation are ready, and the constraint resource acquisition service generates a data ready event comprising the resource demand information and the constraint resource data.
When the scheduling service monitors the data ready event, scheduling production determining service work according to the data ready event, and simultaneously sending the resource demand information extracted from the data ready event and the constraint resource data to the production determining service.
After receiving the resource demand information and the constraint resource data, the scheduling determination service calculates the allocation amount of the commodities corresponding to the warehouse in each resource demand information according to the existing commodity amount of the warehouse in the constraint resource data according to the general abstract scheduling rule, so that the allocation amount meets the demand amount of the resource demand information, and tabulates the corresponding relation of the resource demand information, the demand amount and the allocation amount to obtain the resource scheduling information for output.
Further, after the primary replenishment demands of the demand side 1 and the demand side 2 are met, the demand side 1 and the demand side 2 have secondary demand differences, that is, the demand side 1 needs to provide time consumption of the replenishment process; the demander 2 needs to provide a course of the restocking process. For such demand differences, referring to fig. 2, there is shown a block diagram of a scheduling service, a constraint resource acquisition service, and a scheduling determination service provided in an embodiment of the present application, where a first acquisition sub-service, a second acquisition sub-service, and a general acquisition sub-service may be established in the constraint resource acquisition service, the first acquisition sub-service being used to acquire a path between a producer warehouse and a demander 1, and an average transportation speed of a freight vehicle, and these data are added as first feature data to constraint resource data. The second acquisition sub-service is used to acquire the journey between the producer warehouse and the demander 2 and add these data as second characteristic data to the constraint resource data. The generic acquisition sub-service is used to acquire warehouse numbers, available inventory of goods, and add these data as resource data to the constraint resource data.
It should be noted that, the industry scene identifier 1 corresponding to the demand party 1 may be added to the resource demand information of the demand party 1, the industry scene identifier 2 corresponding to the demand party 2 may be added to the resource demand information of the demand party 2, and the first obtaining sub-service may obtain the position coordinates of the demand party 1 and the warehouse according to the industry scene identifier 1; the second obtaining sub-service may obtain the location coordinates of the demander 2 and the warehouse according to the industry scene identifier 2.
After the scheduling determining service obtains the resource demand information and constraint resource data comprising the resource data, the first characteristic data and the second characteristic data, the allocation amount of the commodities corresponding to the warehouse in each resource demand information can be calculated according to the general calculation sub-service and the resource data; calculating time consumption of the replenishment process in the resource demand information with the industry scene identification 1 through a first feature calculation sub-service and first feature data comprising the position coordinates of the demander 1, the position coordinates of the warehouse and the average transportation speed of the freight vehicle; and calculating the distance of the restocking process in the resource demand information with the industry scene identification 2 through the second characteristic calculation sub-service and the second characteristic data comprising the position coordinates of the demand party 1 and the position coordinates of the warehouse. And finally, according to the corresponding relation between the resource demand information, the industry scene identification 1, the demand quantity, the distribution quantity and the time consumption of the replenishment process, the corresponding relation between the resource demand information, the industry scene identification 2, the demand quantity, the distribution quantity and the path of the replenishment process is tabulated, and the resource scheduling information is obtained and output.
In fig. 2, the demander 1 and the demander 2 have a common standard rule in the scheduling calculation, and also have independent personalized scheduling rules. If the demand side 1 and the demand side 2 only have common standard rules in the production calculation, only general calculation sub-services can be reserved in the production implementation system. If the demander 1 and the demander 2 only have independent personalized scheduling rules when scheduling and calculating, only the first feature calculation sub-service and the second feature calculation sub-service can be reserved in the scheduling and realizing system.
Furthermore, if a new demand side 3 is added, and the demand side 3 needs the production side to supplement the warehouse with the commodity, the demand side 3 can be directly compatible with the production scheduling implementation system, and the production scheduling system does not need to be independently developed for the demand side 3, and the existing production scheduling implementation system does not need to be changed in a large scale. In addition, if the demand side 3 further needs to provide the path of the replenishment process for the production side based on the need of the production side to replenish the warehouse with the commodity, the third acquisition sub-service for acquiring the data required by the path calculation can be added only in the constraint resource acquisition service, and the third feature calculation sub-service for the path calculation can be added in the scheduling determination service, so that the development amount and the difficulty are less.
Therefore, the method and the device can realize uniform formats of the resource demand information of each demand party, constraint resource data of the production party and constraint resource data of the resource quantity comprising the preset resource by carrying out general abstract extraction on the resource demand information of each demand party, constraint resource data of the production party and commonality problems in the scheduling calculation flow, so that the demand data and the resource data are uniform in format, the difference of each demand party is not reflected in the resource demand information and the constraint resource data, each event step in the production implementation process can be decoupled, at least three screening events of resource demand information acquisition, resource acquisition and production calculation are extracted, the screening events are mutually independent, a system architecture driven by an event is established, namely, each screening event does not pay attention to the difference of each demand party, but processes the uniformly formatted data, the corresponding screening event is directly scheduled to be executed until the whole production flow is finished after the scheduling service in the system monitors the corresponding event, and the whole series connection purpose of the production flow is achieved. Compared with the prior art that a corresponding fixed serial production scheduling process is established for each demand party, the embodiment of the application can quickly establish a production scheduling implementation system compatible with all demand parties by refining the common problem of each demand party, and reduces the development quantity and development difficulty.
In addition, aiming at the problem of the difference of all the demand parties, the event-driven scheduling realization system can well sink the difference demands of all the demand parties into the screening event, reduce the complexity of the scheduling flow, and only update the interior of a certain screening event in the scheduling realization system when the existing demand party needs to change the scheduling rule or a new demand party is added, so that the amount of change is small.
Referring to fig. 3, an embodiment of the present application provides a step flowchart of a method for determining resource scheduling information, including:
And step 101, calling a required resource acquisition service to acquire at least one resource requirement information and sending out a bill creation event.
The embodiment of the application discovers that the problem of more sufficient commonality can be extracted for the scheduling scene among different demand parties, and the embodiment of the application can at least extract three screening events of resource demand information acquisition, resource acquisition and scheduling calculation for the objectively existing commonality problem, so that a plurality of different demand parties are compatible at the same time by establishing an event-driven scheduling realization system, thereby avoiding independently customizing the scheduling system for each demand party and reducing the development quantity and development difficulty.
Specifically, when common problems in production scheduling scenes are extracted from documents of different demand parties, the documents of each demand party contain the demand quantity of the preset resources, so that the embodiment of the application can establish the resource demand information in the standard format, so that the resource demand information of each demand party contains the demand quantity of the preset resources and the respective differential demands are eliminated.
The step can be realized through a demand resource acquisition service in a scheduling realization system, the demand resource acquisition service can process resource demand information in a standard format and does not pay attention to the differential demands of all the demand parties, so that the demand resource acquisition service can be decoupled from other modules, and the foundation of an event driven system architecture is realized.
Further, after the resource demand information is acquired by the demand resource acquisition service, a bill creation event including the resource demand information may be generated for the scheduling service to monitor.
It should be noted that, referring to fig. 2, the required resource obtaining service may obtain the resource requirement information uploaded by the requiring party from the storage end, and in addition, the required resource obtaining service may also directly obtain the resource requirement information from the requiring party, which is not limited in the embodiment of the present application.
And step 102, calling a constraint resource acquisition service to acquire constraint resource data and sending a data ready event under the condition that the bill creation event is monitored.
In the embodiment of the application, the scheduling service can monitor all events in the system, when the bill creation event is monitored, the work of the constraint resource acquisition service is scheduled according to the bill creation event, and the resource demand information extracted from the bill creation event is sent to the constraint resource acquisition service.
Specifically, when common problems in production scheduling scenes are extracted from documents of different demand parties, the documents of each demand party contain the required amount of the preset resources, so that the production party needs to provide corresponding resource data, and the resource data contain the resource amount of the preset resources.
The step can be realized through constraint resource acquisition service in a scheduling realization system, the constraint resource acquisition service processes resource demand information and constraint resource data in a standard format, and does not pay attention to the differential demands of all demand parties, so that the constraint resource acquisition service can be decoupled from other modules, and the basis of an event-driven system architecture is realized.
Further, after the constraint resource obtaining service finishes obtaining the resource requirement information, a data ready event including the resource requirement information and constraint resource data can be generated for the scheduling service to monitor.
It should be noted that, referring to fig. 2, the constraint resource obtaining service may obtain constraint resource data uploaded by the producer from the storage end, and in addition, the constraint resource obtaining service may also directly obtain constraint resource data from the producer, which is not limited in the embodiment of the present application.
And step 103, calling a scheduling determination service to obtain resource scheduling information according to the at least one resource demand information, the constraint resource data and a preset scheduling rule under the condition that the data ready event is monitored, wherein the resource scheduling information is used for providing a production plan for the resource demand information.
In the embodiment of the application, when the scheduling service monitors the data ready event, the scheduling service can determine that the data required for scheduling calculation is ready, and at the moment, the scheduling service can schedule scheduling determination service work according to the data ready event and simultaneously send the resource demand information and constraint resource data extracted from the data ready event to the scheduling determination service.
After the resource demand information and the constraint resource data are acquired, the scheduling determination service can acquire the resource scheduling information based on a preset scheduling rule, and establish a corresponding relationship among the resource demand information, the resource demand amount and the resource amount of the resource.
Optionally, after step 103, the method may further include:
And 104, transmitting the resource scheduling information to target equipment so that the target equipment can determine a production plan according to the resource scheduling information and execute corresponding production tasks.
In the embodiment of the application, after the resource scheduling information is obtained, the resource scheduling information is output, wherein the resource scheduling information can be output to a producer for the producer to determine a specific production plan according to the resource scheduling information, and then corresponding personnel and/or equipment can be arranged to execute the production task corresponding to the production plan.
It will be appreciated that the producer may be a resource producer, a transporter, a dispatcher, etc., and embodiments of the present application are not limited thereto. It may be appreciated that the target device in step 104 may be a device of a producer, such as a production azimuth purchasing party, and the target device may be a terminal device of the purchasing party, and after receiving the resource scheduling information, the terminal device of the purchasing party determines a purchasing plan according to the resource scheduling information, and then may arrange corresponding personnel and/or transportation devices to execute a purchasing task corresponding to the purchasing plan to purchase corresponding resources by the corresponding resource provider.
For example, the producer may be a terminal device of the supplier, and the target device of the supplier may determine a replenishment plan according to the resource scheduling information after receiving the resource scheduling information, and then may arrange corresponding personnel and/or devices to execute a replenishment task corresponding to the replenishment plan, which supplements the resource demander.
In addition, the resource scheduling information can also be output to the requesting party so that the requesting party can guide business decision according to the resource scheduling information.
It should be noted that, if all the demand parties adopt the same scheduling rule to process the resource demand information and the constraint resource data, the commonality problem of the scheduling rule can be extracted, and a general calculation operator service is established in the scheduling determination service to uniformly process all the resource demand information and the constraint resource data. In addition, if each of the demanding parties further has a corresponding personalized industry scene rule, the personalized requirements of each of the demanding parties can be satisfied by the feature sub-service through establishing the feature calculation sub-service corresponding to each of the industry scene rules in the scheduling determination service, and specific reference may be made to the description of fig. 2 above, which is not repeated here. If each demand party only has independent personalized production scheduling rules when in production scheduling calculation, only a feature calculation sub-service corresponding to each industry scene rule can be established in a production scheduling realization system.
In summary, the embodiment of the application performs general abstract extraction on the problem of commonality of the resource demand information of each demand side and the constraint resource data of the production side in the scheduling calculation flow, at least three screening events of resource demand information acquisition, resource acquisition and scheduling calculation are provided, each screening event is mutually independent, an event-driven system architecture is established, that is, each screening event does not pay attention to the difference of each demand side, but processes unified resource demand information and constraint resource data, and generates a corresponding event, after a scheduling service monitors the corresponding event, another screening event corresponding to the event is directly scheduled to be executed until the whole scheduling flow is finished, and the aim of connecting the whole scheduling flow in series by the event sent when the state of the screening event is updated is fulfilled. Compared with the prior art that a corresponding fixed serial production scheduling process is established for each demand party, the embodiment of the application can quickly establish a production scheduling implementation system compatible with all demand parties by refining the common problem of each demand party, and reduces the development quantity and development difficulty.
Referring to fig. 4, a flowchart of specific steps of an embodiment of a method for determining resource scheduling information according to the present application is shown.
Step 201, calling a required resource acquisition service to acquire at least one resource requirement information and sending out a bill creation event.
Specifically, this step may refer to the description in step 101, and will not be described herein.
It should be noted that after the resource demand information is obtained from the storage end, the integrity of the resource demand information may be further detected, and if the resource demand information lacks data, a data lack notification may be sent to the demand party, so that the demand party may complement the missing data of the resource demand information according to the data lack notification. In addition, when the resource demand information lacks data and the producer has the data lacking in the resource demand information, the demand resource acquisition service may acquire the data lacking in the resource demand information from the producer server, and supplement the resource demand information completely.
Optionally, in the fast-elimination scenario, the resource requirement information includes: at least one item demand document of the electronic commerce platform, at least one item demand document of the vertical electronic commerce platform, an item demand document of a store in the electronic commerce platform and an item demand document of an off-line store are integrated.
For example, the resource requirement information may include a warehouse-commodity-quantity correspondence to embody the basic format of the item requirement document in the quick-elimination scenario.
And step 202, calling a screening service to screen out the resource requirement information which does not accord with the preset screening rule under the condition that the bill creation event is monitored, and sending out the screening event.
Specifically, the preset screening rule includes: the preset standard format, step 202 may be specifically implemented by screening out all the resource requirement information that does not conform to the standard format according to the standard format.
In an embodiment of the present application, referring to fig. 5, which shows a block diagram of a resource scheduling information determining system, each service may be operated in a respective resource scheduling processing module, which may be implemented by a screening service, and when a scheduling service monitors a bill creation event, the scheduling screening service may schedule a job according to the bill creation event, and simultaneously transmit resource requirement information extracted from the bill creation event to the scheduling screening service.
In the screening service, the resource demand information can be further screened according to a preset screening rule, and the resource demand information which does not accord with the follow-up production scheduling calculation rule is screened out.
Specifically, the preset screening rule may be a validity rule, that is, a preset validity document format is defined, so that documents which do not have validity in the resource demand information are removed.
If the legal rule is a corresponding relation of warehouse, commodity and quantity, and the format of certain resource demand information is a corresponding relation of warehouse, shampoo and weight, the resource demand information has no legal property and needs to be screened out.
And step 203, calling a constraint resource acquisition service to acquire constraint resource data and sending a data ready event under the condition that the screening event is monitored.
Specifically, referring to fig. 5, this step may be implemented by the constraint resource acquisition service, and specifically, reference may be made to the description in step 102 above, which is not repeated herein.
And 204, storing the resource demand information and the constraint resource data in a preset storage area, and sending out a file created event.
In the embodiment of the present application, referring to fig. 5, this step may be implemented by a file storage service, where when the scheduling service monitors a data ready event, the scheduling service may schedule the file storage service to work according to the data ready event, and simultaneously store resource requirement information extracted from the data ready event to a preset storage area of a storage end in order to restrict resource data, and generate a file created event including the resource requirement information and the restricted resource data, so as to implement snapshot storage of the resource requirement information and the restricted resource data.
And step 205, calling a scheduling determination service to obtain resource scheduling information according to the at least one resource requirement information, the constraint resource data and a preset scheduling rule under the condition that the file created event is monitored.
In an embodiment of the present application, referring to fig. 5, this step may be implemented by the scheduling determination service, and when the scheduling service monitors the file created event, the scheduling determination service may schedule the scheduling determination service to work according to the file created event while resource demand information extracted from the file created event is transmitted to the scheduling determination service to restrict resource data.
Specifically, for the specific implementation of the scheduling determining service, reference may be made to the description of the scheduling determining service in step 103, which is not repeated herein.
Optionally, the resource requirement information includes an industry scenario identification; the constraint resource data includes resource data and scene feature data corresponding to the industry scene identifier, and step 205 may specifically include:
Sub-step 2051, determining a corresponding target scheduling rule according to the industry scene identifier.
In the embodiment of the application, the industry scene identifiers are used for reflecting the source of the resource demand information, and the corresponding demand parties of each industry scene identifier have corresponding target production rules, wherein the target production rules of all the demand parties can be the same; the target scheduling rules of the various demanding parties may be different from each other; the target production rules of the respective demander may include either a common standard rule or an industry scenario rule corresponding to the respective industry scenario identification.
Sub-step 2052, determining resource scheduling information corresponding to the resource requirement information according to the target scheduling rule, the resource data, and the resource requirement information and the feature data corresponding to the industry scene identifier.
In the embodiment of the application, each demand party also has different differentiated demands, for example, in a logistics supply chain scene, a demand party 1 and a demand party 2 exist, and the demand party 1 needs a production party to supplement 10 commodities for a warehouse and provide time consumption in the replenishment process; the demander 2 needs the producer to replenish 15 goods for its warehouse and provide a path for the replenishment process.
After meeting the common restocking requirements of the demander 1 and the demander 2, the demander 1 and the demander 2 have secondary difference, namely the demander 1 needs to provide the time consumption of the restocking process; the demander 2 needs to provide a course of the restocking process.
For such a demand difference, the embodiment of the application can add, for each resource demand information, an industry scene identifier for reflecting the source of the resource demand information, where the industry scene identifier corresponds to scene feature data and industry scene rules for meeting the demand variance variability demand.
In the process of carrying out the scheduling calculation, the constraint resource obtaining service can obtain corresponding scene characteristic data (namely data for calculating the replenishment time for the demand party 1 and data for calculating the replenishment path for the demand party 2) and scene characteristic data from the production party according to the industry scene identification of each resource demand information, and the scheduling determining service can calculate the allocation amount of the resource data corresponding to each resource demand information according to the target scheduling rule (namely the general replenishment rule and the rule for calculating the replenishment time for the demand party 1) corresponding to the industry scene identification (the general replenishment rule and the rule for calculating the replenishment path for the demand party 1).
Optionally, the substep 2052 may specifically include:
sub-step 20521, determining general scheduling information according to the standard rule, the resource data and the resource requirement information.
Sub-step 20522, determining personalized production scheduling information according to the industry scene rules, the resource data, and scene feature data.
Sub-step 20523, combining the general scheduling information and the personalized scheduling information into the resource scheduling information.
For the example of sub-step 2052 described above, a first acquisition sub-service for acquiring a trip between the producer warehouse and the demander 1 and an average transport speed of the freight vehicle from the producer according to the industry scenario identification 1 of the demander 1, a second acquisition sub-service, and a general acquisition sub-service may be established in the constraint resource acquisition service, and these data are added as first feature data to the constraint resource data. The second obtaining sub-service is used for obtaining the journey between the producer warehouse and the demander 2 from the producer according to the industry scene identification 2 of the demander 2, and adding the data into constraint resource data as second characteristic data. The generic acquisition sub-service is used to acquire warehouse numbers, available inventory of goods, and add these data as resource data to the constraint resource data.
After the scheduling determining service obtains the resource demand information and constraint resource data comprising the resource data, the first characteristic data and the second characteristic data, the allocation amount of the commodities corresponding to the warehouse in each resource demand information can be calculated according to the general calculation sub-service and the resource data; calculating time consumption of a replenishment process in the resource demand information with the industry scene identifier 1 according to the industry scene rule corresponding to the demand party 1 through a first feature calculation sub-service and first feature data comprising the position coordinate of the demand party 1, the position coordinate of a warehouse and the average transportation speed of the freight vehicle; and calculating the distance of the replenishment process in the resource demand information with the industry scene identification 2 according to the industry scene rule corresponding to the demand party 2 by means of the second characteristic computing sub-service and the second characteristic data comprising the position coordinates of the demand party 1 and the position coordinates of the warehouse. Finally, the general scheduling information (the required quantity-the distribution quantity) and the personalized scheduling information (the time consumption of the replenishment process for the required party 1 and the time consumption of the replenishment process for the required party 2) are combined to obtain a corresponding relation of the receipt-industry scene identification 1-the required quantity-the distribution quantity-the time consumption of the replenishment process and a corresponding relation table of the receipt-industry scene identification 2-the required quantity-the distribution quantity-the distance of the replenishment process, and the resource scheduling information is obtained and output.
In fig. 2, the demander 1 and the demander 2 have a common standard rule in the scheduling calculation, and also have independent personalized scheduling rules. If the demand side 1 and the demand side 2 only have common standard rules in the production calculation, only general calculation sub-services can be reserved in the production implementation system. If the demander 1 and the demander 2 only have independent personalized scheduling rules when scheduling and calculating, only the first feature calculation sub-service and the second feature calculation sub-service can be reserved in the scheduling and realizing system.
Specifically, when the target scheduling rules corresponding to the industry scene identifications of each piece of resource demand information are the same standard rules, calculating the allocation amount of the resource data corresponding to each piece of resource demand information according to the standard rules.
Referring to fig. 2 and the above example, in a logistics supply chain scenario, there are a demand party 1 and a demand party 2, the demand party 1 requiring the production party to replenish its warehouse with 10 items; the demander 2 needs the producer to supplement its warehouse with 15 goods. And the scheduling rules corresponding to the industry scene identifications of the requiring party 1 and the requiring party 2 are the same standard rules, namely the rules for calculating the distribution amount of the commodities corresponding to the warehouse in each resource requirement information, and the scheduling determination service can calculate the general scheduling information of the resource data corresponding to each resource requirement information through the general sub-service according to the standard rules.
Specifically, when the scheduling rules corresponding to the industry scene identifications of each piece of resource demand information comprise the standard rules and the industry scene rules corresponding to each piece of industry scene identifications, calculating general scheduling information corresponding to the resource data of each piece of resource demand information according to the standard rules, and calculating personalized scheduling information corresponding to the scene feature data of each piece of resource demand information according to the industry scene rules.
Referring to fig. 2 and the above example, in a logistics supply chain scenario, there are a demand side 1 and a demand side 2, the demand side 1 requiring the production side to replenish its warehouse with 10 items of merchandise and providing the time-consuming replenishment process; the demander 2 needs the producer to replenish 15 goods for its warehouse and provide a path for the replenishment process. The scheduling rules corresponding to the industry scene identifications of the requiring party 1 and the requiring party 2 also respectively comprise the respective industry scene rules, namely the time-consuming rules of the calculating replenishment process corresponding to the requiring party 1, and the rules of the path of the calculating replenishment process corresponding to the requiring party 2 on the basis of the standard rules.
Optionally, the resource requirement information further includes: the resource type of the required resource; the method may further comprise:
and B1, adding a measurement unit at the position of the resource according to the resource type of the resource in the resource scheduling information.
In some cases, in order to ensure the readability of the resource scheduling information, a corresponding measurement unit may be further added to the resource scheduling information for the demand amount and the allocation amount, where the measurement unit may be determined by a resource type of the resource demand information, and the resource type may be a field in the resource demand information.
For example, in a logistics supply chain scenario, there are a demander 1 and a demander 2, the demander 1 needs the producer to replenish its warehouse (medical) with 10 items of merchandise (medicines, mainly heart disease) and provide the time-consuming (hours) of the replenishment process; the demand side 2 needs the production side to supplement 15 goods (for gears and engines) for its warehouse (shop) and to provide a path (kilometers) for the replenishment process. The resource demand information of the demander 1 may include "warehouse-medical", "commodity-medicine", mainly heart disease "," time-hour "resource type fields; the resource demand information of the demand side 2 may include resource type fields of "warehouse-shop", "commodity-gear, engine use", "trip-kilometer".
From the resource type fields of the above-mentioned demander 1 and demander 2, the available resource scheduling information includes the following:
the method comprises the steps of (a demander 1) bill-industry scene identification 1-warehouse (medical) -commodity (medicine and mainly treating heart disease) -10 pieces-replenishment process consuming XX (hours);
The (demand side 2) bill-industry scene identification 2-warehouse (workshop) -commodity (gear and engine) -15-replenishment path XX (kilometer);
Optionally, after sub-step B1, the method further comprises:
and B2, transmitting the resource scheduling information to a target equipment end according to the industry scene identification.
Referring to fig. 1, a correspondence between an industry scenario identifier of each of the demander and an access address of a target device side of the demander may be established, so that when the resource scheduling information is output in a directional manner, the access address of the target device side, which is a source of the resource demand information, may be found according to the industry scenario identifier of the demander included in the resource scheduling information. And sending the resource scheduling information to the target equipment end according to the access address.
For example, referring to the above example, if the resource scheduling information includes both the scheduling result of the demander 1 and the scheduling result of the demander 2, the resource scheduling information may be sent to the producer for the producer to specify a specific production plan. In addition, the resource scheduling information may be extracted from the scheduling result of the requesting party 1 alone to prepare a piece of resource scheduling information corresponding to the requesting party 1, and sent to the requesting party 1. And (3) independently extracting the resource scheduling information from the scheduling result of the demand side 2 to prepare resource scheduling information corresponding to the demand side 2, and sending the resource scheduling information to the demand side 2 for decision guidance of the demand side.
At step 206, a calculation completion event is generated.
In this step, after the scheduling determination service completes the scheduling calculation, a calculation completion event may be generated that includes the resource scheduling information for monitoring by the scheduling service.
And step 207, calling a result storage service to store the resource scheduling information and generating a result stored event under the condition that the calculation completion event is monitored.
In this step, referring to fig. 5, the step may be implemented by a result storage service, and when the scheduling service monitors the calculation completion event, the scheduling service may schedule the result storage service according to the calculation completion event, and store the resource scheduling information extracted from the calculation completion event to the storage end for permanent storage, so as to implement persistence of the scheduling result, and ensure safety of the resource scheduling information.
And step 208, calling a result output service to output the resource scheduling information under the condition that the event of which the result is stored is monitored.
In this step, referring to fig. 5, this step may be implemented by the result output service, and when the scheduling service monitors the result stored event), the result output service may be scheduled to operate according to the result stored event while outputting the resource scheduling information extracted from the result stored event, and after outputting the resource scheduling information, the result output service may establish a resource scheduling information success establishment event, and when the system monitors the event, it may be known that the resource scheduling information has been successfully established.
Optionally, after step 204, the method may further include:
Step 209, if the resource requirement information and the constraint resource data are lost in the process of obtaining the resource scheduling information, extracting the lost resource requirement information and the constraint resource data from the preset storage area.
In this step, since the resource requirement information is used to restrict the resource data from being stored in the preset storage area of the storage end, if the resource requirement information and/or the restricted resource data are lost due to factors such as instability of the system in the process of generating the resource scheduling information, the lost resource requirement information and/or the restricted resource data can be extracted from the preset storage area to continue the scheduling calculation, thereby improving the security guarantee of the data.
Optionally, after step 204, the method may further include:
and step 205, the resource scheduling information is sent to target equipment, so that the target equipment can determine a production plan according to the resource scheduling information and execute corresponding production tasks.
This step is described with reference to step 105, which is not described in detail herein.
In summary, the embodiment of the application performs general abstract extraction on the resource requirement information of each requirement party, the constraint resource data of the production party and the problem of commonality in the scheduling computation flow, so as to obtain the resource requirement information including the preset resource requirement and the constraint resource data including the preset resource quantity, so that the requirement data and the resource data realize uniform formats, the difference of each requirement party is not reflected in the resource requirement information and the constraint resource data, each event step in the scheduling realization process can be decoupled, at least three screening events of resource requirement information acquisition, resource acquisition and scheduling computation are extracted, and the screening events are mutually independent, so that a system architecture driven by an event is established, namely, each screening event does not pay attention to the difference of each requirement party, but processes the uniformly formatted data, and generates a corresponding event, and after the corresponding event is monitored by scheduling service in the system, the corresponding screening event is directly scheduled to be executed until the whole scheduling event is finished, and the whole scheduling flow is performed by the whole scheduling event sent when the screening event is updated. Compared with the prior art that a corresponding fixed serial production scheduling process is established for each demand party, the embodiment of the application can quickly establish a production scheduling implementation system compatible with all demand parties by refining the common problem of each demand party, and reduces the development quantity and development difficulty.
In addition, aiming at the problem of the difference of all the demand parties, the event-driven scheduling realization system can well sink the difference demands of all the demand parties into the screening event, reduce the complexity of the scheduling flow, and only update the interior of a certain screening event in the scheduling realization system when the existing demand party needs to change the scheduling rule or a new demand party is added, so that the amount of change is small.
Referring to fig. 5, an embodiment of the present application provides a block diagram of a resource scheduling information determining system, including: a plurality of resource scheduling processing modules and scheduling services.
The resource scheduling processing modules are respectively used for processing part of the scheduling processes in the complete resource scheduling process and sending out driving events belonging to the corresponding resource scheduling modules under the condition that the part of the scheduling processes are processed; the scheduling service is used for calling the resource scheduling processing module to execute according to the resource scheduling processing module pointed by the driving event after the driving event is monitored;
Under the condition that the plurality of resource scheduling processing modules execute the complete resource scheduling flow, resource scheduling information is obtained and is used for providing a production plan for the resource demand information.
Specifically, in another preferred implementation manner of the embodiment of the present application, considering the problems of data validity, integrity, security, etc. in the scheduling process, referring to fig. 5, the embodiment of the present application further refines and obtains a scheduling implementation system of the resource scheduling processing module including 7 filtering events,
Optionally, the plurality of resource scheduling processing modules at least include:
The resource demand acquisition service is used for acquiring resource demand information and sending out bill creation events under the condition that the resource information is acquired;
The constraint resource acquisition service is used for acquiring constraint resource data and sending out a data ready event under the condition that the constraint resource data is acquired;
And the scheduling determination service is used for obtaining the resource scheduling information according to the resource demand information, the constraint resource data and the preset scheduling rule.
Additionally, optionally, the resource scheduling processing module may further include:
The screening service is used for screening out the resource demand information which does not accord with the preset screening rule and sending out a screening event;
The file storage service is used for storing the resource demand information and the constraint resource data in a preset storage area and sending out a file created event;
the result storage service is used for storing the resource scheduling information and generating a result stored event;
And the result output service is used for outputting the resource scheduling information.
Referring to fig. 6, an embodiment of the present application provides a block diagram of a resource scheduling information determining method, which may be applied to the resource scheduling information determining system shown in fig. 5, including:
step 301, providing a plurality of scheduling services, where the plurality of scheduling services are respectively used to process a part of the scheduling flows in the complete resource scheduling flows, and send out driving events belonging to the corresponding services when the part of the scheduling flows are processed.
Step 302, after a scheduling service is executed, after the driving event is monitored, the scheduling service is called to execute a corresponding partial scheduling flow according to the scheduling service pointed by the driving event.
After the plurality of scheduling services complete the execution of the complete resource scheduling process, resource scheduling information is obtained, and the resource scheduling information is used for providing a production plan for the resource demand information.
It should be noted that, each part of the complete resource scheduling process has a preset execution sequence, and the corresponding scheduling service can be executed according to the preset sequence.
Optionally, the scheduling service includes: a demand resource acquisition service, a constraint resource acquisition service, and a scheduling determination service; the driving event includes: a bill creation event belonging to the required resource acquisition service, and a data ready event belonging to the constraint resource acquisition service; step 302 specifically includes:
And step 3021, after the required resource obtaining service is called to obtain at least one resource required information and send out a bill creation event, calling a constraint resource obtaining service to obtain constraint resource data and sending out a data ready event under the condition that the bill creation event is monitored.
And step 3022, calling a scheduling determination service to obtain resource scheduling information according to the at least one resource requirement information, the constraint resource data and a preset scheduling rule when the data ready event is monitored.
Optionally, the scheduling service includes: screening services; the driving event further includes: screening events belonging to the screening service; step 302 further comprises:
And step 3023, calling a screening service to screen out the resource requirement information which does not meet the preset screening rule and sending out a screening event under the condition that the bill creation event is monitored.
Sub-step 3024, in case the screening event is monitored, invoking a constraint resource obtaining service to obtain constraint resource data and issuing a data ready event.
Optionally, the scheduling service further includes: a result storage service and a result output service; the driving event further includes: a calculation completion event belonging to the scheduling determination service, a result stored event belonging to the result storage service; after sub-step 3022, further comprising:
Substep 3025, generating a calculation completion event.
Sub-step 3026, in case the screening event is monitored, invoking a constraint resource obtaining service to obtain constraint resource data and issuing a data ready event.
Sub-step 3027, calling a result output service to output said resource scheduling information in case said result stored event is monitored.
Optionally, after step 302, the method may further include:
And step 303, the resource scheduling information is sent to target equipment, so that the target equipment can determine a production plan according to the resource scheduling information and execute a corresponding production task.
Specifically, the method for determining the resource scheduling information may refer to the description of the foregoing embodiments, which is not repeated herein.
In the embodiment of the application, each scheduling service can be operated in a corresponding resource scheduling processing module, wherein in order to realize scheduling, at least a required resource acquisition service, a constraint resource acquisition service and a scheduling determination service are required, and further, in consideration of legality of resource requirement information and storage security of data, the system can further comprise a screening service, a file storage service, a result storage service and a result output service so as to realize optimization of a scheme. In addition, according to actual requirements, existing screening services, file storage services, result storage services and result output services can be deleted or new services can be added.
The application can be compatible with a plurality of different demand parties simultaneously by establishing an event-driven resource scheduling information determining method, thereby avoiding independently customizing a scheduling system for each demand party, reducing development quantity and development difficulty, and in addition, when the scheduling rule of the existing demand party is required to be changed or a new demand party is added, the whole scheduling system can be prevented from being modified, and the adjustment difficulty is reduced.
In particular, a description will now be made of a specific operation of the resource scheduling information determining system by way of a specific example in another logistics supply chain:
Assuming there are a first industry that requires producers to replenish their orders with out-of-stock merchandise and a second industry that requires producers to replenish their orders with merchandise that will be sold in the future for a greater benefit.
According to the analysis of the common problem of the first industry and the second industry, the resource demand information in the unified standard format can be obtained, that is, the first industry and the second industry both adopt the resource demand information, and the resource demand information specifically can include table 1 and table 2:
Single number Storehouse Merchant
1 A a
2 A B
3 B C
TABLE 1
Number of sub list Warehouse Goods commodity Quantity of
11 A a 10
12 A b 10
21 A b 10
22 A c 10
31 BC a 10
32 BD a 10
TABLE 2
Wherein, table 1 is a master list, table 2 is a child list of table 1, for example, child list number 11 and child list number 12 are child list of master list with list number 1, warehouse A, B is a primary bin, and warehouse BC and BD are secondary bins of warehouse B.
After the required resource obtaining service obtains the contents of table 1 and table 2, resource requirement information is obtained, a bill creating event is sent out, and under the condition that the bill creating event is monitored, the constraint resource obtaining service is called to obtain constraint resource data, and a data ready event is sent out, wherein the constraint resource data can comprise resource data (table 3), scene characteristic data corresponding to a first industry (table 4) and scene characteristic data corresponding to the first industry (table 5).
Warehouse Available inventory Available capacity for receiving goods
A 20 50
B 500 40
BC 300 30
BD 100 30
TABLE 3 Table 3
TABLE 4 Table 4
Goods commodity Storehouse Existing inventory Sales prediction Unit price of piece
a A 50 10 5
a B 50 10 5
a BC 50 10 5
a BD 50 10 5
b A 40 60 6
b B 40 60 6
b BC 40 60 6
b BD 40 60 6
c A 60 60 7
c B 60 60 7
c BC 60 60 7
c BD 60 60 7
TABLE 5
Wherein, table 3 is the resource data produced by the production party for all industries, reflecting the warehouse inventory, available receiving capacity of the production party. Table 4 is scenario feature data for the first industry production by the producer reflecting current warehouse inventory, and future sales predictions for the first industry. Table 5 is scenario feature data of the producer for the first industry production reflecting current warehouse inventory, commodity price, and future sales predictions for the second industry.
During production scheduling calculation, the first industry is required to be subjected to the replenishment of the current out-of-stock commodity of the first industry according to the resource data (table 3) and the scene characteristic data (table 4) corresponding to the first industry, the analysis is carried out according to the tables 1, 2, 3 and 4, the current out-of-stock commodity of the first industry can be obtained as commodity a according to the table 4, but the table 3 reflects that the stock of the warehouse A is only 20, and the stocks of the warehouses BC and BD are sufficient, and the replenishment can be selected according to the requirement according to the mother bill and the child bill corresponding to the single number 3 in the table 1; for the mother bill and the child bill corresponding to the unit number 2 and the unit number 3 in the table 1, as the stock of the warehouse A is only 20, only one mother bill can be selected for replenishment according to the requirement on the premise of not exceeding the production capacity. Further analysis of Table 4 can result in that if the degree of absence of the parent sheet 1 having the combination of the article a and the article b is greater than the degree of absence of the parent sheet 2 having the combination of the article b and the article c, the parent sheet and the child sheet corresponding to the article 1 are selected to be restocked, and the parent sheet and the child sheet corresponding to the article 2 are not restocked.
The obtained resource scheduling information for the first industry is shown in table 6:
TABLE 6
In the production scheduling calculation, for the second industry, the future sales of the second industry can obtain the replenishment of the commodity with larger interest according to the resource data (table 3) and the scene characteristic data (table 5) corresponding to the first industry, the analysis is carried out according to the tables 1, 2, 3 and 5, the future sales of the second industry can obtain the commodity with larger interest as commodity b and commodity c, but because the table 3 reflects that the inventory of the warehouse A is only 20, and the cargoes of the warehouses BC and BD are sufficient, the replenishment can be selected according to the requirement for the mother bill and the child bill corresponding to the single number 3 in the table 1; for the mother bill and the child bill corresponding to the unit number 2 and the unit number 3 in the table 1, as the stock of the warehouse A is only 20, only one mother bill can be selected for replenishment according to the requirement on the premise of not exceeding the production capacity. Further analysis of Table 5 can result in that if the future benefit value of the parent sheet 1 having the combination of merchandise item a and merchandise item b is less than the future benefit value of the parent sheet 2 having the combination of merchandise item b and merchandise item c, the parent sheet and the child sheet corresponding to item number 2 are selected for restocking, and the parent sheet and the child sheet corresponding to item number 1 are not restocked.
The obtained resource scheduling information for the second industry is shown in table 7:
TABLE 7
In summary, the embodiment of the application performs general abstract extraction on the problem of commonality of the resource demand information of each demand side and the constraint resource data of the production side in the scheduling calculation flow, at least three screening events of resource demand information acquisition, resource acquisition and scheduling calculation are provided, each screening event is mutually independent, an event-driven system architecture is established, that is, each screening event does not pay attention to the difference of each demand side, but processes unified resource demand information and constraint resource data, and generates a corresponding event, after a scheduling service monitors the corresponding event, another screening event corresponding to the event is directly scheduled to be executed until the whole scheduling flow is finished, and the aim of connecting the whole scheduling flow in series by the event sent when the state of the screening event is updated is fulfilled. Compared with the prior art that a corresponding fixed serial production scheduling process is established for each demand party, the embodiment of the application can quickly establish a production scheduling implementation system compatible with all demand parties by refining the common problem of each demand party, and reduces the development quantity and development difficulty.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the application.
On the basis of the above embodiment, the present embodiment further provides a device for determining resource scheduling information, which is applied to electronic devices such as a terminal device and a server.
Referring to fig. 7, a block diagram of an embodiment of a resource scheduling information determining apparatus according to an embodiment of the present application is shown, and may specifically include the following modules:
The resource requirement information acquisition module 401 is configured to invoke a requirement resource acquisition service to acquire at least one resource requirement information and send out a document creation event;
a resource acquisition module 402, configured to invoke a constraint resource acquisition service to acquire constraint resource data and issue a data ready event when the document creation event is monitored;
and the scheduling module 403 is configured to invoke a scheduling determination service to obtain resource scheduling information according to the at least one resource requirement information, the constraint resource data and a preset scheduling rule, where the resource scheduling information is used to provide a production plan for the resource requirement information, when the data ready event is monitored.
Optionally, the resource requirement information includes an industry scene identifier; the constraint resource data comprises resource data and scene characteristic data corresponding to the industry scene identifier; the scheduling module 403 includes:
The rule determination submodule is used for determining a corresponding target scheduling rule according to the industry scene identification;
And the scheduling sub-module is used for determining resource scheduling information corresponding to the resource requirement information according to the target scheduling rule, the resource data and the resource requirement information and the characteristic data corresponding to the industry scene identifier.
Optionally, in a case that the target scheduling rule includes a standard rule and an industry scenario rule, the scheduling sub-module includes:
The first determining unit is used for determining general production scheduling information according to the standard rule, the resource data and the resource demand information;
the second determining unit is used for determining personalized production scheduling information according to the industry scene rule, the resource data and the scene characteristic data;
and the combination unit is used for combining the general scheduling information and the personalized scheduling information into the resource scheduling information.
Optionally, the resource requirement information further includes: the resource type of the required resource;
The scheduling module 403 further includes:
And the adding sub-module is used for adding a measurement unit in the position of the resource according to the resource type of the resource in the resource scheduling information.
Optionally, the scheduling module 403 further includes:
And the output sub-module is used for sending the resource scheduling information to a target equipment end according to the industry scene identification.
Optionally, the apparatus further includes:
the screening module is used for calling a screening service to screen out the resource requirement information which does not accord with the preset screening rule under the condition that the bill creation event is monitored, and sending out a screening event;
And the first execution module is used for executing the steps of calling the constraint resource acquisition service to acquire constraint resource data and issuing a data ready event under the condition that the screening event is monitored.
Optionally, the apparatus further includes:
The information storage module is used for storing the resource demand information and the constraint resource data in a preset storage area and sending out a file created event;
and the second execution module is used for executing the step of calling the scheduling determination service to obtain the resource scheduling information according to the at least one resource demand information, the constraint resource data and the preset scheduling rule under the condition that the file created event is monitored.
Optionally, the apparatus further includes:
and the extraction module is used for extracting the lost resource demand information and the constraint resource data from the preset storage area if the resource demand information and the constraint resource data are lost in the process of obtaining the resource scheduling information.
Optionally, the apparatus further includes:
The generation module is used for generating a calculation completion event;
the result storage module is used for calling a result storage service to store the resource scheduling information and generating a result stored event under the condition that the calculation completion event is monitored;
And the output module is used for calling a result output service to output the resource scheduling information under the condition that the event of which the result is stored is monitored.
Optionally, the resource requirement information includes: at least one item demand document of the electronic commerce platform, at least one item demand document of the vertical electronic commerce platform, an item demand document of a store in the electronic commerce platform and an item demand document of an off-line store are integrated.
Optionally, the method further comprises: and the resource scheduling information sending module is used for sending the resource scheduling information to target equipment so that the target equipment can determine a production plan according to the resource scheduling information and execute corresponding production tasks.
In summary, the embodiment of the application extracts the resource demand information of each demand side and the problem of commonality of constraint resource data of a producer in a production scheduling calculation flow by carrying out general abstraction, at least provides three screening events of resource demand information acquisition, resource acquisition and production scheduling calculation, and enables each screening event to be mutually independent, establishes an event-driven system architecture, namely, each screening event does not pay attention to the difference of each demand side, processes unified resource demand information and constraint resource data, generates a corresponding event, directly schedules another screening event corresponding to the event to execute after a scheduling service monitors the corresponding event until the whole production scheduling flow is finished, and achieves the aim of connecting the whole production scheduling flow in series by the event sent when the state of the screening event is updated. Compared with the prior art that a corresponding fixed serial production scheduling process is established for each demand party, the embodiment of the application can quickly establish a production scheduling implementation system compatible with all demand parties by refining the common problem of each demand party, and reduces the development quantity and development difficulty.
Referring to fig. 8, a block diagram of an embodiment of a resource scheduling information determining apparatus according to an embodiment of the present application is shown, and may specifically include the following modules:
A providing module 501, configured to provide a plurality of scheduling services, where the plurality of scheduling services are respectively configured to process a part of the scheduling flows in the complete resource scheduling flows, and send out driving events belonging to corresponding services when the part of the scheduling flows are processed; the method comprises the following steps:
The scheduling module 502 is configured to, after executing a scheduling service, monitor the driving event, and then invoke the scheduling service to execute a corresponding partial scheduling flow according to the scheduling service pointed by the driving event;
After the plurality of scheduling services complete the execution of the complete resource scheduling process, resource scheduling information is obtained, and the resource scheduling information is used for providing a production plan for the resource demand information.
Optionally, the scheduling service includes: a demand resource acquisition service, a constraint resource acquisition service, and a scheduling determination service; the driving event 502 includes: a bill creation event belonging to the required resource acquisition service, and a data ready event belonging to the constraint resource acquisition service; the scheduling module comprises:
The first scheduling sub-module is used for calling the constraint resource acquisition service to acquire constraint resource data and sending out a data ready event when the bill creation event is monitored after calling the demand resource acquisition service to acquire at least one resource demand information and sending out the bill creation event;
And the second scheduling sub-module is used for scheduling the scheduling module, calling a scheduling determination service under the condition that the data ready event is monitored, and obtaining resource scheduling information according to the at least one resource demand information, the constraint resource data and a preset scheduling rule.
Optionally, the scheduling service includes: screening services; the driving event further includes: screening events belonging to the screening service; the scheduling module 502 further includes:
the third scheduling sub-module is used for calling a screening service to screen out the resource demand information which does not accord with the preset screening rule and sending out a screening event under the condition that the bill creation event is monitored;
And the fourth scheduling sub-module is used for executing the steps of calling the constraint resource acquisition service to acquire constraint resource data and sending out a data ready event under the condition that the screening event is monitored.
The scheduling service further includes: a result storage service and a result output service; the driving event further includes: a calculation completion event belonging to the scheduling determination service, a result stored event belonging to the result storage service;
optionally, the scheduling module 502 further includes:
The event generation sub-module is used for generating a calculation completion event;
a fifth scheduling sub-module, configured to invoke a result storage service to store the resource scheduling information and generate a result stored event when the calculation completion event is monitored;
And the sixth scheduling sub-module is used for calling a result output service to output the resource scheduling information under the condition that the event of which the result is stored is monitored.
Optionally, the method further comprises: and the resource scheduling information sending module is used for sending the resource scheduling information to target equipment so that the target equipment can determine a production plan according to the resource scheduling information and execute corresponding production tasks.
In summary, the embodiment of the application extracts the resource demand information of each demand side and the problem of commonality of constraint resource data of a producer in a production scheduling calculation flow by carrying out general abstraction, at least provides three screening events of resource demand information acquisition, resource acquisition and production scheduling calculation, and enables each screening event to be mutually independent, establishes an event-driven system architecture, namely, each screening event does not pay attention to the difference of each demand side, processes unified resource demand information and constraint resource data, generates a corresponding event, directly schedules another screening event corresponding to the event to execute after a scheduling service monitors the corresponding event until the whole production scheduling flow is finished, and achieves the aim of connecting the whole production scheduling flow in series by the event sent when the state of the screening event is updated. Compared with the prior art that a corresponding fixed serial production scheduling process is established for each demand party, the embodiment of the application can quickly establish a production scheduling implementation system compatible with all demand parties by refining the common problem of each demand party, and reduces the development quantity and development difficulty.
The embodiment of the application also provides a non-volatile readable storage medium, where one or more modules (programs) are stored, where the one or more modules are applied to a device, and the instructions (instructions) of each method step in the embodiment of the application may cause the device to execute.
Embodiments of the application provide one or more machine-readable media having instructions stored thereon that, when executed by one or more processors, cause an electronic device to perform a method as described in one or more of the above embodiments. In the embodiment of the application, the electronic equipment comprises various types of equipment such as terminal equipment, servers (clusters) and the like.
Embodiments of the present disclosure may be implemented as an apparatus for performing a desired configuration using any suitable hardware, firmware, software, or any combination thereof, which may include electronic devices such as terminal devices, servers (clusters), etc. Fig. 9 schematically illustrates an exemplary apparatus 700 that may be used to implement various embodiments described in embodiments of the application.
For one embodiment, fig. 9 illustrates an example apparatus 700 having one or more processors 702, a control module (chipset) 704 coupled to at least one of the processor(s) 702, a memory 706 coupled to the control module 704, a non-volatile memory (NVM)/storage 708 coupled to the control module 704, one or more input/output devices 710 coupled to the control module 704, and a network interface 712 coupled to the control module 704.
The processor 702 may include one or more single-core or multi-core processors, and the processor 702 may include any combination of general-purpose or special-purpose processors (e.g., graphics processors, application processors, baseband processors, etc.). In some embodiments, the apparatus 700 can be used as a terminal device, a server (cluster), or the like in the embodiments of the present application.
In some embodiments, the apparatus 700 can include one or more computer-readable media (e.g., memory 706 or NVM/storage 708) having instructions 714 and one or more processors 702 combined with the one or more computer-readable media configured to execute the instructions 714 to implement the modules to perform the actions described in this disclosure.
For one embodiment, the control module 704 may include any suitable interface controller to provide any suitable interface to at least one of the processor(s) 702 and/or any suitable device or component in communication with the control module 704.
The control module 704 may include a memory controller module to provide an interface to the memory 706. The memory controller modules may be hardware modules, software modules, and/or firmware modules.
Memory 706 may be used to load and store data and/or instructions 714 for device 700, for example. For one embodiment, memory 706 may comprise any suitable volatile memory, such as, for example, a suitable DRAM. In some embodiments, memory 706 may comprise double data rate type four synchronous dynamic random access memory (DDR 4 SDRAM).
For one embodiment, control module 704 may include one or more input/output controllers to provide interfaces to NVM/storage 708 and input/output device(s) 710.
For example, NVM/storage 708 may be used to store data and/or instructions 714. NVM/storage 708 may include any suitable nonvolatile memory (e.g., flash memory) and/or may include any suitable nonvolatile storage device(s) (e.g., one or more Hard Disk Drives (HDDs), one or more Compact Disc (CD) drives, and/or one or more Digital Versatile Disc (DVD) drives).
NVM/storage 708 may include a storage resource that is physically part of the device on which apparatus 700 is installed, or it may be accessible by the device, or it may not be necessary as part of the device. For example, NVM/storage 708 may be accessed over a network via input/output device(s) 710.
Input/output device(s) 710 may provide an interface for apparatus 700 to communicate with any other suitable device, input/output device 710 may include communication components, audio components, sensor components, and the like. Network interface 712 may provide an interface for device 700 to communicate over one or more networks, and device 700 may communicate wirelessly with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols, such as accessing a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, etc., or a combination thereof.
For one embodiment, at least one of the processor(s) 702 may be packaged together with logic of one or more controllers (e.g., memory controller modules) of the control module 704. For one embodiment, at least one of the processor(s) 702 may be packaged together with logic of one or more controllers of the control module 704 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 702 may be integrated on the same die with logic of one or more controllers of the control module 704. For one embodiment, at least one of the processor(s) 702 may be integrated on the same die with logic of one or more controllers of the control module 704 to form a system on chip (SoC).
In various embodiments, the apparatus 700 may be, but is not limited to being: a server, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.), among other terminal devices. In various embodiments, the apparatus 700 may have more or fewer components and/or different architectures. For example, in some embodiments, the apparatus 700 includes one or more cameras, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and a speaker.
The detection device can adopt a main control chip as a processor or a control module, sensor data, position information and the like are stored in a memory or an NVM/storage device, a sensor group can be used as an input/output device, and a communication interface can comprise a network interface.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the application.
Finally, it is further noted that relational terms such as first and second, and the like are 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. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal 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 terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or terminal device that comprises the element.
The above detailed description of the method, the device, the electronic equipment and the storage medium for determining the resource scheduling information provided by the application applies specific examples to illustrate the principles and the implementation of the application, and the description of the above examples is only used for helping to understand the method and the core idea of the application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (27)

1. A method for determining resource scheduling information, the method comprising:
Calling a required resource acquisition service to acquire at least one resource requirement information and sending out a bill creation event;
Under the condition that the bill creation event is monitored, calling a constraint resource acquisition service to acquire constraint resource data, and sending a data ready event; the resource demand information comprises an industry scene identifier; the constraint resource data comprises resource data and scene characteristic data corresponding to the industry scene identifier;
Under the condition that the data ready event is monitored, calling a scheduling determination service to determine a corresponding target scheduling rule according to the industry scene identifier; and determining general production scheduling information according to the standard rule, the resource data and the resource demand information under the condition that the target production scheduling rule comprises the standard rule and the industry scene rule; according to the industry scene rule, the resource data and the scene feature data, personalized scheduling information is determined; combining the general scheduling information and the personalized scheduling information into the resource scheduling information;
the demand resource acquisition service, the constraint resource acquisition service and the scheduling determination service are uniformly scheduled and processed by a scheduling service, and the scheduling service schedules the constraint resource acquisition service work when monitoring the receipt creation event and schedules the scheduling determination service work when monitoring the data ready event.
2. The method of claim 1, wherein the resource requirement information further comprises: the resource type of the required resource; the method further comprises the steps of:
and adding a metering unit in the position of the resource according to the resource type of the resource in the resource scheduling information.
3. The method according to claim 1, wherein the method further comprises:
and sending the resource scheduling information to a target equipment end according to the industry scene identification.
4. The method of claim 1, wherein before invoking the constrained resource retrieval service to retrieve constrained resource data and issuing a data ready event, further comprising:
under the condition that the bill creation event is monitored, a screening service is called to screen out the resource requirement information which does not accord with the preset screening rule, and a screening event is sent out;
And under the condition that the screening event is monitored, executing the steps of calling the constraint resource acquisition service to acquire constraint resource data and issuing a data ready event.
5. The method of claim 1, further comprising, prior to invoking a scheduling determination service to obtain resource scheduling information based on the at least one resource requirement information, the constraint resource data, and a preset scheduling rule:
storing the resource demand information and the constraint resource data in a preset storage area, and sending out a file created event;
and under the condition that the file created event is monitored, executing the step of calling a scheduling determination service to obtain resource scheduling information according to the at least one resource demand information, the constraint resource data and a preset scheduling rule.
6. The method of claim 5, wherein the method further comprises:
and in the process of obtaining the resource scheduling information, if the resource demand information and the constraint resource data are lost, extracting the lost resource demand information and the constraint resource data from the preset storage area.
7. The method of claim 1, further comprising, after obtaining the resource scheduling information:
Generating a calculation completion event;
The method further comprises the steps of:
Under the condition that the calculation completion event is monitored, a result storage service is called to store the resource scheduling information, and a result stored event is generated;
The method further comprises the steps of:
and under the condition that the event of which the result is stored is monitored, calling a result output service to output the resource scheduling information.
8. The method of claim 1, wherein the resource requirement information comprises: at least one item demand document of the electronic commerce platform, at least one item demand document of the vertical electronic commerce platform, an item demand document of a store in the electronic commerce platform and an item demand document of an off-line store are integrated.
9. The method as recited in claim 1, further comprising:
And sending the resource scheduling information to target equipment so that the target equipment can determine a production plan according to the resource scheduling information and execute corresponding production tasks.
10. A method for determining resource scheduling information, comprising:
Providing a plurality of scheduling services, wherein the scheduling services are respectively used for processing part of scheduling flows in the complete resource scheduling flows and sending out driving events belonging to corresponding services under the condition that the part of scheduling flows are processed;
after a scheduling service is executed, after the driving event is monitored, the scheduling service is called to execute a corresponding partial scheduling flow according to the scheduling service pointed by the driving event;
After the plurality of scheduling services complete the execution of the complete resource scheduling flow, resource scheduling information is obtained, and the resource scheduling information is used for providing a production plan for the resource demand information;
the scheduling service includes: a demand resource acquisition service, a constraint resource acquisition service, and a scheduling determination service; the driving event includes: a bill creation event belonging to the required resource acquisition service, and a data ready event belonging to the constraint resource acquisition service;
After the execution of the scheduling service, and after the monitoring of the driving event, according to the scheduling service pointed by the driving event, the scheduling service is called to execute the corresponding partial scheduling flow, which comprises the following steps:
After the demand resource acquisition service is called to acquire at least one resource demand information and a bill creation event is sent out, under the condition that the bill creation event is monitored, a constraint resource acquisition service is called to acquire constraint resource data, and a data ready event is sent out; the resource demand information comprises an industry scene identifier; the constraint resource data comprises resource data and scene characteristic data corresponding to the industry scene identifier;
Under the condition that the data ready event is monitored, calling a scheduling determination service to determine a corresponding target scheduling rule according to the industry scene identifier; and determining general production scheduling information according to the standard rule, the resource data and the resource demand information under the condition that the target production scheduling rule comprises the standard rule and the industry scene rule; according to the industry scene rule, the resource data and the scene feature data, personalized scheduling information is determined; combining the general scheduling information and the personalized scheduling information into the resource scheduling information;
the demand resource acquisition service, the constraint resource acquisition service and the scheduling determination service are uniformly scheduled and processed by a scheduling service, and the scheduling service schedules the constraint resource acquisition service work when monitoring the receipt creation event and schedules the scheduling determination service work when monitoring the data ready event.
11. The method of claim 10, wherein the scheduling service comprises: screening services; the driving event further includes: screening events belonging to the screening service;
before calling the constraint resource acquisition service to acquire constraint resource data and issuing a data ready event, the method further comprises the following steps:
under the condition that the bill creation event is monitored, a screening service is called to screen out the resource requirement information which does not accord with the preset screening rule, and a screening event is sent out;
And under the condition that the screening event is monitored, executing the steps of calling the constraint resource acquisition service to acquire constraint resource data and issuing a data ready event.
12. The method of claim 10 or 11, wherein the scheduling service further comprises: a result storage service and a result output service; the driving event further includes: a calculation completion event belonging to the scheduling determination service, a result stored event belonging to the result storage service;
After the resource scheduling information is obtained, the method further comprises the following steps:
Generating a calculation completion event;
The method further comprises the steps of:
Under the condition that the calculation completion event is monitored, a result storage service is called to store the resource scheduling information, and a result stored event is generated;
The method further comprises the steps of:
and under the condition that the event of which the result is stored is monitored, calling a result output service to output the resource scheduling information.
13. The method as recited in claim 10, further comprising:
And sending the resource scheduling information to target equipment so that the target equipment can determine a production plan according to the resource scheduling information and execute corresponding production tasks.
14. A resource scheduling information determining apparatus, characterized in that the apparatus comprises:
the resource demand information acquisition module is used for calling a demand resource acquisition service to acquire at least one resource demand information and sending out a bill creation event;
The resource acquisition module is used for calling a constraint resource acquisition service to acquire constraint resource data and sending a data ready event under the condition that the bill creation event is monitored; the resource demand information comprises an industry scene identifier; the constraint resource data comprises resource data and scene characteristic data corresponding to the industry scene identifier;
The scheduling module is used for calling scheduling determining service to determine a corresponding target scheduling rule according to the industry scene identifier under the condition that the data ready event is monitored; and determining general production scheduling information according to the standard rule, the resource data and the resource demand information under the condition that the target production scheduling rule comprises the standard rule and the industry scene rule; according to the industry scene rule, the resource data and the scene feature data, personalized scheduling information is determined; combining the general scheduling information and the personalized scheduling information into the resource scheduling information;
the demand resource acquisition service, the constraint resource acquisition service and the scheduling determination service are uniformly scheduled and processed by a scheduling service, and the scheduling service schedules the constraint resource acquisition service work when monitoring the receipt creation event and schedules the scheduling determination service work when monitoring the data ready event.
15. The apparatus of claim 14, wherein the resource requirement information further comprises: the resource type of the required resource;
The scheduling module further comprises:
And the adding sub-module is used for adding a measurement unit in the position of the resource according to the resource type of the resource in the resource scheduling information.
16. The apparatus of claim 14, wherein the scheduling module further comprises:
And the output sub-module is used for sending the resource scheduling information to a target equipment end according to the industry scene identification.
17. The apparatus of claim 14, wherein the apparatus further comprises:
the screening module is used for calling a screening service to screen out the resource requirement information which does not accord with the preset screening rule under the condition that the bill creation event is monitored, and sending out a screening event;
And the first execution module is used for executing the steps of calling the constraint resource acquisition service to acquire constraint resource data and issuing a data ready event under the condition that the screening event is monitored.
18. The apparatus of claim 14, wherein the apparatus further comprises:
The information storage module is used for storing the resource demand information and the constraint resource data in a preset storage area and sending out a file created event;
and the second execution module is used for executing the step of calling the scheduling determination service to obtain the resource scheduling information according to the at least one resource demand information, the constraint resource data and the preset scheduling rule under the condition that the file created event is monitored.
19. The apparatus of claim 18, wherein the apparatus further comprises:
and the extraction module is used for extracting the lost resource demand information and the constraint resource data from the preset storage area if the resource demand information and the constraint resource data are lost in the process of obtaining the resource scheduling information.
20. The apparatus of claim 14, wherein the apparatus further comprises:
The generation module is used for generating a calculation completion event;
the result storage module is used for calling a result storage service to store the resource scheduling information and generating a result stored event under the condition that the calculation completion event is monitored;
And the output module is used for calling a result output service to output the resource scheduling information under the condition that the event of which the result is stored is monitored.
21. The apparatus of claim 14, wherein the resource requirement information comprises: at least one item demand document of the electronic commerce platform, at least one item demand document of the vertical electronic commerce platform, an item demand document of a store in the electronic commerce platform and an item demand document of an off-line store are integrated.
22. The apparatus as recited in claim 14, further comprising:
and the resource scheduling information sending module is used for sending the resource scheduling information to target equipment so that the target equipment can determine a production plan according to the resource scheduling information and execute corresponding production tasks.
23. A resource scheduling information determining apparatus, characterized in that the apparatus comprises:
The system comprises a providing module, a processing module and a processing module, wherein the providing module is used for providing a plurality of scheduling services which are respectively used for processing part of the scheduling flows in the complete resource scheduling flows and sending out driving events belonging to corresponding services under the condition that the part of the scheduling flows are processed;
The scheduling module is used for calling the scheduling service to execute a corresponding part of scheduling flow according to the scheduling service pointed by the driving event after the driving event is monitored after the scheduling service is executed;
After the plurality of scheduling services complete the execution of the complete resource scheduling flow, resource scheduling information is obtained, and the resource scheduling information is used for providing a production plan for the resource demand information;
The scheduling service includes: a demand resource acquisition service, a constraint resource acquisition service, and a scheduling determination service; the driving event includes: a bill creation event belonging to the required resource acquisition service, and a data ready event belonging to the constraint resource acquisition service; the scheduling module comprises:
The first scheduling sub-module is used for calling the constraint resource acquisition service to acquire constraint resource data and sending out a data ready event when the bill creation event is monitored after calling the demand resource acquisition service to acquire at least one resource demand information and sending out the bill creation event; the resource demand information comprises an industry scene identifier; the constraint resource data comprises resource data and scene characteristic data corresponding to the industry scene identifier;
The second scheduling sub-module is used for scheduling the module, and calling a scheduling determination service to determine a corresponding target scheduling rule according to the industry scene identifier under the condition that the data ready event is monitored; and determining general production scheduling information according to the standard rule, the resource data and the resource demand information under the condition that the target production scheduling rule comprises the standard rule and the industry scene rule; according to the industry scene rule, the resource data and the scene feature data, personalized scheduling information is determined; combining the general scheduling information and the personalized scheduling information into the resource scheduling information;
the demand resource acquisition service, the constraint resource acquisition service and the scheduling determination service are uniformly scheduled and processed by a scheduling service, and the scheduling service schedules the constraint resource acquisition service work when monitoring the receipt creation event and schedules the scheduling determination service work when monitoring the data ready event.
24. The apparatus of claim 23, wherein the scheduling service comprises: screening services; the driving event further includes: screening events belonging to the screening service; the scheduling module further includes:
the third scheduling sub-module is used for calling a screening service to screen out the resource demand information which does not accord with the preset screening rule and sending out a screening event under the condition that the bill creation event is monitored;
And the fourth scheduling sub-module is used for executing the steps of calling the constraint resource acquisition service to acquire constraint resource data and sending out a data ready event under the condition that the screening event is monitored.
25. The apparatus of claim 23 or 24, wherein the scheduling service further comprises: a result storage service and a result output service; the driving event further includes: a calculation completion event belonging to the scheduling determination service, a result stored event belonging to the result storage service;
the scheduling module further includes:
The event generation sub-module is used for generating a calculation completion event;
a fifth scheduling sub-module, configured to invoke a result storage service to store the resource scheduling information and generate a result stored event when the calculation completion event is monitored;
And the sixth scheduling sub-module is used for calling a result output service to output the resource scheduling information under the condition that the event of which the result is stored is monitored.
26. An electronic device, comprising: a processor; and
A memory having executable code stored thereon that, when executed, causes the processor to perform the method of any of claims 1-13.
27. One or more machine readable media having executable code stored thereon that, when executed, causes a processor to perform the method of any of claims 1-13.
CN202010851359.5A 2020-08-21 2020-08-21 Resource scheduling information determining method and device Active CN113298336B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010851359.5A CN113298336B (en) 2020-08-21 2020-08-21 Resource scheduling information determining method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010851359.5A CN113298336B (en) 2020-08-21 2020-08-21 Resource scheduling information determining method and device

Publications (2)

Publication Number Publication Date
CN113298336A CN113298336A (en) 2021-08-24
CN113298336B true CN113298336B (en) 2024-09-13

Family

ID=77318323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010851359.5A Active CN113298336B (en) 2020-08-21 2020-08-21 Resource scheduling information determining method and device

Country Status (1)

Country Link
CN (1) CN113298336B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023184320A1 (en) * 2022-03-31 2023-10-05 京东方科技集团股份有限公司 Production scheduling method and system, electronic device, and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108053047A (en) * 2017-10-26 2018-05-18 北京航天智造科技发展有限公司 Cloud resources of production scheduling methods, devices and systems

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1468390A4 (en) * 2001-12-27 2005-10-26 Manugistics Inc System and method for order group planning
US7707055B2 (en) * 2003-09-12 2010-04-27 Altisource Solutions S.A.R.L. Method and system for vendor management
CN101950388A (en) * 2010-09-15 2011-01-19 华南理工大学 Comprehensive optimization method and system for order scheduling of pulping and paper making enterprises
CN102542395B (en) * 2010-12-31 2016-03-30 北京师范大学 A kind of emergency materials dispatching system and computing method
CN105589658B (en) * 2014-11-13 2020-11-03 菜鸟智能物流控股有限公司 Resource processing method, system and server, and warehouse management method and device
CN104537503B (en) * 2015-01-15 2018-03-02 深圳市微优微科技有限公司 Data processing method and system
CN104732346A (en) * 2015-03-23 2015-06-24 浪潮通用软件有限公司 Unified limited capacity scheduling method based on metadata
CN105160439B (en) * 2015-10-08 2019-03-01 桥弘软件开发(上海)有限公司 A kind of production scheduling method and automatic arrangement program system
CN106022601B (en) * 2016-05-18 2020-08-25 聊城大学 Multi-target resource allocation method
CN105976122B (en) * 2016-05-18 2020-08-11 聊城大学 A multi-objective resource allocation system
CN109214630A (en) * 2017-07-03 2019-01-15 西门子(中国)有限公司 Mid-term production plan method, apparatus and system
CN108665092B (en) * 2018-04-17 2020-12-15 东莞理工学院 A whole-process scheduling and optimization method based on hybrid firefly algorithm
CN109492873A (en) * 2018-10-15 2019-03-19 宁波吉利汽车研究开发有限公司 The day scheduled production method, apparatus and intelligent terminal of vehicle production line
CN109583759A (en) * 2018-11-30 2019-04-05 深圳还是威健康科技有限公司 Resource regulating method and relevant device in a kind of product development system
CN109886591A (en) * 2019-02-28 2019-06-14 重庆大学 Event priority emergency command and dispatch method based on big data analysis
CN110009202A (en) * 2019-03-15 2019-07-12 安徽省司尔特肥业股份有限公司 A kind of intelligent scheduled production program system and method for fertilizer factory
CN111160706A (en) * 2019-07-16 2020-05-15 华为技术有限公司 Method, device and system for simulating supply chain risk response
CN110705818A (en) * 2019-08-15 2020-01-17 珠海格力电器股份有限公司 Order scheduling method and device and computer equipment
CN110738413A (en) * 2019-10-15 2020-01-31 中国航空制造技术研究院 Multi-constraint scheduling calculation method and device for automatic aviation part machining production line
CN111553699B (en) * 2020-05-06 2023-05-16 支付宝(杭州)信息技术有限公司 Resource scheduling method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108053047A (en) * 2017-10-26 2018-05-18 北京航天智造科技发展有限公司 Cloud resources of production scheduling methods, devices and systems

Also Published As

Publication number Publication date
CN113298336A (en) 2021-08-24

Similar Documents

Publication Publication Date Title
CN109993484B (en) Data processing method and system, medium and computing device
CN108694637B (en) Order processing method, device, server and storage medium
EP2453357A2 (en) Event-based orchestration in distributed order orchestration system
US10679161B2 (en) Systems and methods for replenishment in a freight tethering environment
CN106952072A (en) A kind of method and system of data processing
KR20200104037A (en) Goods Receipt and Issue Management System using binary management user interface
CN109961306B (en) Method and device for distributing inventory of articles
CN108694599A (en) Determine method, apparatus, electronic equipment and the storage medium of commodity price
KR20190004043A (en) Integrated management method and system of online shopping mall based on API
CN112001664B (en) Method, device, equipment and storage medium for generating return tasks
Arikan et al. Risk pooling via unidirectional inventory transshipments in a decentralized supply chain
CN117273603A (en) Warehouse inventory resource management method, device, equipment and storage medium
CN111784223B (en) Cargo allocation data processing method, device and storage medium
CN113298336B (en) Resource scheduling information determining method and device
Jha et al. A coordinated two-phase approach for operational decisions with vehicle routing in a single-vendor multi-buyer system
CN113610460A (en) Article packaging method, apparatus, electronic device and computer readable medium
CN114897457B (en) Order-based warehouse information processing method, equipment and readable medium
CN107341632A (en) A kind of data capture method and device based on user's request
CN111105176B (en) Data processing method, device, equipment and storage medium
US20230112290A1 (en) System and method for facilitating a transporting process
CN116151718A (en) Overseas warehouse management system, method, equipment and storage medium
CN114358625A (en) Method and device for distributing object streams, storage medium and electronic equipment
CN114580994A (en) Automatic calculation method and system for logistics distribution freight
CN114298788A (en) OMS order management system
CN114140041A (en) Logistics data processing method, device, electronic device 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20240808

Address after: No. 699, Wangshang Road, Binjiang District, Hangzhou, Zhejiang

Applicant after: Alibaba (China) Network Technology Co.,Ltd.

Country or region after: China

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: ALIBABA GROUP HOLDING Ltd.

Country or region before: Cayman Islands

GR01 Patent grant
GR01 Patent grant