CN112631675A - Workflow configuration method, device, equipment and computer readable storage medium - Google Patents

Workflow configuration method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN112631675A
CN112631675A CN202011505427.9A CN202011505427A CN112631675A CN 112631675 A CN112631675 A CN 112631675A CN 202011505427 A CN202011505427 A CN 202011505427A CN 112631675 A CN112631675 A CN 112631675A
Authority
CN
China
Prior art keywords
workflow
service
service data
server
data
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
CN202011505427.9A
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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN202011505427.9A priority Critical patent/CN112631675A/en
Publication of CN112631675A publication Critical patent/CN112631675A/en
Pending legal-status Critical Current

Links

Images

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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • 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/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to big data processing, and discloses a workflow configuration method, which comprises the following steps: calling address information of a server corresponding to the workflow configuration instruction according to the workflow configuration instruction; calling service data from the server according to the address information of the server; extracting a service workflow from the service data; and performing logic integration on the service workflow according to a preset workflow integration frame to generate the workflow. The invention also relates to a block chain technology, and the preset workflow integration frame is stored in the block chain. The invention can avoid the defects of data transmission redundancy and large data transmission quantity in the prior art; generating a clear workflow; the workflow can be integrated according to the actual business scene, and the reusability is good.

Description

Workflow configuration method, device, equipment and computer readable storage medium
Technical Field
The present invention relates to big data processing, and in particular, to a method and an apparatus for workflow configuration, an electronic device, and a computer-readable storage medium.
Background
The enterprise can be simple through the mode of workflow scheduling, and the convenient application that will disperse integrates into an orderly scheduling system chain. With the development of 5G and cloud technologies, deployment of workflow engines at the cloud end is trending, and more enterprises tend to deploy the workflow engines at the cloud end, so that agile and efficient iterative development speed is realized. Traditional single-core, localized workflow engines have been gradually abandoned due to their single function, poor reusability, and other features.
The present application is a converter from SOAP (simple object access protocol) service to REST (software architecture style) service, in which the process of converting the method in SOAP into the resource in REST and the HTTP standard method is described, which proves that part of the complex methods can be replaced by the method of increasing, deleting, and checking many times. However, when the method is complex enough, a large amount of HTTP standard methods and REST resources are generated after decomposition, so that the flow in REST is too cumbersome; REST services are integrated with SOAP services and accessed using the same type of interface. However, the integration framework converts REST services into SOAP services, so that the efficiency is low and the cost is high; in addition, in the existing design process, the workflow and the service system are fused, and the scene of repeated multiplexing cannot be configured once.
Disclosure of Invention
The invention provides a workflow configuration method, a workflow configuration device, electronic equipment and a computer-readable storage medium, and mainly aims to overcome the defects of data transmission redundancy and large data transmission quantity in the prior art; generating a clear workflow; the workflow can be integrated according to the actual business scene, and the reusability is good.
In a first aspect, to achieve the above object, the present invention provides a workflow configuration method, including:
calling address information of a server corresponding to a workflow configuration instruction according to the workflow configuration instruction;
calling service data from the server according to the address information of the server;
extracting a service workflow from the service data;
and logically integrating the service workflow according to a preset workflow integration frame to generate the workflow.
In a second aspect, in order to solve the above problem, the present invention further provides a workflow configuration apparatus, comprising:
the address information calling module is used for calling the address information of the server corresponding to the workflow configuration instruction according to the workflow configuration instruction;
the service data calling module is used for calling service data from the server according to the address information of the server;
the service workflow extraction module is used for extracting service workflows from the service data;
and the workflow generation module is used for performing logic integration on the service workflow according to a preset workflow integration frame to generate a workflow.
In a third aspect, to solve the above problem, the present invention further provides an electronic apparatus, including:
a memory storing at least one instruction; and
and the processor executes the instructions stored in the memory to realize the steps of the workflow configuration method.
In a fourth aspect, to solve the above problem, the present invention further provides a computer-readable storage medium, having at least one instruction stored therein, where the at least one instruction is executed by a processor in an electronic device to implement the steps of the workflow configuration method described above.
According to the workflow configuration method, the workflow configuration device, the electronic equipment and the computer readable storage medium, address information of a server corresponding to a workflow configuration instruction is called according to the workflow configuration instruction; calling service data from the server according to the address information of the server; then extracting a service workflow from the service data; and finally, performing logic integration on the service workflow according to a preset workflow integration frame to generate the workflow. The whole process is simple and convenient, the service data is directly called from the server side, and the working efficiency is improved; the defects of data transmission redundancy and large data transmission quantity in the prior art are avoided; the workflow is clearer and clearer through the preset workflow integration frame, the working efficiency is further improved, the preset workflow integration frame can be determined and integrated according to the actual business scene needs, and the reusability is good.
Drawings
Fig. 1 is a schematic flow chart of a workflow configuration method according to an embodiment of the present invention;
FIG. 2 is a block diagram of a Chinese workflow configuration apparatus according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an internal structure of an electronic device implementing the chinese workflow configuration method according to an embodiment of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a workflow configuration method. Fig. 1 is a schematic flow chart of a workflow configuration method according to an embodiment of the present invention. The method may be performed by an apparatus, which may be implemented by software and/or hardware.
In this embodiment, the workflow configuration method includes:
and S110, calling address information of the server corresponding to the workflow configuration instruction according to the workflow configuration instruction.
Specifically, the processor acquires a workflow configuration instruction, and determines a server required to execute the instruction according to the acquired workflow configuration instruction, for example, if a node of a workflow required to be configured in the workflow configuration instruction needs to use a service provided by a certain server, the processor needs to call a data interface of the server, so as to acquire service data required by the workflow required to be configured from the server. There may be multiple servers required for executing a workflow configuration instruction, for example, a workflow that needs to be configured includes: the address information of the wind control system (server), the contract signing system (server), the deposit system (server) and the like needs to be called respectively for the wind control node, the contract node, the deposit waiting node and the like, so that corresponding service data can be obtained from the corresponding server conveniently.
As an optional embodiment of the present invention, invoking, according to the workflow configuration instruction, address information of the server corresponding to the workflow configuration instruction includes:
acquiring a workflow configuration instruction; the workflow configuration instruction comprises the type of the workflow to be configured;
acquiring a service method name list matched with the type of the workflow to be configured in advance;
acquiring address information of a server corresponding to the service method name list from a preset service address list; the service address list comprises a service method name and address information of a service end corresponding to the service method name.
Specifically, the types of workflows are different, and service data required by each node of a workflow is different, so that service terminals providing the service data are also different. The workflow configuration instruction at least needs to include the type of the workflow to be configured, after the processor obtains the workflow configuration instruction, a service method name list which is matched with the type of the workflow to be configured in advance is obtained according to the type of the workflow to be configured, for example, the type of the workflow to be configured is loan service, the service method name list which is matched with the loan service in advance comprises a pneumatic control method, a contract signing method, a payment method and the like, each service method name in the service method name list corresponds to address information of a service end, and the service method name and the address information of the service end are stored in a preset service address list, so that the search is facilitated.
And S120, calling service data from the server according to the address information of the server.
Specifically, the processor establishes a connection with the data interface of the server according to the acquired address information of the server, and calls the required service data from the server.
As an optional embodiment of the present invention, the retrieving service data from the server according to the address information of the server includes:
filling address information of the server as an entry parameter into a preset server address configuration template, and performing address configuration;
calling a service data interface of the server according to the information that the address configuration is successful;
and calling the service data corresponding to the service method name from the service end through the service data interface.
Specifically, the processor acquires a preset server address configuration template from the server, fills address information of the server into the preset server address configuration template, and performs address configuration, wherein the address configuration mode can be selected as URI (Uniform resource identifier) address configuration, acquires information that the address configuration is successful, and calls a service data interface of the server and acquires service data corresponding to a service method name according to the information that the address configuration is successful.
As an optional embodiment of the present invention, invoking, by a service data interface, service data corresponding to a service method name from a service end includes:
when the service data corresponding to the service method name is not called from the server side, generating the information of the calling data failure;
and calling the service data corresponding to the service method name from the service side again according to the information of the data calling failure and a preset failure frequency threshold value.
Specifically, in the process of calling data from a server through a service data interface by a processor, when data calling fails due to a network or other reasons, information of data calling failure is generated, when the processor acquires the information of data calling failure, failure times of calling service data are acquired, if the failure times of calling service data do not reach a preset failure time threshold value, service data corresponding to a service method name are continuously called from the server again, if the failure times of calling service data reach the preset failure time threshold value, information of service data acquisition failure is generated and sent to a client, wherein the client is an intelligent terminal, such as a mobile phone page of an operator. The times of resetting failure can be generated on the page of the intelligent terminal or the selection of data acquisition is abandoned, and the next operation is carried out according to the obtained selection information.
As an optional embodiment of the present invention, after invoking service data corresponding to a service method name from a service end through a service data interface, the method further includes:
acquiring a data processing rule corresponding to the type of the service data according to the type of the service data;
and according to the data processing rule, performing unified processing on the service data to generate the service data conforming to the flow circulation format.
Specifically, the processor acquires a corresponding data processing rule from the data processing rule base according to the type of the acquired service data, for example, if the type of the data is a type which does not need to be stored, preliminary data processing needs to be performed first, for example, operations such as formatting verification, character renaming and the like are performed in sequence, and the data after preliminary processing is assembled into a format which accords with the flow circulation; if the type of the data is the type to be stored, the corresponding data processing rule may be to sequentially perform operations such as formatting verification, renaming characters, and the like, and assemble the data after the preliminary processing into a format conforming to the flow circulation after the data is stored. The actual data processing rule is determined according to actual needs, and only the service data of different types are subjected to corresponding data processing and finally unified processing to generate the service data conforming to the flow circulation format.
And S130, extracting the service workflow from the service data.
Specifically, the processor extracts service workflows from service data acquired by each service end, such as the above loan service, the wind control service data acquired from the wind control system, the contract signing service data acquired from the contract signing system, and the loan service data acquired from the loan system, respectively, where each of the service data includes a corresponding service workflow, for example, the wind control service data includes a wind control flow, and performs a wind control operation according to the wind control flow.
As an alternative embodiment of the present invention, extracting a service workflow from service data includes:
analyzing service data from different service terminals to obtain analyzed service data;
and extracting the service workflow matched with each service method name in the service method name list from the analyzed service data.
Specifically, the processor analyzes the service data acquired from each server to obtain analyzed service data, and extracts a service workflow matched with each service method name in the service method name list from the analyzed service data. For example, a wind control process matched with a wind control method.
And S140, performing logic integration on the service workflow according to a preset workflow integration frame to generate the workflow.
Specifically, workflow frames corresponding to each service are different, a preset workflow integration frame is correspondingly matched according to the type of the workflow, the preset workflow integration frame includes service method names to be configured of each node of the workflow to be configured and position information of the service method names in the preset workflow integration frame, the service workflow corresponding to the service method names is logically integrated according to the service method names and the position information of the service method names in the preset workflow integration frame, and finally the workflow is generated.
As an optional embodiment of the present invention, the preset workflow integration frame is stored in the blockchain, and the logic integration is performed on the service workflow according to the preset workflow integration frame, and the generating of the workflow includes:
acquiring a preset workflow integration frame corresponding to the type of the workflow to be configured;
and taking each service workflow as a sub-workflow, and logically arranging according to the sequence of a preset workflow integration frame to generate the workflow.
Specifically, the processor acquires a corresponding preset workflow integration frame according to the type of the workflow required to be configured indicated in the workflow configuration instruction, takes each service workflow as a sub-workflow, places the service workflow corresponding to the service method name as the sub-workflow at a corresponding position of the preset workflow integration frame according to the service method name and the position information of the service method name included in the preset workflow integration frame, and finally obtains the workflow.
Fig. 2 is a functional block diagram of a workflow configuration apparatus according to an embodiment of the present invention.
The workflow configuration apparatus 200 of the present invention may be installed in an electronic device. According to the implemented functions, the workflow configuration device may include an address information retrieval module 210, a service data retrieval module 220, a service workflow extraction module 230, and a workflow generation module 240. A module according to the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
the address information retrieving module 210 is configured to retrieve, according to the workflow configuration instruction, address information of the server corresponding to the workflow configuration instruction.
Specifically, the processor acquires a workflow configuration instruction, and determines a server required to execute the instruction according to the acquired workflow configuration instruction, for example, if a node of a workflow required to be configured in the workflow configuration instruction needs to use a service provided by a certain server, the processor needs to call a data interface of the server, so as to acquire service data required by the workflow required to be configured from the server. There may be multiple servers required for executing a workflow configuration instruction, for example, a workflow that needs to be configured includes: the address information of the wind control system (server), the contract signing system (server), the deposit system (server) and the like needs to be called respectively for the wind control node, the contract node, the deposit waiting node and the like, so that corresponding service data can be obtained from the corresponding server conveniently.
As an optional embodiment of the present invention, invoking, according to the workflow configuration instruction, address information of the server corresponding to the workflow configuration instruction includes:
acquiring a workflow configuration instruction; the workflow configuration instruction comprises the type of the workflow to be configured;
acquiring a service method name list matched with the type of the workflow to be configured in advance;
acquiring address information of a server corresponding to the service method name list from a preset service address list; the service address list comprises a service method name and address information of a service end corresponding to the service method name.
Specifically, the types of workflows are different, and service data required by each node of a workflow is different, so that service terminals providing the service data are also different. The workflow configuration instruction at least needs to include the type of the workflow to be configured, after the processor obtains the workflow configuration instruction, a service method name list which is matched with the type of the workflow to be configured in advance is obtained according to the type of the workflow to be configured, for example, the type of the workflow to be configured is loan service, the service method name list which is matched with the loan service in advance comprises a pneumatic control method, a contract signing method, a payment method and the like, each service method name in the service method name list corresponds to address information of a service end, and the service method name and the address information of the service end are stored in a preset service address list, so that the search is facilitated.
The service data retrieving module 220 is configured to retrieve service data from the server according to the address information of the server.
Specifically, the processor establishes a connection with the data interface of the server according to the acquired address information of the server, and calls the required service data from the server.
As an optional embodiment of the present invention, the retrieving service data from the server according to the address information of the server includes:
filling address information of the server as an entry parameter into a preset server address configuration template, and performing address configuration;
calling a service data interface of the server according to the information that the address configuration is successful;
and calling the service data corresponding to the service method name from the service end through the service data interface.
Specifically, the processor acquires a preset server address configuration template from the server, fills address information of the server into the preset server address configuration template, and performs address configuration, wherein the address configuration mode can be selected as URI (Uniform resource identifier) address configuration, acquires information that the address configuration is successful, and calls a service data interface of the server and acquires service data corresponding to a service method name according to the information that the address configuration is successful.
As an optional embodiment of the present invention, invoking, by a service data interface, service data corresponding to a service method name from a service end includes:
when the service data corresponding to the service method name is not called from the server side, generating the information of the calling data failure;
and calling the service data corresponding to the service method name from the service side again according to the information of the data calling failure and a preset failure frequency threshold value.
Specifically, in the process of calling data from a server through a service data interface by a processor, when data calling fails due to a network or other reasons, information of data calling failure is generated, when the processor acquires the information of data calling failure, failure times of calling service data are acquired, if the failure times of calling service data do not reach a preset failure time threshold value, service data corresponding to a service method name are continuously called from the server again, if the failure times of calling service data reach the preset failure time threshold value, information of service data acquisition failure is generated and sent to a client, wherein the client is an intelligent terminal, such as a mobile phone page of an operator. The times of resetting failure can be generated on the page of the intelligent terminal or the selection of data acquisition is abandoned, and the next operation is carried out according to the obtained selection information.
As an optional embodiment of the present invention, after invoking service data corresponding to a service method name from a service end through a service data interface, the method further includes:
acquiring a data processing rule corresponding to the type of the service data according to the type of the service data;
and according to the data processing rule, performing unified processing on the service data to generate the service data conforming to the flow circulation format.
Specifically, the processor acquires a corresponding data processing rule from the data processing rule base according to the type of the acquired service data, for example, if the type of the data is a type which does not need to be stored, preliminary data processing needs to be performed first, for example, operations such as formatting verification, character renaming and the like are performed in sequence, and the data after preliminary processing is assembled into a format which accords with the flow circulation; if the type of the data is the type to be stored, the corresponding data processing rule may be to sequentially perform operations such as formatting verification, renaming characters, and the like, and assemble the data after the preliminary processing into a format conforming to the flow circulation after the data is stored. The actual data processing rule is determined according to actual needs, and only the service data of different types are subjected to corresponding data processing and finally unified processing to generate the service data conforming to the flow circulation format.
A service workflow extraction module 230, configured to extract a service workflow from the service data.
Specifically, the processor extracts service workflows from service data acquired by each service end, such as the above loan service, the wind control service data acquired from the wind control system, the contract signing service data acquired from the contract signing system, and the loan service data acquired from the loan system, respectively, where each of the service data includes a corresponding service workflow, for example, the wind control service data includes a wind control flow, and performs a wind control operation according to the wind control flow.
As an alternative embodiment of the present invention, extracting a service workflow from service data includes:
analyzing service data from different service terminals to obtain analyzed service data;
and extracting the service workflow matched with each service method name in the service method name list from the analyzed service data.
Specifically, the processor analyzes the service data acquired from each server to obtain analyzed service data, and extracts a service workflow matched with each service method name in the service method name list from the analyzed service data. For example, a wind control process matched with a wind control method.
And the workflow generating module 240 is configured to perform logic integration on the service workflow according to a preset workflow integration framework to generate a workflow.
Specifically, workflow frames corresponding to each service are different, a preset workflow integration frame is correspondingly matched according to the type of the workflow, the preset workflow integration frame includes service method names to be configured of each node of the workflow to be configured and position information of the service method names in the preset workflow integration frame, the service workflow corresponding to the service method names is logically integrated according to the service method names and the position information of the service method names in the preset workflow integration frame, and finally the workflow is generated.
As an optional embodiment of the present invention, the preset workflow integration frame is stored in the blockchain, and the logic integration is performed on the service workflow according to the preset workflow integration frame, and the generating of the workflow includes:
acquiring a preset workflow integration frame corresponding to the type of the workflow to be configured;
and taking each service workflow as a sub-workflow, and logically arranging according to the sequence of a preset workflow integration frame to generate the workflow.
Specifically, the processor acquires a corresponding preset workflow integration frame according to the type of the workflow required to be configured indicated in the workflow configuration instruction, takes each service workflow as a sub-workflow, places the service workflow corresponding to the service method name as the sub-workflow at a corresponding position of the preset workflow integration frame according to the service method name and the position information of the service method name included in the preset workflow integration frame, and finally obtains the workflow.
Fig. 3 is a schematic structural diagram of an electronic device for implementing a workflow configuration method according to an embodiment of the present invention.
The electronic device 1 may comprise a processor 10, a memory 11 and a bus, and may further comprise a computer program, such as a workflow configuration program 12, stored in the memory 11 and executable on the processor 10.
The memory 11 includes at least one type of readable storage medium, which includes flash memory, removable hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device 1, such as a removable hard disk of the electronic device 1. The memory 11 may also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 11 may be used not only to store application software installed in the electronic device 1 and various types of data, such as codes of a workflow configuration program, but also to temporarily store data that has been output or is to be output.
The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device 1 by running or executing programs or modules (e.g., workflow configuration programs, etc.) stored in the memory 11 and calling data stored in the memory 11.
The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like.
Fig. 3 shows only an electronic device with components, and it will be understood by those skilled in the art that the structure shown in fig. 3 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
For example, although not shown, the electronic device 1 may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so as to implement functions of charge management, discharge management, power consumption management, and the like through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device 1 may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
Further, the electronic device 1 may further include a network interface, and optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the electronic device 1 and other electronic devices.
Optionally, the electronic device 1 may further comprise a user interface, which may be a Display (Display), an input unit (such as a Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the electronic device 1 and for displaying a visualized user interface, among other things.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
The workflow configuration program 12 stored in the memory 11 of the electronic device 1 is a combination of instructions that, when executed in the processor 10, may implement:
calling address information of a server corresponding to the workflow configuration instruction according to the workflow configuration instruction;
calling service data from the server according to the address information of the server;
extracting a service workflow from the service data;
and performing logic integration on the service workflow according to a preset workflow integration frame to generate the workflow.
Specifically, the specific implementation method of the processor 10 for the instruction may refer to the description of the relevant steps in the embodiment corresponding to fig. 1, which is not described herein again. It is emphasized that to further ensure privacy and security of the default workflow integration framework, the default workflow integration framework may also be stored in a node of a blockchain.
Further, the integrated modules/units of the electronic device 1, 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. The computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM).
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules 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 modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules 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, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. A method of workflow configuration, the method comprising:
calling address information of a server corresponding to a workflow configuration instruction according to the workflow configuration instruction;
calling service data from the server according to the address information of the server;
extracting a service workflow from the service data;
and logically integrating the service workflow according to a preset workflow integration frame to generate the workflow.
2. The workflow configuration method according to claim 1, wherein the retrieving, according to the workflow configuration instruction, address information of the server corresponding to the workflow configuration instruction comprises:
acquiring a workflow configuration instruction; wherein the workflow configuration instruction comprises the type of the workflow needing to be configured;
acquiring a service method name list matched with the type of the workflow needing to be configured in advance;
acquiring address information of a server corresponding to the service method name list from a preset service address list; the service address list comprises a service method name and address information of a service end corresponding to the service method name.
3. The workflow configuration method according to claim 2, wherein the invoking service data from the server according to the address information of the server comprises:
filling the address information of the server as an entry parameter into a preset server address configuration template to perform address configuration;
calling a service data interface of the server according to the information that the address configuration is successful;
and calling service data corresponding to the service method name from the service end through the service data interface.
4. The workflow configuration method according to claim 3, wherein the retrieving, from the server side through the service data interface, service data corresponding to the service method name comprises:
when the service data corresponding to the service method name is not called from the server side, generating the information that the calling data is not called;
and calling the service data corresponding to the service method name from the service side again according to the information of the data calling failure and a preset failure frequency threshold value.
5. The workflow configuration method according to claim 3, further comprising, after the invoking of the service data corresponding to the service method name from the service end through the service data interface:
acquiring a data processing rule corresponding to the type of the service data according to the type of the service data;
and according to the data processing rule, performing unified processing on the service data to generate service data conforming to a flow circulation format.
6. The workflow configuration method of claim 3 wherein said extracting service workflows from said service data comprises:
analyzing service data from different service terminals to obtain analyzed service data;
and extracting the service workflow matched with each service method name in the service method name list from the analyzed service data.
7. The workflow configuration method according to claim 2, wherein the preset workflow integration framework is stored in a block chain, and the generating of the workflow by logically integrating the service workflow according to the preset workflow integration framework comprises:
acquiring a preset workflow integration frame corresponding to the type of the workflow needing to be configured;
and taking each service workflow as a sub-workflow, and logically arranging according to the sequence of a preset workflow integration frame to generate the workflow.
8. A workflow configuration apparatus, characterized in that the apparatus comprises:
the address information calling module is used for calling the address information of the server corresponding to the workflow configuration instruction according to the workflow configuration instruction;
the service data calling module is used for calling service data from the server according to the address information of the server;
the service workflow extraction module is used for extracting service workflows from the service data;
and the workflow generation module is used for performing logic integration on the service workflow according to a preset workflow integration frame to generate a workflow.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the workflow configuration method as claimed in any one of claims 1 to 7.
10. 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 workflow configuration method according to one of claims 1 to 7.
CN202011505427.9A 2020-12-18 2020-12-18 Workflow configuration method, device, equipment and computer readable storage medium Pending CN112631675A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011505427.9A CN112631675A (en) 2020-12-18 2020-12-18 Workflow configuration method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011505427.9A CN112631675A (en) 2020-12-18 2020-12-18 Workflow configuration method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112631675A true CN112631675A (en) 2021-04-09

Family

ID=75317155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011505427.9A Pending CN112631675A (en) 2020-12-18 2020-12-18 Workflow configuration method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112631675A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114331049A (en) * 2021-12-13 2022-04-12 易筑网络科技(苏州)有限公司 Process engine system for rapidly constructing process

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110310088A (en) * 2019-06-14 2019-10-08 平安科技(深圳)有限公司 Workflow configuration method and Related product
CN110704095A (en) * 2019-09-03 2020-01-17 深圳壹账通智能科技有限公司 Workflow-based configuration processing method and device, computer equipment and storage medium
CN111142933A (en) * 2019-05-29 2020-05-12 浙江大搜车软件技术有限公司 Workflow generation method and device, computer equipment and storage medium
US20210307621A1 (en) * 2017-05-29 2021-10-07 Saltor Pty Ltd Method And System For Abnormality Detection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210307621A1 (en) * 2017-05-29 2021-10-07 Saltor Pty Ltd Method And System For Abnormality Detection
CN111142933A (en) * 2019-05-29 2020-05-12 浙江大搜车软件技术有限公司 Workflow generation method and device, computer equipment and storage medium
CN110310088A (en) * 2019-06-14 2019-10-08 平安科技(深圳)有限公司 Workflow configuration method and Related product
CN110704095A (en) * 2019-09-03 2020-01-17 深圳壹账通智能科技有限公司 Workflow-based configuration processing method and device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114331049A (en) * 2021-12-13 2022-04-12 易筑网络科技(苏州)有限公司 Process engine system for rapidly constructing process

Similar Documents

Publication Publication Date Title
CN112052242A (en) Data query method and device, electronic equipment and storage medium
CN112541745A (en) User behavior data analysis method and device, electronic equipment and readable storage medium
CN111787171B (en) Automatic outbound method, device, electronic equipment and computer readable storage medium
CN114398194A (en) Data collection method and device, electronic equipment and readable storage medium
CN112685117A (en) System language internationalization maintenance method, device and computer readable storage medium
CN112231417A (en) Data classification method and device, electronic equipment and storage medium
CN112631903A (en) Task testing method and device, electronic equipment and storage medium
CN111984822A (en) Image generation method and device, electronic equipment and computer readable storage medium
CN112256783A (en) Data export method and device, electronic equipment and storage medium
CN112702228A (en) Service current limiting response method and device, electronic equipment and readable storage medium
CN112580079A (en) Authority configuration method and device, electronic equipment and readable storage medium
CN115129753A (en) Data blood relationship analysis method and device, electronic equipment and storage medium
CN114691782A (en) Database table increment synchronization method and device and storage medium
CN112631675A (en) Workflow configuration method, device, equipment and computer readable storage medium
CN112541688A (en) Service data checking method and device, electronic equipment and computer storage medium
CN115145870A (en) Method and device for positioning reason of failed task, electronic equipment and storage medium
CN114911479A (en) Interface generation method, device, equipment and storage medium based on configuration
CN114448930A (en) Short address generation method and device, electronic equipment and computer readable storage medium
CN115016754A (en) Method and device for synchronously displaying pages among devices, electronic device and medium
CN114461531A (en) Platform adaptability test method, device, equipment and storage medium of test case
CN114547011A (en) Data extraction method and device, electronic equipment and storage medium
CN112527443A (en) Prompt box display method and device, electronic equipment and computer readable storage medium
CN111859452A (en) Page information checking method, device and equipment and computer readable storage medium
CN113326421B (en) Data identification method and device for record carrier, electronic equipment and storage medium
CN115061765B (en) Message card ejection method and device, electronic 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: 20210409

RJ01 Rejection of invention patent application after publication