CN110245110A - Data processing method, device and storage medium - Google Patents
Data processing method, device and storage medium Download PDFInfo
- Publication number
- CN110245110A CN110245110A CN201910428679.7A CN201910428679A CN110245110A CN 110245110 A CN110245110 A CN 110245110A CN 201910428679 A CN201910428679 A CN 201910428679A CN 110245110 A CN110245110 A CN 110245110A
- Authority
- CN
- China
- Prior art keywords
- file
- processed
- service
- mentioned
- object event
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 12
- 238000003860 storage Methods 0.000 title claims description 32
- 238000000034 method Methods 0.000 claims abstract description 144
- 238000012545 processing Methods 0.000 claims abstract description 100
- 230000008569 process Effects 0.000 claims abstract description 92
- 230000001960 triggered effect Effects 0.000 claims abstract description 35
- 238000012544 monitoring process Methods 0.000 claims description 32
- 238000013507 mapping Methods 0.000 claims description 15
- 238000013499 data model Methods 0.000 claims description 12
- 238000011017 operating method Methods 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 claims description 2
- 238000007726 management method Methods 0.000 description 27
- 238000010586 diagram Methods 0.000 description 16
- 230000001360 synchronised effect Effects 0.000 description 8
- 238000006243 chemical reaction Methods 0.000 description 7
- 230000002688 persistence Effects 0.000 description 7
- 238000005111 flow chemistry technique Methods 0.000 description 4
- 230000006399 behavior Effects 0.000 description 3
- 239000013589 supplement Substances 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000004587 chromatography analysis Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000003032 molecular docking Methods 0.000 description 2
- 239000000047 product Substances 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 238000013519 translation Methods 0.000 description 2
- 239000008186 active pharmaceutical agent Substances 0.000 description 1
- 238000012550 audit Methods 0.000 description 1
- 229910002056 binary alloy Inorganic materials 0.000 description 1
- 238000004883 computer application Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000013439 planning Methods 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000003442 weekly effect Effects 0.000 description 1
- 238000005303 weighing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/11—File system administration, e.g. details of archiving or snapshots
- G06F16/116—Details of conversion of file system types or formats
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
The embodiment of the present application discloses a kind of data processing method and device.Wherein, this method comprises: obtaining file to be processed, the file to be processed carries service label;The file to be processed is sent to service node corresponding with the service label of the file to be processed;Monitor whether the corresponding object event of the service node is triggered, the object event is used to indicate the service node processing and task process flow corresponding to the object event;If the object event is triggered, the file format of the file to be processed is converted into the corresponding object format of the service node by the service node, and the task process flow according to corresponding to the object event carries out task processing to the file to be processed for having been converted into object format, obtains file destination.Using the application, the working efficiency of processing business process can be improved.
Description
Technical field
This application involves field of computer technology more particularly to a kind of data processing methods, device and storage medium.
Background technique
Current operation flow processing mostly uses workflow engine (Workflow Engine), and workflow engine refers to work
The a part of (workflow) as application system is flowed, and is provided determinative to each application system according to angle
Color, the division of labor and the different of condition determine the Core Solutions such as information transmitting routing, content rating.It can be with by workflow engine
Conveniently processing business.
But it needs to carry out operation flow by introducing third party's tool by workflow engine processing business process
Management, and developer must be familiar with related plug-in unit can just carry out workflow management exploitation.For the Business Stream of different companies
For journey, different operation flows has different data formats, comes pair to need to design and develop different workflow engines
The business of different companies is connect, to complete the task of the data format of transformation service data.
But in the case where business datum amount is big and business is complicated, since workflow engine is in processing business data
Format transfer problem in do not have versatility, not only increase artificial development cost, it is low to also result in working efficiency.
Summary of the invention
This application provides a kind of data processing method and relevant apparatus, are applied to workflow engine, are used for processing business
Process can convert the file to be processed of different company to the file destination of object format, mention for the business of different company
The high working efficiency of processing business process.
In a first aspect, this application provides a kind of data processing methods, comprising:
File to be processed is obtained, the file to be processed carries service label;
The file to be processed is sent to service node corresponding with the service label of the file to be processed;
Monitor whether the corresponding object event of the service node is triggered, the object event is used to indicate the service
Task process flow corresponding to node processing and the object event;
If the object event is triggered, the file format of the file to be processed is converted to by the service node
The corresponding object format of the service node, and the task process flow according to corresponding to the object event is to having been converted into mesh
The file to be processed of style formula carries out task processing, obtains file destination.
In one possible implementation, the industry file to be processed being sent to the file to be processed
The corresponding service node of business label, comprising:
It is determining and the file to be processed according to the mapping relations between the preset service label and type of service
The corresponding type of service of service label;
It is closed according to the mapping between the type of service and preset type of service and service node of the file to be processed
System, determining service node corresponding with the file to be processed.
In one possible implementation, whether the corresponding object event of the service node of monitoring is triggered packet
It includes:
Monitor whether flow of task event corresponding to the object event has been turned on;
If listening to flow of task event corresponding to the object event to have been turned on, it is determined that the object event is touched
Hair, otherwise determines that the object event is not triggered.
In one possible implementation, if after the object event is triggered, the method also includes:
The object event is issued by any one in the method for synchronization, synchronous note mode or asynchronous note mode;
It is described that the file format of the file to be processed is converted to by the service node correspondence by the service node
Object format, comprising:
In the case where the object event issues successful situation, start to pass through the service node described in execution for described wait locate
The file format of reason file is converted to the operating procedure of the corresponding object format of the service node.
In one possible implementation, it is described obtain file destination before, the method also includes:
Read journal file corresponding with the object event;
Judge whether the object event has executed completion according to the log information in the journal file;
If the object event has executed completion, it is determined that the task processing stream according to corresponding to the object event
The operating procedure that journey carries out task processing to the file to be processed for having been converted into object format has executed completion.
In one possible implementation, if the object event be triggered after and described obtain target
Before file, the method also includes:
Whether the operating status for monitoring the object event is to terminate state;
If the operating status is to terminate state, it is determined that the object event has executed completion, and determines according to
Task process flow corresponding to object event carries out task processing to the file to be processed for having been converted into object format
Operating procedure has executed completion.
In one possible implementation, it is described by the service node by the file format of the file to be processed
Be converted to the corresponding object format of the service node, comprising:
Html template corresponding with the service label of the file to be processed is generated according to template engine;
The file content for reading the file to be processed inserts the file content in the html template;
The file format of the html template is converted into object format by file format converter tools.
In one possible implementation, it is described obtain the file destination after, the method also includes:
If receiving signature electronics Zhang Zhiling, it is fixed with the unified resource of the signature electronics Zhang Zhiling respective file to obtain
Position symbol, matches file corresponding with the uniform resource locator;
It is the file destination in the case where file corresponding with the uniform resource locator is the file destination
Sign electronics chapter.
In one possible implementation, it is described obtain file destination after, the method also includes:
Storage model is converted from data model by the data in the file destination;The data model is data structure
Or object model, the storage model are relational model, extensible markup language and/or binary stream;
The data translated into the file destination after storage model are saved to database.
Second aspect, this application provides a kind of data processing equipments, comprising:
Acquiring unit, for obtaining file to be processed, the file to be processed carries service label;
First processing units, it is corresponding with the service label of the file to be processed for being sent to the file to be processed
Service node;
First monitoring unit, for monitoring whether the corresponding object event of the service node is triggered, the target thing
Part is used to indicate the service node processing and task process flow corresponding to the object event;
The second processing unit, if being triggered for the object event, by the service node by the text to be processed
The file format of part is converted to the corresponding object format of the service node, and at the task according to corresponding to the object event
Reason process carries out task processing to the above-mentioned file to be processed for having been converted into object format, obtains file destination.
In one possible implementation, the first processing units include:
First determines subelement, for according to the mapping relations between preset service label and type of service, determine with
The corresponding type of service of service label of the file to be processed;
Second determine subelement, for according to the file to be processed type of service and preset type of service with
Mapping relations between service node, determining service node corresponding with the file to be processed.
In one possible implementation, first monitoring unit includes:
Subelement is monitored, for monitoring whether flow of task event corresponding to the object event has been turned on;
Third determines subelement, if being had been turned on for listening to flow of task event corresponding to the object event,
It determines that the object event is triggered, otherwise determines that the object event is not triggered.
In one possible implementation, described device further include:
Third processing unit, for passing through any one in the method for synchronization, synchronous note mode or asynchronous note mode
Issue the object event;
The third processing unit starts to execute described by described in the case where the object event issues successful situation
The file format of the file to be processed is converted to the operating procedure of the corresponding object format of the service node by service node.
In one possible implementation, described device further include:
Reading unit, for reading journal file corresponding with the object event;
Judging unit, for judging whether the object event has been held according to the log information in the journal file
Row is completed;
Determination unit, if having executed completion specifically for the object event, it is determined that described according to the object event
Corresponding task process flow carries out the operating procedure of task processing to the file to be processed for having been converted into object format
Completion is executed.
In one possible implementation, described device further include:
Second monitoring unit, whether the operating status for monitoring the object event is to terminate state;
The determination unit, if being specifically used for the operating status is to terminate state, it is determined that the object event has executed
It completes, and determines the task process flow according to corresponding to the object event to having been converted into described in object format wait locate
The operating procedure that reason file carries out task processing has executed completion.
In one possible implementation, described the second processing unit includes:
Subelement is generated, for generating HTML mould corresponding with the service label of the file to be processed according to template engine
Plate;
Subelement is handled, it, will be described in file content filling for reading the file content of the file to be processed
In html template;
Conversion subunit, for the file format of the html template to be converted to target by file format converter tools
Format obtains the file destination.
In one possible implementation, described device further include:
Matching unit, if obtaining text corresponding with the signature electronics Zhang Zhiling for receiving signature electronics Zhang Zhiling
The uniform resource locator of part matches file corresponding with the uniform resource locator;
Unit is signed, is used in the case where file corresponding with the uniform resource locator is the file destination,
Electronics chapter is signed for the file destination.
In one possible implementation, described device further include:
Conversion unit, for converting storage model from data model for the data in the file destination;The data
Model is data structure or object model, and the storage model is relational model, extensible markup language and/or binary stream;
Storage unit, the data for translating into the file destination after storage model are saved to database.
The third aspect, the embodiment of the present application also provides a kind of data processing equipments, comprising: processor, memory and defeated
Enter output interface, the processor and the memory, the input/output interface are interconnected by route;Wherein, the storage
Device is stored with program instruction;When described program instruction is executed by the processor, execute the processor such as first aspect institute
The corresponding method stated.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, the computer-readable storage
Computer program is stored in medium, the computer program includes program instruction, and described program instruction, which is worked as, to be executed by processor
When, so that the processor is executed method described in first aspect.
In the embodiment of the present application, file to be processed is obtained first, then reads the business in the file to be processed got
Label can determine service node corresponding with the file to be processed by the service label, and the file to be processed is inputted
Into the service node.After the corresponding object event of the service node is triggered, can be completed by the service node will
The format conversion of the file to be processed is the process of object format, finally obtains file destination.It can be seen that it is real to implement the application
Example is applied, can complete to convert the format of file to be processed, mention by the way that file to be processed to be input in corresponding service node
The high working efficiency of processing business process.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application or in background technique below will be implemented the application
Attached drawing needed in example or background technique is illustrated.
Fig. 1 is a kind of flow diagram of data processing method provided by the embodiments of the present application;
Fig. 2 is the flow diagram of another data processing method provided by the embodiments of the present application;
Fig. 3 is a kind of structural schematic diagram of data processing equipment provided by the embodiments of the present application;
Fig. 4 is a kind of structural schematic diagram of first processing units provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of first monitoring unit provided by the embodiments of the present application;
Fig. 6 is the structural schematic diagram of another data processing equipment provided by the embodiments of the present application;
Fig. 7 is a kind of structural schematic diagram of the second processing unit provided by the embodiments of the present application;
Fig. 8 is a kind of structural schematic diagram of data processing provided by the embodiments of the present application.
Specific embodiment
In order to keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application make into
One step it is described in detail.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing
Different objects, is not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, meaning
Figure, which is to cover, non-exclusive includes.Such as contain the process, method, system, product or equipment of a series of steps or units
It is not limited to listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also
Including other step or units intrinsic for these process, methods or equipment.
It is a kind of flow diagram of data processing method provided by the embodiments of the present application referring to Fig. 1, Fig. 1, at the data
Reason method can should be in workflow engine, or Workflow system.Wherein, above-mentioned workflow engine includes Workflow system.
Workflow engine (workflow engine) refers to a part of workflow (workflow) as application system, and mentions for it
For determining information transmitting routing, content rating according to the different of role, the division of labor and condition to each application system is determinative
Equal Core Solutions.Workflow engine includes the critical functions such as the node administration of process, flow direction management, process sample management.
Above-mentioned Workflow system can be understood as a kind of Workflow Management System.Wherein, workflow (workflow) be exactly
" automation of a part or whole part of business procedure under computer application environment ", it, which leads to be to solve, " makes in multiple participations
It is carried out automatically between person according to the process of certain predefined rule transmitting document, information or task, to realize some expection
Business objective, or promote the realization of this target ".Workflow Management System (workflow management system,
It wfms) is a software systems, it completes the definition and management of workload, and according to the workflow pre-defined in systems
The execution of logic progress workflow instance.Specifically, the Workflow system can be the terminal devices such as computer, mobile phone.It is understood that
The embodiment of the present application is specifically what does not make uniqueness restriction for the Workflow system.
As shown in Figure 1, the data processing method includes:
101, file to be processed is obtained, above-mentioned file to be processed carries service label.
In the embodiment of the present application, workflow can be applied to following industry: consumer goods industry, manufacturing industry, Telecom Operators,
The financial services industries such as corporation securities, logistics service, service for infrastructure industry, estate management, large and medium-sized foreign trade company, government
Institution, education services industry etc. is especially big transnational enterprise and group company in one's power for research institute.
Concrete application is as follows:
(1) key business process: order, quotation processing, procurement process, contract audit, customer phone processing, supply chain pipe
Reason etc..
(2) administration class: application of going on business, work overtime application, application of asking for leave, application for using car, various office appliance applications, purchase
Buy the administrative list of all original processing of circulation by hand such as application, daily paper weekly.
(3) personnel management class: staffs training arrangement, performance appraisal, position variation processing, Employee Profile information management etc..
(4) financial associated class: payment request, account due processing, daily reimbursement processing, business trip reimbursement/reimbursement for a business trip, Budgetary And Planning Shen
It please wait.
(5) customer service class: the management such as client information management, customer complaint, request processing, after-sale service management.
(6) special service class: ISO series corresponds to process, quality management corresponds to process, product data information management, trade
Various gradually the circulating completion by hand by list of the tasks such as company's declaration processing, the processing of logistics company cargo tracking can be applied
The realization that working flow software standardizes automatically.
It is understood that the concrete application scene in the embodiment of the present application for workflow is not construed as limiting.
Correspondingly, above-mentioned file to be processed is related with the concrete application of above-mentioned workflow.For example, if above-mentioned workflow
Daily reimbursement applied to financial associated class is handled, then above-mentioned file to be processed is file relevant to daily reimbursement processing,
Etc., and the file to be processed is the file with convert file formats.It is understood that for the text to be processed in the embodiment of the present application
Part is specifically what is not construed as limiting.
Optionally, above-mentioned workflow engine includes downloading node, above-mentioned acquisition file to be processed, comprising:
Above-mentioned file to be processed is downloaded by above-mentioned downloading node.
In the embodiment of the present application, the concept of workflow is originating from generation tissue and office automation.In order to complete a thing
Business or task need to complete one group of relevant subtask by certain process.For the entire process or process of the affairs or task,
It is exactly a process.Each subtask is exactly a node, in each subtask, it is also necessary to independent task is split into,
It is exactly work item.
For example, a notice will issue, and publication terminates to the end since drafting, the whole flow process of notice publication
It is exactly a process.Wherein, the process of above-mentioned notice publication can be divided into draft, department head goes over a manuscript or draft, leader goes over a manuscript or draft, finalize a text, at
Literary, publication and etc., each step is exactly a node.In these nodes, for example, it is written, to complete contribution red chromatography, red chromatography
When, there are gauge outfit processing, table bottom reason etc., all be work item one by one.Wherein, the above process can also claim a process;On
State node, also referred to as link, step etc.;Work item, also referred to as element, main points etc..
Correspondingly, above-mentioned downloading node can be understood as a workflow nodes or workflow in workflow task
A step in task.The work item that the downloading node is completed is to download above-mentioned file to be processed.
Implement the embodiment of the present application, above-mentioned file to be processed can specially be downloaded by above-mentioned downloading node, improved down
Carry the speed of file to be processed.
102, above-mentioned file to be processed is sent to service node corresponding with the service label of above-mentioned file to be processed.
In the embodiment of the present application, the service label of the corresponding file to be processed is carried in above-mentioned file to be processed.Foundation
The service label of above-mentioned file to be processed can determine service node corresponding with above-mentioned file to be processed, and will be above-mentioned to be processed
File is input to above-mentioned service node.
The service label is used to indicate the related specific type of service of the file to be processed.
Correspondingly, can be the text to be processed by above-mentioned data processing equipment (such as workflow engine or Workflow system)
Part adds the service label.Alternatively, can also be that the file to be processed adds the service label by other devices or equipment.It can
Understand, addition manner specific for the service label is not construed as limiting in the embodiment of the present application.
Wherein, above-mentioned service node can be understood as a kind of workflow nodes collection comprising one or more workflow nodes
The general name of conjunction.Specifically, if the file format of the file to be processed, which is converted to object format, in step 104 needs a step
It can be completed, then the node for including in the service node is a node;If by the file of the file to be processed in step 104
Format is converted to object format and needs multiple steps (at least two steps) just achievable, then node for including in the service node
As multiple nodes (at least two nodes).
Also, above-mentioned service node is used to handle the file to be processed of different service types, that is to say, that for not of the same trade or business
Service node corresponding to the file to be processed of business label is different.
Correspondingly, above-mentioned data processing equipment (such as workflow engine can be passed through for the service label of the service node
Or Workflow system) it is that the service node adds the service label.
By way of matching the service label of the file to be processed and the service label of the service node, this can be waited for
Processing file is input in corresponding service node.
Implementing the embodiment of the present application can be determined corresponding with above-mentioned file to be processed by way of matching service label
Service node, and the file to be processed is input in the service node, it is not right to can avoid for the file to be processed being input to
In the service node answered, the accuracy of business flow processing process is improved.
103, monitor whether the corresponding object event of above-mentioned service node is triggered, above-mentioned object event is used to indicate above-mentioned
Service node processing and task process flow corresponding to above-mentioned object event.
In the embodiment of the present application, Workflow system generally comprises one or more workflow nodes, which can
To be interpreted as a kind of task node, above-mentioned service node is one of workflow nodes.
In addition, different event types can be arranged in above-mentioned object event according to different needs.It can provide abundant
Event carry out the use for application system, to realize the interaction between workflow engine and application system.For example, above-mentioned
Object event can start event, process End Event for process, and link enters preceding event, and link enters rear event, some row
To execute event and other events etc. after preceding event and some behavior execution.
Specifically, monitor whether the corresponding object event of above-mentioned service node is triggered, it can be by the service node pair
The button answered carries out event monitoring to realize.Wherein, can be understood as can be by a kind of JavaScrip (literal translation formula script for event
Language) a kind of behavior for detecting.
Specifically, can realize the prison to above-mentioned object event by customized event monitor and registered events monitor
It listens.Correspondingly, additionally providing the method that several Spring Boot carry out event monitoring in the embodiment of the present application.Wherein, Spring
Boot is the completely new frame provided by Pivotal team, and purpose of design is for simplifying initially building for new Spring application
And development process.The frame has used specific mode to be configured, so that developer be made no longer to need to define template
The configuration of change.It is following above-mentioned:
The process of Spring Boot event monitoring:
(1) customized event, usually succession customized event, usually succession ApplicationEvent abstract class.
(2) event sniffer is defined, usually realization ApplicationListener interface.
(3) monitor is configured, monitor is brought into spring container and is managed.
Alternatively, explaining directly in MyApplicationListener class plus@Component, it is included in spring container
Management;
Event monitoring is realized alternatively, explaining by@EventListener;
Alternatively, configuring monitor in application.properties;
Alternatively, monitor is added into ApplicationContext by hand.
(4) event is issued.
Wherein, publication event can be divided into synchronous publication event or asynchronous publication event again.Synchronous publication event can guarantee
The linear operation of task, and the asynchronous parallel processing for issuing the task that realizes.
The service can accurately be learnt by monitoring the corresponding object event of the service node by implementing the embodiment of the present application
Whether node has started to execute the process flow for the file format for converting file to be processed, is capable of holding for monitoring business process flow
Traveling degree improves the accuracy of business processing.
If 104, above-mentioned object event is triggered, the file format of above-mentioned file to be processed is turned by above-mentioned service node
It is changed to object format corresponding with above-mentioned service node, and according to the corresponding task process flow of above-mentioned object event to having converted
Task processing is carried out for the above-mentioned file to be processed of object format, obtains file destination.
It, can be by the tray of above-mentioned file to be processed by the service node in Workflow system in the embodiment of the present application
Formula is converted to object format corresponding with the service node, and is further appointed to the file to be processed after format transformation
Business processing, finally obtains file destination.Wherein it is possible to the file format of file to be processed is converted to object format, and
The treatment process that the file to be processed for having been converted into object format carries out task processing is referred to as goal task.
Above-mentioned goal task can be generally divided into execution of multiple steps, that is to say, that above-mentioned goal task is needed by more
A workflow nodes execute the goal task in batches.
Above-mentioned service node includes one or more workflow nodes.Such as service node includes service node, the second section
Point and third node, etc., and the service node, second node and third node are for executing the asynchronous of above-mentioned goal task
Suddenly, and the different step corresponds to different events.For example, if above-mentioned service node includes three nodes, the service
The corresponding event of node can start event for process, which can be process End Event etc..It can
Understand, how many a nodes are specifically included for the service node in the embodiment of the present application and are not construed as limiting, and for the service section
The corresponding event of each node is specifically what is not construed as limiting in point.
When above-mentioned service node has executed the Overall Steps of above-mentioned goal task, then complete to the file to be processed
The conversion of file format, and the process of file destination is obtained according to file to be processed.
In the embodiment of the present application, above-mentioned file to be processed is the business datum from different third company, above-mentioned clothes
Business node is for docking different types of service.Specifically, if above-mentioned third company is A, B, C, tetra- companies of D, and the A,
The type of service of tetra- companies of B, C, D contains at least one type of service.Correspondingly, can be used by least one service node
In the processing A, B, C, the business of tetra- companies of D.For example, if above-mentioned file to be processed belongs to company A, according to A public affairs
The service label of department, the file to be processed that this can be belonged to company A, which is input in corresponding service node, to be handled.
For example, if the service label of above-mentioned file to be processed is one file of downloading (and include one in this document
Paper series list), and data corresponding to the listed files after downloading are encrypted.So, above-mentioned file to be processed
As a kind of file comprising multiple listed files, the file destination are a kind of encrypted file.That is, by upper
File to be processed can be converted to the file destination of needs by stating service node.It is understood that should not be managed the above is only a kind of example
Solution is that the uniqueness of the embodiment of the present application limits.
In one possible implementation, it is above-mentioned obtain file destination before, the above method further include:
Read journal file corresponding with above-mentioned object event;
Judge whether above-mentioned object event has executed completion according to the log information in above-mentioned journal file;
If above-mentioned object event has executed completion, it is determined that the above-mentioned task processing stream according to corresponding to above-mentioned object event
The operating procedure that journey carries out task processing to the above-mentioned file to be processed for having been converted into object format has executed completion.
In the embodiment of the present application, above-mentioned journal file and above-mentioned log information can be regarded as one kind to above-mentioned target thing
The log management of part.Specifically, can realize log management by Spring AOP.AOP(Aspect-
OrientedProgramming, Aspect-oriented programming), AOP is OOP (Object-Oriented Programing, towards right
As programming) supplement and perfect.Aspect-oriented programming (AOP) is that the another of Object-Oriented Programming (OOP) supplement provides thinking
Program structure supplement.Modular essential elements are classes in OOP, and are on one side in the unit of AOP module.In face of concern
Point, as transaction management cuts modularization across multiple types and object.Correspondingly, realizing that log management can be with for Spring AOP
There are following methods: (1) realization based on xml configuration;(2) based on the realization of note;(3) reality based on customized note
It is existing.It is understood that for specifically how to realize that log management is not construed as limiting in the embodiment of the present application.
Specifically, can recorde the implementation progress of the object event by log management, when being triggered such as the object event,
It can recorde down the object event by log management and start the starting progress (such as 0%) executed, and start the starting executed
Time;When can also record the operation progress (such as 48%) and operation of the object event in the process of implementation by log management
Between;And when can also record the schedule (such as 100%) of object event execution completion by log management and complete
Between.By inquiring implementation progress in the object event implementation procedure, it is known that whether the object event has executed completion.
It, can be in the case that the implementation progress by inquiring above-mentioned object event determines that the object event has executed completion
It determines that the step of above-mentioned file to be processed for having been converted into object format is carried out task processing is completed, can determine at this time
Obtain above-mentioned file destination.
Implement the embodiment of the present application, obtains file to be processed first, then read the industry in the file to be processed got
It is engaged in label, service node corresponding with the file to be processed can be determined by the service label, and the file to be processed is defeated
Enter into the service node.After the corresponding object event of the service node is triggered, it can be completed by the service node
It is the process of object format by the format conversion of the file to be processed, finally obtains file destination.It can be seen that can pass through by
File to be processed is input in corresponding service node, is completed to convert the format of file to be processed, is improved processing service flow
The working efficiency of journey.
Referring to fig. 2, Fig. 2 is the flow diagram of another data processing method provided by the embodiments of the present application, such as Fig. 2 institute
Show, which includes:
201, file to be processed is obtained, above-mentioned file to be processed carries service label.
In the embodiment of the present application, the specific implementation of above-mentioned steps 201 can refer to shown in step 101 shown in Fig. 1
Implementation, be no longer described in detail one by one here.
202, determining and above-mentioned file to be processed according to the mapping relations between preset service label and type of service
The corresponding type of service of service label;According to the type of service of above-mentioned file to be processed and preset type of service and service
Mapping relations between node, determining service node corresponding with above-mentioned file to be processed.
In the embodiment of the present application, different service labels corresponds to different types of service, and service label and type of service
Between there are mapping relations.Wherein, different service nodes is saved for handling different types of service, i.e. type of service and service
There are mapping relations between point.That is, passing through mapping relations and type of service between service label and type of service
Mapping relations between service node may finally determine service node corresponding with file to be processed.
Specifically, assuming that above-mentioned type of service includes that a, b, c, five types of service of d, e, and each type of service are corresponding only
One service label.The type of service of above-mentioned file to be processed can be determined by the service label of above-mentioned file to be processed.Into
One step, by the mapping relations between type of service and service node, it can determine the corresponding service of above-mentioned file to be processed
Node.
Specifically, above-mentioned service node can be understood as a kind of workflow nodes.The service node is different for docking
Type of service.That is, different service nodes has different service labels.
Implement the embodiment of the present application, the service class of above-mentioned file to be processed can be determined by way of matching service label
Type, and the file to be processed is further input to by corresponding service node according to the type of service, improve business processing mistake
The accuracy of journey.
203, monitor whether flow of task event corresponding to the corresponding object event of above-mentioned service node has been turned on;If prison
Hear that flow of task event corresponding to above-mentioned object event has been turned on, it is determined that above-mentioned object event is triggered, and otherwise determines
Above-mentioned object event is not triggered.
It is specifically the specific implementation side of what and the object event for above-mentioned object event in the embodiment of the present application
Formula can refer to implementation shown in step 103 shown in Fig. 1, no longer be described in detail one by one here.
The process that flow of task event can be understood as in above-mentioned steps 103 corresponding to above-mentioned object event starts thing
Part, i.e., for indicating whether the object event has been started up.Correspondingly, if flow of task corresponding to the object event has occurred
Event then represents above-mentioned service node and has started to execute the process for the file format for converting file to be processed.
Implement the embodiment of the present application, by monitoring flow of task event corresponding to above-mentioned object event whether has occurred,
It can timely understand whether above-mentioned service node has started to execute the process for the file format for converting file to be processed, improve
The validity of business procession.
204, above-mentioned target thing is issued by any one in the method for synchronization, synchronous note mode or asynchronous note mode
Part.
In the embodiment of the present application, the above-mentioned method of synchronization, synchronous note mode or asynchronous note mode are issued by these three
The mode of above-mentioned object event can be understood as published method corresponding to the case mechanism of Spring itself.
In the embodiment of the present application, above-mentioned object event may lead to object event publication failure because of some reasons.
Specifically, the reason can be bad for Network status, and workflow engine system is unstable etc..It is understood that the embodiment of the present application
In for the object event publication failure concrete reason be not construed as limiting.
When above-mentioned object event issues failure, above-mentioned workflow engine can issue again the object event.And the work
The object event can be issued again by way of retrying automatically by making stream engine, until the object event is issued successfully.Greatly
It ensure that the success rate of object event publication.And it does not need manually to participate in.Implement the embodiment of the present application, workflow engine can be certainly
Dynamic redirect procedure node, avoids manually participating in, improve work efficiency.
Alternatively, when the object event issue failure when, can also be retried manually by context, retry manually including
It is retried since turkey (i.e. object event).It is understood that the above process is equally applicable to other events, (such as process terminates thing
Part, link enter preceding event, and link enters rear event etc.), it is no longer described in detail one by one herein.
Implementing the embodiment of the present application can be sent out when above-mentioned object event has occurred by above-mentioned three kinds of different modes
The cloth event, and when the event issues failure, which can timely issue the object event again, can
The process fracture occurred during the business flow processing is solved the problems, such as in time, is improved work efficiency.
If 205, above-mentioned object event is triggered, object format corresponding with above-mentioned service node, and according to above-mentioned target
The corresponding task process flow of event carries out task processing to the above-mentioned file to be processed for having been converted into object format, obtains target
File.
In the embodiment of the present application, if above-mentioned object event is triggered, that is, represent have been started up above-mentioned goal task (i.e. will be to
The file format of processing file is converted to object format, and the file to be processed for having been converted into object format is carried out at task
The treatment process of reason), when the goal task, which executes, to be completed, above-mentioned file destination can be obtained.
In one possible implementation, if above-mentioned object event be triggered after and above-mentioned obtain target
Before file, the above method further include:
Whether the operating status for monitoring above-mentioned object event is to terminate state;
If above-mentioned operating status is to terminate state, it is determined that above-mentioned object event has executed completion, and determines according to above-mentioned
Task process flow corresponding to object event carries out task processing to the above-mentioned file to be processed for having been converted into object format
Operating procedure has executed completion.
In the embodiment of the present application, above-mentioned operating status can be understood as a kind of process status.Process status reflection process is held
The variation of row process.These states are converted with the execution of process and the variation of external condition.Wherein, in five states models,
Process status is divided into five basic status, creates state, terminates state, run mode, ready state blocks state.
Specifically, operation (running) state, fingering journey are occupied processor and are currently running;Ready (ready) state, fingering journey
Has a service condition, waiting system allocation processing device is to run;Wait (wait) state, also known as obstruction (blocked) state or
Sleep (sleep) state, fingering journey do not have service condition, are waiting the completion of some event.It is rigid that newly-built state corresponds to process
The state being just created, creating a process will be by two step, firstly, being for a new necessary management letter of process creation
Breath;Then, the process is allowed to enter ready state.When a process reaches nature end point, or there is the mistake that can not be overcome
Accidentally, it or is terminated by operating system, or there is the process for terminating and weighing to terminate by other, it, which will enter, terminates state.
In the embodiment of the present application, the process status according to above-mentioned object event may determine that whether above-mentioned service node executes
Complete above-mentioned goal task.Therefore, judge whether above-mentioned service node executes in completion the embodiment of the present application also provides a kind of
The method for stating goal task, following above-mentioned:
(1) if the process status of above-mentioned object event is run mode, then it represents that the service node is carrying out the target and appoints
Business has not carried out and completes above-mentioned goal task.
(2) if the process status of above-mentioned second node is ready state, then it represents that the service node, which has been provided with, executes the mesh
The qualification of mark task not yet starts to execute above-mentioned goal task.
(3) if the process status of above-mentioned object event is obstruction state, then it represents that the service node is executing above-mentioned target times
It breaks down when business, that is, has not carried out and complete above-mentioned goal task.
(4) if the process status of above-mentioned object event is newly-built state, then it represents that the service node is prepared for executing above-mentioned
Goal task not yet starts to execute and completes above-mentioned goal task.
(5) if the process status of above-mentioned object event is to terminate state to indicate the service node in a kind of possible situation
It has executed and has completed above-mentioned goal task.
It is understood that above-described embodiment is only a kind of example of the embodiment of the present application, should not be construed as to the embodiment of the present application
Restriction.
When above-mentioned workflow engine determines that service node has executed above-mentioned goal task, above-mentioned target text can be obtained
Part.
The mesh can be understood by way of the operating status for monitoring the object event at any time by implementing the embodiment of the present application
Whether mark task has executed completion, improves the accuracy of business flow processing.
In one possible implementation, above by the service node by the file format of above-mentioned file to be processed
The corresponding object format of above-mentioned service node is converted to, file destination is obtained, comprising:
Html template corresponding with the service label of above-mentioned file to be processed is generated according to template engine;
The file content for reading above-mentioned file to be processed inserts above-mentioned file content in above-mentioned html template;
The file format of above-mentioned html template is converted into object format by file format converter tools, obtains above-mentioned mesh
Mark file.
In the embodiment of the present application, above-mentioned html template is a kind of web page template.Above-mentioned template engine can be used
Thymeleaf is as template engine.Above-mentioned file format converter tools can be iText, and iText is famous open source code
Mono- project of website sourceforge is for generating PDF document java class libraries.It not only can be generated by iText
The document of PDF or rtf, and pdf document can be converted by XML, html file.
Specifically, can determine HTML mould corresponding with the file to be processed by the service label of file to be processed
Plate can be generated the html template by template engine, and the specific file content in the file to be processed be filled up to
In the html template.It then can be by file format (such as HTML of the file to be processed by file format converter tools iText
File format) be converted to object format (such as PDF format).
Implement the embodiment of the present application, generates the corresponding html template of file to be processed, letter using Thymeleaf template engine
Folk prescription just, is got started lower.And it can be by the file format of file to be processed by HTML by file format converter tools iText
PDF format is converted to, since PDF is that HTML is converted, it is ensured that the visualized operation of PDF content compiling procedure.
In one possible implementation, it is above-mentioned obtain above-mentioned file destination after, the above method further include:
If receiving signature electronics Zhang Zhiling, it is fixed with the unified resource of above-mentioned signature electronics Zhang Zhiling respective file to obtain
Position symbol, matches file corresponding with above-mentioned Resource Locator;
In the case where file corresponding with above-mentioned Resource Locator is above-mentioned file destination, signed for above-mentioned file destination
Electronics chapter.
In the embodiment of the present application, after obtaining above-mentioned file destination, if the file destination is a contract, can be
The contract signs corresponding electronics chapter.Wherein, above-mentioned signature electronics Zhang Zhiling can automatically generate for above-mentioned data processing equipment
Instruction, or after user confirms the file destination (such as contract), click display equipment instruction generated.It can manage
It solves, the specific generating mode of signature electronics Zhang Zhiling is not construed as limiting in the embodiment of the present application.
Specifically, by searching for the Resource Locator (Uniform with the signature electronics Zhang Zhiling respective file
Resource Locator, URL), and file corresponding with the URL is matched by the URL, if this document is above-mentioned target text
Part then can sign corresponding electronics chapter for the file destination.
Implement the embodiment of the present application, signs electronics chapter through the above way for above-mentioned file destination, it is ensured that the target
The legitimacy of file makes the file destination have legal effect, and by way of Electronic Signature, convenience and high-efficiency is improved
Working efficiency.
206, storage model is converted from data model by the data in above-mentioned file destination;Translate into storage model it
The data in above-mentioned file destination afterwards are saved to database.
In the embodiment of the present application, storage model, Ke Yili are converted from data model by the data in above-mentioned file destination
Solution is a kind of data persistence process.It is storage model that data persistence, which is exactly by the data model translation in memory, and will
Storage model is converted to the general designation of the data model in memory.Data model can be any data structure or object model, deposit
Storage model can be relational model, extensible markup language (extensible markup language, XML), binary stream
Deng.
Wherein, above-mentioned database is a kind of database for stored target file.For example, which can be
Redis database.Specifically, redis be being write using ANSI C language an of open source, support network, it is memory-based also
Can persistence log type, Key-Value database, and provide the API of multilingual.The redis database is a support
The memory database of persistence, that is to say, that the data in memory are often synchronized to disk to guarantee persistence by redis needs.
Redis supports four kinds of persistence modes, first is that Snapshotting (snapshot) is also default behavior;Second is that Append-only
The mode of file (abbreviation aof);Third is that virtual memory mode;Fourth is that diskstore mode.
Implementing the embodiment of the present application can by the corresponding type of service of service label after getting file to be processed
The file to be processed to be input in corresponding service node.When listen to object event has occurred after, issue the target
Event.At this point, corresponding object event is triggered, mesh can be accurately learnt by monitoring the corresponding operating status of the object event
Whether mark task (file format of file to be processed is converted to by service node the process of object format) has executed
At above-mentioned file destination can be obtained if executing completion.Finally, the file destination is saved by way of data persistence
To database.By the above-mentioned means, can be completed by the way that file to be processed to be input in corresponding service node to be processed
The format of file is converted, and the working efficiency of processing business process is improved.
It is understood that Fig. 1 and embodiment of the method shown in Fig. 2 emphasize particularly on different fields, not detailed description in one embodiment
Implementation reference may also be made to other embodiments.
It is above-mentioned to illustrate the method for the embodiment of the present application, the device of the embodiment of the present application is provided below.
It is a kind of structural schematic diagram of data processing equipment provided by the embodiments of the present application referring to Fig. 3, Fig. 3, such as Fig. 3 institute
Show, which includes:
Acquiring unit 301, for obtaining file to be processed, above-mentioned file to be processed carries service label;
First processing units 302, for above-mentioned file to be processed to be sent to the service label with above-mentioned file to be processed
Corresponding service node;
First monitoring unit 303, for monitoring whether the corresponding object event of above-mentioned service node is triggered, above-mentioned target
Event is used to indicate above-mentioned service node processing and task process flow corresponding to above-mentioned object event;
The second processing unit 304 will be above-mentioned to be processed by above-mentioned service node if being triggered for above-mentioned object event
The file format of file is converted to the corresponding object format of above-mentioned service node, and the task according to corresponding to above-mentioned object event
Process flow carries out task processing to the above-mentioned file to be processed for having been converted into object format, obtains file destination.
Optionally, Fig. 4 is a kind of structural schematic diagram of first processing units provided by the embodiments of the present application, as shown in figure 4,
Above-mentioned first processing units 302 include:
First determines subelement 3021, for closing according to the mapping between preset above-mentioned service label and type of service
System determines type of service corresponding with the service label of above-mentioned file to be processed;
Second determines subelement 3022, for the type of service and preset service class according to above-mentioned file to be processed
Mapping relations between type and service node, determining service node corresponding with above-mentioned file to be processed.
Optionally, Fig. 5 is a kind of structural schematic diagram of first monitoring unit provided by the embodiments of the present application, as shown in figure 5,
Above-mentioned first monitoring unit 303 includes:
Subelement 3031 is monitored, for monitoring whether flow of task event corresponding to above-mentioned object event has been turned on;
Third determines subelement 3032, if having opened for listening to flow of task event corresponding to above-mentioned object event
It is dynamic, it is determined that above-mentioned object event is triggered, and otherwise determines that above-mentioned object event is not triggered.
Optionally, Fig. 6 is the structural schematic diagram of another data processing equipment provided by the embodiments of the present application, such as Fig. 6 institute
Show, above-mentioned apparatus further include:
Third processing unit 305, for by any one in the method for synchronization, synchronous note mode or asynchronous note mode
Kind issues above-mentioned object event;
Above-mentioned third processing unit 305 is specifically used in the case where above-mentioned object event issues successful situation, starts in execution
It states and the file format of above-mentioned file to be processed is converted to by the corresponding object format of above-mentioned service node by above-mentioned service node
Operating procedure.
Optionally, as shown in fig. 6, above-mentioned apparatus further include:
Reading unit 306, for reading journal file corresponding with above-mentioned object event;
Judging unit 307, for whether judging above-mentioned object event according to the log information in above-mentioned journal file
Completion is executed;
Determination unit 308, if having executed completion specifically for above-mentioned object event, it is determined that above-mentioned according to above-mentioned target thing
The operation that task process flow corresponding to part carries out task processing to the above-mentioned file to be processed for having been converted into object format walks
Suddenly completion has been executed.
Optionally, as shown in fig. 6, above-mentioned apparatus further include:
Second monitoring unit 309, whether the operating status for monitoring above-mentioned object event is to terminate state;
Above-mentioned determination unit 308, if being specifically used for above-mentioned operating status is to terminate state, it is determined that above-mentioned object event has been held
Row complete, and determine the task process flow according to corresponding to above-mentioned object event to have been converted into object format it is above-mentioned to
The operating procedure that processing file carries out task processing has executed completion.
Optionally, Fig. 7 is a kind of structural schematic diagram of the second processing unit provided by the embodiments of the present application, as shown in figure 8,
Above-mentioned the second processing unit 304 includes:
Subelement 3041 is generated, it is corresponding with the service label of above-mentioned file to be processed for being generated according to template engine
Html template;
Subelement 3042 is handled, it, will be in above-mentioned file content filling for reading the file content of above-mentioned file to be processed
It states in html template;
Conversion subunit 3043, for being converted to the file format of above-mentioned html template by file format converter tools
Object format obtains above-mentioned file destination.
Optionally, as shown in fig. 6, above-mentioned apparatus further include:
Matching unit 310, if being obtained corresponding with above-mentioned signature electronics Zhang Zhiling for receiving signature electronics Zhang Zhiling
The uniform resource locator of file matches file corresponding with above-mentioned uniform resource locator;
Unit 311 is signed, for the case where file corresponding with above-mentioned uniform resource locator is above-mentioned file destination
Under, electronics chapter is signed for above-mentioned file destination.
Optionally, as shown in fig. 6, above-mentioned apparatus further include:
Conversion unit 312, for converting storage model from data model for the data in above-mentioned file destination;The number
It is data structure or object model according to model, the storage model is relational model, extensible markup language and/or binary system
Stream;
Storage unit 313, the data for translating into the above-mentioned file destination after storage model are saved to data
Library.
It is a kind of structural schematic diagram of data processing provided by the embodiments of the present application, the data processing packet referring to Fig. 8, Fig. 8
Include processor 801, memory 802 and input/output interface 803, above-mentioned processor 801, memory 802 and input/output interface
803 are connected with each other by bus.
Memory 802 include but is not limited to be random access memory (random access memory, RAM), it is read-only
Memory (read-only memory, ROM), Erasable Programmable Read Only Memory EPROM (erasable programmable
Read only memory, EPROM) or portable read-only memory (compact disc read-only memory, CD-
ROM), which is used for dependent instruction and data.
Input/output interface 803, such as can be communicated etc. by the input/output interface with other devices.
Processor 801 can be one or more central processing units (central processing unit, CPU), locate
In the case that reason device 801 is a CPU, which can be monokaryon CPU, be also possible to multi-core CPU.
Specifically, the realization of each operation can also correspond to referring to Figures 1 and 2 shown in embodiment of the method accordingly retouch
It states.And the realization of each operation can also be to should refer to accordingly retouching for Fig. 3, Fig. 4, Fig. 5, Fig. 6 and Installation practice shown in Fig. 7
It states.
As in one embodiment, processor 801 can be used for executing step 101, step 102, step 103 and step
Method shown in 104, for another example the processor 801 can also be used to execute acquiring unit 301, the monitoring of first processing units 302, first
The performed method such as unit 303 and the second processing unit 304.
For another example in one embodiment, input/output interface 803, it may also be used for execute side performed by acquiring unit 301
Method.
For another example in one embodiment, processor 801 can be used for executing step 201, step 202, step 203 step 204,
Method shown in step 205 and step 206, for another example the processor 801 can also be used to execute processing unit 305 of winning the third place, read
It takes unit 306, judging unit 307, determination unit 308, the second monitoring unit 309, matching unit 310, signature unit 311, turn
Change the performed method such as unit 312 and storage unit 313.
It is designed it is understood that Fig. 8 illustrate only simplifying for data processing.In practical applications, data processing fills
Necessary other elements can also be separately included by setting, including but not limited to any number of input/output interface, processor, storage
Device etc., and all data processings that the embodiment of the present application may be implemented are all within the scope of protection of this application.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
It with the specific work process of unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, the process
Relevant hardware can be instructed to complete by computer program, which can be stored in computer-readable storage medium, should
Program is when being executed, it may include such as the process of above-mentioned each method embodiment.And storage medium above-mentioned includes: ROM or deposits at random
Store up the medium of the various program storage codes such as memory body RAM, magnetic or disk.
Claims (10)
1. a kind of data processing method, which is characterized in that be applied to workflow engine, which comprises
File to be processed is obtained, the file to be processed carries service label;
The file to be processed is sent to service node corresponding with the service label of the file to be processed;
Monitor whether the corresponding object event of the service node is triggered, the object event is used to indicate the service node
Processing and task process flow corresponding to the object event;
If the object event is triggered, the file format of the file to be processed is converted to by the service node described
The corresponding object format of service node, and the task process flow according to corresponding to the object event is to having been converted into target lattice
The file to be processed of formula carries out task processing, obtains file destination.
2. the method according to claim 1, wherein described be sent to the file to be processed with described wait locate
Manage the corresponding service node of service label of file, comprising:
According to the mapping relations between preset service label and type of service, the determining service label with the file to be processed
Corresponding type of service;
According to the mapping relations between the type of service and preset type of service and service node of the file to be processed,
Determining service node corresponding with the file to be processed.
3. according to the method described in claim 2, it is characterized in that, the corresponding object event of the service node of monitoring is
No be triggered include:
Monitor whether flow of task event corresponding to the object event has been turned on;
If listening to flow of task event corresponding to the object event to have been turned on, it is determined that the object event is triggered,
Otherwise determine that the object event is not triggered.
4. according to the method described in claim 3, it is characterized in that, it is described obtain file destination before, the method is also wrapped
It includes:
Read journal file corresponding with the object event;
Judge whether the object event has executed completion according to the log information in the journal file;
If the object event has executed completion, it is determined that the task process flow pair according to corresponding to the object event
The operating procedure that the file to be processed for having been converted into object format carries out task processing has executed completion.
5. according to the method described in claim 3, it is characterized in that, it is described obtain file destination before, the method is also wrapped
It includes:
Whether the operating status for monitoring the object event is to terminate state;
If the operating status is to terminate state, it is determined that the object event has executed completion, and determines according to the target
Task process flow corresponding to event carries out the operation of task processing to the file to be processed for having been converted into object format
Step has executed completion.
6. according to the method described in claim 5, it is characterized in that, it is described by the service node by the file to be processed
File format be converted to the corresponding object format of the service node, comprising:
Html template corresponding with the service label of the file to be processed is generated according to template engine;
The file content for reading the file to be processed inserts the file content in the html template;
The file format of the html template is converted into object format by file format converter tools.
7. method according to claim 1-6, which is characterized in that it is described obtain file destination after, the side
Method further include:
Storage model is converted from data model by the data in the file destination;The data model is data structure or right
As model, the storage model is relational model, extensible markup language and/or binary stream;
The data translated into the file destination after storage model are saved to database.
8. a kind of data processing equipment, which is characterized in that the data processing equipment includes:
Acquiring unit, for obtaining file to be processed, the file to be processed carries service label;
First processing units, for the file to be processed to be sent to clothes corresponding with the service label of the file to be processed
Business node;
First monitoring unit, for monitoring whether the corresponding object event of the service node is triggered, the object event is used
In the instruction service node processing and task process flow corresponding to the object event;
The second processing unit, if being triggered for the object event, by the service node by the file to be processed
File format is converted to the corresponding object format of the service node, and the task processing stream according to corresponding to the object event
Journey carries out task processing to the file to be processed for having been converted into object format, obtains file destination.
9. a kind of data processing equipment, which is characterized in that including processor, memory and input/output interface, the processor
It is interconnected with the memory, the input/output interface by route;Wherein, the memory is used to store computer program,
The computer program includes program instruction, and the processor is configured for calling described program instruction, is executed as right is wanted
Seek the corresponding function of the described in any item methods of 1-7.
10. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with computer program, described
Computer program includes program instruction, and described program instruction makes the processor execute such as claim when being executed by a processor
The described in any item methods of 1-7.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910428679.7A CN110245110A (en) | 2019-05-20 | 2019-05-20 | Data processing method, device and storage medium |
PCT/CN2019/120153 WO2020233037A1 (en) | 2019-05-20 | 2019-11-22 | Data processing method and apparatus, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910428679.7A CN110245110A (en) | 2019-05-20 | 2019-05-20 | Data processing method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110245110A true CN110245110A (en) | 2019-09-17 |
Family
ID=67884710
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910428679.7A Pending CN110245110A (en) | 2019-05-20 | 2019-05-20 | Data processing method, device and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110245110A (en) |
WO (1) | WO2020233037A1 (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110673855A (en) * | 2019-09-29 | 2020-01-10 | 深圳无域科技技术有限公司 | Method and device for initiating credit worthiness request |
CN110851130A (en) * | 2019-11-14 | 2020-02-28 | 成都西山居世游科技有限公司 | Data processing method and device |
CN111526184A (en) * | 2020-04-07 | 2020-08-11 | 中国建设银行股份有限公司 | Business auditing method and device |
CN111782610A (en) * | 2020-06-03 | 2020-10-16 | 中移(杭州)信息技术有限公司 | Log processing method, device, server, system network and storage medium |
CN111949326A (en) * | 2020-08-03 | 2020-11-17 | 杭州当虹科技股份有限公司 | Micro-service workflow method based on Activiti |
WO2020233037A1 (en) * | 2019-05-20 | 2020-11-26 | 深圳壹账通智能科技有限公司 | Data processing method and apparatus, and storage medium |
CN112632941A (en) * | 2019-09-23 | 2021-04-09 | 北京国双科技有限公司 | Method, device, equipment and storage medium for generating PDF format public security document |
CN112882803A (en) * | 2021-03-08 | 2021-06-01 | 万维云网(北京)数据科技有限公司 | Data processing method and system |
CN113419790A (en) * | 2021-06-22 | 2021-09-21 | 杭州安恒信息技术股份有限公司 | Service data processing method, device, equipment and computer readable storage medium |
CN113672205A (en) * | 2021-08-25 | 2021-11-19 | 广州方舟信息科技有限公司 | Workflow framework based on business event driving |
CN113779131A (en) * | 2021-09-14 | 2021-12-10 | 树根互联股份有限公司 | Data stream linkage method, device, terminal and storage medium |
CN114240328A (en) * | 2021-11-26 | 2022-03-25 | 珠海大横琴科技发展有限公司 | Data processing method and device |
CN114416601A (en) * | 2022-03-30 | 2022-04-29 | 南京赛宁信息技术有限公司 | Network security information acquisition engine and task management system and method |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112540958B (en) * | 2020-12-08 | 2023-08-29 | 北京百度网讯科技有限公司 | File processing method, device, equipment and computer storage medium |
CN112506485B (en) * | 2020-12-14 | 2024-07-02 | 苏州华兴源创科技股份有限公司 | Service processing system |
CN112632154B (en) * | 2020-12-30 | 2024-03-12 | 城云科技(中国)有限公司 | Method and device for determining parallel service quantity and time interval based on time data |
CN113760641A (en) * | 2021-01-08 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Service monitoring method, device, computer system and computer readable storage medium |
CN112784199A (en) * | 2021-01-28 | 2021-05-11 | 北京有竹居网络技术有限公司 | Event flow processing method, device, storage medium and program product |
CN112925663B (en) * | 2021-03-25 | 2024-06-14 | 支付宝(杭州)信息技术有限公司 | Service data calculation method and device |
CN112947939B (en) * | 2021-03-26 | 2024-02-23 | 浪潮通用软件有限公司 | Data reporting method, device, equipment and storage medium |
CN114418438A (en) * | 2022-01-27 | 2022-04-29 | 北京声智科技有限公司 | Event processing method and device, electronic equipment and readable storage medium |
CN114970474A (en) * | 2022-05-12 | 2022-08-30 | 中国人民解放军陆军装甲兵学院 | Excel import and export method and system based on data monitoring |
CN114924877B (en) * | 2022-05-17 | 2023-10-17 | 江苏泰坦智慧科技有限公司 | Dynamic allocation calculation method, device and equipment based on data stream |
CN115168354B (en) * | 2022-07-11 | 2023-06-30 | 广州市玄武无线科技股份有限公司 | Integrated processing method and device for event stream of mobile terminal |
CN116304266B (en) * | 2023-03-03 | 2024-02-27 | 苏州工业园区航星信息技术服务有限公司 | File management system |
CN116628274B (en) * | 2023-07-25 | 2023-09-22 | 浙江锦智人工智能科技有限公司 | Data writing method, device and medium for graph database |
CN116643733B (en) * | 2023-07-26 | 2023-10-13 | 北京仁科互动网络技术有限公司 | Service processing system and method |
CN117519911B (en) * | 2024-01-04 | 2024-04-19 | 珠海星云智联科技有限公司 | Automatic injection system, method, device, cluster and medium |
CN118227424B (en) * | 2024-05-24 | 2024-07-26 | 山东浪潮数字商业科技有限公司 | Log record template access method and system applied to distributed component |
Citations (5)
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 (en) * | 2005-01-28 | 2007-03-07 | 三菱电机株式会社 | Workflow management device, workflow management system and generating method of test project |
CN101101592A (en) * | 2006-07-04 | 2008-01-09 | 联想(北京)有限公司 | File format automatic conversion method and device |
CN102236672A (en) * | 2010-05-06 | 2011-11-09 | 深圳市腾讯计算机系统有限公司 | Method and device for importing data |
CN105809299A (en) * | 2014-12-27 | 2016-07-27 | 华为技术有限公司 | Processing method of notification service of service flow management and service flow management engine |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101610265B (en) * | 2009-07-24 | 2012-05-09 | 深圳市永达电子股份有限公司 | Service workflow process recognition method |
CN110245110A (en) * | 2019-05-20 | 2019-09-17 | 深圳壹账通智能科技有限公司 | Data processing method, device and storage medium |
-
2019
- 2019-05-20 CN CN201910428679.7A patent/CN110245110A/en active Pending
- 2019-11-22 WO PCT/CN2019/120153 patent/WO2020233037A1/en active Application Filing
Patent Citations (5)
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 (en) * | 2005-01-28 | 2007-03-07 | 三菱电机株式会社 | Workflow management device, workflow management system and generating method of test project |
CN101101592A (en) * | 2006-07-04 | 2008-01-09 | 联想(北京)有限公司 | File format automatic conversion method and device |
CN102236672A (en) * | 2010-05-06 | 2011-11-09 | 深圳市腾讯计算机系统有限公司 | Method and device for importing data |
CN105809299A (en) * | 2014-12-27 | 2016-07-27 | 华为技术有限公司 | Processing method of notification service of service flow management and service flow management engine |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020233037A1 (en) * | 2019-05-20 | 2020-11-26 | 深圳壹账通智能科技有限公司 | Data processing method and apparatus, and storage medium |
CN112632941A (en) * | 2019-09-23 | 2021-04-09 | 北京国双科技有限公司 | Method, device, equipment and storage medium for generating PDF format public security document |
CN110673855A (en) * | 2019-09-29 | 2020-01-10 | 深圳无域科技技术有限公司 | Method and device for initiating credit worthiness request |
CN110673855B (en) * | 2019-09-29 | 2023-05-12 | 深圳无域科技技术有限公司 | Method and device for initiating credit worthiness request |
CN110851130A (en) * | 2019-11-14 | 2020-02-28 | 成都西山居世游科技有限公司 | Data processing method and device |
CN110851130B (en) * | 2019-11-14 | 2023-09-01 | 珠海金山数字网络科技有限公司 | Data processing method and device |
CN111526184A (en) * | 2020-04-07 | 2020-08-11 | 中国建设银行股份有限公司 | Business auditing method and device |
CN111526184B (en) * | 2020-04-07 | 2022-07-29 | 中国建设银行股份有限公司 | Business auditing method and device |
CN111782610A (en) * | 2020-06-03 | 2020-10-16 | 中移(杭州)信息技术有限公司 | Log processing method, device, server, system network and storage medium |
CN111782610B (en) * | 2020-06-03 | 2024-03-22 | 中移(杭州)信息技术有限公司 | Log processing method, device, server, system network and storage medium |
CN111949326A (en) * | 2020-08-03 | 2020-11-17 | 杭州当虹科技股份有限公司 | Micro-service workflow method based on Activiti |
CN112882803B (en) * | 2021-03-08 | 2024-05-14 | 万维云网(北京)数据科技有限公司 | Data processing method and system |
CN112882803A (en) * | 2021-03-08 | 2021-06-01 | 万维云网(北京)数据科技有限公司 | Data processing method and system |
CN113419790A (en) * | 2021-06-22 | 2021-09-21 | 杭州安恒信息技术股份有限公司 | Service data processing method, device, equipment and computer readable storage medium |
CN113672205A (en) * | 2021-08-25 | 2021-11-19 | 广州方舟信息科技有限公司 | Workflow framework based on business event driving |
CN113779131A (en) * | 2021-09-14 | 2021-12-10 | 树根互联股份有限公司 | Data stream linkage method, device, terminal and storage medium |
CN114240328A (en) * | 2021-11-26 | 2022-03-25 | 珠海大横琴科技发展有限公司 | Data processing method and device |
CN114416601B (en) * | 2022-03-30 | 2022-07-19 | 南京赛宁信息技术有限公司 | Network security information acquisition engine and task management system and method |
CN114416601A (en) * | 2022-03-30 | 2022-04-29 | 南京赛宁信息技术有限公司 | Network security information acquisition engine and task management system and method |
Also Published As
Publication number | Publication date |
---|---|
WO2020233037A1 (en) | 2020-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110245110A (en) | Data processing method, device and storage medium | |
US7784025B2 (en) | Mechanism for using processlets to model service processes | |
Bhatia et al. | Ontologies for software engineering: Past, present and future | |
US7877732B2 (en) | Efficient stress testing of a service oriented architecture based application | |
US8478616B2 (en) | Business application development and execution environment | |
US6845507B2 (en) | Method and system for straight through processing | |
US8458729B2 (en) | Managing and optimizing workflows among computer applications | |
Zhu et al. | A framework-based approach to utility big data analytics | |
JP5209062B2 (en) | Method, data processing system, and computer program for verifying service-oriented architecture (SOA) compliant applications | |
US20060224702A1 (en) | Local workflows in a business process management system | |
US20080255997A1 (en) | Enterprise integrated business process schema | |
CN108845940A (en) | A kind of enterprise information system automated function test method and system | |
Ferreira | Enterprise systems integration | |
CN101819551B (en) | Method and system for recording service interaction data of enterprise message system | |
CN110134596A (en) | The generation method and terminal device of test document | |
CN111626602A (en) | Service processing method, service processing device, storage medium and electronic equipment | |
JP5090193B2 (en) | System, method, and program for synchronizing multi-source spread data | |
US8904364B2 (en) | Execution in workflow BPM engine | |
Singh et al. | Analysis of software development life cycle models | |
CN110399187A (en) | A kind for the treatment of method and apparatus of language resource | |
CN109101267B (en) | Application release management method and device, electronic equipment and storage medium | |
Güldali et al. | TORC: test plan optimization by requirements clustering | |
US20120323922A1 (en) | Data element categorization in a service-oriented architecture | |
CN1932760B (en) | System and method for execution of application program | |
Habibi et al. | Generating test as a web service (TaaWS) through a method-based attribute grammar |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190917 |