CN107590070B - Business process debugging method and device - Google Patents
Business process debugging method and device Download PDFInfo
- Publication number
- CN107590070B CN107590070B CN201710712902.1A CN201710712902A CN107590070B CN 107590070 B CN107590070 B CN 107590070B CN 201710712902 A CN201710712902 A CN 201710712902A CN 107590070 B CN107590070 B CN 107590070B
- Authority
- CN
- China
- Prior art keywords
- flow chart
- debugging
- business
- simulation
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 108
- 230000008569 process Effects 0.000 title claims abstract description 74
- 230000000007 visual effect Effects 0.000 claims abstract description 25
- 238000012986 modification Methods 0.000 claims abstract description 17
- 230000004048 modification Effects 0.000 claims abstract description 17
- 230000000694 effects Effects 0.000 claims abstract description 8
- 230000006870 function Effects 0.000 claims description 75
- 238000004088 simulation Methods 0.000 claims description 52
- 238000004590 computer program Methods 0.000 claims description 20
- 230000006399 behavior Effects 0.000 claims description 17
- 238000010586 diagram Methods 0.000 claims description 16
- 238000003860 storage Methods 0.000 claims description 8
- 230000004044 response Effects 0.000 claims description 2
- 238000004891 communication Methods 0.000 description 6
- 238000013461 design Methods 0.000 description 4
- 238000007639 printing Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 101100537665 Trypanosoma cruzi TOR gene Proteins 0.000 description 1
- YDONNITUKPKTIG-UHFFFAOYSA-N [Nitrilotris(methylene)]trisphosphonic acid Chemical compound OP(O)(=O)CN(CP(O)(O)=O)CP(O)(O)=O YDONNITUKPKTIG-UHFFFAOYSA-N 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004064 recycling Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention is suitable for the technical field of software development, and provides a service flow debugging method and a device, wherein the method comprises the following steps: when a debugging instruction is received, debugging the constructed service flow chart in the flow chart editing interface to determine the effectiveness of the service flow chart; the business flow chart is formed by connecting a plurality of function examples, the function examples are formed by connecting a plurality of business function bodies, and the business function bodies are visual graphs displayed in a flow chart editing interface; if the business flow chart is valid, the flow corresponding to the business flow chart is operated; and if the error information is invalid, prompting the error information existing in the business flow chart, receiving an operation instruction which is sent by a user according to the error information and is used for modifying the business flow chart based on the operation instruction, and not prompting the error information until the business flow chart is modified successfully. The device takes effect immediately after the modification is successful, and the device does not need to be restarted, so that the debugging efficiency is high; in addition, the debugging process is visible on the flow chart editing interface, the modification process is also visible, and the operation is simple.
Description
Technical Field
The invention belongs to the technical field of software development, and particularly relates to a business process debugging method and device.
Background
The current self-service terminal application software development technology has high threshold, engineers needing to master programming technology realize the service requirement needing to be updated or newly added through the programming technology, debugging before formal operation is indispensable, the current service flow debugging method generally runs compiled executable programs, finds out error codes in the compiled executable programs, modifies the error codes, compiles the error codes again and debugs the error codes, and the debugging steps are complicated and the efficiency is low.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and a system for debugging a business process, so as to solve the problem of low efficiency of the business process debugging method in the prior art.
A first aspect of an embodiment of the present invention provides a method for debugging a service flow, including:
when a debugging instruction is received, debugging a constructed business flow chart in a flow chart editing interface to determine the effectiveness of the business flow chart; the business flow chart is formed by connecting a plurality of function examples, the function examples are formed by connecting a plurality of business function bodies, and the business function bodies are visual graphs displayed in the flow chart editing interface;
if the business flow chart is valid, running the flow corresponding to the business flow chart;
and if the error information is invalid, prompting the error information existing in the business flow chart, receiving an operation instruction which is sent by a user according to the error information and used for modifying the business flow chart, and modifying the business flow chart based on the operation instruction until the error information is successfully modified and is not prompted.
A second aspect of the embodiments of the present invention provides a service flow debugging apparatus, including:
the receiving module is used for debugging the constructed business flow chart in the flow chart editing interface when a debugging instruction is received so as to determine the effectiveness of the business flow chart; the business flow chart is formed by connecting a plurality of function examples, the function examples are formed by connecting a plurality of business function bodies, and the business function bodies are visual graphs displayed in the flow chart editing interface;
the operation module is used for operating the flow corresponding to the business flow chart when the operation is effective;
and the modification module is used for prompting error information existing in the business flow chart when the error information is invalid, receiving an operation instruction which is sent by a user according to the error information and is used for modifying the business flow chart based on the operation instruction until the error information is not prompted after the business flow chart is modified successfully.
A third aspect of an embodiment of the present invention provides a self-service terminal, including a memory, a processor, and a computer program stored in the memory and operable on the processor, where the processor implements the following steps when executing the computer program:
when a debugging instruction is received, debugging a constructed business flow chart in a flow chart editing interface to determine the effectiveness of the business flow chart; the business flow chart is formed by connecting a plurality of function examples, the function examples are formed by connecting a plurality of business function bodies, and the business function bodies are visual graphs displayed in the flow chart editing interface;
if the business flow chart is valid, running the flow corresponding to the business flow chart;
and if the error information is invalid, prompting the error information existing in the business flow chart, receiving an operation instruction which is sent by a user according to the error information and used for modifying the business flow chart, and modifying the business flow chart based on the operation instruction until the error information is successfully modified and is not prompted.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of:
when a debugging instruction is received, debugging a constructed business flow chart in a flow chart editing interface to determine the effectiveness of the business flow chart; the business flow chart is formed by connecting a plurality of function examples, the function examples are formed by connecting a plurality of business function bodies, and the business function bodies are visual graphs displayed in the flow chart editing interface;
if the business flow chart is valid, running the flow corresponding to the business flow chart;
and if the error information is invalid, prompting the error information existing in the business flow chart, receiving an operation instruction which is sent by a user according to the error information and used for modifying the business flow chart, and modifying the business flow chart based on the operation instruction until the error information is successfully modified and is not prompted.
The embodiment of the invention debugs the visual business flow chart to check the validity of the visual business flow chart, and if the visual business flow chart is valid, the flow corresponding to the business flow chart is operated; if the error word is invalid, prompting error information existing in the business flow chart, receiving an operation instruction which is sent by a user according to the error information and used for modifying the business flow chart, modifying the business flow chart based on the operation instruction until the error information is successfully modified and is not prompted any more, when the error word disappears, the modification is successful, the error word takes effect immediately after the modification is successful, the restarting is not needed, and the debugging efficiency is high; in addition, the debugging process is visible on the flow chart editing interface, the modification process is also visible, and the operation is simple.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart illustrating an implementation process of a service flow debugging method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating an implementation of a service flow debugging method according to a second embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating an implementation of a service flow debugging method according to a third embodiment of the present invention;
fig. 4 is a block diagram of a service flow debugging apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic diagram of a service flow debugging apparatus according to a fifth embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example one
Fig. 1 shows a schematic implementation flow diagram of a business flow debugging method according to an embodiment of the present invention. As shown in fig. 1, the service flow debugging method specifically includes the following steps S101 to S103.
Step S101: when a debugging instruction is received, debugging a constructed business flow chart in a flow chart editing interface to determine the effectiveness of the business flow chart; the business flow chart is formed by connecting a plurality of function examples, the function examples are formed by connecting a plurality of business function bodies, and the business function bodies are visual graphs displayed in the flow chart editing interface.
The service function body is a reusable module, and corresponding parameter information is configured for the service function body to realize corresponding functions. Business needs include, but are not limited to, banking needs, medical needs, transportation needs, and communication needs. Different service requirements are realized through corresponding service functions. The business functions of the user for handling various banking businesses are as follows: the system comprises a bank drawing business, a bank deposit business, a bank inquiry business, a bank password changing business, a bank transfer business and the like. The function instance is the service function, specifically, one service function is realized by one function instance, or one service function is realized by a plurality of function instances. The generation process of the function instance is generated according to the plurality of functional bodies selected by the user and the parameter information configured for the plurality of functional bodies by the user respectively.
Optionally, after the service flow is developed, the service flow may be called through a shortcut button on a menu bar, and if a breakpoint debugging is to be performed, the PIN port is disconnected in the service function body of the corresponding service flow, so that the flow does not run down after running to the disconnected port.
Optionally, when a debugging instruction is received, debugging the service flowchart constructed in the flowchart editing interface to determine the validity of the service flowchart may be performed in the following two ways:
one is as follows: receiving a first debugging instruction, and checking the effectiveness of a constructed service flow chart in a flow chart editing interface based on the first debugging instruction, wherein the first debugging instruction is an integral debugging instruction;
the second is that: and receiving a second debugging instruction, and checking the effectiveness of any function instance in the constructed service flow chart in the flow chart editing interface based on the second debugging instruction, wherein the second debugging instruction is an independent debugging instruction.
For example, the whole result of the business process may be debugged, or the effectiveness of any function instance in the constructed business process diagram may be debugged separately.
Step S102: and if the business flow chart is valid, running the flow corresponding to the business flow chart.
Step S103: and if the error information is invalid, prompting the error information existing in the business flow chart, receiving an operation instruction which is sent by a user according to the error information and used for modifying the business flow chart, and modifying the business flow chart based on the operation instruction until the error information is successfully modified and is not prompted.
When the flow is debugged, each visual graph and the debugging information of each sub-flow can be displayed to prompt the user.
When debugging errors occur, the error visual graph displays error word patterns to prompt a user.
In the process of debugging the business process, if the parameters related to the process need to be reconfigured, or one or more visual graphics in the process need to be deleted, or the connection relation between the visual graphics needs to be changed, or operations such as debugging and the like need to be carried out on part of the business process, the modification can be immediately effective without stopping the business process.
And clicking the faulted visual graph, prompting a faulted character pattern by the faulted connecting line, correspondingly adjusting the faulted connecting line and/or moving the faulted visual graph until the faulted character pattern disappears.
The service flow file corresponding to the service flow diagram provided by this embodiment is equivalent to an analytic language, can be loaded and executed at the same time, can track variable values in the running process, modify variables and the service flow diagram to enable the variables and the service flow diagram to take effect immediately, and does not need to recompile codes and package the codes to take effect after the flow exits. The method greatly facilitates the manufacturing of the flow chart, so that the ATMC engineering can be realized only by manufacturing the flow chart, and great convenience is brought.
The embodiment of the invention debugs the visual business flow chart to check the validity of the visual business flow chart, and if the visual business flow chart is valid, the flow corresponding to the business flow chart is operated; if the error word is invalid, prompting error information existing in the business flow chart, receiving an operation instruction which is sent by a user according to the error information and used for modifying the business flow chart, modifying the business flow chart based on the operation instruction until the error information is successfully modified and is not prompted any more, when the error word disappears, the modification is successful, the error word takes effect immediately after the modification is successful, the restarting is not needed, and the debugging efficiency is high; in addition, the debugging process is visible on the flow chart editing interface, the modification process is also visible, and the operation is simple.
Example two
Fig. 2 is a schematic flow chart illustrating an implementation of a business process debugging method according to a second embodiment of the present invention. On the basis of the first embodiment, as shown in fig. 2, the method further includes the following step S201.
S201: receiving a joint debugging instruction, and performing joint debugging on the simulation SP, the simulation P end and the simulation IC server end in response to the joint debugging instruction; the simulation SP comprises simulation of hardware equipment behaviors, the simulation P end comprises simulation of bank front-end behaviors, and the simulation IC service end comprises simulation of IC service functions and behaviors.
And when receiving the joint debugging instruction, performing joint debugging on the simulation SP, the simulation P end and the simulation IC service end. The simulation SP comprises simulation of behaviors of hardware equipment, wherein the hardware equipment comprises but is not limited to cash related equipment such as card readers, password keyboards, rear maintenance keyboards, receipt printers, log printers, deposit modules, withdrawal modules and bankbook modules, and non-cash related equipment such as card issuers, cameras, A4 printing, A4 recycling, high-speed shooting instruments, check scanning, fingerprint instruments, UKEY modules, two-dimensional codes, stamping machines and card printing modules.
The simulation P end means that all functions related to communication with a bank host and business processing can be debugged in the debugging process of the ATMC through simulation of behaviors of the front end of the bank, so that correctness verification of a flow chart is realized.
The simulation P end provides a tool for simulating an ATMP (ATM preconsolide, an ATM front-end processor system, which is a communication front-end system, is bound between an application front-end system or a related service HOST and an ATM, and is mainly used for realizing the functions of equipment management, communication mode standardization (access to an internal network), transaction message format conversion and forwarding and the like of a terminal.
The simulation of the IC service end comprises the simulation of the IC service function and the behavior, so that all functions related to IC operation and IC events can be debugged in the debugging process of the ATMC, and the correctness verification of a flow chart is realized.
Optionally, in the debugging process of the flowchart design, when an exception occurs during the operation of the system, the exception is handled in a uniform style. For example, when a system has a serious abnormality, the foreground displays a suspended service interface and records the execution of a reaction flow and a log of the occurrence of the abnormality.
Optionally, in the debugging process of the flowchart design, another embodiment further includes a voucher configuration tool, and the user can configure the voucher printing format and the background picture according to the needs of the user, so that vouchers with different formats can be adopted for flowchart debugging at any time, and when the voucher printing function is abnormal or does not meet the requirements, the voucher format can be quickly corrected.
Optionally, in the debugging process of the flowchart design, another embodiment further has a log management function, and each log includes the following contents:
1) indexing: a log index number. Starting with 0, each increment is 1.
2) Time: the log time. The format YYYY/MM/DD HH: MM: SS MMM, such as 2009/05/3108: 49:23406, can be accurate to millisecond.
3) And (4) process ID: and ID of the process where the log is located.
4) Thread ID: and the ID of the thread where the log is located.
5) Module name, the name of the program module where the log is located, such as D LL name, OCX name, EXE name, etc.
6) Subsystem name: the name of the subsystem where the log is located, such as the name of the class.
7) Function: the name of the function where the log is located.
8) The log type: the log types are classified into the following 8 types:
EMERG: indicating that the system is not available.
A L ERT indicates that some action must be taken immediately.
CRIT: a fatal log.
ERR: an error log.
WARNING: warning log
NOICE: normally, only a certain condition is indicated
And (3) INFO: and prompting information.
DEBUG: the Debug information, only exists when the Debug version is present.
9) The log content is as follows: the details of the log are described.
In the embodiment, the simulation SP, the simulation P end and the simulation IC service end are jointly debugged, so that the simulation of the behavior of the hardware equipment, the simulation of the environment of the front-end processor system and the simulation of the function and the behavior of the IC service are realized, the correctness of the flow chart is verified from multiple aspects, the operability is high, and the debugging efficiency is high.
EXAMPLE III
Fig. 3 is a schematic diagram illustrating an implementation process of a business process debugging method according to a third embodiment of the present invention. On the basis of the first embodiment, as shown in fig. 3, the method further includes the following step S301.
Step S301: and displaying a data pool variable in a data viewer in the right area of the process editing interface, wherein the data pool variable comprises parameter information configured or modified for the functional body.
In this embodiment, by displaying the data pool variable in the data viewer, the parameter change is visualized, so that the parameter information configured or modified for the functional body can be acquired in real time, which is convenient for the debugging personnel to judge and operate.
Example four
Referring to fig. 4, a block diagram of a service flow debugging apparatus according to a fourth embodiment of the present invention is shown. The business process debugging apparatus 40 includes: a receiving module 41, an operating module 42 and a modifying module 43. The specific functions of each module are as follows:
the receiving module 41 is configured to, when a debugging instruction is received, debug a service flowchart constructed in a flowchart editing interface to determine validity of the service flowchart; the business flow chart is formed by connecting a plurality of function examples, the function examples are formed by connecting a plurality of business function bodies, and the business function bodies are visual graphs displayed in the flow chart editing interface;
an operation module 42, configured to, when valid, operate a flow corresponding to the business flowchart;
and the modifying module 43 is configured to, when the error message is invalid, prompt error information existing in the business flowchart, receive an operation instruction sent by a user according to the error message to modify the business flowchart, and modify the business flowchart based on the operation instruction until the error message is not prompted after the modification is successful.
Optionally, the receiving module 41 includes:
the first receiving unit is used for receiving a first debugging instruction, checking the effectiveness of a constructed service flow chart in a flow chart editing interface based on the first debugging instruction, wherein the first debugging instruction is an integral debugging instruction; or,
and the second receiving unit is used for receiving a second debugging instruction, checking the effectiveness of any function instance in the constructed service flow chart in the flow chart editing interface based on the second debugging instruction, wherein the second debugging instruction is an independent debugging instruction.
Optionally, the business process debugging apparatus 40 further includes:
the combined debugging unit is used for receiving a combined debugging instruction and responding to the combined debugging instruction to carry out combined debugging on the simulation SP, the simulation P end and the simulation IC server end; the simulation SP comprises simulation of hardware equipment behaviors, the simulation P end comprises simulation of bank front-end behaviors, and the simulation IC service end comprises simulation of IC service functions and behaviors.
Optionally, the hardware device comprises a WOSA hardware device or a non-WOSA hardware device.
Optionally, the operation module 42 includes:
and the display unit is used for dynamically displaying the currently executed nodes in the flowchart editing interface.
Optionally, the business process debugging apparatus 40 further includes:
and the display module is used for displaying data pool variables in a data viewer in the right area of the process editing interface, wherein the data pool variables comprise parameter information configured or modified for the functional body.
The service flow debugging device provided by the embodiment of the invention debugs the visual service flow chart to check the validity of the visual service flow chart, and if the visual service flow chart is valid, the flow corresponding to the service flow chart is operated; if the error word is invalid, prompting error information existing in the business flow chart, receiving an operation instruction which is sent by a user according to the error information and used for modifying the business flow chart, modifying the business flow chart based on the operation instruction until the error information is successfully modified and is not prompted any more, when the error word disappears, the modification is successful, the error word takes effect immediately after the modification is successful, the restarting is not needed, and the debugging efficiency is high; in addition, the debugging process is visible on the flow chart editing interface, the modification process is also visible, and the operation is simple.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
It will also be understood that, although the terms first, second, etc. may be used herein in some embodiments to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first debug instruction may be named a second debug instruction, and similarly, a second debug instruction may be named a first debug instruction, without departing from the scope of the various described embodiments. The first debug instruction and the second debug instruction are both debug instructions, but they are not the same debug instruction.
EXAMPLE five
Fig. 5 is a schematic diagram of a service flow debugging apparatus according to a fifth embodiment of the present invention. As shown in fig. 5, the business process debugging apparatus 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52, such as a business process debugging method program, stored in said memory 51 and executable on said processor 50. The processor 50 executes the computer program 52 to implement the steps in the above-mentioned embodiments of the business process debugging method, such as steps S101 to S103 shown in fig. 1. Alternatively, the processor 50, when executing the computer program 52, implements the functions of the units in the above-described device embodiments, such as the functions of the modules 41 to 43 shown in fig. 4.
Illustratively, the computer program 52 may be partitioned into one or more modules/units that are stored in the memory 51 and executed by the processor 50 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 52 in the business process debugging apparatus 5. For example, the computer program 52 may be divided into a receiving module, an operating module and a modifying module, and the specific functions of each module are as follows:
the receiving module is used for debugging the constructed business flow chart in the flow chart editing interface when a debugging instruction is received so as to determine the effectiveness of the business flow chart; the business flow chart is formed by connecting a plurality of function examples, the function examples are formed by connecting a plurality of business function bodies, and the business function bodies are visual graphs displayed in the flow chart editing interface;
the operation module is used for operating the flow corresponding to the business flow chart when the operation is effective;
and the modification module is used for prompting error information existing in the business flow chart when the error information is invalid, receiving an operation instruction which is sent by a user according to the error information and is used for modifying the business flow chart based on the operation instruction until the error information is not prompted after the business flow chart is modified successfully.
The service flow debugging device 5 may be a desktop computer, a notebook computer, a palm computer, a cloud server, or other computing devices. The business process debugging device may include, but is not limited to, a processor 50, a memory 51. It will be understood by those skilled in the art that fig. 5 is only an example of the service flow debugging apparatus, and does not constitute a limitation to the service flow debugging apparatus, and may include more or less components than those shown in the drawings, or combine some components, or different components, for example, the service flow debugging apparatus may further include an input/output device, a network access device, a bus, and the like.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the service flow debugging apparatus 5, such as a hard disk or a memory of the service flow debugging apparatus 5. The memory 51 may also be an external storage device of the service process debugging apparatus 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are equipped on the service process debugging apparatus 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the service flow debugging apparatus 5. The memory 51 is used for storing the computer program and other programs and data required by the business process debugging apparatus. The memory 51 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.
Claims (12)
1. A business process debugging method is characterized by comprising the following steps:
when a debugging instruction is received, debugging a constructed business flow chart in a flow chart editing interface to determine the effectiveness of the business flow chart; the business flow chart is formed by connecting a plurality of function examples, the function examples are formed by connecting a plurality of business function bodies, and the business function bodies are visual graphs displayed in the flow chart editing interface;
if the business process diagram is valid, the process corresponding to the business process diagram is operated, and the process comprises the following steps: receiving a joint debugging instruction, and performing joint debugging on the simulation SP, the simulation P end and the simulation IC server end in response to the joint debugging instruction; the simulation SP comprises simulation of hardware equipment behaviors, the simulation P end comprises simulation of bank front-end behaviors, and the simulation IC service end comprises simulation of IC service functions and behaviors; the method comprises the steps that a business flow file corresponding to a business flow chart is loaded and executed at the same time, variable values are tracked in the running process, and the modified variables and the business flow chart take effect immediately;
and if the error information is invalid, prompting the error information existing in the business flow chart, receiving an operation instruction which is sent by a user according to the error information and used for modifying the business flow chart, and modifying the business flow chart based on the operation instruction until the error information is successfully modified and is not prompted.
2. The business process debugging method of claim 1, wherein debugging the business process diagram constructed in the flowchart editing interface to determine the validity of the business process diagram when a debugging instruction is received comprises:
receiving a first debugging instruction, and checking the effectiveness of a constructed service flow chart in a flow chart editing interface based on the first debugging instruction, wherein the first debugging instruction is an integral debugging instruction; or,
and receiving a second debugging instruction, and checking the effectiveness of any function instance in the constructed service flow chart in the flow chart editing interface based on the second debugging instruction, wherein the second debugging instruction is an independent debugging instruction.
3. The business process debugging method of claim 1 wherein said hardware device comprises a WOSA hardware device or a non-WOSA hardware device.
4. The business process debugging method of claim 1, wherein if valid, executing the process corresponding to the business process graph comprises:
and dynamically displaying the currently executed nodes in the flow chart editing interface.
5. The business process debugging method of claim 1, further comprising:
and displaying a data pool variable in a data viewer in the right area of the process editing interface, wherein the data pool variable comprises parameter information configured or modified for the functional body.
6. A business process debugging device, comprising:
the receiving module is used for debugging the constructed business flow chart in the flow chart editing interface when a debugging instruction is received so as to determine the effectiveness of the business flow chart; the business flow chart is formed by connecting a plurality of function examples, the function examples are formed by connecting a plurality of business function bodies, and the business function bodies are visual graphs displayed in the flow chart editing interface;
the operation module is used for operating the flow corresponding to the business flow chart when the operation is effective;
the modification module is used for prompting error information existing in the business flow chart when the error information is invalid, receiving an operation instruction which is sent by a user according to the error information and is used for modifying the business flow chart based on the operation instruction until the error information is not prompted after the business flow chart is modified successfully;
the combined debugging unit is used for receiving a combined debugging instruction and responding to the combined debugging instruction to carry out combined debugging on the simulation SP, the simulation P end and the simulation IC server end; the simulation SP comprises simulation of hardware equipment behaviors, the simulation P end comprises simulation of bank front-end behaviors, and the simulation IC service end comprises simulation of IC service functions and behaviors; the business flow files corresponding to the business flow diagrams are loaded and executed at the same time, variable values are tracked in the running process, and the modified variables and the business flow diagrams take effect immediately.
7. The business process debugging apparatus of claim 6, wherein the receiving module comprises:
the first receiving unit is used for receiving a first debugging instruction, checking the effectiveness of a constructed service flow chart in a flow chart editing interface based on the first debugging instruction, wherein the first debugging instruction is an integral debugging instruction; or,
and the second receiving unit is used for receiving a second debugging instruction, checking the effectiveness of any function instance in the constructed service flow chart in the flow chart editing interface based on the second debugging instruction, wherein the second debugging instruction is an independent debugging instruction.
8. The business process debugging apparatus of claim 6 wherein said hardware device comprises a WOSA hardware device or a non-WOSA hardware device.
9. The business process debugging apparatus of claim 6, wherein the execution module comprises:
and the display unit is used for dynamically displaying the currently executed nodes in the flowchart editing interface.
10. The business process debugging apparatus of claim 6, further comprising:
and the display module is used for displaying data pool variables in a data viewer in the right area of the process editing interface, wherein the data pool variables comprise parameter information configured or modified for the functional body.
11. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 5 when executing the computer program.
12. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710712902.1A CN107590070B (en) | 2017-08-18 | 2017-08-18 | Business process debugging method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710712902.1A CN107590070B (en) | 2017-08-18 | 2017-08-18 | Business process debugging method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107590070A CN107590070A (en) | 2018-01-16 |
CN107590070B true CN107590070B (en) | 2020-07-24 |
Family
ID=61042363
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710712902.1A Active CN107590070B (en) | 2017-08-18 | 2017-08-18 | Business process debugging method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107590070B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110750437B (en) * | 2018-07-23 | 2023-12-22 | 阿里巴巴集团控股有限公司 | Equipment debugging method, device, equipment and system |
CN109684057B (en) * | 2018-12-11 | 2021-10-29 | 咪咕文化科技有限公司 | Task processing method and device and storage medium |
CN109688029A (en) * | 2019-01-28 | 2019-04-26 | 浪潮金融信息技术有限公司 | A kind of method and system at the simulation end P applied to financial self-service equipment |
CN110110114B (en) * | 2019-04-11 | 2024-05-03 | 平安科技(深圳)有限公司 | Visualization method, device and storage medium for multi-source earth observation image processing |
CN112000386A (en) * | 2019-05-08 | 2020-11-27 | 北京奇虎科技有限公司 | Application implementation method and device |
CN110659214B (en) * | 2019-09-27 | 2023-08-22 | 珠海金山数字网络科技有限公司 | Information processing system, method, computing device, and storage medium |
US11080636B1 (en) | 2020-11-18 | 2021-08-03 | Coupang Corp. | Systems and method for workflow editing |
CN112965438B (en) * | 2021-02-20 | 2022-05-03 | 武汉卓尔信息科技有限公司 | Industrial process control and management method and device |
CN113256428A (en) * | 2021-04-07 | 2021-08-13 | 深圳市怡化时代科技有限公司 | Method, device, equipment and storage medium for realizing financial terminal business function |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0261853A2 (en) * | 1986-09-25 | 1988-03-30 | Tektronix, Inc. | System for monitoring operation of object-oriented programs |
CN103514072A (en) * | 2012-06-28 | 2014-01-15 | 中兴通讯股份有限公司 | Method and device for debugging graphical service for visual programming |
CN104679488A (en) * | 2013-11-29 | 2015-06-03 | 亿阳信通股份有限公司 | Flow path customized development platform and method |
CN105511887A (en) * | 2015-12-28 | 2016-04-20 | 鲍敏祺 | Hardware visualization programming framework |
CN106648660A (en) * | 2016-12-22 | 2017-05-10 | 深圳怡化电脑股份有限公司 | Method and device for service development |
-
2017
- 2017-08-18 CN CN201710712902.1A patent/CN107590070B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0261853A2 (en) * | 1986-09-25 | 1988-03-30 | Tektronix, Inc. | System for monitoring operation of object-oriented programs |
CN103514072A (en) * | 2012-06-28 | 2014-01-15 | 中兴通讯股份有限公司 | Method and device for debugging graphical service for visual programming |
CN104679488A (en) * | 2013-11-29 | 2015-06-03 | 亿阳信通股份有限公司 | Flow path customized development platform and method |
CN105511887A (en) * | 2015-12-28 | 2016-04-20 | 鲍敏祺 | Hardware visualization programming framework |
CN106648660A (en) * | 2016-12-22 | 2017-05-10 | 深圳怡化电脑股份有限公司 | Method and device for service development |
Also Published As
Publication number | Publication date |
---|---|
CN107590070A (en) | 2018-01-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107590070B (en) | Business process debugging method and device | |
CN108563445B (en) | Application program code detection method and server | |
US9785418B2 (en) | Maintaining consistency amongst data structures that are referenced within different programs | |
CN108334346B (en) | Method and device for developing service control process | |
CN102968371B (en) | The method of test JAVA API unit component and device | |
CN108111364B (en) | Service system testing method and device | |
CN108460068B (en) | Method, device, storage medium and terminal for importing and exporting report | |
CN112671609A (en) | Asset census and safety detection method and device and terminal equipment | |
CN103207824B (en) | Not by the emulator of the interference that resets under monitoring mode | |
CN112306648B (en) | Transaction calling method, device, electronic equipment and storage medium | |
CN112579475A (en) | Code testing method, device, equipment and readable storage medium | |
CN112686019A (en) | Vehicle sensor data analysis method, device and storage medium | |
EP2942714B1 (en) | Monitoring method, monitoring apparatus, and electronic device | |
CN107291614B (en) | File abnormity detection method and electronic equipment | |
JP7008879B2 (en) | Information processing equipment, information processing methods and information processing programs | |
CN111078449B (en) | Information processing method, information processing device and terminal equipment | |
CN110648219B (en) | Method and device for standardizing input area of bank transaction system | |
CN115062312A (en) | Intelligent contract vulnerability detection method, device, equipment and storage medium | |
CN108255629B (en) | Breakpoint data obtaining method and terminal equipment | |
CN112819621A (en) | Intelligent contract resource loss testing method and system | |
CN114968751A (en) | Program debugging method and program debugging device of code-free development platform | |
CN113268230B (en) | Feedback information generation method and device, terminal and storage medium | |
CN112416772A (en) | Test case completion method and device, electronic equipment and readable storage medium | |
WO2019033409A1 (en) | Service flow debugging method and device | |
CN114756440B (en) | Data writing method, device and equipment of smart card and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |