CN102932416B - A kind of intermediate data storage method of information flow task, processing method and device - Google Patents

A kind of intermediate data storage method of information flow task, processing method and device Download PDF

Info

Publication number
CN102932416B
CN102932416B CN201210366822.2A CN201210366822A CN102932416B CN 102932416 B CN102932416 B CN 102932416B CN 201210366822 A CN201210366822 A CN 201210366822A CN 102932416 B CN102932416 B CN 102932416B
Authority
CN
China
Prior art keywords
information flow
information
task
incidence relation
node instance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210366822.2A
Other languages
Chinese (zh)
Other versions
CN102932416A (en
Inventor
于超
刘作坤
张霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Neusoft Corp
Original Assignee
Neusoft Corp
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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201210366822.2A priority Critical patent/CN102932416B/en
Publication of CN102932416A publication Critical patent/CN102932416A/en
Application granted granted Critical
Publication of CN102932416B publication Critical patent/CN102932416B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the present application discloses a kind of intermediate data storage method of information flow task.The method comprises: after information flow example foundation step completes, store the incidence relation between the information flow example flow of information template object corresponding with this information flow example; The incidence relation between the information flow node instance information flow example corresponding with this information flow node instance, information flow node template object is stored after information flow node instance foundation step completes; Incidence relation between the information flow node instance that store tasks object is corresponding with this task object after task Object Creation step completes.The embodiment of the present application additionally provides a kind of intermediate data storage of information flow task, and information flow task processing method and device thereof.The embodiment of the present application has taken into account the demand of memory space and information flow task treatment effeciency two aspect.

Description

A kind of intermediate data storage method of information flow task, processing method and device
Technical field
The application relates to technical field of information processing, particularly relates to a kind of date storage method and device of information flow task, and the processing method of information flow task and device.
Background technology
Along with the development of information technology, information flow product is used widely.Information flow product carries out stepwise enforcement to information flow task, is realized the process of whole information flow task by the process of each information flow node.In information flow task processing procedure, need the basic data obtaining information flow task from data source, then necessary according to these basic data information generated stream tasks intermediate data.See Fig. 1, the figure shows scope and the classification of the intermediate data of information flow task, comprising: flow of information template data, information flow node template data, information flow instance data, information flow node instance data and task object data.The storage mode of information flow task intermediate data and the treatment effeciency of information flow task closely related, rational intermediate data storage mode is conducive to improving the treatment effeciency of information flow task.
Prior art mainly comprises two kinds to the storage mode of information flow task intermediate data: one only stores flow of information template data, and other intermediate data generate according to flow of information template object and obtain; One stores whole intermediate data.Although the memory space that the former intermediate data takies is less, because other intermediate data all need to generate according to this flow of information template object data, directly cannot reads, reduce the treatment effeciency of information flow task generally; Although the latter can directly read whole intermediate data, thus improve the treatment effeciency of information flow task, but in information flow task processing procedure, intermediate data (such as flow of information template data) is quite huge, especially the intermediate data of information flow task under " cloud " environment, greatly consumes memory space.As can be seen here, prior art can not take into account storage size and the information flow task treatment effeciency height two aspect problems of information flow task intermediate data preferably.
Summary of the invention
For solving the problems of the technologies described above, the embodiment of the present application provides a kind of intermediate data storage method of information flow task, processing method and device thereof, the needs of information flow task treatment effeciency are met with rational memory space consumption, thus the problem of the storage size of balancing information task intermediate data and information flow task treatment effeciency height two aspects preferably.
The intermediate data storage method of the information flow task that the embodiment of the present application provides comprises:
The incidence relation between the information flow example flow of information template object corresponding with this information flow example is stored after information flow example foundation step completes;
The incidence relation between the information flow node instance information flow example corresponding with this information flow node instance, information flow node template object is stored after information flow node instance foundation step completes;
Incidence relation between the information flow node instance that store tasks object is corresponding with this task object after task Object Creation step completes.
Preferably, the corresponding relation between the flow of information template object identity of the incidence relation between information flow example and flow of information template object belonging to information flow instance identification and this information flow example;
Incidence relation between information flow node instance and information flow example, information flow node template object for information flow node instance identify and the mark of information flow example belonging to this node instance, information flow node template object belonging to this node instance mark between corresponding relation;
Incidence relation between task object and information flow node instance for task object identify and information flow node instance belonging to this task object identify between corresponding relation.
Preferably, described method also comprises: when storing the incidence relation between information flow node instance and information flow example, information flow node template object, also stores the creation-time data of information flow node instance and/or the end time data of information flow node instance;
During incidence relation between store tasks object and information flow node instance, the also time started data of store tasks object and/or the deadline data of task object.
Preferably, described method also comprises: after information flow example foundation step completes, utilize the initial data of information flow task to be configured operation to information flow example, after configuration operation completes, the attribute data being used for configuring is shifted out the memory device storing described incidence relation data.
The embodiment of the present application additionally provides a kind of processing method of information flow task.The method comprises:
The pending task object of obtaining information stream task;
Identify according to the information flow node instance that the incidence relation between task object with information flow node instance obtains this task object corresponding; Information flow instance identification corresponding to this information flow node instance and information flow node template object is obtained with the incidence relation between information flow example, information flow node template object according to information flow node instance; Flow of information template object corresponding to information flow example is obtained according to the incidence relation between information flow example with flow of information template object; The data that object of finishing the work needs are obtained according to the information flow node template object obtained, flow of information template object;
These data are utilized to finish the work the process of object.
Preferably, described method also comprises: the task object that delete processing completes and information flow node instance corresponding to this task object.
The embodiment of the present application additionally provides a kind of intermediate data storage of information flow task.This device comprises: the first memory cell, the second memory cell and the 3rd memory cell, wherein:
Described first memory cell, for storing the incidence relation between the information flow example flow of information template object corresponding with this information flow example after information flow example foundation step completes;
Described second memory cell, for storing the incidence relation between the information flow node instance information flow example corresponding with this information flow node instance, information flow node template object after information flow node instance foundation step completes;
Described 3rd memory cell, for the incidence relation between the information flow node instance that store tasks object after task Object Creation step completes is corresponding with this task object.
Preferably, described first memory cell, the data of the corresponding relation between identifying specifically for storage information flow instance identification and flow of information template;
Described second memory cell, specifically for store the information flow node template belonging to the mark of the flow of information template belonging to information flow node instance mark and this node instance, this node instance mark between the data of corresponding relation;
Described 3rd memory cell, the corresponding relation between identifying specifically for the information flow node instance belonging to store tasks object identity and this task object.
Preferably, described second memory cell, when storing the incidence relation between information flow node instance and information flow example, information flow node template object, also for the end time data of the creation-time data and/or information flow node instance that store information flow node instance;
Described 3rd memory cell, during incidence relation between store tasks object and information flow node instance, also for the time started data of store tasks object and/or the deadline data of task object.
Preferably, described device also comprises dispensing unit and shifts out unit, wherein:
Described dispensing unit, for after information flow example foundation step completes, utilizes the attribute data of flow of information template object to be configured operation to information flow example;
Describedly shift out unit, for the attribute data being used for configuring being shifted out the memory device storing described incidence relation data after configuration operation completes.
The embodiment of the present application additionally provides a kind of processing unit of information flow task.This device comprises: the first acquiring unit, second acquisition unit and processing unit, wherein:
Described first acquiring unit, for the pending task object of obtaining information stream task;
Described second acquisition unit, identifies for the information flow node instance obtaining this task object corresponding according to the incidence relation between task object with information flow node instance; Information flow instance identification corresponding to this information flow node instance and information flow node template object is obtained with the incidence relation between information flow example, information flow node template object according to information flow node instance; Flow of information template object corresponding to information flow example is obtained according to information flow example and the incidence relation between flow of information template; The data that object of finishing the work needs are obtained according to the information flow node template object obtained, flow of information template object;
Described processing unit, to finish the work the process of object for utilizing these data.
The embodiment of the present application is in each step creating information flow task, intermediate data for information flow task only stores between information flow example and flow of information template, between information flow node instance and information flow example, information flow node template, the incidence relation data between task object and information flow node instance.Compared with prior art, because the embodiment of the present application had not both only stored the template data of information flow, also whole intermediate data is not stored, but on storage flow of information template data basis, store a series of associated data, therefore, relative to the storage mode only storing flow of information template, although memory space increases to some extent, the incidence relation stored can reduce the time obtaining processing information flow task total data, thus improves the treatment effeciency of information flow task; Relative to the storage mode of whole intermediate data of storage information flow task, although need the total data according to incidence relation generating process information flow task in processing information flow task process, but its memory space will greatly reduce, as can be seen here, the embodiment of the present application has taken into account the relation between memory space and information flow task treatment effeciency preferably, meets the demand of storage size and information flow task treatment effeciency two aspect.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, the accompanying drawing that the following describes is only some embodiments recorded in the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is classification and the relation schematic diagram thereof of the intermediate data of information flow task;
Fig. 2 is the flow chart of the intermediate data storage embodiment of the method for the information flow task of the application;
Fig. 3 is the embodiment flow chart of the information flow task processing method of the application;
The relation schematic diagram that Fig. 4 is the intermediate data of embodiment described in Fig. 3;
The structured flowchart of the intermediate data storage of the information flow task that Fig. 5 (a) is the application;
The structured flowchart of the information flow task processing unit that Fig. 5 (b) is the application.
Embodiment
Technical scheme in the application is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present application, technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all should belong to the scope of the application's protection.
See Fig. 2, the figure shows the embodiment flow process of the storage means of a kind of information flow task intermediate data of the application.This embodiment comprises:
Step S201: store the incidence relation between the information flow example flow of information template object corresponding with this information flow example after information flow example foundation step completes;
As previously mentioned, the process of information flow task usually relies on each information flow node and realizes the process of task object on this node.Each information flow node, when Processing tasks object, needs to obtain deal with data corresponding to this task object, i.e. the intermediate data of information flow task.Therefore, for completing the process of information flow task smoothly, before it starts, need to exist or these intermediate data can be obtained by certain mode.The generative process of whole intermediate data of information flow task comprises: according to flow of information template Object Creation information flow instance objects, create information flow node instance object, according to information flow node instance Object Creation task object according to information flow node template and information flow instance objects.
" flow of information template object " in information flow task intermediate data generative process and " information flow node template object " is respectively by the flow of information template information read from database, information flow node template information architecture, flow of information template information here, information flow node template information is called as " initial data " of information flow task, wherein: the flow of information template information as initial data comprises flow of information template mark, flow of information template title, flow of information template version number, flow of information template describes, class indication belonging to flow of information template, flow of information template founder identifies, the process limited of the information flow task that flow of information template is corresponding, the information such as timeout action, the information flow nodal information as initial data comprises information flow node template mark, affiliated flow of information template mark, information flow node template title, information flow node template describes, class indication belonging to information flow node template, information flow node template type (artificial or automatic), process limited, the information such as timeout action.By flow of information template information, information flow node template information completes flow of information template object, after the structure of information flow node template object, the initial data of " at random " is namely organized among flow of information template object and information flow node template object by specific mode, " the flow of information template object " that be created and " information flow node template object " is then stored in complete form among the memory device that is equipped with for the treatment of information flow task (for being different from the memory device of the database storing initial data, this memory device is hereinafter referred to as intermediate data storage device), this memory device can be cache device.
The present embodiment is after completing according to the step of flow of information template Object Creation information flow example, not whole attribute datas of the information flow example of storage creation, and only store the incidence relation attribute data between the information flow example flow of information template corresponding with this information flow example.This incidence relation can be presented as information flow instance identification and flow of information template identify between corresponding relation, also the corresponding relation between information flow instance name and flow of information template object oriented can be presented as, can also be other corresponding relations, as long as can reflect that the incidence relation between information flow example and flow of information template object can realize the goal of the invention of the application.
Step S202: store the incidence relation between the information flow node instance information flow example corresponding with this information flow node instance, information flow node template object after information flow node instance foundation step completes;
The present embodiment is after completing according to the step of information flow node template object, information flow instance objects establishment information flow node instance, do not store whole attribute datas of information flow node instance, and only store the incidence relation attribute between the information flow node instance information flow example corresponding with this information flow node instance, information flow node template object.This incidence relation can be presented as information flow node instance mark and information flow instance identification, corresponding relation between information flow node template object identity, also the corresponding relation between their title can be presented as, can also be other corresponding relations, as long as can reflect that the incidence relation between information flow node instance and information flow example, information flow node template object can realize the goal of the invention of the application.
Step S203: the incidence relation between the information flow node instance that store tasks object is corresponding with this task object after task Object Creation step completes;
Based on above-mentioned identical reason, the present embodiment is after completing according to the step of node instance Object Creation task object, not whole attribute datas of store tasks object, and the incidence relation between the information flow node instance that only store tasks object is corresponding with this task object.Similarly, incidence relation here can be embodied by the corresponding relation between mark, also can be embodied by the corresponding relation between title, can also be embodied by other corresponding relations.
The present embodiment is in each step creating information flow task, intermediate data for information flow task only stores between information flow example and flow of information template object, between information flow node instance and information flow example, information flow node template object, incidence relation data between task object and information flow node instance, and do not preserve other attribute datas.Compared with prior art, because the present embodiment did not both only store flow of information template object data, whole intermediate data is not stored yet, but on storage flow of information template object base, store a series of associated data, therefore, relative to the storage mode only storing flow of information template, although the memory space of the present embodiment increases to some extent, the incidence relation stored can reduce the time obtaining processing information flow task total data, thus improves the treatment effeciency of information flow task; Relative to the storage mode of whole intermediate data of storage information flow task, although need the total data according to incidence relation generating process information flow task in processing information flow task process, but its memory space greatly reduces, as can be seen here, the present embodiment has taken into account the relation between memory space and information flow task treatment effeciency preferably, meets the demand of storage size and information flow task treatment effeciency two aspect.
Above-described embodiment stores the intermediate data of information flow task in the mode of simplifying most, although the demand of memory space and information flow task treatment effeciency two aspect can be taken into account on the whole preferably, but, at some in particular cases, such as during demand fulfillment inquiry request (inquiry request in whole business proportion less than 10%), aforesaid way just can not complete query task.For this reason, when above-described embodiment stores the incidence relation between information flow node instance and information flow example, information flow node template object, the application also preferably stores the creation-time data of information flow node instance and/or the end time data of information flow node instance, to utilize this two item number according to completing query manipulation.By creation-time and the end time data of memory node example, although add small part memory space, but increase this part memory space generally to the treatment effeciency of the information flow task of the application and performance impact little, but can meet the specific service needed that some ratio is less, thus extend the scope of application of the application.
Same reason, during incidence relation between above-described embodiment store tasks object and information flow node instance, the application is the time started data of preferred store tasks object and/or the deadline of task object also, utilizes this two item number according to the needs that can meet inquiry business.
Above-described embodiment is the information flow example of " minimum " attribute according to the information flow example that flow of information template object builds, in actual application, for meeting specific transactions needs, such as information flow business is carried out to process limited monitoring, arranged variable information to information flow, also need to increase new attribute on the information flow instance basis of " minimum " attribute, complete a series of corresponding information flow engine operation, realize the configuration to information flow example.After configuring information flow example.The data used in layoutprocedure are shifted out intermediate data storage device.The i.e. operation that is preferably as follows of the application: after information flow example foundation step completes, utilize the attribute data of flow of information template object to be configured operation to information flow example, after configuration operation completes, the data being used for configuring are shifted out the memory device storing described incidence relation data.
Previous embodiment describes the embodiment of the intermediate data storage method of the information flow task of the application in detail.On the storage mode basis of this intermediate data, present invention also provides a kind of processing method embodiment of information flow task.See Fig. 3, Fig. 4, wherein: Fig. 3 shows the flow chart of the present embodiment, Fig. 4 shows the intermediate data relation schematic diagram of the present embodiment.The present embodiment comprises:
Step S301: the pending task object of obtaining information stream task;
Task object is the embodiment of information flow task on each information flow node, when need each node finish the work the process of object time, the mode of multiple concrete acquisition task object can be there is in this example, such as can by the mode sent a request message to user, inputted by user and need task object to be processed, also can read task object by automation equipment according to the mode preset from task object pond, can also automation equipment allocating task object be passed through.
Step S302: identify according to the information flow node instance that the incidence relation between task object with information flow node instance obtains this task object corresponding; Information flow instance identification corresponding to this information flow node instance and information flow node template object is obtained with the incidence relation between information flow example, information flow node template object according to information flow node instance; Flow of information template object corresponding to information flow example is obtained according to the incidence relation between information flow example with flow of information template object;
Owing to creating the intermediate data (" intermediate data " of the present embodiment comprises the incidence relation between flow of information template object, information flow node template object and other intermediate data) having stored information flow task in information flow task process, the present embodiment can obtain the total data of information flow task process according to these intermediate data.This " oppositely " index relative can see Fig. 4: after acquisition task object, according to the mark of task object, obtain the information flow node instance corresponding with this task object, then the mark according to information flow node instance obtains information flow example and information flow node template object, and then obtains flow of information template object according to the mark of information flow example.Flow of information template object and information flow node template are to the bottom data liking information flow task intermediate data.After obtaining this two item numbers certificate, namely by the total data of these two data acquisition (or completion) processing information flow tasks.
Step S303: obtain the data that object of finishing the work needs according to the information flow node template object obtained, flow of information template object;
Step S304: utilize these data to finish the work the process of object.
The present embodiment, after acquisition task object, according to the incidence relation between the task object stored in information flow task intermediate data storage device and other intermediate data, obtains the data of object of finishing the work, and then utilizes these data to realize the process of task object.Compared with prior art, the present embodiment is for the information flow task process only stored under flow of information template object sight, although memory space increases to some extent, decrease the time of the data having obtained information flow task process, thus improve the treatment effeciency of information flow task; For the information flow task process under the intermediate data sight storing full detail stream task, memory space greatly reduces, and has taken into account the treatment effeciency of information flow task and the demand of memory space two aspect.
On the present embodiment basis, after some task object is disposed, in order to the memory space of compressed information stream task intermediate data storage device, the application preferably shifts out operation to the task object be disposed, i.e. the task object that completes of delete processing and information flow node instance corresponding to this task object.The prerequisite of such process is: the various application of information flow system carry out based on the information flow node instance run and task object thereof, therefore, delete these task objects be disposed and information flow node instance thereof, the process of whole information flow task can't be affected, but can memory space be reduced.
Aforementioned two embodiments are all the descriptions to the application's embodiment of the method, correspondingly, present invention also provides the intermediate data storage embodiment of information flow node.See Fig. 5 (a), the figure shows the structural framing of this device embodiment.This storage device embodiment 500 comprises: the first memory cell 501, second memory cell 502 and the 3rd memory cell 503, wherein:
First memory cell 501, for storing the incidence relation between the information flow example flow of information template object corresponding with this information flow example after information flow example foundation step completes;
Second memory cell 502, for storing the incidence relation between the information flow node instance information flow example corresponding with this information flow node instance, information flow node template object after information flow node instance foundation step completes;
3rd memory cell 503, for the incidence relation between the information flow node instance that store tasks object after task Object Creation step completes is corresponding with this task object.
The workflow of this device embodiment is: after information flow example foundation step completes, and stores the incidence relation between described information flow example and flow of information template by the first memory cell 501; After information flow node instance foundation step completes, store the incidence relation between information flow node instance and information flow example, information flow node template by the second memory cell 502; After task Object Creation step completes, store the incidence relation between described task object and information flow node instance by the 3rd memory cell 503.
This storage device embodiment is in each step creating information flow task, intermediate data for information flow task only stores between information flow example and flow of information template, between information flow node instance and information flow example, information flow node template, the incidence relation data between task object and information flow node instance.Compared with prior art, because this device embodiment had not both only stored the template data of information flow, also whole intermediate data is not stored, but on storage flow of information template data basis, store a series of associated data, therefore, relative to the storage mode only storing flow of information template, although memory space increases to some extent, the incidence relation stored can reduce the time obtaining processing information flow task total data, thus improves the treatment effeciency of information flow task; Relative to the storage mode of whole intermediate data of storage information flow task, although need the total data according to incidence relation generating process information flow task in processing information flow task process, but its memory space will greatly reduce, as can be seen here, this device embodiment has taken into account the relation between memory space and information flow task treatment effeciency preferably, meets the demand of storage size and information flow task treatment effeciency two aspect.
The second memory cell in above-mentioned storage device embodiment, when storing the incidence relation between information flow node instance and flow of information template object, information flow node template object, can also be used for storing the creation-time data of information flow node instance and/or the end time data of information flow node instance; During the incidence relation of the 3rd memory cell between store tasks object and information flow node instance, also for the time started data of store tasks object and/or the deadline of task object.By storing these data, the demand under some special case can be met, such as inquiry request, thus extend the scope of application of the application.
Said apparatus embodiment can also comprise dispensing unit and move out unit, wherein: dispensing unit, for after information flow example foundation step completes, utilizes the attribute data of flow of information template object to be configured operation to information flow example; Shift out unit, for the attribute data being used for configuring being shifted out the memory device storing described incidence relation data after configuration operation completes.Some specific transactions needs can be met by increasing dispensing unit and shifting out unit.
On aforementioned storage device embodiment basis, present invention also provides the processing unit embodiment of information flow task.See Fig. 5 (b), this processing unit 600 comprises: the first acquiring unit 601, second acquisition unit 602 and processing unit 603, wherein:
First acquiring unit 601, for the pending task object of obtaining information stream task;
Second acquisition unit 602, identifies for the information flow node instance obtaining this task object corresponding according to the incidence relation between task object with information flow node instance; Information flow instance identification corresponding to this information flow node instance and information flow node template is obtained according to information flow node instance and the incidence relation between information flow example, information flow node template; Flow of information template object corresponding to information flow example is obtained according to the incidence relation between information flow example with flow of information template object; The data that object of finishing the work needs are obtained according to the information flow node template object obtained, flow of information template object;
Processing unit 603, to finish the work the process of object for utilizing these data.
The workflow of present treatment device is: the first acquiring unit 601 is after the pending task object of obtaining information stream task, and the information flow node instance obtaining this task object corresponding according to the incidence relation between task object with information flow node instance by second acquisition unit 602 identifies; Information flow example corresponding to this information flow node instance and information flow node template object is obtained with the incidence relation between information flow example, information flow node template object according to information flow node instance; Information flow module object plate corresponding to information flow example is obtained according to the incidence relation between information flow example with flow of information template object; The data that object of finishing the work needs are obtained according to the information flow node template object obtained, flow of information template object; Then these data are utilized to finish the work the process of object by processing unit 603.
Present treatment device embodiment is after acquisition task object, according to the incidence relation between the task object stored in information flow task intermediate data storage device and other intermediate data, obtain the data of object of finishing the work, and then utilize these data to realize the process of task object.Compared with prior art, present treatment device embodiment is for the information flow task process only stored under flow of information template object sight, although memory space increases to some extent, but decrease the time of the data having obtained information flow task process, thus improve the treatment effeciency of information flow task; For the information flow task process under the intermediate data sight storing full detail stream task, memory space greatly reduces, and has taken into account the treatment effeciency of information flow task and the demand of memory space two aspect.
For convenience of description, various unit is divided into describe respectively with function when describing above device.Certainly, the function of each unit can be realized in same or multiple software and/or hardware when implementing the application.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add required general hardware platform by software and realizes.Based on such understanding, the technical scheme of the application can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the application or embodiment.
Embodiment in present specification adopts the mode of going forward one by one to describe, between embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for device embodiment, because it is substantially similar to embodiment of the method, so describe fairly simple, relevant part illustrates see the part of embodiment of the method.Embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
The application can be used in numerous general or special purpose computing system environment or configuration.Such as: personal computer, server computer, handheld device or portable set, laptop device, multicomputer system, system, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, the distributed computing environment (DCE) comprising above any system or equipment etc. based on microprocessor.
The application can describe in the general context of computer executable instructions, such as program module.Usually, program module comprises the routine, program, object, assembly, data structure etc. that perform particular task or realize particular abstract data type.Also can put into practice the application in a distributed computing environment, in these distributed computing environment (DCE), be executed the task by the remote processing devices be connected by communication network.In a distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium comprising memory device.
The above is only the embodiment of the application; it should be pointed out that for those skilled in the art, under the prerequisite not departing from the application's principle; can also make some improvements and modifications, these improvements and modifications also should be considered as the protection range of the application.

Claims (10)

1. an intermediate data storage method for information flow task, it is characterized in that, the method comprises:
The incidence relation between the information flow example flow of information template object corresponding with this information flow example is stored, not whole attribute datas of the information flow example of storage creation after information flow example foundation step completes;
After information flow node instance foundation step completes, store the incidence relation between the information flow node instance information flow example corresponding with this information flow node instance, information flow node template object, do not store whole attribute datas of information flow node instance;
Incidence relation between the information flow node instance that store tasks object is corresponding with this task object after task Object Creation step completes, not whole attribute datas of store tasks object.
2. method according to claim 1, is characterized in that, the corresponding relation between the flow of information template object identity of the incidence relation between information flow example and flow of information template object belonging to information flow instance identification and this information flow example;
Incidence relation between information flow node instance and information flow example, information flow node template object for information flow node instance identify and the mark of information flow example belonging to this node instance, information flow node template object belonging to this node instance mark between corresponding relation;
Incidence relation between task object and information flow node instance for task object identify and information flow node instance belonging to this task object identify between corresponding relation.
3. method according to claim 1, is characterized in that, described method also comprises:
When storing the incidence relation between information flow node instance and information flow example, information flow node template object, also store the creation-time data of information flow node instance and/or the end time data of information flow node instance;
During incidence relation between store tasks object and information flow node instance, the also time started data of store tasks object and/or the deadline data of task object.
4. method according to claim 1, is characterized in that, described method also comprises:
After information flow example foundation step completes, utilize the attribute data of flow of information template object to be configured operation to information flow example, after configuration operation completes, the attribute data being used for configuring is shifted out the memory device storing described incidence relation.
5. a processing method for information flow task, is characterized in that, the method comprises:
The pending task object of obtaining information stream task;
Identify according to the information flow node instance that the incidence relation between task object with information flow node instance obtains this task object corresponding, the incidence relation between described task object with information flow node instance is the incidence relation between information flow node instance that the task object that stores after task Object Creation step completes is corresponding with this task object; Obtain information flow instance identification corresponding to this information flow node instance and information flow node template object according to information flow node instance with the incidence relation between information flow example, information flow node template object, described information flow node instance and the incidence relation between information flow example, information flow node template object are after information flow node instance foundation step completes, store the incidence relation between the information flow node instance information flow example corresponding with this information flow node instance, information flow node template object; Obtain flow of information template object corresponding to information flow example according to the incidence relation between information flow example with flow of information template object, described information flow example and the incidence relation between flow of information template object are after information flow example foundation step completes, store the incidence relation between the information flow example flow of information template object corresponding with this information flow example; The data that object of finishing the work needs are obtained according to the information flow node template object obtained, flow of information template object;
These data are utilized to finish the work the process of object.
6. method according to claim 5, is characterized in that, the method also comprises: the task object that delete processing completes and information flow node instance corresponding to this task object.
7. an intermediate data storage for information flow task, is characterized in that, this device comprises: the first memory cell, the second memory cell and the 3rd memory cell, wherein:
Described first memory cell, for storing the incidence relation between the information flow example flow of information template object corresponding with this information flow example after information flow example foundation step completes, not whole attribute datas of the information flow example of storage creation;
Described second memory cell, for storing the incidence relation between the information flow node instance information flow example corresponding with this information flow node instance, information flow node template object after information flow node instance foundation step completes, do not store whole attribute datas of information flow node instance;
Described 3rd memory cell, for the incidence relation between the information flow node instance that store tasks object after task Object Creation step completes is corresponding with this task object, not whole attribute datas of store tasks object.
8. device according to claim 7, it is characterized in that, described second memory cell, when storing the incidence relation between information flow node instance and information flow example, information flow node template object, also for the end time data of the creation-time data and/or information flow node instance that store information flow node instance;
Described 3rd memory cell, during incidence relation between store tasks object and information flow node instance, also for the time started data of store tasks object and/or the deadline data of task object.
9. device according to claim 7, is characterized in that, described device also comprises dispensing unit and shifts out unit, wherein:
Described dispensing unit, for after information flow example foundation step completes, utilizes the attribute data of flow of information template object to be configured operation to information flow example;
Describedly shift out unit, for the attribute data being used for configuring being shifted out the memory device storing described incidence relation after configuration operation completes.
10. a processing unit for information flow task, is characterized in that, this device comprises: the first acquiring unit, second acquisition unit and processing unit, wherein:
Described first acquiring unit, for the pending task object of obtaining information stream task;
Described second acquisition unit, information flow node instance for obtaining this task object corresponding according to the incidence relation between task object with information flow node instance identifies, and the incidence relation between described task object with information flow node instance is the incidence relation between information flow node instance that the task object that stores after task Object Creation step completes is corresponding with this task object; Obtain information flow instance identification corresponding to this information flow node instance and information flow node template object according to information flow node instance with the incidence relation between information flow example, information flow node template object, described information flow node instance and the incidence relation between information flow example, information flow node template object are after information flow node instance foundation step completes, store the incidence relation between the information flow node instance information flow example corresponding with this information flow node instance, information flow node template object; Obtain flow of information template object corresponding to information flow example according to the incidence relation between information flow example with flow of information template object, described information flow example and the incidence relation between flow of information template object are after information flow example foundation step completes, store the incidence relation between the information flow example flow of information template object corresponding with this information flow example; The data that object of finishing the work needs are obtained according to the information flow node template object obtained, flow of information template object;
Described processing unit, to finish the work the process of object for utilizing these data.
CN201210366822.2A 2012-09-26 2012-09-26 A kind of intermediate data storage method of information flow task, processing method and device Active CN102932416B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210366822.2A CN102932416B (en) 2012-09-26 2012-09-26 A kind of intermediate data storage method of information flow task, processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210366822.2A CN102932416B (en) 2012-09-26 2012-09-26 A kind of intermediate data storage method of information flow task, processing method and device

Publications (2)

Publication Number Publication Date
CN102932416A CN102932416A (en) 2013-02-13
CN102932416B true CN102932416B (en) 2016-03-30

Family

ID=47647113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210366822.2A Active CN102932416B (en) 2012-09-26 2012-09-26 A kind of intermediate data storage method of information flow task, processing method and device

Country Status (1)

Country Link
CN (1) CN102932416B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975577A (en) * 2016-05-04 2016-09-28 乐视控股(北京)有限公司 Data optimization method and device in big data processing
CN105975600A (en) * 2016-05-11 2016-09-28 乐视控股(北京)有限公司 Big data processing task optimization method and device
CN106201616B (en) * 2016-07-12 2019-11-26 南京莱斯电子设备有限公司 A kind of component asynchronous information distribution method of flexibility
CN106886357A (en) * 2017-02-14 2017-06-23 北京小米移动软件有限公司 A kind of information deletion method and device
CN109101191B (en) * 2018-06-21 2021-07-16 东软集团股份有限公司 Data storage method, data storage device, storage medium and electronic equipment
CN110148019B (en) * 2019-05-09 2021-08-20 北京百度网讯科技有限公司 Information flow operation template creating method and information flow operation template creating system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983313A (en) * 2006-04-07 2007-06-20 华为技术有限公司 Workflow data processor and processing method
CN101447040A (en) * 2008-10-17 2009-06-03 东软集团股份有限公司 Method for setting process instance restriction and device thereof as well as system for modifying process instance restrict
CN102521712A (en) * 2011-12-27 2012-06-27 东软集团股份有限公司 Process instance data processing method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8205215B2 (en) * 2007-05-04 2012-06-19 Microsoft Corporation Automated event correlation
CN102456185B (en) * 2010-10-29 2014-06-11 金蝶软件(中国)有限公司 Distributed workflow processing method and distributed workflow engine system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983313A (en) * 2006-04-07 2007-06-20 华为技术有限公司 Workflow data processor and processing method
CN101447040A (en) * 2008-10-17 2009-06-03 东软集团股份有限公司 Method for setting process instance restriction and device thereof as well as system for modifying process instance restrict
CN102521712A (en) * 2011-12-27 2012-06-27 东软集团股份有限公司 Process instance data processing method and device

Also Published As

Publication number Publication date
CN102932416A (en) 2013-02-13

Similar Documents

Publication Publication Date Title
CN102932416B (en) A kind of intermediate data storage method of information flow task, processing method and device
CN109726174A (en) Data archiving method, system, equipment and storage medium
CN104866513A (en) System and method for cross-tenant data access
CN103858118A (en) Dynamically acquiring computing resources in a networked computing environment
CN103544153A (en) Data updating method and system based on database
CN103914511A (en) Selecting Image Or Video Files For Cloud Storage
CN105550270B (en) Data base query method and device
CN102129425A (en) Method and device for accessing large-object set table in data warehouse
CN102426523A (en) Multi-dimensional objects
CN106951254B (en) Method and device for multiplexing similar service function modules in payment system
CN104834599A (en) WEB security detection method and device
CN104410666A (en) Method and system for implementing heterogeneous storage resource management under cloud computing
CN102902763A (en) Method and device for relating and retrieving information processing data and processing information tasks
CN101963969A (en) Method and database server for realizing load balancing in Oracle RAC (Real Application Cluster) system
CN103235811A (en) Data storage method and device
CN106251122A (en) A kind of workflow processing method and device
CN111104425A (en) Data processing method and device
CN103294556A (en) Method and system for host system admission control
CN112364102A (en) Block chain-based big data transaction method, device, medium and equipment
CN103150145A (en) Parallel processing of semantically grouped data in data warehouse environments
CN103793457A (en) System and method for managing memory usage by using usage analytics
CN109344173B (en) Data management method and device and data structure
CN105095515A (en) Bucket dividing method, device and equipment supporting fast query of Map-Reduce output result
CN103713852A (en) Method for processing information, service platform and electronic devices
CN103677488A (en) Artificial intelligence user interface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant