Service scheduling method and device, and storage medium
A business scheduling and business entity technology, applied in the computer field, can solve problems such as resource waste, achieve the effects of avoiding resource waste, realizing function reuse, and reducing implementation complexity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] This embodiment provides a service scheduling method executed on the scheduling system side. Such as figure 1 Shown is a flow chart of the service scheduling method executed on the scheduling system side according to the first embodiment of the present invention.
[0028] Step S110, when starting the system, correspondingly create scheduling tasks for registered JOBs.
[0029] JOB refers to a working entity, also known as a finite state machine. JOB is obtained by encapsulating the business logic of the business entity according to the JOB template.
[0030] The scheduling task is used to dispatch the message received by the scheduling system to the receiver JOB of the message.
[0031] Specifically, since different business entities are responsible for different types of businesses, in order to distinguish different types of JOBs (business entities), and to accurately find a JOB in the scheduling system, the communication information of the JOB is unique. The commu...
Embodiment 2
[0067] This embodiment provides a service scheduling method executed on the service entity side. Such as Figure 4 Shown is a flow chart of the service scheduling method executed on the service entity side according to the second embodiment of the present invention.
[0068] Step S410, acquiring a JOB template.
[0069] The JOB template can be obtained from a preset JOB template server or a storage device of the scheduling system.
[0070] The JOB template can be used as a reference by the business entity to implement the business logic of the business entity.
[0071] A JOB template is essentially a function. The entry parameters include but are not limited to: JOB status, message number, message body, and message byte order.
[0072] The code representation of a JOB template is given below:
[0073]
[0074] Among them, JobState describes the state of the JOB, MsgId describes the message number, MsgData describes the message body, and ByteOrder describes the byte orde...
Embodiment 3
[0098] This embodiment provides a service scheduling device. Such as Figure 6 Shown is a structural diagram of a service scheduling device according to a third embodiment of the present invention.
[0099] In this embodiment, the service-based scheduling device includes, but is not limited to: a processor 610 and a memory 620 . The processor 610 is configured to execute the service scheduling program stored in the memory 620, so as to realize the above-mentioned service scheduling method executed on the scheduling system side, or realize the above-mentioned service scheduling method executed on the service entity side.
[0100] Specifically, the processor 610 is used to execute the business scheduling program stored in the memory 620, so as to realize the following steps of the business scheduling method executed on the scheduling system side: when starting the system, correspondingly create Scheduling tasks; wherein, the JOB is obtained by the business entity encapsulating...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com