CN109634761A - A kind of system mode circulation method, apparatus, computer equipment and storage medium - Google Patents

A kind of system mode circulation method, apparatus, computer equipment and storage medium Download PDF

Info

Publication number
CN109634761A
CN109634761A CN201811544923.8A CN201811544923A CN109634761A CN 109634761 A CN109634761 A CN 109634761A CN 201811544923 A CN201811544923 A CN 201811544923A CN 109634761 A CN109634761 A CN 109634761A
Authority
CN
China
Prior art keywords
current system
business datum
system conditions
business
data processing
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
CN201811544923.8A
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 CN201811544923.8A priority Critical patent/CN109634761A/en
Publication of CN109634761A publication Critical patent/CN109634761A/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
    • 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)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a kind of system mode circulation method, apparatus, computer equipment and storage mediums, which comprises obtains the business datum under current system conditions, and delay queue is added in the business datum;The delay queue selects matched state processing logic to handle the business datum in determining arrival predetermined time delay matched with the current system conditions according to the current system conditions;If it is determined that the business data processing success, then update the current system conditions.The technical solution of the embodiment of the present invention can be precisely controlled the progress of orchestration instance, to improve scalability and treatment effeciency that system task executes processing.

Description

A kind of system mode circulation method, apparatus, computer equipment and storage medium
Technical field
The present embodiments relate to technical field of data processing more particularly to a kind of system mode circulation method, apparatus, meter Calculate machine equipment and storage medium.
Background technique
It, during which need to be by S1, S2, S3, S4 ... Sn etc. no when one system needs to control the torsion of an operation flow Same status code.For example, for ordering system, the torsion of operation flow need by original state, tapeout state with And a variety of different system modes, each system mode such as payment completion status can correspond to a status code.
Existing system is complete in first time business logic processing with the matched flow instance of system when controlling operation flow Status code is updated afterwards to S1, then needs that timing scan script T1 is waited to execute.When timing scan script T1 scanning to S1 state Under flow instance after, continue subsequent logic processing, after the completion of processing, state value torsion be S2.It then proceedes to etc. undetermined When scan script T2 execute, repeat aforesaid operations and execute repeatedly, until final timing scan script Tn is by the state of flow instance Code is torqued into end state Sn, and process terminates.
In the implementation of the present invention, the discovery prior art has following defects that the shape of a system flow to inventor If state torsion relies on a large amount of timing execution task and pushes, system pressure will increase, may result in many tasks and be in sky Race state does not all have pending data when that is, timing scan script is needed to be implemented to the time every time.Meanwhile if flow instance Measure it is bigger, timing scan script be at the appointed time spaced in possibly all data-triggereds can not be executed, so as to cause portion Divided data is stuck in always intermediate state code, can not circulate downwards.In addition, requiring to rely on exploitation one specially to each status code Timed task is handled, thus cause extension and it is difficult in maintenance the problems such as.Finally, the design nothing based on timed task Method accurately controls the time point executed next time, and therefore, it is difficult to the actual operation flows of timely control, is also difficult to when occurring abnormal Confirm and analyzes.
Summary of the invention
The embodiment of the present invention provides a kind of system mode circulation method, apparatus, computer equipment and storage medium, passes through essence The precision of quasi- control orchestration instance improves scalability and treatment effeciency that system task executes processing.
In a first aspect, the embodiment of the invention provides a kind of system mode circulation methods, comprising:
The business datum under current system conditions is obtained, and delay queue is added in the business datum;
The delay queue is in determining arrival predetermined time delay matched with the current system conditions, according to described Current system conditions select matched state processing logic to handle the business datum;
If it is determined that the business data processing success, then update the current system conditions.
Second aspect, the embodiment of the invention also provides a kind of system mode transfer devices, comprising:
Business datum obtains module, adds for obtaining the business datum under current system conditions, and by the business datum Enter delay queue;
Business data processing module, for determining arrival and the matched predetermined time delay of the current system conditions When, select matched state processing logic to handle the business datum according to the current system conditions;
System mode update module is used for if it is determined that business data processing success, then update the current system State.
The third aspect, the embodiment of the invention also provides a kind of computer equipment, the computer equipment includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes system mode circulation method provided by any embodiment of the invention.
Fourth aspect, the embodiment of the invention also provides a kind of computer storage mediums, are stored thereon with computer program, The program realizes system mode circulation method provided by any embodiment of the invention when being executed by processor.
The embodiment of the present invention passes through the business datum under the current system conditions that will acquire and delay queue is added, so that delay Queue selects matched shape according to current system conditions in determining arrival predetermined time delay matched with current system conditions State processing logic handles business datum, and updates current system conditions when determining business data processing success, solves System pressure existing for existing system state circulation method is big, be easy to appear empty race state, state circulation and scalability and The problems such as maintainable difficult, improves system task and executes expanding for processing by being precisely controlled the precision of orchestration instance Malleability and treatment effeciency.
Detailed description of the invention
Fig. 1 a is a kind of flow chart for system mode circulation method that the embodiment of the present invention one provides;
Fig. 1 b is a kind of system mode circulation schematic diagram that the embodiment of the present invention one provides;
Fig. 2 is a kind of schematic diagram of system mode transfer device provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of structural schematic diagram for computer equipment that the embodiment of the present invention three 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 only the parts related to the present invention are shown for ease of description, in attached drawing rather than Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail At the processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart, It is that many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be by again It arranges.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. The processing can correspond to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 a is a kind of flow chart for system mode circulation method that the embodiment of the present invention one provides, and the present embodiment is applicable In passing through the case where delay queue control system state circulates, this method can be executed by system mode transfer device, the dress Setting can be realized by the mode of software and/or hardware.Correspondingly, as shown in Figure 1a, this method includes following operation:
Business datum under S110, acquisition current system conditions, and delay queue is added in the business datum.
Wherein, delay queue can be used for postponing carrying out the business datum of addition after preset time the processing of next step.
In embodiments of the present invention, system can be system corresponding to any business, such as online order system, this hair Bright embodiment is not defined the concrete function of system and form of service.It is understood that a system is in control one When the circulation of a operation flow, it during which can pass through a variety of different system modes.Industry of the system in the case where handling current system conditions When data of being engaged in, delay queue is added in the business datum under the current system conditions that can be will acquire, to wait predetermined time delay The processing of next step is carried out afterwards.
S120, the delay queue are in determining arrival predetermined time delay matched with the current system conditions, root Matched state processing logic is selected to handle the business datum according to the current system conditions.
Wherein, predetermined time delay can be delay time set according to actual needs, and such as 30 seconds, 1 minute or 1 are small When etc., specific to need to be set according to the specific business form, the embodiment of the present invention is not to the specific of predetermined time delay Numerical value is defined.It should be noted that the matched predetermined time delay of different system mode institutes can be identical, it can also not Together, it also needs to be set according to actual needs, the embodiment of the present invention is to this and is not limited.
It, can be with correspondingly, when delay queue is determined and reached with the matched predetermined time delay of the current system conditions Matched state processing logic is selected to handle business datum according to current system conditions.That is, different system modes Different state processing logics can be corresponded to.It is patrolled for example, the original state of online order system can correspond to original state processing Volume, order payment completion status can correspond to order completion status processing logic.
S130, if it is determined that the business data processing success, then update the current system conditions.
In embodiments of the present invention, when state processing logic is to business data processing success, i.e., renewable current system State to next system mode namely system mode continues circulation downwards.
In an alternate embodiment of the present invention where, after updating the current system conditions, if may include: true The fixed current system conditions are setting end state, then according to the matched state processing logic pair of setting end state After the business datum is successfully processed, current system conditions circulation process is terminated.
Wherein, setting end state can be the end-state in system, as shape is completed in the payment in online order system State etc..
Correspondingly, if it is determined that current system conditions are setting end state, then using the setting matched shape of end state State handles logic and handles the business datum under setting end state, and after determining handle successfully, can terminate current The circulation process of system mode.
In an alternate embodiment of the present invention where, system mode circulation method can also include: if it is determined that the industry Business data processing failure, then keep the current system conditions, returns to execution for the business datum and rejoins the delay The operation of queue, until determining the business data processing success.
Optionally, it when the matched state processing logic of current system conditions fails to business data processing, can keep The state value of current system conditions is constant, and returns to the operation for executing and business datum being rejoined to delay queue, until determining Business data processing success.
In an alternate embodiment of the present invention where, system mode circulation method can also include: if it is determined that the industry Business data processing failure, then keep the current system conditions, returns to execution for the business datum and rejoins the delay The operation of queue, until reaching setting executes number.
Wherein, setting executes number and can be set according to actual needs, handles one kind for limiting to repeat The number of business datum under system mode, the specific value that the embodiment of the present invention does not execute number to setting are defined, and Corresponding setting executes number and may be the same or different under different conditions.
Optionally, it when the matched state processing logic of current system conditions fails to business data processing, can keep The state value of current system conditions is constant, and returns to the operation for executing and business datum being rejoined to delay queue, until determining Reach setting and executes number.If reach business datum when setting executes number does not handle success yet, the place that reports an error can be carried out Reason.
In an alternate embodiment of the present invention where, system mode circulation method can also include: if it is determined that the industry Business data processing failure, then record unsuccessfully business datum;The failure business datum is used for artificial backtracking process.
Correspondingly, especially after processing failure is repeated several times, such as reaching setting when determining business data processing failure It executes number still to handle not successfully, relevant failure business datum can also be recorded from the background.Such as online order system is come It says, failure business datum can be order number, order creation time or payment time etc., in order to carry out artificial backtracking process.
Fig. 1 b is a kind of system mode circulation schematic diagram that the embodiment of the present invention one provides, and as shown in Figure 1 b, S1 can be The original state of system namely process starting point.S2 ... Sn-1 can be the intermediate state of system, and Sn can be the final of system State, namely terminate state.The circulation of system mode relies on delay queue component completely it can be seen from Fig. 1 b.Each system When system state is processed, corresponding business datum can first be added delay queue, delay queue according to preset delay time, Start notice system after determining that delay time reaches to execute, and finds matched state processing logic and handled.If being System is handled successfully, and state value can circulate downwards.If processing failure, state value is constant, and business datum can be added again It in delay queue, and is retried according to the waiting of preset delay policy, until retrying successfully or number of retries exhausts.Wherein, prolong Slow queue customized delay time and can retry time interval.
It can be seen that system mode provided by the embodiment of the present invention circulation method can by the setting of delay time, So that the circulation opportunity of system mode can control freely, this inefficient, difficult extension of timed task is not depended on completely and hardly possible continues The design of maintenance, the timed task script for needing to safeguard, which can be greatly decreased, even to reset, its simple maintenance of exploitation is easy, can be with The resources such as more manpowers, storage medium and logic maintenance cost are discharged, to efficiently execute every flow tasks, are greatly subtracted Few system maintenance cost and exploitation pressure, and then improve production capacity.In addition, system mode circulation side provided by the embodiment of the present invention Method can also provide the access API of complete set for user, and (Application Program Interface, application program connect Mouthful), user only needs easy configuration to can access, without being concerned about that level of detail, applicability are stronger.
The embodiment of the present invention passes through the business datum under the current system conditions that will acquire and delay queue is added, so that delay Queue selects matched shape according to current system conditions in determining arrival predetermined time delay matched with current system conditions State processing logic handles business datum, and updates current system conditions when determining business data processing success, solves System pressure existing for existing system state circulation method is big, be easy to appear empty race state, state circulation and scalability and The problems such as maintainable difficult, improves system task and executes expanding for processing by being precisely controlled the precision of orchestration instance Malleability and treatment effeciency.
Embodiment two
Fig. 2 is a kind of schematic diagram of system mode transfer device provided by Embodiment 2 of the present invention, as shown in Fig. 2, described Device includes: that business datum obtains module 210, business data processing module 220 and system mode update module 230, in which:
Business datum obtains module 210, for obtaining the business datum under current system conditions, and by the business datum Delay queue is added;
Business data processing module 220, in determining arrival pre-set delay matched with the current system conditions Between when, select matched state processing logic to handle the business datum according to the current system conditions;
System mode update module 230 is used for if it is determined that business data processing success, then update the current system System state.
The embodiment of the present invention passes through the business datum under the current system conditions that will acquire and delay queue is added, so that delay Queue selects matched shape according to current system conditions in determining arrival predetermined time delay matched with current system conditions State processing logic handles business datum, and updates current system conditions when determining business data processing success, solves System pressure existing for existing system state circulation method is big, be easy to appear empty race state, state circulation and scalability and The problems such as maintainable difficult, improves system task and executes expanding for processing by being precisely controlled the precision of orchestration instance Malleability and treatment effeciency.
Optionally, described device further include:
First returns to execution module, is used for if it is determined that business data processing failure, then keep the current system State returns to the operation for executing and the business datum being rejoined to the delay queue, until determining at the business datum It manages successfully.
Optionally, described device further include:
Second returns to execution module, is used for if it is determined that business data processing failure, then keep the current system State returns to the operation for executing and the business datum being rejoined to the delay queue, until reaching setting executes number.
Optionally, described device further include:
Failure business datum logging modle is used for if it is determined that business data processing failure, then record unsuccessfully business Data;The failure business datum is used for artificial backtracking process.
Optionally, described device further include:
Circulate Flow ends module, is used for if it is determined that the current system conditions are setting end state, then in basis After the matched state processing logic of setting end state is successfully processed the business datum, current system shape is terminated State circulation process.
System mode circulation method provided by any embodiment of the invention, tool can be performed in above system state transfer device The standby corresponding functional module of execution method and beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to this The system mode circulation method that invention any embodiment provides.
Since above-mentioned introduced system mode transfer device is the system mode stream that can be executed in the embodiment of the present invention The device of shifting method, so based on the circulation method of system mode described in the embodiment of the present invention, the affiliated technology people in this field Member can understand the specific embodiment and its various change form of the system mode transfer device of the present embodiment, so herein How system mode in embodiment of the present invention circulation method is realized if being no longer discussed in detail for the system mode transfer device.Only It wants those skilled in the art to implement device used by system mode circulation method in the embodiment of the present invention, belongs to this Shen The range that please be protect.
Embodiment three
Fig. 3 is a kind of structural schematic diagram for computer equipment that the embodiment of the present invention three provides.Fig. 3, which is shown, to be suitable for being used to Realize the block diagram of the computer equipment 312 of embodiment of the present invention.The computer equipment 312 that Fig. 3 is shown is only an example, Should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 3, computer equipment 312 is showed in the form of universal computing device.The component of computer equipment 312 can To include but is not limited to: one or more processor 316, storage device 328 connect different system components (including storage dress Set 328 and processor 316) bus 318.
Bus 318 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.
Computer equipment 312 typically comprises a variety of computer system readable media.These media can be it is any can The usable medium accessed by computer equipment 312, including volatile and non-volatile media, moveable and immovable Jie Matter.
Storage device 328 may include the computer system readable media of form of volatile memory, such as arbitrary access Memory (Random Access Memory, RAM) 330 and/or cache memory 332.Computer equipment 312 can be into One step includes other removable/nonremovable, volatile/non-volatile computer system storage mediums.Only as an example, it deposits Storage system 334 can be used for reading and writing immovable, non-volatile magnetic media, and (Fig. 3 do not show, commonly referred to as " hard drive Device ").Although being not shown in Fig. 3, the disk for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided and driven Dynamic device, and to removable anonvolatile optical disk (such as CD-ROM (Compact Disc-Read Only Memory, CD- ROM), digital video disk (Digital Video Disc-Read Only Memory, DVD-ROM) or other optical mediums) read-write CD drive.In these cases, each driver can pass through one or more data media interfaces and bus 318 It is connected.Storage device 328 may include at least one program product, which has one group of (for example, at least one) program Module, these program modules are configured to perform the function of various embodiments of the present invention.
Program 336 with one group of (at least one) program module 326, can store in such as storage device 328, this The program module 326 of sample includes but is not limited to operating system, one or more application program, other program modules and program It may include the realization of network environment in data, each of these examples or certain combination.Program module 326 usually executes Function and/or method in embodiment described in the invention.
Computer equipment 312 can also with one or more external equipments 314 (such as keyboard, sensing equipment, camera, Display 324 etc.) communication, the equipment interacted with the computer equipment 312 communication can be also enabled a user to one or more, And/or with any equipment (such as net that the computer equipment 312 is communicated with one or more of the other calculating equipment Card, modem etc.) communication.This communication can by input/output (Input/Output, I/O) interface 322 into Row.Also, computer equipment 312 can also pass through network adapter 320 and 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 because of spy Net) communication.As shown, network adapter 320 is communicated by bus 318 with other modules of computer equipment 312.It should be bright It is white, although not shown in the drawings, other hardware and/or software module can be used in conjunction with computer equipment 312, including but unlimited In: microcode, device driver, redundant processing unit, external disk drive array, disk array (Redundant Arrays Of Independent Disks, RAID) system, tape drive and data backup storage system etc..
The program that processor 316 is stored in storage device 328 by operation, thereby executing various function application and number According to processing, such as realize the circulation method of system mode provided by the above embodiment of the present invention.
That is, the processing unit is realized when executing described program: obtaining the business datum under current system conditions, and will Delay queue is added in the business datum;The delay queue prolongs in determining reach with matched preset of the current system conditions When the slow time, matched state processing logic is selected to handle the business datum according to the current system conditions;Such as Fruit determines the business data processing success, then updates the current system conditions.
Example IV
The embodiment of the present invention six also provides a kind of computer storage medium for storing computer program, the computer program When being executed by computer processor for executing any system mode circulation method of the above embodiment of the present invention: obtaining Business datum under current system conditions, and delay queue is added in the business datum;The delay queue is determining arrival When predetermined time delay matched with the current system conditions, matched state processing is selected according to the current system conditions Logic handles the business datum;If it is determined that the business data processing success, then update the current system shape State.
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, random access memory (RAM), read-only memory of one or more conducting wires (Read Only Memory, ROM), erasable programmable read only memory ((Erasable Programmable Read Only Memory, EPROM) or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic Memory device or above-mentioned any appropriate combination.In this document, computer readable storage medium, which can be, any includes Or the tangible medium of storage program, which can be commanded execution system, device or device use or in connection make With.
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 unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used 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 (Radio Frequency, RF) etc. or above-mentioned any appropriate combination.
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++, Further include conventional procedural programming language --- such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
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 1. system mode circulates characterized by comprising
    The business datum under current system conditions is obtained, and delay queue is added in the business datum;
    The delay queue is in determining arrival predetermined time delay matched with the current system conditions, according to described current The matched state processing logic of system state selection handles the business datum;
    If it is determined that the business data processing success, then update the current system conditions.
  2. 2. the method according to claim 1, wherein the method also includes:
    If it is determined that the business data processing failure, then keep the current system conditions, return and execute the business number According to the operation for rejoining the delay queue, until determining the business data processing success.
  3. 3. the method according to claim 1, wherein the method also includes:
    If it is determined that the business data processing failure, then keep the current system conditions, return and execute the business number According to the operation for rejoining the delay queue, until reaching setting executes number.
  4. 4. according to the method described in claim 3, it is characterized in that, the method also includes:
    If it is determined that the business data processing failure, then record unsuccessfully business datum;The failure business datum is for artificial Backtracking process.
  5. 5. the method according to claim 1, wherein after updating the current system conditions, comprising:
    If it is determined that the current system conditions are setting end state, then according to the matched state of the setting end state After processing logic is successfully processed the business datum, current system conditions circulation process is terminated.
  6. 6. a kind of system mode transfer device characterized by comprising
    Business datum obtains module, prolongs for obtaining the business datum under current system conditions, and by business datum addition Slow queue;
    Business data processing module is used in determining arrival predetermined time delay matched with the current system conditions, root Matched state processing logic is selected to handle the business datum according to the current system conditions;
    System mode update module is used for if it is determined that business data processing success, then update the current system conditions.
  7. 7. device according to claim 6, which is characterized in that described device further include:
    First return execution module, be used for if it is determined that the business data processing fail, then keep the current system conditions, Return to execute and the business datum rejoined to the operation of the delay queue, until determine the business data processing at Function.
  8. 8. device according to claim 6, which is characterized in that described device further include:
    Second return execution module, be used for if it is determined that the business data processing fail, then keep the current system conditions, The operation for executing and the business datum being rejoined to the delay queue is returned to, until reaching setting executes number.
  9. 9. a kind of computer equipment, which is characterized in that the equipment includes:
    One or more processors;
    Storage device, for storing one or more programs,
    When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as system mode as claimed in any one of claims 1 to 5 circulation method.
  10. 10. a kind of computer storage medium, is stored thereon with computer program, which is characterized in that the program is executed by processor Shi Shixian system mode circulation method for example as claimed in any one of claims 1 to 5.
CN201811544923.8A 2018-12-17 2018-12-17 A kind of system mode circulation method, apparatus, computer equipment and storage medium Pending CN109634761A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811544923.8A CN109634761A (en) 2018-12-17 2018-12-17 A kind of system mode circulation method, apparatus, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811544923.8A CN109634761A (en) 2018-12-17 2018-12-17 A kind of system mode circulation method, apparatus, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109634761A true CN109634761A (en) 2019-04-16

Family

ID=66074769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811544923.8A Pending CN109634761A (en) 2018-12-17 2018-12-17 A kind of system mode circulation method, apparatus, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109634761A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176806A (en) * 2019-12-05 2020-05-19 中国银联股份有限公司 Service processing method, device and computer readable storage medium
CN111222947A (en) * 2020-01-02 2020-06-02 北京字节跳动网络技术有限公司 Processing method and device of delay event, electronic equipment and storage medium
CN111768288A (en) * 2020-06-02 2020-10-13 北京同邦卓益科技有限公司 Service processing method and device, electronic equipment and storage medium
CN112364062A (en) * 2020-11-18 2021-02-12 北京红山信息科技研究院有限公司 Data arrival detection method and device, electronic equipment and storage medium
CN112597166A (en) * 2020-12-28 2021-04-02 恩亿科(北京)数据科技有限公司 Data stream task management method, system, computer device and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105631621A (en) * 2014-11-05 2016-06-01 阿里巴巴集团控股有限公司 Method for controlling logistics order state in distributed system and system
CN107909330A (en) * 2017-08-31 2018-04-13 平安科技(深圳)有限公司 Work stream data processing method, device, storage medium and computer equipment
CN107943828A (en) * 2017-10-18 2018-04-20 深圳市牛鼎丰科技有限公司 Service condition querying method, device, computer equipment and storage medium
CN108182110A (en) * 2018-01-23 2018-06-19 平安科技(深圳)有限公司 Task circulation control method, device, equipment and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105631621A (en) * 2014-11-05 2016-06-01 阿里巴巴集团控股有限公司 Method for controlling logistics order state in distributed system and system
CN107909330A (en) * 2017-08-31 2018-04-13 平安科技(深圳)有限公司 Work stream data processing method, device, storage medium and computer equipment
CN107943828A (en) * 2017-10-18 2018-04-20 深圳市牛鼎丰科技有限公司 Service condition querying method, device, computer equipment and storage medium
CN108182110A (en) * 2018-01-23 2018-06-19 平安科技(深圳)有限公司 Task circulation control method, device, equipment and computer readable storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176806A (en) * 2019-12-05 2020-05-19 中国银联股份有限公司 Service processing method, device and computer readable storage medium
CN111176806B (en) * 2019-12-05 2024-02-23 中国银联股份有限公司 Service processing method and device and computer readable storage medium
CN111222947A (en) * 2020-01-02 2020-06-02 北京字节跳动网络技术有限公司 Processing method and device of delay event, electronic equipment and storage medium
CN111768288A (en) * 2020-06-02 2020-10-13 北京同邦卓益科技有限公司 Service processing method and device, electronic equipment and storage medium
CN111768288B (en) * 2020-06-02 2023-12-08 北京同邦卓益科技有限公司 Service processing method, device, electronic equipment and storage medium
CN112364062A (en) * 2020-11-18 2021-02-12 北京红山信息科技研究院有限公司 Data arrival detection method and device, electronic equipment and storage medium
CN112597166A (en) * 2020-12-28 2021-04-02 恩亿科(北京)数据科技有限公司 Data stream task management method, system, computer device and readable storage medium

Similar Documents

Publication Publication Date Title
CN109634761A (en) A kind of system mode circulation method, apparatus, computer equipment and storage medium
CN108537543B (en) Parallel processing method, device, equipment and storage medium for blockchain data
US11288102B2 (en) Modifying resources for composed systems based on resource models
JP6748671B2 (en) Test program flow control
CN110347493A (en) Processing method, display methods, device, equipment and the storage medium of page data
US20200074347A1 (en) Suggestion and Completion of Deep Learning Models from a Catalog
CN110049118A (en) Information push method, device, equipment and storage medium
US10310909B2 (en) Managing execution of computer operations with non-competing computer resource requirements
TW201843589A (en) User control of automated test features with software application programming interface (api)
CN109033814A (en) intelligent contract triggering method, device, equipment and storage medium
CN111240769A (en) Page starting method, device, equipment and storage medium
CN110688111A (en) Configuration method, device, server and storage medium of business process
US20130013283A1 (en) Distributed multi-pass microarchitecture simulation
CN113238943A (en) Method and device for continuous integration test
WO2021023171A1 (en) Method and apparatus for test script recording time selection
US10277667B2 (en) Method and apparatus for executing application based on open computing language
CN111813721B (en) Neural network data processing method, device, equipment and storage medium
US10439905B2 (en) Quantifying and designing optimal connecting networks
US11360804B2 (en) Resource management for parent child workload
US10360137B2 (en) Adaptive testing using dynamically determined system resources of a computer system
US10248534B2 (en) Template-based methodology for validating hardware features
CN108334313A (en) Continuous integrating method, apparatus and code management system for large-scale SOC research and development
CN114721674A (en) Model deployment method, device, equipment and storage medium
US9515879B2 (en) Establishing an action list for reconfiguration of a remote hardware system
CN113392002A (en) Test system construction method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190416

RJ01 Rejection of invention patent application after publication