WO2020233037A1 - 数据处理方法、装置及存储介质 - Google Patents

数据处理方法、装置及存储介质 Download PDF

Info

Publication number
WO2020233037A1
WO2020233037A1 PCT/CN2019/120153 CN2019120153W WO2020233037A1 WO 2020233037 A1 WO2020233037 A1 WO 2020233037A1 CN 2019120153 W CN2019120153 W CN 2019120153W WO 2020233037 A1 WO2020233037 A1 WO 2020233037A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
target
processed
target event
service node
Prior art date
Application number
PCT/CN2019/120153
Other languages
English (en)
French (fr)
Inventor
张翔
Original Assignee
深圳壹账通智能科技有限公司
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 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2020233037A1 publication Critical patent/WO2020233037A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/116Details of conversion of file system types or formats

Definitions

  • This application relates to the field of computer technology, and in particular to a data processing method, device and storage medium.
  • Workflow Engine refers to the workflow as a part of the application system and provides it with different roles, division of labor and conditions that are decisive for each application system. Decide on core solutions such as information transmission routing and content level. Through the workflow engine, business can be handled conveniently and quickly.
  • processing business processes through a workflow engine requires the introduction of third-party tools to manage business processes, and developers must be familiar with relevant plug-ins before they can carry out process management development.
  • different business processes have different data formats, so it is necessary to design and develop different workflow engines to connect the business of different companies to complete the task of converting the data format of business data.
  • This application provides a data processing method, device, and storage medium, which are applied to a workflow engine to process business processes.
  • files to be processed from different companies can be converted into target files in target formats, which improves Improve the efficiency of processing business processes.
  • this application provides a data processing method, including:
  • the target event is used to instruct the service node to process the task processing flow corresponding to the target event;
  • the file format of the file to be processed is converted to the target format corresponding to the service node through the service node, and the task processing flow corresponding to the target event is converted into the target Task processing is performed on the file to be processed in the format to obtain the target file.
  • this application provides a data processing device, including:
  • the obtaining unit is configured to obtain a file to be processed, and the file to be processed carries a business tag;
  • the first processing unit is configured to send the file to be processed to a service node corresponding to the service label of the file to be processed;
  • the first monitoring unit is configured to monitor whether a target event corresponding to the service node is triggered, and the target event is used to instruct the service node to process a task processing flow corresponding to the target event;
  • the second processing unit is configured to, if the target event is triggered, convert the file format of the file to be processed into the target format corresponding to the service node through the service node, and according to the task corresponding to the target event
  • the processing flow performs task processing on the above to-be-processed file that has been converted into the target format to obtain the target file.
  • an embodiment of the present application also provides a data processing device, including: a processor, a memory, and an input/output interface, the processor, the memory, and the input/output interface are interconnected through a line; wherein, the The memory stores program instructions; when the program instructions are executed by the processor, the processor executes the corresponding method as described in the first aspect.
  • an embodiment of the present application provides a computer non-volatile readable storage medium, the computer non-volatile readable storage medium stores a computer program, the computer program includes program instructions, and the program The instructions, when executed by the processor, cause the processor to execute the method described in the first aspect.
  • the process of converting the format of the file to be processed into the target format can be completed through the service node, and finally the target file is obtained.
  • the file to be processed can be completed by inputting the file to be processed into the corresponding service node. Format conversion improves the efficiency of processing business processes.
  • FIG. 1 is a schematic flowchart of a data processing method provided by an embodiment of the present application
  • FIG. 2 is a schematic flowchart of another data processing method provided by an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a data processing device provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a first processing unit provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a first monitoring unit provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of another data processing device provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a second processing unit provided by an embodiment of this application.
  • FIG. 8 is a schematic diagram of a data processing structure provided by an embodiment of the present application.
  • FIG. 1 is a schematic flowchart of a data processing method provided by an embodiment of the present application.
  • the data processing method can be applied to a workflow engine or a workflow system.
  • the above-mentioned workflow engine includes a workflow system.
  • Workflow engine refers to the workflow (workflow) as a part of the application system, and provides it with a decisive role for each application system according to different roles, division of labor and conditions to determine information transmission routing, content level and other core solutions Program.
  • the workflow engine includes important functions such as process node management, flow direction management, and process sample management.
  • the above-mentioned workflow system can be understood as a workflow management system.
  • the workflow is "the automation of part or the whole of the business process in the computer application environment”. It mainly solves the problem of "to transfer documents and information among multiple participants according to certain predefined rules. Or the process of the task is carried out automatically to achieve an expected business goal, or to promote the realization of this goal.”
  • Workflow management system (workflow management system, wfms) is a software system that completes the definition and management of workload, and executes workflow instances according to the workflow logic that is pre-defined in the system.
  • the workflow system may be a terminal device such as a computer and a mobile phone. It can be understood that the embodiment of the present application does not uniquely limit what the workflow system is.
  • the data processing method includes:
  • the workflow can be applied to the following industries: consumer goods industry, manufacturing, telecommunication services, corporate securities and other financial services, logistics services, property services, property management, large and medium-sized import and export trading companies, governments Institutions, research institutes and educational services are especially large multinational companies and group companies.
  • Administrative management applications for business trips, overtime applications, leave applications, car applications, various office supplies applications, purchase applications, daily reports, weekly reports, etc., which are administrative forms that were originally manually transferred.
  • Personnel management employee training arrangements, performance appraisal, handling of position changes, employee file information management, etc.
  • Customer service customer information management, customer complaints, request handling, after-sales service management, etc.
  • the above-mentioned file to be processed is related to the specific application of the above-mentioned workflow.
  • the above pending file is a file related to daily reimbursement processing, etc.
  • the pending file is a file with a converted file format. It can be understood that the embodiment of the present application does not limit what the file to be processed is.
  • the above-mentioned workflow engine includes a download node
  • the above-mentioned obtaining the file to be processed includes: downloading the above-mentioned file to be processed through the download node.
  • the concept of workflow originates from generation organization and office automation.
  • a set of related subtasks needs to be completed according to a certain process.
  • the entire process or flow of the transaction or task is a process.
  • Each subtask is a node, and each subtask needs to be split into independent work tasks, which are work items.
  • the entire process of issuing the announcement is a process from the beginning of the drafting to the end of the announcement.
  • the above-mentioned announcement process can be divided into drafting, department head review, leadership review, finalization, writing, and release.
  • Each step is a node.
  • nodes such as writing, to complete redistribution and redistribution of manuscripts, there must be header processing, table bottom processing, etc., which are all work items.
  • the above process can also be called a process; the above nodes, also called links, steps, etc.; work items, also called elements, points, etc.
  • the above download node can be understood as a workflow node in a workflow task, or a step in a workflow task.
  • the work item completed by the download node is to download the aforementioned pending file.
  • the download node can specifically download the file to be processed, which improves the speed of downloading the file to be processed.
  • the above-mentioned document to be processed carries a business label corresponding to the document to be processed.
  • the service label of the file to be processed the service node corresponding to the file to be processed can be determined, and the file to be processed can be input to the service node.
  • the service label is used to indicate the specific service type involved in the file to be processed.
  • the service tag can be added to the file to be processed by the aforementioned data processing device (such as a workflow engine or a workflow system).
  • the aforementioned data processing device such as a workflow engine or a workflow system.
  • other devices or equipment may be used to add the service tag to the file to be processed. It can be understood that the specific adding manner of the service label is not limited in the embodiment of the present application.
  • the above-mentioned service node can be understood as a general term for a set of workflow nodes including one or more workflow nodes.
  • the node included in the service node is a node; if the file of the file to be processed in step 104
  • the conversion of the format into the target format requires multiple steps (at least two steps) to complete, and the nodes included in the service node are multiple nodes (at least two nodes).
  • the foregoing service node is used to process files to be processed of different service types, that is, the service nodes corresponding to files to be processed for different service labels are different.
  • the service label of the service node can be added to the service node through the above-mentioned data processing device (such as a workflow engine or a workflow system).
  • the data processing device such as a workflow engine or a workflow system.
  • the file to be processed can be input to the corresponding service node.
  • the service node corresponding to the above-mentioned file to be processed can be determined by matching the service label, and the file to be processed can be input into the service node, which can avoid inputting the file to be processed into an uncorresponding In the service node, the accuracy of business process processing is improved.
  • the workflow system generally includes one or more workflow nodes, which can be understood as a kind of task node, and the above-mentioned service node is one of the workflow nodes.
  • the above-mentioned target events can be set with different event types according to different needs. That can provide a wealth of events for the use of the application system, so as to realize the interaction between the workflow engine and the application system.
  • the above-mentioned target event may be a process start event, a process end event, a pre-link entry event, a post link entry event, a pre-execution event and a post-execution event, and other events.
  • monitoring whether the target event corresponding to the above service node is triggered can be achieved by monitoring the event of the button corresponding to the service node.
  • an event can be understood as a behavior that can be detected by JavaScript (a literal scripting language).
  • the monitoring of the above-mentioned target event can be realized by customizing the event listener and registering the event listener.
  • several Spring Boot methods for event monitoring are also provided in the embodiments of the present application.
  • Spring Boot is a brand new framework provided by the Pivotal team, and its design purpose is to simplify the initial setup and development process of new Spring applications.
  • the framework uses a specific way to configure, so that developers no longer need to define a boilerplate configuration.
  • Custom events are generally inherited from custom events and generally inherit from the ApplicationEvent abstract class.
  • publishing events can be divided into synchronous publishing events or asynchronous publishing events.
  • Synchronous publishing events can ensure the linear running of tasks, while asynchronous publishing enables parallel processing of tasks.
  • the file format of the file to be processed is converted to the target format corresponding to the service node through the service node, and the task processing flow corresponding to the target event is performed on the target format that has been converted to the target format.
  • the file to be processed performs task processing to obtain the target file.
  • the file format of the file to be processed can be converted into the target format corresponding to the service node through the service node in the workflow system, and further task processing is performed on the file to be processed after the format conversion. Finally get the target file.
  • the process of converting the file format of the file to be processed into the target format and performing task processing on the file to be processed that has been converted into the target format is called the target task.
  • the aforementioned target task can generally be executed in multiple steps, that is, the aforementioned target task needs to be executed in batches through multiple workflow nodes.
  • the above service node includes one or more workflow nodes.
  • the service node includes a service node, a second node, and a third node, etc.
  • the service node, the second node, and the third node are used to execute different steps of the above target task, and the different steps correspond to different events .
  • the event corresponding to the service node may be a process start event
  • the event corresponding to the third node may be a process end event. It can be understood that the embodiment of the present application does not limit how many nodes the service node specifically includes, and does not limit the specific events corresponding to each node in the service node.
  • the above-mentioned files to be processed are business data from different third-party companies, and the above-mentioned service nodes are used to interface with different business types.
  • the aforementioned third-party companies are four companies A, B, C, and D
  • the business types of the four companies A, B, C, and D include at least one business type.
  • at least one service node can be used to process the business of the four companies A, B, C, and D.
  • the aforementioned file to be processed belongs to company A, then according to the business tag of the company A, the file to be processed belonging to company A can be input into the corresponding service node for processing.
  • the service tag of the file to be processed is to download a file (and a series of file lists contained in the file)
  • the data corresponding to the downloaded file list is encrypted.
  • the aforementioned file to be processed is a file containing multiple file lists
  • the target file is an encrypted file.
  • the file to be processed can be converted into the required target file through the above service node.
  • the method before obtaining the target file, the method further includes:
  • the target event has been executed, it is determined that the operation step of performing task processing on the file to be processed that has been converted into the target format according to the task processing flow corresponding to the target event has been executed.
  • the aforementioned log file and the aforementioned log record information can be understood as a type of log management of the aforementioned target event.
  • log management can be implemented through Spring AOP.
  • AOP Application-Oriented Programming
  • AOP is the complement and improvement of OOP (Object-Oriented Programming, object-oriented programming).
  • Aspect-Oriented Programming (AOP) is another supplement to Object-Oriented Programming (OOP) to provide thinking program structure supplement.
  • the key unit of modularity in OOP is the class, while the unit of AOP module is an aspect. Faced with concerns, such as transaction management across multiple types and objects cut modularity.
  • log management for Spring AOP there are several ways to implement log management for Spring AOP: (1) Implementation based on xml configuration; (2) Implementation based on annotations; (3) Implementation based on custom annotations. It can be understood that the embodiment of the present application does not limit how to implement log management.
  • the execution progress of the target event can be recorded through log management.
  • the initial progress (such as 0%) of the target event and the start of execution can be recorded through log management.
  • log management can also record the running progress (such as 48%) and running time of the target event in the execution process
  • log management can also record the completion progress (such as 100%) and completion time of the target event execution completion .
  • the service tag can be used to determine the service node corresponding to the file to be processed, and the file to be processed is input to The service node. After the target event corresponding to the service node is triggered, the service node can complete the process of converting the format of the file to be processed into the target format, and finally obtain the target file. It can be seen that the format conversion of the file to be processed can be completed by inputting the file to be processed into the corresponding service node, and the work efficiency of processing the business process is improved.
  • Fig. 2 is a schematic flowchart of another data processing method provided by an embodiment of the present application. As shown in Fig. 2, the data processing method includes:
  • step 201 for the specific implementation manner of the foregoing step 201, reference may be made to the implementation manner shown in step 101 shown in FIG. 1, which will not be described in detail here.
  • different service labels correspond to different service types, and there is a mapping relationship between the service labels and the service types.
  • different service nodes are used to process different service types, that is, there is a mapping relationship between service types and service nodes. In other words, through the mapping relationship between the service label and the service type, and the mapping relationship between the service type and the service node, the service node corresponding to the file to be processed can be finally determined.
  • the foregoing service types include five service types a, b, c, d, and e, and each service type corresponds to a unique service label.
  • the service type of the file to be processed can be determined through the service label of the file to be processed.
  • the service node corresponding to the file to be processed can be determined through the mapping relationship between the service type and the service node.
  • the above service node can be understood as a kind of workflow node.
  • This service node is used to connect different types of services. In other words, different service nodes have different service labels.
  • the service type of the file to be processed can be determined by matching service tags, and the file to be processed is further input to the corresponding service node according to the service type, which improves the accuracy of the service processing process.
  • the task process event corresponding to the above target event can be understood as the process start event in step 103, that is, it is used to indicate whether the target event has been started.
  • a task flow event corresponding to the target event it means that the above-mentioned service node has started to execute the process of converting the file format of the file to be processed.
  • the above-mentioned synchronous mode, synchronous annotation mode, or asynchronous annotation mode can be understood as the publishing mode corresponding to Spring's own event mechanism through these three methods of publishing the above-mentioned target event.
  • the foregoing target event may fail to publish the target event due to some reasons.
  • the reason may be poor network conditions, unstable workflow engine system, and so on. It can be understood that the specific reasons for the failure to publish the target event are not limited in the embodiment of the present application.
  • the workflow engine When the publication of the target event fails, the workflow engine will republish the target event. And the workflow engine will republish the target event by means of automatic retry until the target event is successfully published. Greatly guarantee the success rate of target event release. And no human involvement is required. By implementing the embodiments of the present application, the workflow engine can automatically jump to process nodes, avoid manual participation, and improve work efficiency.
  • a manual retry can also be performed through the context.
  • the manual retry includes a retry starting from the failed event (that is, the target event). It is understandable that the above process is also applicable to other events (such as process end event, event before link entry, event after link entry, etc.), and will not be detailed here.
  • the event when the above-mentioned target event occurs, the event can be published in the above three different ways, and when the event fails to be published, the workflow engine can republish the target event in time, which can be resolved in time
  • the problem of process rupture in the process of business process processing improves work efficiency.
  • target event If the target event is triggered, perform task processing on the file to be processed that has been converted into the target format in the target format corresponding to the service node, and obtain the target file according to the task processing flow corresponding to the target event.
  • the above target event if the above target event is triggered, it means that the above target task has been started (that is, the file format of the file to be processed is converted to the target format, and the file to be processed that has been converted into the target format is processed for task processing. ), when the target task is completed, the target file can be obtained.
  • the foregoing method further includes:
  • Monitor whether the running state of the above target event is in the terminated state; if the above running state is in the terminated state, it is determined that the execution of the above target event has been completed, and the task processing flow corresponding to the above target event is performed on the above waiting state that has been converted to the target format.
  • the operation steps of processing files for task processing have been executed.
  • the above-mentioned running state can be understood as a process state.
  • the process status reflects the changes in the execution of the process.
  • These states change with the execution of the process and changes in external conditions.
  • the process state is divided into five basic states, new state, termination state, running state, ready state, and blocking state.
  • the running state means that the process occupies the processor and is running;
  • the ready state means that the process has running conditions and waits for the system to allocate the processor to run;
  • the wait state is also called blocked State or sleep state means that the process does not have the operating conditions and is waiting for the completion of an event.
  • the new state corresponds to the state in which the process has just been created. There are two steps to create a process. First, create the necessary management information for a new process; then, let the process enter the ready state. When a process reaches its natural end point, or has an insurmountable error, or is terminated by the operating system, or is terminated by other processes with termination rights, it will enter the termination state.
  • the embodiment of the present application it can be determined whether the service node executes and completes the target task according to the process status of the target event. Therefore, the embodiment of the present application also provides a method for judging whether the service node executes and completes the target task, as described above:
  • the process state of the above target event is the new state, it means that the service node is preparing to execute the above target task, that is, it has not yet started to complete the above target task.
  • the foregoing embodiment is only an example of the embodiment of the present application, and should not be construed as a limitation to the embodiment of the present application.
  • the foregoing conversion of the file format of the file to be processed into the target format corresponding to the service node by the service node to obtain the target file includes:
  • the file format of the HTML template is converted into a target format by a file format conversion tool to obtain the target file.
  • the above HTML template is a web page template.
  • the above template engine can use Thymeleaf as the template engine.
  • the above-mentioned file format conversion tool can be iText, which is a project of the famous open source site sourceforge and a java class library used to generate PDF documents. Not only can generate PDF or rtf documents through iText, but also convert XML and HTML files into PDF files.
  • the HTML template corresponding to the file to be processed can be determined through the business tag of the file to be processed, the HTML template can be generated by the template engine, and the specific file content of the file to be processed can be filled into the HTML template . Then the file format (such as HTML file format) of the file to be processed can be converted into the target format (such as PDF format) through the file format conversion tool iText.
  • the file format such as HTML file format
  • the target format conversion tool iText such as PDF format
  • the Thymeleaf template engine is used to generate the HTML template corresponding to the file to be processed, which is simple and convenient, and the entry level is low.
  • the file format conversion tool iText the file format of the file to be processed can be converted from HTML to PDF format. Since PDF is converted from HTML, the visual operation of the PDF content writing process can be guaranteed.
  • the foregoing method further includes:
  • the uniform resource locator of the document corresponding to the above-mentioned signing electronic chapter instruction is obtained, and the file corresponding to the above-mentioned resource locator is matched;
  • the instruction to sign the electronic chapter may be an instruction automatically generated by the aforementioned data processing device, or it may be an instruction generated by the user clicking on the display device after confirming the target file (such as a contract). It can be understood that, in the embodiments of the present application, the specific generation method of the electronic chapter signing instruction is not limited.
  • the file is the aforementioned target file, it can be the target
  • the document is signed with the corresponding electronic seal.
  • converting the data in the above target file from a data model to a storage model can be understood as a data persistence process.
  • Data persistence is a general term for converting the data model in memory to a storage model and converting the storage model to a data model in memory.
  • the data model can be any data structure or object model, and the storage model can be a relational model, extensible markup language (XML), binary stream, etc.
  • the aforementioned database is a database for storing target files.
  • the database may be a redis database.
  • redis is an open source log-type, Key-Value database that is written in ANSI C language, supports the network, can be based on memory and can be persisted, and provides APIs in multiple languages.
  • the redis database is an in-memory database that supports persistence, which means that redis needs to frequently synchronize data in memory to disk to ensure persistence. Redis supports four persistence methods, one is Snapshotting (snapshot) is also the default method; the other is Append-only file (abbreviated as aof); the third is virtual memory; the fourth is diskstore.
  • the file to be processed can be input to the corresponding service node through the service type corresponding to the service label.
  • the target event is monitored.
  • the target event is published.
  • the corresponding target event is triggered.
  • the target task that is, the process of converting the file format of the file to be processed into the target format through the service node
  • the above target file can be obtained.
  • FIG. 1 and FIG. 2 have their respective focuses, and the implementation manners that are not described in detail in one embodiment may also refer to other embodiments.
  • the foregoing describes the method of the embodiment of the present application in detail, and the device of the embodiment of the present application is provided below.
  • FIG. 3 is a schematic structural diagram of a data processing device provided by an embodiment of the present application. As shown in FIG. 3, the data processing device includes:
  • the obtaining unit 301 is configured to obtain a file to be processed, and the file to be processed carries a business tag;
  • the first processing unit 302 is configured to send the file to be processed to the service node corresponding to the service label of the file to be processed;
  • the first monitoring unit 303 is configured to monitor whether the target event corresponding to the service node is triggered, and the target event is used to instruct the service node to process the task processing flow corresponding to the target event;
  • the second processing unit 304 is configured to, if the above target event is triggered, convert the file format of the file to be processed into the target format corresponding to the service node through the service node, and perform processing on the task processing flow corresponding to the target event.
  • the above to-be-processed file converted into the target format is subjected to task processing to obtain the target file.
  • FIG. 4 is a schematic structural diagram of a first processing unit according to an embodiment of the present application.
  • the first processing unit 302 includes:
  • the first determining subunit 3021 is configured to determine the service type corresponding to the service label of the file to be processed according to the preset mapping relationship between the service label and the service type;
  • the second determining subunit 3022 is configured to determine the service node corresponding to the file to be processed according to the service type of the file to be processed and the preset mapping relationship between the service type and the service node.
  • FIG. 5 is a schematic structural diagram of a first monitoring unit provided by an embodiment of the present application.
  • the above-mentioned first monitoring unit 303 includes:
  • the monitoring subunit 3031 is used to monitor whether the task flow event corresponding to the above target event has been started;
  • the third determining subunit 3032 is configured to determine that the target event is triggered if it is monitored that the task flow event corresponding to the target event has been started; otherwise, it is determined that the target event is not triggered.
  • FIG. 6 is a schematic structural diagram of another data processing device provided by an embodiment of the present application. As shown in FIG. 6, the foregoing device further includes:
  • the third processing unit 305 is configured to publish the above-mentioned target event in any one of a synchronous way, a synchronous annotation way, or an asynchronous annotation way;
  • the third processing unit 305 is specifically configured to start to execute the operation step of converting the file format of the file to be processed into the target format corresponding to the service node through the service node when the target event is successfully published.
  • the above device further includes:
  • the reading unit 306 is configured to read the log file corresponding to the above-mentioned target event
  • the determining unit 307 is configured to determine whether the target event has been executed according to the log information in the log file; the determining unit 308 is specifically configured to determine the task corresponding to the target event if the target event has been executed.
  • the processing flow The operation steps of performing task processing on the aforementioned files to be processed that have been converted into the target format have been executed.
  • the above device further includes:
  • the second monitoring unit 309 is used to monitor whether the running state of the above target event is in the terminated state
  • the determining unit 308 is specifically configured to determine that the target event has been executed and completed if the running state is in the terminated state, and to determine that the file to be processed that has been converted into the target format is to be tasked according to the task processing flow corresponding to the target event The processing steps have been executed.
  • FIG. 7 is a schematic structural diagram of a second processing unit according to an embodiment of the application.
  • the above-mentioned second processing unit 304 includes:
  • the generating subunit 3041 is configured to generate an HTML template corresponding to the business tag of the file to be processed according to the template engine;
  • the processing subunit 3042 is configured to read the file content of the file to be processed, and fill the file content into the HTML template;
  • the conversion sub-unit 3043 is used to convert the file format of the HTML template into a target format through a file format conversion tool to obtain the target file.
  • the above device further includes:
  • the matching unit 310 is configured to, if an electronic chapter signing instruction is received, obtain the uniform resource locator of the document corresponding to the above-mentioned signing electronic chapter instruction, and match the document corresponding to the above-mentioned uniform resource locator;
  • the signing unit 311 is configured to sign an electronic seal for the target file when the file corresponding to the uniform resource locator is the target file.
  • the above device further includes:
  • the conversion unit 312 is configured to convert the data in the target file from a data model to a storage model;
  • the data model is a data structure or an object model, and the storage model is a relational model, an extensible markup language and/or a binary stream;
  • the storage unit 313 is configured to save the data in the above target file converted into the storage model to the database.
  • FIG. 8 is a schematic diagram of a data processing structure provided by an embodiment of the present application.
  • the data processing includes a processor 801, a memory 802, and an input/output interface 803.
  • the processor 801, memory 802, and input/output interface 803 pass through The buses are connected to each other.
  • the memory 802 includes, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or A portable read-only memory (compact disc read-only memory, CD-ROM), the memory 802 is used for related instructions and data.
  • the input/output interface 803, for example, can communicate with other devices through the input/output interface.
  • the processor 801 may be one or more central processing units (CPUs). When the processor 801 is a CPU, the CPU may be a single-core CPU or a multi-core CPU.
  • CPUs central processing units
  • each operation may also correspond to the corresponding description of the method embodiment shown in FIG. 1 and FIG. 2.
  • the implementation of each operation can also correspond to the corresponding description of the device embodiments shown in FIG. 3, FIG. 4, FIG. 5, FIG. 6 and FIG. 7.
  • the processor 801 may be used to execute the methods shown in step 101, step 102, step 103, and step 104.
  • the processor 801 may also be used to execute the acquiring unit 301, the first processing unit 302, and the first processing unit 302. A method executed by a monitoring unit 303 and a second processing unit 304.
  • the input/output interface 803 may also be used to execute the method executed by the acquiring unit 301.
  • the processor 801 can be used to execute the methods shown in step 201, step 202, step 203, step 204, step 205, and step 206, and the processor 801 can also be used to execute the third processing unit 305, the method executed by the reading unit 306, the judging unit 307, the determining unit 308, the second listening unit 309, the matching unit 310, the signing unit 311, the conversion unit 312, and the storage unit 313.
  • Figure 8 only shows a simplified design for data processing.
  • the data processing device may also include other necessary components, including but not limited to any number of input and output interfaces, processors, memories, etc., and all the data processing that can implement the embodiments of this application are in this application.
  • the specific working process of the device and unit described above can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
  • the process can be completed by a computer program instructing relevant hardware.
  • the program can be stored in a computer nonvolatile readable storage medium. During execution, it may include the processes of the foregoing method embodiments.
  • the aforementioned storage media include: ROM or random storage RAM, magnetic disks or optical discs and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

一种数据处理方法、装置及存储介质。其中,该方法包括:获取待处理文件,所述待处理文件携带有业务标签(101);将所述待处理文件发送至与所述待处理文件的业务标签对应的服务节点(102);监听所述服务节点对应的目标事件是否被触发,所述目标事件用于指示所述服务节点处理与所述目标事件所对应的任务处理流程(103);若所述目标事件被触发,通过所述服务节点将所述待处理文件的文件格式转换为所述服务节点对应的目标格式,并根据所述目标事件所对应的任务处理流程对已转换为目标格式的所述待处理文件进行任务处理,得到目标文件(104)。可提高处理业务流程的工作效率。

Description

数据处理方法、装置及存储介质
本申请要求于2019年5月20日提交中国专利局、申请号为201910428679.7、申请名称为“数据处理方法、装置及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,尤其涉及一种数据处理方法、装置及存储介质。
背景技术
目前业务流程处理大都采用工作流引擎(Workflow Engine),工作流引擎是指工作流(workflow)作为应用系统的一部分,并为之提供对各应用系统有决定作用的根据角色、分工和条件的不同决定信息传递路由、内容等级等核心解决方案。通过工作流引擎可以方便快捷的处理业务。
但是,通过工作流引擎处理业务流程需要通过引入第三方工具来对业务流程进行管理,并且开发人员必须熟悉相关插件才可进行流程管理开发。对于不同的公司的业务流程来说,不同的业务流程具有不同的数据格式,从而需要设计开发不同的工作流引擎来对接不同的公司的业务,以完成转换业务数据的数据格式的任务。
但是,在业务数据量大,以及业务复杂的情况下,由于工作流引擎在处理业务数据的格式转换问题中不具有通用性,不仅增加了人工开发成本,还会导致工作效率低下。
发明内容
本申请提供了一种数据处理方法、装置及存储介质,应用于工作流引擎,用于处理业务流程,针对不同公司的业务,可以将不同公司的待处理文件转化为目标格式的目标文件,提高了处理业务流程的工作效率。
第一方面,本申请提供了一种数据处理方法,包括:
获取待处理文件,所述待处理文件携带有业务标签;
将所述待处理文件发送至与所述待处理文件的业务标签对应的服务节点;
监听所述服务节点对应的目标事件是否被触发,所述目标事件用于指示所述服务节点处理与所述目标事件所对应的任务处理流程;
若所述目标事件被触发,通过所述服务节点将所述待处理文件的文件格式转换为所述服务节点对应的目标格式,并根据所述目标事件所对应的任务处理流程对已转换为目标格式的所述待处理文件进行任务处理,得到目标文件。
第二方面,本申请提供了一种数据处理装置,包括:
获取单元,用于获取待处理文件,所述待处理文件携带有业务标签;
第一处理单元,用于将所述待处理文件发送至与所述待处理文件的业务标签对应的服务节点;
第一监听单元,用于监听所述服务节点对应的目标事件是否被触发,所述目标事件用于指示所述服务节点处理与所述目标事件所对应的任务处理流程;
第二处理单元,用于若所述目标事件被触发,通过所述服务节点将所述待处理文件的文件格式转换为所述服务节点对应的目标格式,并根据所述目标事件所对应的任务处理流程对已转换为目标格式的上述待处理文件进行任务处理,得到目标文件。
第三方面,本申请实施例还提供了一种数据处理装置,包括:处理器、存储器和输入输出接口,所述处理器和所述存储器、所述输入输出接口通过线路互联;其中,所述存储器存储有程序指令;所述程序指令被所述处理器执行时,使所述处理器执行如第一方面所述的相应的方法。
第四方面,本申请实施例提供了一种计算机非易失性可读存储介质,所述计算机非易失性可读存储介质中存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时,使所述处理器执行第一方面所述的方法。
本申请实施例中,可以通过该服务节点完成将该待处理文件的格式转化为目标格式的过程,最终得到目标文件,可以通过将待处理文件输入到对应的服务节点中,完成对待处理文件的格式转换,提高了处理业务流程的工作效率。
附图说明
为了更清楚地说明本申请实施例或背景技术中的技术方案,下面将对本申请实施例或背景技术中所需要使用的附图进行说明。
图1是本申请实施例提供的一种数据处理方法的流程示意图;
图2是本申请实施例提供的另一种数据处理方法的流程示意图;
图3是本申请实施例提供的一种数据处理装置的结构示意图;
图4是本申请实施例提供的一种第一处理单元的结构示意图;
图5是本申请实施例提供的一种第一监听单元的结构示意图;
图6是本申请实施例提供的另一种数据处理装置的结构示意图;
图7为本申请实施例提供的一种第二处理单元的结构示意图;
图8是本申请实施例提供的一种数据处理的结构示意图。
具体实施方式
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同的对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法或设备固有的其他步骤或单元。
参见图1,图1是本申请实施例提供的一种数据处理方法的流程示意图,该数据处理方法可应于工作流引擎,也可以为工作流系统。其中,上述工作流引擎包括工作流系统。工作流引擎(workflow engine)是指工作流(workflow)作为应用系统的一部分,并为之提供对各应用系统有决定作用的根据角色、分工和条件的不同决定信息传递路由、内容等级等核心解决方案。工作流引擎包括流程的节点管理、流向管理、流程样例管理等重要功能。
上述工作流系统可以理解为一种工作流管理系统。其中,工作流(workflow),就是“业务过程的部分或整体在计算机应用环境下的自动化”,它主要解决的是“使在多个参与者之间按照某种预定义的规则传递文档、信息或任务的过程自动进行,从而实现某个预期的业务目标,或者促使此目标的实现”。工作流管理系统(workflow management system,wfms)是一个软件系统,它完成工作量的定义和管理,并按照在系统中预先定义好的工作流逻辑进行工作流实例的执行。具体的,该工作流系统可以为电脑、手机等终端设备。可理解,本申请实施例对于该工作流系统的具体是什么不作唯一性限定。
如图1所示,该数据处理方法包括:
101、获取待处理文件,上述待处理文件携带有业务标签。
本申请实施例中,工作流可以应用到以下行业:消费品行业,制造业,电信服务业,公司证券等金融服务业,物流服务业,物业服务业,物业管理,大中型进出口贸易公司,政府事业机构,研究院所及教育服务业等特别是大的跨国企业和集团公司。
具体应用如下:
(1)关键业务流程:订单、报价处理、采购处理、合同审核、客户电话处理、 供应链管理等。
(2)行政管理类:出差申请、加班申请、请假申请、用车申请、各种办公用品申请、购买申请、日报周报等凡是原来手工流转处理的行政表单。
(3)人事管理类:员工培训安排、绩效考评、职位变动处理、员工档案信息管理等。
(4)财务相关类:付款请求、应收款处理、日常报销处理、出差报销、预算和计划申请等。
(5)客户服务类:客户信息管理、客户投诉、请求处理、售后服务管理等管理。
(6)特殊服务类:ISO系列对应流程、质量管理对应流程、产品数据信息管理、贸易公司报关处理、物流公司货物跟踪处理等各种通过表单逐步手工流转完成的任务均可应用工作流软件自动规范的实现。
可理解,本申请实施例中对于工作流的具体应用场景不作限定。
相应的,上述待处理文件与上述工作流的具体应用有关。举例来说,若上述工作流应用于财务相关类的日常报销处理,则上述待处理文件即为与日常报销处理相关的文件,等等,且该待处理文件为带转换文件格式的文件。可理解,本申请实施例中对于该待处理文件具体是什么不作限定。
可选的,上述工作流引擎包括下载节点,上述获取待处理文件,包括:通过上述下载节点下载上述待处理文件。
本申请实施例中,工作流的概念起源于生成组织与办公自动化。为了完成一个事务或任务,需要按一定工序完成一组相关的子任务。对于该事务或任务的整个工序或流程,就是一个过程。每个子任务就是一个节点,每个子任务里,还需要拆分成独立的工作任务,就是工作项。
举例来说,一份通告要发布,从起草开始到最后发布结束,该通告发布的整个流程就是一个过程。其中,上述通告发布的过程可分为起草、部门领导审稿、领导审稿、定稿、成文、发布等步骤,每个步骤就是一个节点。在这些节点中,比如成文,要完成稿件套红、套红时,要有表头处理、表底处理等,都是一个个工作项。其中,上述过程,也可以称一个流程;上述节点,也称环节、步骤等;工作项,也称要素、要点等。
相应的,上述下载节点可以理解为工作流任务中的一个工作流节点,或者工作流任务中的一个步骤。该下载节点所完成的工作项为下载上述待处理文件。
实施本申请实施例,通过上述下载节点可以专门下载上述待处理文件,提高了下载待处理文件的速度。
102、将上述待处理文件发送至与上述待处理文件的业务标签对应的服务节点。
本申请实施例中,上述待处理文件中携带有对应该待处理文件的业务标签。依据上述待处理文件的业务标签可以确定与上述待处理文件对应的服务节点,并将上述待处理文件输入到上述服务节点。
该业务标签用于表示该待处理文件的所涉及的具体的业务类型。
相应的,可以通过上述数据处理装置(如工作流引擎或工作流系统)为该待处理文件添加该业务标签。或者,也可以通过其他装置或设备为该待处理文件添加该业务标签。可理解,本申请实施例中对于该业务标签具体的添加方式不作限定。
其中,上述服务节点可以理解为一种包含一个或多个工作流节点的工作流节点集合的总称。具体的,若步骤104中将该待处理文件的文件格式转换为目标格式需要一个步骤即可完成,则该服务节点中包含的节点即为一个节点;若步骤104中将该待处理文件的文件格式转换为目标格式需要多个步骤(至少两个步骤)才可完成,则该服务节点中包含的节点即为多个节点(至少两个节点)。
并且,上述服务节点用于处理不同业务类型的待处理文件,也就是说,对于不同业务标签的待处理文件所对应的服务节点是不同的。
相应的,对于该服务节点的业务标签可以通过上述数据处理装置(如工作流引擎或工作流系统)为该服务节点添加该业务标签。
通过匹配该待处理文件的业务标签和该服务节点的业务标签的方式,可以将该待处理文件输入到对应的服务节点中去。
实施本申请实施例,通过匹配业务标签的方式,可以确定与上述待处理文件对应的服务节点,并将该待处理文件输入到该服务节点中,可避免将该待处理文件输入到不对应的服务节点中,提高了业务流程处理过程的准确性。
103、监听上述服务节点对应的目标事件是否被触发,上述目标事件用于指示上述服务节点处理与上述目标事件所对应的任务处理流程。
本申请实施例中,工作流系统一般包括一个或多个工作流节点,该工作流节点可以理解为一种任务节点,上述服务节点即为其中一种工作流节点。
另外,上述目标事件可以根据不同的需求设置不同的事件类型。即可以提供丰富的事件来供应用系统的使用,从而实现工作流引擎与应用系统之间的交互。举例来说,上述目标事件可以为流程开始事件,流程结束事件,环节进入前事件,环节进入后事件,某个行为执行前事件和某个行为执行后事件,以及其它事件等。
具体的,监听上述服务节点对应的目标事件是否被触发,可通过对该服务 节点对应的按钮进行事件监听来实现。其中,事件可以理解为能够被JavaScrip(一种直译式脚本语言)侦测到的一种行为。
具体的,可以通过自定义事件监听器并注册事件监听器实现对上述目标事件的监听。相应的,本申请实施例中还提供了几种Spring Boot进行事件监听的方法。其中,Spring Boot是由Pivotal团队提供的全新框架,其设计目的是用来简化新Spring应用的初始搭建以及开发过程。该框架使用了特定的方式来进行配置,从而使开发人员不再需要定义样板化的配置。如下上述:
Spring Boot事件监听的流程:
(1)自定义事件,一般是继承自定义事件,一般是继承ApplicationEvent抽象类。
(2)定义事件监听器,一般是实现ApplicationListener接口。
(3)配置监听器,将监听器纳入到spring容器中进行管理。
或者,直接在MyApplicationListener类上加上@Component注解,纳入spring容器管理;或者,通过@EventListener注解实现事件监听;或者,在application.properties中配置监听器;或者,手工向ApplicationContext中添加监听器。
(4)发布事件。
其中,发布事件又可以分为同步发布事件或异步发布事件。同步发布事件可保证任务的线性运行,而异步发布实现了任务的并行处理。
实施本申请实施例,通过监听该服务节点对应的目标事件,可以准确得知该服务节点是否已开始执行转换待处理文件的文件格式的处理流程,能够监控业务处理流程的执行进度,提高了业务处理的精确性。
104、若上述目标事件被触发,通过上述服务节点将上述待处理文件的文件格式转换为与上述服务节点对应的目标格式,并根据上述目标事件对应的任务处理流程对已转换为目标格式的上述待处理文件进行任务处理,得到目标文件。
本申请实施例中,通过工作流系统中的服务节点可以将上述待处理文件的文件格式转换为与该服务节点对应的目标格式,并对转换格式后的该待处理文件进行进一步的任务处理,最终得到目标文件。其中,可以把将待处理文件的文件格式转换为目标格式,以及将已转换为目标格式的待处理文件进行任务处理的处理过程称之为目标任务。
上述目标任务一般可以分为多个步骤执行,也就是说,上述目标任务需要通过多个工作流节点来分批次执行该目标任务。
上述服务节点包括一个或多个工作流节点。如该服务节点包括服务节点、第二节点和第三节点,等等,且该服务节点、第二节点和第三节点用于执行上 述目标任务的不同步骤,且该不同的步骤对应不同的事件。举例来说,若上述服务节点包括三个节点,则该服务节点对应的事件可以为流程开始事件,该第三节点对应的事件可以为流程结束事件等。可理解,本申请实施例中对于该服务节点具体包括多少个节点不作限定,以及对于该服务节点中每个节点对应的事件具体是什么不作限定。
在上述服务节点执行完上述目标任务的全部步骤时,则完成了对该待处理文件的文件格式的转换,以及根据待处理文件得到目标文件的过程。
本申请实施例中,上述待处理文件为来自不同的第三方公司的业务数据,上述服务节点用于对接不同的业务类型。具体的,若上述第三方公司为A,B,C,D四个公司,且该A,B,C,D四个公司的业务类型至少包含一个业务类型。相应的,可以通过至少一个服务节点用于处理该A,B,C,D四个公司的业务。举例来说,若上述待处理文件属于A公司,则根据该A公司的业务标签,可以将该属于A公司的待处理文件输入到对应的服务节点中进行处理。
举例来说,若上述待处理文件的业务标签为下载一个文件(且该文件中包含的一系列文件列表),并将下载之后的文件列表所对应的数据进行加密。那么,上述待处理文件即为一种包含多个文件列表的文件,该目标文件即为一种加密后的文件。也就是说,通过上述服务节点可以将待处理文件转换为需要的目标文件。可理解,以上仅为一种示例,不应理解为本申请实施例的唯一性限定。
在一种可能的实现方式中,在上述得到目标文件之前,上述方法还包括:
读取与上述目标事件对应的日志文件;
依据上述日志文件中的日志记录信息判断上述目标事件是否已执行完成;
若上述目标事件已执行完成,则确定上述根据上述目标事件所对应的任务处理流程对已转换为目标格式的上述待处理文件进行任务处理的操作步骤已执行完成。
本申请实施例中,上述日志文件和上述日志记录信息可理解为一种对上述目标事件的日志管理。具体的,可以通过Spring AOP实现日志管理。AOP(Aspect-OrientedProgramming,面向方面编程),AOP是OOP(Object-Oriented Programing,面向对象编程)的补充和完善。面向方面编程(AOP)是面向对象编程(OOP)补充的另一种提供思考程序结构补充。在OOP中模块化的关键单元是类,而在AOP模块的单位是一个方面。面对关注点,如事务管理跨越多个类型和对象切模块化。相应的,对于Spring AOP实现日志管理可以有以下几种方式:(1)基于xml配置的实现;(2)基于注解的实现;(3)基于自定义注解的实现。可理解,本申请实施例中对于具体如何实现日志管理不作限定。
具体的,通过日志管理可以记录该目标事件的执行进度,如该目标事件被触发时,通过日志管理可以记录下该目标事件开始执行的起始进度(如0%),以及开始执行的起始时间;通过日志管理还可以记录该目标事件在执行过程中的运行进度(如48%)以及运行时间;以及通过日志管理还可以记录该目标事件执行完成的完成进度(如100%)以及完成时间。通过查询该目标事件执行过程中执行进度,可以知道该目标事件是否已执行完成。
当通过查询上述目标事件的执行进度确定该目标事件已执行完成的情况下,可以确定将已转换为目标格式的上述待处理文件进行任务处理的步骤已完成,此时即可确定已得到上述目标文件。
实施本申请实施例,首先获取待处理文件,然后读取获取到的待处理文件中的业务标签,通过该业务标签可以确定与该待处理文件对应的服务节点,并将该待处理文件输入到该服务节点中。当该服务节点对应的目标事件被触发之后,可以通过该服务节点完成将该待处理文件的格式转化为目标格式的过程,最终得到目标文件。由此可见,可以通过将待处理文件输入到对应的服务节点中,完成对待处理文件的格式转换,提高了处理业务流程的工作效率。
参见图2,图2是本申请实施例提供的另一种数据处理方法的流程示意图,如图2所示,该数据处理方法包括:
201、获取待处理文件,上述待处理文件携带有业务标签。
本申请实施例中,对于上述步骤201的具体实现方式可参考图1所示步骤101所示的实现方式,这里不再一一详述。
202、依据预设的业务标签与业务类型之间的映射关系,确定与上述待处理文件的业务标签对应的业务类型;依据上述待处理文件的业务类型、以及预设的业务类型与服务节点之间的映射关系,确定与上述待处理文件对应的服务节点。
本申请实施例中,不同的业务标签对应不同的业务类型,且业务标签与业务类型之间存在映射关系。其中,不同的服务节点用于处理不同的业务类型,即业务类型与服务节点之间存在映射关系。也就是说,通过业务标签与业务类型之间的映射关系,以及业务类型与服务节点之间的映射关系,最终可以确定与待处理文件对应的服务节点。
具体的,假设上述业务类型包括a,b,c,d,e五个业务类型,且每个业务类型对应唯一的业务标签。通过上述待处理文件的业务标签可以确定上述待处理文件的业务类型。进一步的,通过业务类型与服务节点之间的映射关系,可以确定上述待处理文件对应的服务节点。
具体的,上述服务节点可以理解为一种工作流节点。该服务节点用于对接 不同的业务类型。也就是说,不同的服务节点具有不同的业务标签。
实施本申请实施例,通过匹配业务标签的方式可以确定上述待处理文件的业务类型,并进一步根据该业务类型将该待处理文件输入到对应的服务节点,提高了业务处理过程的精确度。
203、监听上述服务节点对应的目标事件所对应的任务流程事件是否已启动;若监听到上述目标事件所对应的任务流程事件已启动,则确定上述目标事件被触发,否则确定上述目标事件未被触发。
本申请实施例中,对于上述目标事件具体是什么,以及该目标事件的具体实现方式可参考图1所示步骤103所示的实现方式,这里不再一一详述。
上述目标事件所对应的任务流程事件可以理解为上述步骤103中的流程开始事件,即用于表示该目标事件是否已经启动。相应的,若发生了该目标事件所对应的任务流程事件,则代表上述服务节点已开始执行转换待处理文件的文件格式的过程。
实施本申请实施例,通过监听是否发生了上述目标事件所对应的任务流程事件,可以及时的了解上述服务节点是否已开始执行转换待处理文件的文件格式的过程,提高了业务处理过程的有效性。
204、通过同步方式、同步注解方式或异步注解方式中的任意一种发布上述目标事件。
本申请实施例中,上述同步方式、同步注解方式或异步注解方式,通过这三种发布上述目标事件的方式可以理解为Spring自身的事件机制所对应的发布方式。
本申请实施例中,上述目标事件可能会因为一些原因导致该目标事件发布失败。具体的,该原因可以为网络状况不良,工作流引擎系统不稳定等等。可理解,本申请实施例中对于该目标事件发布失败的具体原因不作限定。
当上述目标事件发布失败时,上述工作流引擎会会重新发布该目标事件。且该工作流引擎会通过自动重试的方式重新发布该目标事件,直到该目标事件发布成功。极大的保证了目标事件发布的成功率。且不需要人工参与。实施本申请实施例,工作流引擎可以自动跳转流程节点,避免人工参与,提高了工作效率。
或者,当该目标事件发布失败时,也可以通过上下文进行手动重试,手动重试包括从失败事件(即目标事件)开始重试。可理解,上述过程同样适用于其他事件(如流程结束事件,环节进入前事件,环节进入后事件等),在此不再一一详述。
实施本申请实施例,当发生了上述目标事件时,可以通过上述三种不同的方式发布该事件,并且当该事件发布失败时,该工作流引擎可以及时的重新发布该目标事件,能够及时解决该业务流程处理过程中出现的流程断裂的问题,提高了工作效率。
205、若上述目标事件被触发,与上述服务节点对应的目标格式,并根据上述目标事件对应的任务处理流程对已转换为目标格式的上述待处理文件进行任务处理,得到目标文件。
本申请实施例中,若上述目标事件被触发,即代表已经启动上述目标任务(即将待处理文件的文件格式转换为目标格式,以及将已转换为目标格式的待处理文件进行任务处理的处理过程),当该目标任务执行完成时,即可得到上述目标文件。
在一种可能的实现方式中,上述若上述目标事件被触发之后,以及上述得到目标文件之前,上述方法还包括:
监听上述目标事件的运行状态是否为终止态;若上述运行状态为终止态,则确定上述目标事件已执行完成,以及确定根据上述目标事件所对应的任务处理流程对已转换为目标格式的上述待处理文件进行任务处理的操作步骤已执行完成。
本申请实施例中,上述运行状态可以理解为一种进程状态。进程状态反映进程执行过程的变化。这些状态随着进程的执行和外界条件的变化而转换。其中,在五态模型中,进程状态分为五个基本状态,新建态、终止态,运行态,就绪态,阻塞态。
具体的,运行(running)态,指进程占有处理器正在运行;就绪(ready)态,指进程具备运行条件,等待系统分配处理器以便运行;等待(wait)态,又称为阻塞(blocked)态或睡眠(sleep)态,指进程不具备运行条件,正在等待某个事件的完成。新建态对应于进程刚刚被创建的状态,创建一个进程要通过两个步骤,首先,是为一个新进程创建必要的管理信息;然后,让该进程进入就绪态。当一个进程到达了自然结束点,或是出现了无法克服的错误,或是被操作系统所终结,或是被其他有终止权的进程所终结,它将进入终止态。
本申请实施例中,依据上述目标事件的进程状态可以判断上述服务节点是否执行完成上述目标任务。因此,本申请实施例还提供了一种判断上述服务节点是否执行完成上述目标任务的方法,如下上述:
(1)若上述目标事件的进程状态为运行态,则表示该服务节点正在执行该目标任务,即尚未执行完成上述目标任务。
(2)若上述第二节点的进程状态为就绪态,则表示该服务节点已经具备执行该目标任务的资格,即尚未开始执行上述目标任务。
(3)若上述目标事件的进程状态为阻塞态,则表示该服务节点在执行上述目标任务时出现故障,即尚未执行完成上述目标任务。
(4)若上述目标事件的进程状态为新建态,则表示该服务节点正在准备执行上述目标任务,即尚未开始执行完成上述目标任务。
(5)若上述目标事件的进程状态为终止态,在一种可能的情况下,表示该服务节点已经执行完成上述目标任务。
可理解,上述实施例仅为本申请实施例的一种示例,不应理解为对本申请实施例的限定。当上述工作流引擎确定服务节点执行完上述目标任务时,即可得到上述目标文件。
实施本申请实施例,通过监听该目标事件的运行状态的方式,可以随时了解该目标任务是否已执行完成,提高了业务流程处理的精确度。
在一种可能的实现方式中,上述通过所述服务节点将上述待处理文件的文件格式转换为上述服务节点对应的目标格式,得到目标文件,包括:
依据模板引擎生成与上述待处理文件的业务标签对应的HTML模板;
读取上述待处理文件的文件内容,将上述文件内容填入上述HTML模板中;
通过文件格式转换工具将上述HTML模板的文件格式转换为目标格式,得到上述目标文件。
本申请实施例中,上述HTML模板为一种网页模板。上述模板引擎可以使用Thymeleaf作为模板引擎。上述文件格式转换工具可以为iText,iText是著名的开放源码的站点sourceforge一个项目,是用于生成PDF文档的一个java类库。通过iText不仅可以生成PDF或rtf的文档,而且可以将XML、HTML文件转化为PDF文件。
具体的,通过待处理文件的业务标签可以确定与该待处理文件相对应的HTML模板,通过模板引擎可以生成该HTML模板,并且将该待处理文件中的具体的文件内容填写到该HTML模板中。然后通过文件格式转换工具iText可以将该待处理文件的文件格式(如HTML文件格式)转换为目标格式(如PDF格式)。
实施本申请实施例,使用Thymeleaf模板引擎生成待处理文件对应的HTML模板,简单方便,入门较低。并且通过文件格式转换工具iText可以将待处理文件的文件格式由HTML转换为PDF格式,由于PDF是HTML转换而来,可以保证PDF内容编写过程的可视化操作。
在一种可能的实现方式中,在上述得到上述目标文件之后,上述方法还包括:
若接收到签署电子章指令,则获取与上述签署电子章指令对应文件的统一资源定位符,匹配与上述资源定位符对应的文件;
在与上述资源定位符对应的文件为上述目标文件的情况下,为上述目标文件签署电子章。
本申请实施例中,在得到上述目标文件之后,若该目标文件为一份合同,则可以为该合同签署相应的电子章。其中,上述签署电子章指令可以为上述数据处理装置自动生成的指令,也可以为用户确认该目标文件(如合同)之后,点击显示设备所生成的指令。可理解,本申请实施例中对于该签署电子章指令的具体生成方式不作限定。具体的,通过查找与该签署电子章指令对应文件的资源定位符(Uniform Resource Locator,URL),以及通过该URL匹配与该URL对应的文件,若该文件为上述目标文件,则可以为该目标文件签署相应的电子章。实施本申请实施例,通过上述方式为上述目标文件签署电子章,可以保证该目标文件的合法性,使该目标文件具有法律效力,并且通过电子签章的方式,方便高效,提高了工作效率。
206、将上述目标文件中的数据从数据模型转化为存储模型;将转化为存储模型之后的上述目标文件中的数据保存至数据库。
本申请实施例中,将上述目标文件中的数据从数据模型转化为存储模型,可以理解为一种数据持久化过程。数据持久化就是将内存中的数据模型转换为存储模型,以及将存储模型转换为内存中的数据模型的统称。数据模型可以是任何数据结构或对象模型,存储模型可以是关系模型、可扩展标记语言(extensible markup language,XML)、二进制流等。
其中,上述数据库为一种用于存放目标文件的数据库。举例来说,该数据库可以为redis数据库。具体的,redis是一个开源的使用ANSI C语言编写、支持网络、可基于内存亦可持久化的日志型、Key-Value数据库,并提供多种语言的API。该redis数据库是一个支持持久化的内存数据库,也就是说redis需要经常将内存中的数据同步到磁盘来保证持久化。redis支持四种持久化方式,一是Snapshotting(快照)也是默认方式;二是Append-only file(缩写aof)的方式;三是虚拟内存方式;四是diskstore方式。
实施本申请实施例,在获取到待处理文件之后,通过业务标签对应的业务类型可以将该待处理文件输入到对应的服务节点中。当监听到发生了目标事件之后,发布该目标事件。此时,相应的目标事件被触发,通过监听该目标事件对应的运行状态可以准确得知目标任务(即通过服务节点将待处理文件的文件格式转换为目标格式的过程)是否已执行完成,若执行完成,即可得到上述目标文件。最后,通过数据持久化的方式将该目标文件保存至数据库。通过上述 方式,可以通过将待处理文件输入到对应的服务节点中,完成对待处理文件的格式转换,提高了处理业务流程的工作效率。
可理解,图1和图2所示的方法实施例各有侧重,其中一个实施例中未详尽描述的实现方式还可参考其他实施例。上述详细阐述了本申请实施例的方法,下面提供了本申请实施例的装置。
参见图3,图3是本申请实施例提供的一种数据处理装置的结构示意图,如图3所示,该数据处理装置包括:
获取单元301,用于获取待处理文件,上述待处理文件携带有业务标签;
第一处理单元302,用于将上述待处理文件发送至与上述待处理文件的业务标签对应的服务节点;
第一监听单元303,用于监听上述服务节点对应的目标事件是否被触发,上述目标事件用于指示上述服务节点处理与上述目标事件所对应的任务处理流程;
第二处理单元304,用于若上述目标事件被触发,通过上述服务节点将上述待处理文件的文件格式转换为上述服务节点对应的目标格式,并根据上述目标事件所对应的任务处理流程对已转换为目标格式的上述待处理文件进行任务处理,得到目标文件。
可选的,图4是本申请实施例提供的一种第一处理单元的结构示意图,如图4所示,上述第一处理单元302包括:
第一确定子单元3021,用于依据预设的上述业务标签与业务类型之间的映射关系,确定与上述待处理文件的业务标签对应的业务类型;
第二确定子单元3022,用于依据上述待处理文件的业务类型、以及预设的业务类型与服务节点之间的映射关系,确定与上述待处理文件对应的服务节点。
可选的,图5是本申请实施例提供的一种第一监听单元的结构示意图,如图5所示,上述第一监听单元303包括:
监听子单元3031,用于监听上述目标事件所对应的任务流程事件是否已启动;
第三确定子单元3032,用于若监听到上述目标事件所对应的任务流程事件已启动,则确定上述目标事件被触发,否则确定上述目标事件未被触发。
可选的,图6是本申请实施例提供的另一种数据处理装置的结构示意图,如图6所示,上述装置还包括:
第三处理单元305,用于通过同步方式、同步注解方式或异步注解方式中的任意一种发布上述目标事件;
上述第三处理单元305,具体用于在上述目标事件发布成功的情况下,开始执行上述通过上述服务节点将上述待处理文件的文件格式转换为上述服务节点对应的目标格式的操作步骤。
可选的,如图6所示,上述装置还包括:
读取单元306,用于读取与上述目标事件对应的日志文件;
判断单元307,用于依据上述日志文件中的日志记录信息判断上述目标事件是否已执行完成;确定单元308,具体用于若上述目标事件已执行完成,则确定上述根据上述目标事件所对应的任务处理流程对已转换为目标格式的上述待处理文件进行任务处理的操作步骤已执行完成。
可选的,如图6所示,上述装置还包括:
第二监听单元309,用于监听上述目标事件的运行状态是否为终止态;
上述确定单元308,具体用于若上述运行状态为终止态,则确定上述目标事件已执行完成,以及确定根据上述目标事件所对应的任务处理流程对已转换为目标格式的上述待处理文件进行任务处理的操作步骤已执行完成。
可选的,图7为本申请实施例提供的一种第二处理单元的结构示意图,如图8所示,上述第二处理单元304包括:
生成子单元3041,用于依据模板引擎生成与上述待处理文件的业务标签对应的HTML模板;
处理子单元3042,用于读取上述待处理文件的文件内容,将上述文件内容填入上述HTML模板中;
转换子单元3043,用于通过文件格式转换工具将上述HTML模板的文件格式转换为目标格式,得到上述目标文件。
可选的,如图6所示,上述装置还包括:
匹配单元310,用于若接收到签署电子章指令,则获取与上述签署电子章指令对应文件的统一资源定位符,匹配与上述统一资源定位符对应的文件;
签署单元311,用于在与上述统一资源定位符对应的文件为上述目标文件的情况下,为上述目标文件签署电子章。
可选的,如图6所示,上述装置还包括:
转化单元312,用于将上述目标文件中的数据从数据模型转化为存储模型;所述数据模型为数据结构或对象模型,所述存储模型为关系模型、可扩展标记语言和/或二进制流;
存储单元313,用于将转化为存储模型之后的上述目标文件中的数据保存至数据库。
参见图8,图8是本申请实施例提供的一种数据处理的结构示意图,该数据 处理包括处理器801、存储器802和输入输出接口803,上述处理器801、存储器802和输入输出接口803通过总线相互连接。
存储器802包括但不限于是随机存储记忆体(random access memory,RAM)、只读存储器(read-only memory,ROM)、可擦除可编程只读存储器(erasable programmable read only memory,EPROM)、或便携式只读存储器(compact disc read-only memory,CD-ROM),该存储器802用于相关指令及数据。输入输出接口803,例如可通过该输入输出接口与其他装置进行通信等。
处理器801可以是一个或多个中央处理器(central processing unit,CPU),在处理器801是一个CPU的情况下,该CPU可以是单核CPU,也可以是多核CPU。
具体的,各个操作的实现还可以对应参照图1和图2所示的方法实施例的相应描述。以及各个操作的实现还可对应参照图3、图4、图5、图6和图7所示的装置实施例的相应描述。
如在一个实施例中,处理器801可用于执行步骤101、步骤102、步骤103以及步骤104所示的方法,又如该处理器801还可用于执行获取单元301、第一处理单元302、第一监听单元303以及第二处理单元304等所执行的方法。
又如在一个实施例中,输入输出接口803,还可用于执行获取单元301所执行的方法。
又如在一个实施例中,处理器801可用于执行步骤201、步骤202、步骤203步骤204、步骤205以及步骤206所示的方法,又如该处理器801还可用于执行获第三处理单元305、读取单元306、判断单元307、确定单元308、第二监听单元309、匹配单元310、签署单元311、转化单元312以及存储单元313等所执行的方法。
可以理解的是,图8仅仅示出了数据处理的简化设计。在实际应用中,数据处理装置还可以分别包含必要的其他元件,包含但不限于任意数量的输入输出接口、处理器、存储器等,而所有可以实现本申请实施例的数据处理都在本申请的保护范围之内。所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,该流程可以由计算机程序来指令相关的硬件完成,该程序可存储于计算机非易失性可读存储介质中,该程序在执行时,可包括如上述各方法实施例的流程。而前述的存储介质包括:ROM或随机存储记忆体RAM、磁碟或者光盘等各种可存储程序代码的介质。

Claims (20)

  1. 一种数据处理方法,其特征在于,应用于工作流引擎,所述方法包括:
    获取待处理文件,所述待处理文件携带有业务标签;
    将所述待处理文件发送至与所述待处理文件的业务标签对应的服务节点;
    监听所述服务节点对应的目标事件是否被触发,所述目标事件用于指示所述服务节点处理与所述目标事件所对应的任务处理流程;
    若所述目标事件被触发,通过所述服务节点将所述待处理文件的文件格式转换为所述服务节点对应的目标格式,并根据所述目标事件所对应的任务处理流程对已转换为目标格式的所述待处理文件进行任务处理,得到目标文件。
  2. 根据权利要求1所述的方法,其特征在于,所述将所述待处理文件发送至与所述待处理文件的业务标签对应的服务节点,包括:
    依据预设的业务标签与业务类型之间的映射关系,确定与所述待处理文件的业务标签对应的业务类型;
    依据所述待处理文件的业务类型、以及预设的业务类型与服务节点之间的映射关系,确定与所述待处理文件对应的服务节点。
  3. 根据权利要求2所述的方法,其特征在于,所述监听所述服务节点对应的目标事件是否被触发包括:
    监听所述目标事件所对应的任务流程事件是否已启动;
    若监听到所述目标事件所对应的任务流程事件已启动,则确定所述目标事件被触发,否则确定所述目标事件未被触发。
  4. 根据权利要求3所述的方法,其特征在于,在所述得到目标文件之前,所述方法还包括:
    读取与所述目标事件对应的日志文件;
    依据所述日志文件中的日志记录信息判断所述目标事件是否已执行完成;
    若所述目标事件已执行完成,则确定所述根据所述目标事件所对应的任务处理流程对已转换为目标格式的所述待处理文件进行任务处理的操作步骤已执行完成。
  5. 根据权利要求3所述的方法,其特征在于,在所述得到目标文件之前,所述方法还包括:
    监听所述目标事件的运行状态是否为终止态;
    若所述运行状态为终止态,则确定所述目标事件已执行完成,以及确定根据所述目标事件所对应的任务处理流程对已转换为目标格式的所述待处理文件进行任务处理的操作步骤已执行完成。
  6. 根据权利要求5所述的方法,其特征在于,所述通过所述服务节点将所述待处理文件的文件格式转换为所述服务节点对应的目标格式,包括:
    依据模板引擎生成与所述待处理文件的业务标签对应的HTML模板;
    读取所述待处理文件的文件内容,将所述文件内容填入所述HTML模板中;
    通过文件格式转换工具将所述HTML模板的文件格式转换为目标格式。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述得到目标文件之后,所述方法还包括:
    将所述目标文件中的数据从数据模型转化为存储模型;所述数据模型为数据结构或对象模型,所述存储模型为关系模型、可扩展标记语言和/或二进制流;
    将转化为存储模型之后的所述目标文件中的数据保存至数据库。
  8. 根据权利要求1-6任一项所述的方法,其特征在于,在所述得到所述目标文件之后,所述方法还包括:
    若接收到签署电子章指令,则获取与所述签署电子章指令对应文件的统一资源定位符,匹配与所述统一资源定位符对应的文件;
    在与所述统一资源定位符对应的文件为所述目标文件的情况下,为所述目标文件签署电子章。
  9. 根据权利要求7或8所述的方法,其特征在于,在所述若所述目标事件被触发之后,所述方法还包括:
    通过同步方式、同步注解方式或异步注解方式中的任意一种发布所述目标事件;
    所述通过所述服务节点将所述待处理文件的文件格式转换为所述服务节点对应的目标格式,包括:
    在所述目标事件发布成功的情况下,开始执行所述通过所述服务节点将所述待处理文件的文件格式转换为所述服务节点对应的目标格式的操作步骤。
  10. 一种数据处理装置,其特征在于,所述数据处理装置包括:
    获取单元,用于获取待处理文件,所述待处理文件携带有业务标签;
    第一处理单元,用于将所述待处理文件发送至与所述待处理文件的业务标签对应的服务节点;
    第一监听单元,用于监听所述服务节点对应的目标事件是否被触发,所述目标事件用于指示所述服务节点处理与所述目标事件所对应的任务处理流程;
    第二处理单元,用于若所述目标事件被触发,通过所述服务节点将所述待处理文件的文件格式转换为所述服务节点对应的目标格式,并根据所述目标事件所对应的任务处理流程对已转换为目标格式的所述待处理文件进行任务处理,得到目标文件。
  11. 根据权利要求10所述的装置,其特征在于,所述第一处理单元包括:
    第一确定子单元,用于依据预设的业务标签与业务类型之间的映射关系,确定与所述待处理文件的业务标签对应的业务类型;
    第二确定子单元,用于依据所述待处理文件的业务类型、以及预设的业务类型与服务节点之间的映射关系,确定与所述待处理文件对应的服务节点。
  12. 根据权利要求11所述的装置,其特征在于,所述第一监听单元包括:
    监听子单元,用于监听所述目标事件所对应的任务流程事件是否已启动;
    第三确定子单元,用于若监听到所述目标事件所对应的任务流程事件已启动,则确定所述目标事件被触发,否则确定所述目标事件未被触发。
  13. 根据权利要求12所述的装置,其特征在于,所述装置还包括:
    读取单元,用于读取与所述目标事件对应的日志文件;
    判断单元,用于依据所述日志文件中的日志记录信息判断所述目标事件是否已执行完成;
    确定单元,具体用于若所述目标事件已执行完成,则确定所述根据所述目标事件所对应的任务处理流程对已转换为目标格式的所述待处理文件进行任务处理的操作步骤已执行完成。
  14. 根据权利要求13所述的装置,其特征在于,所述装置还包括:
    第二监听单元,用于监听所述目标事件的运行状态是否为终止态;所述确定单元,具体用于若所述运行状态为终止态,则确定所述目标事件已执行完成,以及确定根据所述目标事件所对应的任务处理流程对已转换为目标格式的所述待处理文件进行任务处理的操作步骤已执行完成。
  15. 根据权利要求14所述的装置,其特征在于,所述第二处理单元包括:
    生成子单元,用于依据模板引擎生成与所述待处理文件的业务标签对应的HTML模板;
    处理子单元,用于读取所述待处理文件的文件内容,将所述文件内容填入所述HTML模板中;
    转换子单元,用于通过文件格式转换工具将所述HTML模板的文件格式转换为目标格式,得到所述目标文件。
  16. 根据权利要求10-15任一项所述的装置,其特征在于,所述装置还包括:
    转化单元,用于将所述目标文件中的数据从数据模型转化为存储模型;所述数据模型为数据结构或对象模型,所述存储模型为关系模型、可扩展标记语言和/或二进制流;
    存储单元,用于将转化为存储模型之后的所述目标文件中的数据保存至数据库。
  17. 根据权利要求10-15任一项所述的装置,其特征在于,所述装置还包括:
    匹配单元,用于若接收到签署电子章指令,则获取与所述签署电子章指令对应文件的统一资源定位符,匹配与所述统一资源定位符对应的文件;
    签署单元,用于在与所述统一资源定位符对应的文件为所述目标文件的情况下,为所述目标文件签署电子章。
  18. 根据权利要求16或17所述的装置,其特征在于,所述装置还包括:
    第三处理单元,用于通过同步方式、同步注解方式或异步注解方式中的任意一种发布所述目标事件;
    所述第三处理单元,在所述目标事件发布成功的情况下,开始执行所述通过所述服务节点将所述待处理文件的文件格式转换为所述服务节点对应的目标格式的操作步骤。
  19. 一种数据处理装置,其特征在于,包括处理器、存储器和总线;所述处理器和所述存储器通过所述总线相互连接;其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行如权利要求1至9任一项所述的方法。
  20. 一种计算机非易失性可读存储介质,其特征在于,所述计算机非易失性可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时,使所述处理器执行如权利要求1至9任一项所述的方法。
PCT/CN2019/120153 2019-05-20 2019-11-22 数据处理方法、装置及存储介质 WO2020233037A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910428679.7 2019-05-20
CN201910428679.7A CN110245110A (zh) 2019-05-20 2019-05-20 数据处理方法、装置及存储介质

Publications (1)

Publication Number Publication Date
WO2020233037A1 true WO2020233037A1 (zh) 2020-11-26

Family

ID=67884710

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/120153 WO2020233037A1 (zh) 2019-05-20 2019-11-22 数据处理方法、装置及存储介质

Country Status (2)

Country Link
CN (1) CN110245110A (zh)
WO (1) WO2020233037A1 (zh)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112506485A (zh) * 2020-12-14 2021-03-16 苏州华兴源创科技股份有限公司 业务处理系统
CN112540958A (zh) * 2020-12-08 2021-03-23 北京百度网讯科技有限公司 文件处理方法、装置、设备及计算机存储介质
CN112632154A (zh) * 2020-12-30 2021-04-09 城云科技(中国)有限公司 基于时间数据确定并行业务数量及时间区间的方法及装置
CN112784199A (zh) * 2021-01-28 2021-05-11 北京有竹居网络技术有限公司 事件流程处理方法、设备、存储介质及程序产品
CN112925663A (zh) * 2021-03-25 2021-06-08 支付宝(杭州)信息技术有限公司 业务数据的计算方法和装置
CN112947939A (zh) * 2021-03-26 2021-06-11 山东浪潮通软信息科技有限公司 一种数据上报方法、装置、设备及存储介质
CN113760641A (zh) * 2021-01-08 2021-12-07 北京沃东天骏信息技术有限公司 业务监控方法、装置、计算机系统和计算机可读存储介质
CN114418438A (zh) * 2022-01-27 2022-04-29 北京声智科技有限公司 事件处理方法、装置、电子设备及可读存储介质
CN114924877A (zh) * 2022-05-17 2022-08-19 江苏泰坦智慧科技有限公司 一种基于数据流的动态分配计算方法、装置和设备
CN114970474A (zh) * 2022-05-12 2022-08-30 中国人民解放军陆军装甲兵学院 一种基于数据监听的excel导入导出方法及系统
CN115168354A (zh) * 2022-07-11 2022-10-11 广州市玄武无线科技股份有限公司 一种关于移动端事件流的集成处理方法及装置
CN116304266A (zh) * 2023-03-03 2023-06-23 苏州工业园区航星信息技术服务有限公司 档案管理系统
CN116628274A (zh) * 2023-07-25 2023-08-22 浙江锦智人工智能科技有限公司 一种针对图数据库的数据写入方法、设备及介质
CN116643733A (zh) * 2023-07-26 2023-08-25 北京仁科互动网络技术有限公司 业务处理系统和方法
CN117519911A (zh) * 2024-01-04 2024-02-06 珠海星云智联科技有限公司 自动注入系统、方法、设备、集群以及介质
CN118227424A (zh) * 2024-05-24 2024-06-21 山东浪潮数字商业科技有限公司 一种应用于分布式组件的日志记录模板接入方法与系统

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110245110A (zh) * 2019-05-20 2019-09-17 深圳壹账通智能科技有限公司 数据处理方法、装置及存储介质
CN112632941A (zh) * 2019-09-23 2021-04-09 北京国双科技有限公司 生成pdf格式公安文书的方法、装置、设备及存储介质
CN110673855B (zh) * 2019-09-29 2023-05-12 深圳无域科技技术有限公司 一种发起资信请求的方法及装置
CN110851130B (zh) * 2019-11-14 2023-09-01 珠海金山数字网络科技有限公司 一种数据处理的方法和装置
CN111526184B (zh) * 2020-04-07 2022-07-29 中国建设银行股份有限公司 业务审核的方法和装置
CN111782610B (zh) * 2020-06-03 2024-03-22 中移(杭州)信息技术有限公司 日志处理方法、装置、服务器、系统网络和存储介质
CN111949326A (zh) * 2020-08-03 2020-11-17 杭州当虹科技股份有限公司 一种基于Activiti的微服务工作流方法
CN112882803B (zh) * 2021-03-08 2024-05-14 万维云网(北京)数据科技有限公司 一种数据处理方法及系统
CN113419790A (zh) * 2021-06-22 2021-09-21 杭州安恒信息技术股份有限公司 业务数据处理方法、装置、设备及计算机可读存储介质
CN113672205B (zh) * 2021-08-25 2022-06-03 广州方舟信息科技有限公司 一种基于业务事件驱动的工作流框架
CN113779131A (zh) * 2021-09-14 2021-12-10 树根互联股份有限公司 一种数据流联动的方法、装置、终端及存储介质
CN114240328A (zh) * 2021-11-26 2022-03-25 珠海大横琴科技发展有限公司 一种数据处理的方法和装置
CN114416601B (zh) * 2022-03-30 2022-07-19 南京赛宁信息技术有限公司 一种网络安全信息采集引擎和任务管理系统与方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050246310A1 (en) * 2004-04-28 2005-11-03 Ching-Chung Chang File conversion method and system
CN1926563A (zh) * 2005-01-28 2007-03-07 三菱电机株式会社 工作流管理装置、工作流管理系统以及测试方案生成方法
CN101610265A (zh) * 2009-07-24 2009-12-23 深圳市永达电子股份有限公司 一种业务工作流的流程识别方法
CN102236672A (zh) * 2010-05-06 2011-11-09 深圳市腾讯计算机系统有限公司 一种数据导入方法及装置
CN110245110A (zh) * 2019-05-20 2019-09-17 深圳壹账通智能科技有限公司 数据处理方法、装置及存储介质

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101101592A (zh) * 2006-07-04 2008-01-09 联想(北京)有限公司 一种文件格式自动转换方法及装置
CN105809299A (zh) * 2014-12-27 2016-07-27 华为技术有限公司 业务流程管理的通知服务处理的方法及业务流程管理引擎

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050246310A1 (en) * 2004-04-28 2005-11-03 Ching-Chung Chang File conversion method and system
CN1926563A (zh) * 2005-01-28 2007-03-07 三菱电机株式会社 工作流管理装置、工作流管理系统以及测试方案生成方法
CN101610265A (zh) * 2009-07-24 2009-12-23 深圳市永达电子股份有限公司 一种业务工作流的流程识别方法
CN102236672A (zh) * 2010-05-06 2011-11-09 深圳市腾讯计算机系统有限公司 一种数据导入方法及装置
CN110245110A (zh) * 2019-05-20 2019-09-17 深圳壹账通智能科技有限公司 数据处理方法、装置及存储介质

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112540958B (zh) * 2020-12-08 2023-08-29 北京百度网讯科技有限公司 文件处理方法、装置、设备及计算机存储介质
CN112540958A (zh) * 2020-12-08 2021-03-23 北京百度网讯科技有限公司 文件处理方法、装置、设备及计算机存储介质
CN112506485A (zh) * 2020-12-14 2021-03-16 苏州华兴源创科技股份有限公司 业务处理系统
CN112632154A (zh) * 2020-12-30 2021-04-09 城云科技(中国)有限公司 基于时间数据确定并行业务数量及时间区间的方法及装置
CN112632154B (zh) * 2020-12-30 2024-03-12 城云科技(中国)有限公司 基于时间数据确定并行业务数量及时间区间的方法及装置
CN113760641A (zh) * 2021-01-08 2021-12-07 北京沃东天骏信息技术有限公司 业务监控方法、装置、计算机系统和计算机可读存储介质
CN112784199A (zh) * 2021-01-28 2021-05-11 北京有竹居网络技术有限公司 事件流程处理方法、设备、存储介质及程序产品
CN112925663A (zh) * 2021-03-25 2021-06-08 支付宝(杭州)信息技术有限公司 业务数据的计算方法和装置
CN112947939A (zh) * 2021-03-26 2021-06-11 山东浪潮通软信息科技有限公司 一种数据上报方法、装置、设备及存储介质
CN112947939B (zh) * 2021-03-26 2024-02-23 浪潮通用软件有限公司 一种数据上报方法、装置、设备及存储介质
CN114418438A (zh) * 2022-01-27 2022-04-29 北京声智科技有限公司 事件处理方法、装置、电子设备及可读存储介质
CN114970474A (zh) * 2022-05-12 2022-08-30 中国人民解放军陆军装甲兵学院 一种基于数据监听的excel导入导出方法及系统
CN114924877B (zh) * 2022-05-17 2023-10-17 江苏泰坦智慧科技有限公司 一种基于数据流的动态分配计算方法、装置和设备
CN114924877A (zh) * 2022-05-17 2022-08-19 江苏泰坦智慧科技有限公司 一种基于数据流的动态分配计算方法、装置和设备
CN115168354B (zh) * 2022-07-11 2023-06-30 广州市玄武无线科技股份有限公司 一种关于移动端事件流的集成处理方法及装置
CN115168354A (zh) * 2022-07-11 2022-10-11 广州市玄武无线科技股份有限公司 一种关于移动端事件流的集成处理方法及装置
CN116304266A (zh) * 2023-03-03 2023-06-23 苏州工业园区航星信息技术服务有限公司 档案管理系统
CN116304266B (zh) * 2023-03-03 2024-02-27 苏州工业园区航星信息技术服务有限公司 档案管理系统
CN116628274A (zh) * 2023-07-25 2023-08-22 浙江锦智人工智能科技有限公司 一种针对图数据库的数据写入方法、设备及介质
CN116628274B (zh) * 2023-07-25 2023-09-22 浙江锦智人工智能科技有限公司 一种针对图数据库的数据写入方法、设备及介质
CN116643733A (zh) * 2023-07-26 2023-08-25 北京仁科互动网络技术有限公司 业务处理系统和方法
CN116643733B (zh) * 2023-07-26 2023-10-13 北京仁科互动网络技术有限公司 业务处理系统和方法
CN117519911A (zh) * 2024-01-04 2024-02-06 珠海星云智联科技有限公司 自动注入系统、方法、设备、集群以及介质
CN117519911B (zh) * 2024-01-04 2024-04-19 珠海星云智联科技有限公司 自动注入系统、方法、设备、集群以及介质
CN118227424A (zh) * 2024-05-24 2024-06-21 山东浪潮数字商业科技有限公司 一种应用于分布式组件的日志记录模板接入方法与系统

Also Published As

Publication number Publication date
CN110245110A (zh) 2019-09-17

Similar Documents

Publication Publication Date Title
WO2020233037A1 (zh) 数据处理方法、装置及存储介质
US20230351535A1 (en) System and method for blockchain-based network transitioned by a legal contract
US20200092178A1 (en) Decision tables and flow engine for building automated flows within a cloud based development platform
US8645175B1 (en) Workflow system and method for single call batch processing of collections of database records
US7685604B2 (en) Business process execution language (BPEL) application generator for legacy interfaces
AU2018360802B2 (en) System and method for a blockchain-based network transitioned by a legal contract
US10296297B2 (en) Execution semantics for sub-processes in BPEL
US7739135B2 (en) Asynchronous fault handling in process-centric programs
KR20080087802A (ko) 작업 흐름에 대한 객체 모델
US20110185339A1 (en) Automating the creation of an application provisioning model
CN102810057A (zh) 一种记录日志的方法
CN110941488A (zh) 一种任务处理方法、装置、设备和存储介质
US20210406788A1 (en) Automatic risk assessment
US20150046929A1 (en) Using-sub-processes across business processes in different composites
Zhou et al. Legacy asset analysis and integration in model-driven soa solution
US8904339B2 (en) Method and system for modeling runtime behavior
EP3624027A1 (en) Decision tables and flow engine for building automated flows within a cloud based development platform
US11675571B1 (en) Restructuring enterprise application
Sharma Mastering Microservices with Java 9: Build domain-driven microservice-based applications with Spring, Spring Cloud, and Angular
Reynolds et al. Oracle SOA Suite 11g R1 Developer's Guide
TWI414995B (zh) 開發及執行平台
Aroraa Building Microservices with. NET Core 2.0: Transitioning monolithic architectures using microservices with. NET Core 2.0 using C# 7.0
US9141383B2 (en) Subprocess definition and visualization in BPEL
Dunphy et al. Pro BizTalk 2006
Pinnecke Product-lining the elinvar wealthtech microservice platform

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19930046

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19930046

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 18/03/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19930046

Country of ref document: EP

Kind code of ref document: A1