CN109165106A - Method for processing business, device, equipment, storage medium and process flow operation system - Google Patents

Method for processing business, device, equipment, storage medium and process flow operation system Download PDF

Info

Publication number
CN109165106A
CN109165106A CN201810974105.5A CN201810974105A CN109165106A CN 109165106 A CN109165106 A CN 109165106A CN 201810974105 A CN201810974105 A CN 201810974105A CN 109165106 A CN109165106 A CN 109165106A
Authority
CN
China
Prior art keywords
business
operation system
service
flow
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.)
Pending
Application number
CN201810974105.5A
Other languages
Chinese (zh)
Inventor
肖潇
谢济帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Lexin Software Technology Co Ltd
Original Assignee
Shenzhen Lexin Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Lexin Software Technology Co Ltd filed Critical Shenzhen Lexin Software Technology Co Ltd
Priority to CN201810974105.5A priority Critical patent/CN109165106A/en
Publication of CN109165106A publication Critical patent/CN109165106A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • G06F9/548Object oriented; Remote method invocation [RMI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Hardware Redundancy (AREA)

Abstract

The embodiment of the invention discloses a kind of method for processing business, device, equipment, storage medium and process flow operation systems.The described method includes: subscribing to the information of the setting content in message queue, wherein the setting content is specified by associated operation system, and the message in the message queue is updated by flow system;Business service interface is called according to the information of acquisition, indicates that the operation system executes matched service role;Wherein, the flow system is used to manage the business service that each operation system provides, and the operation system is for providing business service.Data final consistency may be implemented in the embodiment of the present invention.

Description

Method for processing business, device, equipment, storage medium and process flow operation system
Technical field
The present embodiments relate to process flow operation technology more particularly to a kind of method for processing business, device, equipment, storages Medium and process flow operation system.
Background technique
With the popularity of the internet, cooperative work increases considerably between each department or each company, a usual process Affairs are needed by multiple operation system joint offer services.
Meanwhile the service that each operation system provides may be by the exploitation of multiple and different departments, be deployed in different server On remote service, in order to realize the consistency of data, it will usually the state of each service call is recorded in calling system, and It is retried in such a way that database polling status compensates.
But this method can have to the system for providing each service it is invasive, moreover, the system for providing each service may be each other Coupling, without significantly dividing the work (context), complexity is called, and often pull one hair and move the whole body, cause problem diagnosis tired It is difficult to and performance boost is difficult.At this point, call result can only be if a system calls three different services simultaneously Success simultaneously fails simultaneously.In addition, sweeping the compensation way low efficiency of table using database, while influencing the property of calling system Energy.
Summary of the invention
The embodiment of the invention provides a kind of method for processing business, device, equipment, storage medium and process flow operation system, Data final consistency may be implemented.
In a first aspect, the embodiment of the invention provides a kind of method for processing business, comprising:
Subscribe to the information of the setting content in message queue, wherein the setting content is specified by associated operation system, Message in the message queue is updated by flow system;
Business service interface is called according to the information of acquisition, indicates that the operation system executes matched service role;
Wherein, the flow system is used to manage the business service that each operation system provides, and the operation system is used In offer business service.
Second aspect, the embodiment of the invention also provides a kind of business processing devices, comprising:
Subscribing module, for subscribing to the information of the setting content in message queue, wherein the setting content is by associated Operation system is specified, and the message in the message queue is updated by flow system;
Business service interface calling module indicates the business for calling business service interface according to the information of acquisition System executes matched service role;Wherein, the flow system is for managing each operation system, and the operation system is for mentioning For business service.
The third aspect the embodiment of the invention also provides a kind of equipment, including memory, processor and is stored in memory Processor described in the upper and computer program that can run on a processor is realized in such as embodiment of the present invention when executing described program Any method for processing business.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes the method for processing business as described in any in the embodiment of the present invention when program is executed by processor.
5th aspect, the embodiment of the invention also provides a kind of process flow operation systems, comprising: flow system and at least one A operation system;
Message queue module built in the flow system, for monitoring and management business system;
Business processing device built in the operation system, for being taken according to the received information providing service of business processing device Business;Wherein, the operation system is equipment described in the third aspect, and the business processing device, which executes in the embodiment of the present invention, appoints Method for processing business described in one.
The embodiment of the present invention is directly interacted by the way that business processing device is arranged in operation system with flow system, is kept away The case where having exempted from flow system to obtain the information such as the state of operation system intrusion operation system, solves and is in the prior art The problem of service that management business system provides causes the intrusion to operation system improves the safety of calling operation system Property, while by subscribing to the message in message queue, to call corresponding operation system, realization makes message system and operation system Between it is decoupling, to realize data final consistency, and since message queue is asynchronous message, obtained without waiting The i.e. executable task of other systems information is taken, the coupling between the business service that each operation system provides is reduced, solves existing Coupling between each business service in technology seriously causes to pull one hair and move the whole body and problem diagnosis and performance boost is difficult asks Topic, reduces the calling difficulty of each operation system, checks mistake convenient for operation system.
Detailed description of the invention
Fig. 1 is a kind of flow chart for method for processing business that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of method for processing business provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of structural schematic diagram for business processing device that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural schematic diagram for equipment that the embodiment of the present invention four provides;
Fig. 5 is a kind of structural schematic diagram of the applicable process flow operation system of the embodiment of the present invention six;
Fig. 6 is a kind of schematic diagram for flow instance that the embodiment of the present invention six provides;
Fig. 7 is a kind of schematic diagram at the interface for monitoring flow instance that the embodiment of the present invention six provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart, Many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be pacified again Row.The processing can be terminated when its operations are completed, it is also possible to have the additional step being not included in attached drawing.Institute Stating processing can correspond to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is a kind of flow chart for method for processing business that the embodiment of the present invention one provides, and the present embodiment is applicable to adjust With multiple operation systems provide business service situation, this method can by business processing device provided in an embodiment of the present invention Lai It executes, the mode which can be used software and/or hardware is realized, and can generally be integrated in the terminal device where operation system In, for example, PC machine etc..As shown in Figure 1, the method for the present embodiment specifically includes:
S110 subscribes to the information of the setting content in message queue, wherein the setting content is by associated operation system Specified, the message in the message queue is updated by flow system.
Specifically, operation system, which can refer to, provides the system of business service;Flow system can refer to flow engine, use In arranging and arranging each operation system to provide the order or sequence of service, more specifically, configuration data can be added into caching It carries, while the flow instance for executing end in caching can also be synchronized to persistent layer (database or file), and caching In executed by interface call flow, wherein a process, which may include multiple operation systems, provides business according to setting order Service can also be only that an operation system provides business service;Message queue (Message Queuing, MQ) is a kind of Middleware Technology can provide news release subscription, message traces are looked into for establishing connection for operation system and flow system It askes, a series of periodically message cloud services such as (delay) message, resource statistics, monitoring alarm.
In order to guarantee the efficient execution of operation flow in operation system, related service system can be controlled by flow engine The co-ordination of system, so that the information in operation flow stores, permission, examination & approval, message informing etc. is according to certain process rule Circulation, and the definition of procedural model, the parsing of flow definition information loading, the storage of data information and inquiry, process step are provided Rapid jumps the functions such as control, realizes all or part of automation of operation flow.In the present embodiment, using flow system (flow engine) configures the calling logic (information such as time, order, data including calling) of each operation system, for example, business System A needs the operation result of operation system B as input.To, flow system can with the message in update message queue, with Informing business system starts the information such as the time executed.
But it when using flow system, needs the information such as the state to each operation system, data to inquire, can lead at this time It causes flow system to cause to invade to operation system, it is thus possible to which business processing device is arranged in each operation system, is used for and stream Journey system docking, avoids flow system from directly invading operation system.It is understood that business processing device can be by Think that being used to operation system provides process agent functionality.By business processing device, operation system may be implemented actively to obtain The information in message queue is taken, and provides service according to message content.
In the present embodiment, the business processing device of operation system is related to operation system in message queue by subscribing to The message of connection judges whether to need to call the operation system to provide matched service.The message of setting content can refer to The corresponding matched message of operation system.
S120 calls business service interface according to the information of acquisition, indicates that the operation system executes matched service and appoints Business;Wherein, the flow system is used to manage the business service that each operation system provides, and the operation system is for providing Business service.
Specifically, the message in message queue may include message out of service, restore service message, restart service message And it is directed toward the message of service role.Wherein, business service interface can be according to the respectively arranged correspondence of the corresponding content of message Interface, for calling operation system to execute different tasks.When the information according to acquisition determines that the information is that can be directed toward pair When the service role that the operation system answered can be performed, corresponding operation system interface is called, so that operation system provides business clothes Business.Wherein, message out of service can be used for stopping calling operation system interface and stopping subscribing to being directed toward disappearing for service role Breath until receiving the recovery service message of subscription, then subscribes to the message for being directed toward service role again;Restarting service message can be with For re-calling operation system interface, again indicate that the operation system provides service.Flow system can be by disappearing as a result, Above-mentioned message is updated in breath queue, to realize the business service for carrying out the offer of management business system according to preset call sequence The operation such as call, suspend, restarting, restoring.
The corresponding operation system interface of the operation system is called due to the message needed by subscribing service system, it is this Asynchronous message can make each operation system only according to the i.e. executable service role of the message in message queue, obtain without waiting Other systems information (other operation systems) is taken, the coupling between an operation system is thereby reduced, thus by distributed industry Business is split as multiple local services, realizes the final consistent of data.
The embodiment of the present invention is directly interacted by the way that business processing device is arranged in operation system with flow system, is kept away The case where having exempted from flow system to obtain the information such as the state of operation system intrusion operation system, solves and is in the prior art The problem of service that management business system provides causes the intrusion to operation system improves the safety of calling operation system Property, while by subscribing to the message in message queue, to call corresponding operation system, realization makes message system and operation system Between it is decoupling, to realize data final consistency, and since message queue is asynchronous message, obtained without waiting The i.e. executable task of other systems information is taken, the coupling between the business service that each operation system provides is reduced, solves existing Coupling between each business service in technology seriously causes to pull one hair and move the whole body and problem diagnosis and performance boost is difficult asks Topic, reduces the calling difficulty of each operation system, checks mistake convenient for operation system.
Embodiment two
Fig. 2 is a kind of flow chart of method for processing business provided by Embodiment 2 of the present invention, and the present embodiment is with above-mentioned implementation It is optimized based on example, in the present embodiment, business service interface is being called according to the information of acquisition, is indicating the business system System executes after matched service role, further includes: obtains the information of the operation system feedback, and call flow service connects Mouthful, indicate that the flow system executes status change task and update message queue.
Correspondingly, the method for the present embodiment may include:
S210 subscribes to the information of the setting content in message queue, wherein the setting content is by associated operation system Specified, the message in the message queue is updated by flow system.
S220 calls business service interface according to the information of acquisition, indicates that the operation system executes matched service and appoints Business;Wherein, the flow system is used to manage the business service that each operation system provides, and the operation system is for providing Business service.
Message queue, operation system and flow system in the present embodiment are referred to the description of above-described embodiment.
S230 obtains the information of the operation system feedback, and call flow service interface, indicates that the flow system is held Row status change task and update message queue.
In the present embodiment, the information of feedback can refer to that operation system executes the operation result of service role, Yi Jiyun The information such as row state, for providing data for flow system monitoring business system.Optionally, the packet of operation system feedback Include: operation system executes the business datum that service role determines and operation system executes the task status of service role;Wherein, Task status is used to provide service status data for flow system monitoring business system.
Specifically, notifying flow system, the service role of corresponding operation system to hold by readjustment flow services interface Row finishes (service role failure, which is also considered as, to be finished), and the information of feedback is sent to the flow system, so that process system System changes the corresponding state of the operation system, while update message queue, such as removes the corresponding direction service of the operation system Mission bit stream etc..
Wherein, the operation result for including in the information of feedback can be used as other operation systems and execute the defeated of service role Enter, it is optionally, described to call business service interface specifically to can wrap according to the information of acquisition in a specific application scenarios It includes: according to the information, obtaining the business datum with the information matches that the flow system is sent, the business data packet Include the data of each operation system feedback;According to the business datum and the information, business service interface is called.
Specifically, business datum can refer to the input data that operation system is needed when executing service role, Ke Yi The service role of other operation systems is obtained from flow system after feeding back to flow system after being finished.It is possible thereby to root According to the message in message queue, judge whether the operation system needs the operation result of other operation systems when called, such as Fruit is directly to be communicated with flow system, obtains required business datum, and according to the business datum of acquisition and disappear Breath calls business service interface, provides business service.
On the other hand, to the task status of the service role of flow system feedback traffic system, so that flow system can be with The operating status for monitoring each operation system checks abnormal conditions, and each operation system of management in time.
It should be noted that according to the corresponding operation system of message call and according to the task status update message of feedback Queue is realized by asynchronous message queue, so as to realize calling interface idempotent and state idempotent, namely using identical Parameter repeats same resource to call the result of some interface identical as primary result is called, to guarantee final the one of data Cause property.
The embodiment of the present invention is by timely feedbacking the task status of operation system to flow system, so that flow system is supervised The state of each operation system is controlled, consequently facilitating positioning is abnormal the most operation system of situation, abnormal conditions is accurately checked, mentions The stability of high business processing.
Embodiment three
Fig. 3 is a kind of structural schematic diagram for business processing device that the embodiment of the present invention three provides.As shown in figure 3, described Device includes:
Subscribing module 310, for subscribing to the information of the setting content in message queue, wherein the setting content is by closing The operation system of connection is specified, and the message in the message queue is updated by flow system;
Business service interface calling module 320 indicates the industry for calling business service interface according to the information of acquisition Business system executes matched service role;Wherein, for managing each operation system, the operation system is used for the flow system Business service is provided.
The embodiment of the present invention is directly interacted by the way that business processing device is arranged in operation system with flow system, is kept away The case where having exempted from flow system to obtain the information such as the state of operation system intrusion operation system, solves and is in the prior art The problem of service that management business system provides causes the intrusion to operation system improves the safety of calling operation system Property, while by subscribing to the message in message queue, to call corresponding operation system, realization makes message system and operation system Between it is decoupling, to realize data final consistency, and since message queue is asynchronous message, obtained without waiting The i.e. executable task of other systems information is taken, the coupling between the business service that each operation system provides is reduced, solves existing Coupling between each business service in technology seriously causes to pull one hair and move the whole body and problem diagnosis and performance boost is difficult asks Topic, reduces the calling difficulty of each operation system, checks mistake convenient for operation system.
Further, described device further include: flow services interface calling module 330, for obtaining the operation system The information of feedback, and call flow service interface indicate that the flow system executes status change task and update message team Column.
Further, the business service interface calling module 320 is specifically used for: according to the information, obtaining the stream The business datum with the information matches that journey system is sent, the business datum include the number of each operation system feedback According to;According to the business datum and the information, business service interface is called.
Further, the information of the operation system feedback includes: that the operation system executes the industry that service role determines Data of being engaged in and the operation system execute the task status of service role;Wherein, the task status is used to be the process Operation system described in system monitoring provides service status data.
Further, the message in the message queue include message out of service, restore service message, the service of restarting disappears Breath and the message for being directed toward service role.
Method for processing business provided by any embodiment of the invention can be performed in above-mentioned business processing device, has execution The corresponding functional module of method for processing business and beneficial effect.
Example IV
Fig. 4 is a kind of structural schematic diagram for equipment that the embodiment of the present invention three provides.Fig. 4, which is shown, to be suitable for being used to realizing this The block diagram of the example devices 401 of invention embodiment.The equipment 401 that Fig. 4 is shown is only an example, should not be to the present invention The function and use scope of embodiment bring any restrictions.
As shown in figure 4, equipment 401 is showed in the form of universal computing device.The component of equipment 401 may include but unlimited In one or more processor or processing unit 402, system storage 403, different system components (including system is connected Memory 403 and processing unit 402) bus 404.
Bus 404 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (Industry Standard Architecture, ISA) bus, microchannel architecture (Micro Channel Architecture, MCA) bus, enhancing Type isa bus, Video Electronics Standards Association (Video Electronics Standards Association, VESA) local Bus and peripheral component interconnection (Peripheral Component Interconnect, PCI) bus.
Equipment 401 typically comprises a variety of computer system readable media.These media can be it is any can be by equipment The usable medium of 401 access, including volatile and non-volatile media, moveable and immovable medium.
System storage 403 may include the computer system readable media of form of volatile memory, such as deposit at random Access to memory (Random Access Memory, RAM) 405 and/or cache memory 406.Equipment 401 can be further Including other removable/nonremovable, volatile/non-volatile computer system storage mediums.Only as an example, storage system System 407 can be used for reading and writing immovable, non-volatile magnetic media (Fig. 4 do not show, commonly referred to as " hard disk drive ").To the greatest extent It is not shown in pipe Fig. 4, the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided, with And to removable anonvolatile optical disk (such as compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), digital video disk (Digital Video Disc-Read Only Memory, DVD-ROM) or other optical mediums) The CD drive of read-write.In these cases, each driver can be by one or more data media interfaces and total Line 404 is connected.System storage 403 may include at least one program product, which has one group (for example, at least one It is a) program module, these program modules are configured to perform the function of various embodiments of the present invention.
Program/utility 409 with one group of (at least one) program module 408, can store and deposit in such as system In reservoir 403, such program module 408 include --- but being not limited to --- operating system, one or more application program, It may include the reality of network environment in other program modules and program data, each of these examples or certain combination It is existing.Program module 408 usually executes function and/or method in embodiment described in the invention.
Equipment 401 can also be communicated with one or more external equipments 410 (such as keyboard, sensing equipment etc.), can also be with One or more enables a user to the equipment interacted with the equipment 401 communication, and/or with enable the equipment 401 and one Or a number of other any equipment (such as network interface card, modem etc.) communications for calculating equipment and being communicated.This communication can To be carried out by input/output (Input/Output, I/O) interface 412.Also, equipment 401 can also pass through network adapter 413 with one or more network (such as local area network (Local Area Network, LAN), wide area network (Wide Area Network, WAN) and/or public network, such as internet) communication.As shown, network adapter 413 by bus 404 with Other modules of equipment 401 communicate.It should be understood that although not shown in fig 4, can with bonding apparatus 401 using other hardware and/ Or software module, including but not limited to: microcode, device driver, redundant processing unit, external disk drive array, disk Array (Redundant Arrays of Inexpensive Disks, RAID) system, tape drive and data backup is deposited Storage system etc..
Processing unit 402 by the program that is stored in system storage 303 of operation, thereby executing various function application with And data processing, such as realize a kind of method for processing business provided by the embodiment of the present invention:
Subscribe to the information of the setting content in message queue, wherein the setting content is specified by associated operation system, Message in the message queue is updated by flow system;Business service interface is called according to the information of acquisition, indicates the industry Business system executes matched service role;Wherein, the flow system is used to manage the business clothes that each operation system provides Business, the operation system is for providing business service.
Embodiment five
The embodiment of the present invention five provides a kind of computer readable storage medium, is stored thereon with computer program, the journey The method for processing business provided such as all inventive embodiments of the application is provided when sequence is executed by processor:
That is, realization when the program is executed by processor: subscribing to the information of the setting content in message queue, wherein institute It states setting content to be specified by associated operation system, the message in the message queue is updated by flow system;According to acquisition Information calls business service interface, indicates that the operation system executes matched service role;Wherein, the flow system is used for The business service that each operation system provides is managed, the operation system is for providing business service.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool There are electrical connection, the portable computer diskette, hard disk, RAM, read-only memory (Read Only of one or more conducting wires Memory, ROM), erasable programmable read only memory (Erasable Programmable Read Only Memory, EPROM), flash memory, optical fiber, portable CD-ROM, light storage device, magnetic memory device or above-mentioned any appropriate combination. In this document, it includes or the tangible medium of storage program that the program can be by that computer readable storage medium, which can be any, Instruction execution system, device or device use or in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium other than computer readable storage medium, which can send, propagate or Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In --- wireless, electric wire, optical cable, radio frequency (RadioFrequency, RF) etc. or above-mentioned any appropriate group It closes.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.? It is related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN or WAN --- even It is connected to subscriber computer, or, it may be connected to outer computer (such as pass through internet using ISP Connection).
Embodiment six
The embodiment of the present invention six provides a kind of process flow operation system, as shown in figure 5, specifically including: 610 He of flow system At least one operation system 620, in which:
Message queue module 611 built in the flow system 610, for monitoring and management business system;
Business processing device 621 built in the operation system 620, for according to the received information of business processing device 621 Business service is provided;Wherein, the operation system 620 is the equipment as described in above-described embodiment, the business processing device 621 Execute the method for processing business as described in above-described embodiment.
Specifically, flow system 610 can be server cluster, the scale of cluster, framework can be according to operation systems Performance needs are configured, and the embodiment of the present invention is not specifically limited.Flow system 610 can pass through message queue module 611 The message table that middle storage message is constituted, carries out retrying operation according to the delay in message queue, monitor in each operation system 620 Task status, and artificial compensation is carried out (for example, at operation system business to each operation system 620 according to above- mentioned information data When reason failure, other operation systems can be manually set service is provided reach identical effect) etc. operate, to realize data Consistency.
In the present embodiment, flow system 610 can define task status by graphic interface and in status change Status change event message is sent afterwards.At this point, status change event message can be sent in message queue, it to be used for update message Message in queue.Message in message queue executes subscription operation by the business processing device 621 in operation system 620, and 620 unaware of operation system, business processing device 621 completes corresponding business processing according to the message of subscription, such as calls Operation system interface execute service role execute, retry operation etc. and call flow system interface execute data report operation Deng.Business service interface is called in business processing device 621, triggering operation system 620 completes corresponding business operation, and adjusts back 610 interface of flow system notifies flow system 610, and the subsequent processing for completing service role confirmation and triggering state transition (updates Message etc. in message queue).
In a specific example, three flow instances can be set, as shown in fig. 6, first pass example can be It calls operation system A to provide service A, when the success of operation system A business processing, calls operation system B to provide service B, work as industry When the success of business system B business processing, calls operation system C to provide service C, terminate.Second flow instance can be calling industry Business system A provides service A, when the success of operation system A business processing, calls operation system B to provide service B, as operation system B When business processing fails, calls operation system C to provide service C, terminate.Third flow instance, which can be, calls operation system A Service A is provided, when the failure of operation system A business processing, calls operation system D to provide service D, at operation system B business When managing successfully, terminate.Wherein, task status is fed back to flow system 610 by each operation system, is touched by flow system 610 The processing of status change event is sent out, for example, flow system 610 can be in message queue when the success of operation system A business processing The successful message of middle offer operation system A business processing, the business processing device 621 in operation system B subscribes to this and disappears at this time After breath, triggering operation system B provides service B.
It is understood that flow system 610 can monitor the task status of each operation system in whole flow process and carry out Pause restores, terminates and restarts operation, can position abnormal at most service, realization distributed environment in time in monitoring The processing of middle data consistency.
In the specific example, flow system 610 can be monitored by visible process and be currently running and terminate Example counts generation and end per minute by line chart as shown in fig. 7, specifically class discrimination can be carried out by cake chart Flow instance etc..
During business processing, the message in process in the state and message queue of each operation system is transmitted, Each operation system can realize service provision function by business processing device, need to be only arranged by business processing device and be provided The message content subscribed to required for service, so as to realize the general procedure of a Long routine, without being directed to each business System is individually developed, and reduces data mining cost, and reduce O&M difficulty.Meanwhile each operation system it is available from The information that oneself needs can make each operation system have the specific division of labor without relying on other systems, while reduce each operation system Complexity, reduce the interference between each operation system.
The flow system and at least one built-in business processing device that the embodiment of the present invention passes through built-in message queue module Operation system, avoid flow system from directly interacting with operation system, improve call operation system safety, meanwhile, business System provides service by subscribing to the message in message queue, and realization makes decoupling between message system and operation system; The task status for the corresponding operation system that flow system is provided by acquisition business processing device, promptly and accurately positions exception Operation system improves the efficiency of investigation mistake, thus it is subsequent convenient for carrying out artificial compensation according to abnormal operation system, realize number According to final consistency.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of method for processing business characterized by comprising
Subscribe to the information of the setting content in message queue, wherein the setting content is specified by associated operation system, described Message in message queue is updated by flow system;
Business service interface is called according to the information of acquisition, indicates that the operation system executes matched service role;
Wherein, the flow system is used to manage the business service that each operation system provides, and the operation system is for mentioning For business service.
2. the method according to claim 1, wherein referring to calling business service interface according to the information of acquisition After showing that the operation system executes matched service role, further includes:
The information of the operation system feedback, and call flow service interface are obtained, indicates that the flow system executes state and becomes Move task and update message queue.
3. according to the method described in claim 2, it is characterized in that, described call business service interface packet according to the information of acquisition It includes:
According to the information, the business datum with the information matches that the flow system is sent, the business datum are obtained Data including each operation system feedback;
According to the business datum and the information, business service interface is called.
4. according to the method described in claim 2, it is characterized in that, the information of operation system feedback includes: the business System executes the business datum that service role determines and the operation system executes the task status of service role;Wherein, institute It states task status and provides service status data for monitoring the operation system for the flow system.
5. the method according to claim 1, wherein the message in the message queue includes out of service disappear The message cease, restore service message, restarting service message and be directed toward service role.
6. a kind of business processing device characterized by comprising
Subscribing module, for subscribing to the information of the setting content in message queue, wherein the setting content is by associated business System is specified, and the message in the message queue is updated by flow system;
Business service interface calling module indicates the operation system for calling business service interface according to the information of acquisition Execute matched service role;Wherein, the flow system is for managing each operation system, and the operation system is for providing industry Business service.
7. device according to claim 6, which is characterized in that described device further include:
Flow services interface calling module refers to for obtaining the information of the operation system feedback, and call flow service interface Show that the flow system executes status change task and update message queue.
8. a kind of equipment including memory, processor and stores the computer journey that can be run on a memory and on a processor Sequence, which is characterized in that the processor realizes such as business processing side as claimed in any one of claims 1 to 5 when executing described program Method.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor Such as method for processing business as claimed in any one of claims 1 to 5 is realized when row.
10. a kind of process flow operation system characterized by comprising flow system and at least one operation system;
Message queue module built in the flow system, for monitoring and management business system;
Business processing device built in the operation system, for according to the received information providing service service of business processing device; Wherein, the operation system is equipment as claimed in claim 8, and the business processing device is executed such as claim 1-5 institute The method for processing business stated.
CN201810974105.5A 2018-08-24 2018-08-24 Method for processing business, device, equipment, storage medium and process flow operation system Pending CN109165106A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810974105.5A CN109165106A (en) 2018-08-24 2018-08-24 Method for processing business, device, equipment, storage medium and process flow operation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810974105.5A CN109165106A (en) 2018-08-24 2018-08-24 Method for processing business, device, equipment, storage medium and process flow operation system

Publications (1)

Publication Number Publication Date
CN109165106A true CN109165106A (en) 2019-01-08

Family

ID=64896777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810974105.5A Pending CN109165106A (en) 2018-08-24 2018-08-24 Method for processing business, device, equipment, storage medium and process flow operation system

Country Status (1)

Country Link
CN (1) CN109165106A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110336690A (en) * 2019-05-23 2019-10-15 平安银行股份有限公司 Service request processing method, device, equipment and computer readable storage medium
CN111427542A (en) * 2020-03-19 2020-07-17 武汉慧联无限科技有限公司 Information processing method, device and computer readable storage medium
CN111917814A (en) * 2019-05-10 2020-11-10 北京百度网讯科技有限公司 Data publishing method, data subscribing method, data publishing device, data subscribing system and readable storage medium
CN112015469A (en) * 2020-07-14 2020-12-01 北京淇瑀信息科技有限公司 System reconfiguration method and device and electronic equipment
CN112581069A (en) * 2019-09-27 2021-03-30 汇海汽车科技(天津)有限公司 System, method, apparatus and storage medium for processing task
CN112597166A (en) * 2020-12-28 2021-04-02 恩亿科(北京)数据科技有限公司 Data stream task management method, system, computer device and readable storage medium
CN112988422A (en) * 2021-03-18 2021-06-18 北京京东乾石科技有限公司 Asynchronous message processing method and device, electronic equipment and storage medium
CN114051055A (en) * 2022-01-12 2022-02-15 江苏银承网络科技股份有限公司 Data transmission method and device in different systems

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060080657A1 (en) * 2004-10-07 2006-04-13 International Business Machines Corporation Method and structure for autonomic application differentiation/specialization
CN106685794A (en) * 2015-11-10 2017-05-17 深圳市云软信息技术有限公司 Business processing method and framework in instant messaging environment
WO2017206101A1 (en) * 2016-06-01 2017-12-07 Beijing Yi Zhang Yun Feng Technology Co., Ltd. Synchronization of messages based on queues
CN107977275A (en) * 2017-12-05 2018-05-01 腾讯科技(深圳)有限公司 Task processing method and relevant device based on message queue
CN108009028A (en) * 2017-11-29 2018-05-08 中国平安人寿保险股份有限公司 Message treatment method, device, equipment and computer-readable recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060080657A1 (en) * 2004-10-07 2006-04-13 International Business Machines Corporation Method and structure for autonomic application differentiation/specialization
CN106685794A (en) * 2015-11-10 2017-05-17 深圳市云软信息技术有限公司 Business processing method and framework in instant messaging environment
WO2017206101A1 (en) * 2016-06-01 2017-12-07 Beijing Yi Zhang Yun Feng Technology Co., Ltd. Synchronization of messages based on queues
CN108009028A (en) * 2017-11-29 2018-05-08 中国平安人寿保险股份有限公司 Message treatment method, device, equipment and computer-readable recording medium
CN107977275A (en) * 2017-12-05 2018-05-01 腾讯科技(深圳)有限公司 Task processing method and relevant device based on message queue

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
TIJSRADEMAKERS: "《Activiti in Action》", 31 July 2012, MANNING PUBLICAITONS *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917814A (en) * 2019-05-10 2020-11-10 北京百度网讯科技有限公司 Data publishing method, data subscribing method, data publishing device, data subscribing system and readable storage medium
CN111917814B (en) * 2019-05-10 2022-09-06 北京百度网讯科技有限公司 Data publishing method, data subscribing method, data publishing device, data subscribing system and readable storage medium
CN110336690A (en) * 2019-05-23 2019-10-15 平安银行股份有限公司 Service request processing method, device, equipment and computer readable storage medium
CN110336690B (en) * 2019-05-23 2022-09-20 平安银行股份有限公司 Service request processing method, device, equipment and computer readable storage medium
CN112581069A (en) * 2019-09-27 2021-03-30 汇海汽车科技(天津)有限公司 System, method, apparatus and storage medium for processing task
CN111427542A (en) * 2020-03-19 2020-07-17 武汉慧联无限科技有限公司 Information processing method, device and computer readable storage medium
CN112015469A (en) * 2020-07-14 2020-12-01 北京淇瑀信息科技有限公司 System reconfiguration method and device and electronic equipment
CN112015469B (en) * 2020-07-14 2023-11-14 北京淇瑀信息科技有限公司 System reconstruction method and device and electronic equipment
CN112597166A (en) * 2020-12-28 2021-04-02 恩亿科(北京)数据科技有限公司 Data stream task management method, system, computer device and readable storage medium
CN112988422A (en) * 2021-03-18 2021-06-18 北京京东乾石科技有限公司 Asynchronous message processing method and device, electronic equipment and storage medium
CN112988422B (en) * 2021-03-18 2024-05-17 北京京东乾石科技有限公司 Asynchronous message processing method and device, electronic equipment and storage medium
CN114051055A (en) * 2022-01-12 2022-02-15 江苏银承网络科技股份有限公司 Data transmission method and device in different systems

Similar Documents

Publication Publication Date Title
CN109165106A (en) Method for processing business, device, equipment, storage medium and process flow operation system
CN108270855B (en) Method for accessing Internet of things platform to equipment
CN109951331B (en) Method, device and computing cluster for sending information
CN108712332B (en) Communication method, system and device
CN110262902B (en) Information processing method and system, medium, and computing device
CN107391276B (en) Distributed monitor method, interception control device and system
CN109710615A (en) Access management method, system, electronic equipment and the storage medium of database
CN107493266B (en) Communication system, method and device of embedded self-service terminal
CN111625496B (en) Deployment method, device and equipment of distributed file system in virtual machine environment
CN113742031A (en) Node state information acquisition method and device, electronic equipment and readable storage medium
EP3635547B1 (en) Systems and methods for preventing service disruption during software updates
US20130227568A1 (en) Systems and methods involving virtual machine host isolation over a network
CN110413390A (en) Thread task processing method, device, server and storage medium
CN112583931A (en) Message processing method, message middleware, electronic device and storage medium
CN111625497A (en) Deployment method, device, equipment and storage medium of distributed file system
CN110881224B (en) Network long connection method, device, equipment and storage medium
CN109165261A (en) Method of data synchronization, device, server and computer storage medium
CN110413457A (en) The disaster recovery method and device of cloud service
CN113687956A (en) Message routing distribution method and device, computer equipment and storage medium
CN114815714A (en) Remote vehicle control method and device and electronic equipment
CN113849127A (en) SAN storage dual-active network-based arbitration method and device and electronic equipment
CN110275701B (en) Data processing method, device, medium and computing equipment
CN109445984B (en) Service recovery method, device, arbitration server and storage system
CN109412970B (en) Data transfer system, data transfer method, electronic device, and storage medium
CN110233791A (en) Data duplicate removal method and device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190108