CN106886864A - A kind of business construction method, device and electronic equipment - Google Patents

A kind of business construction method, device and electronic equipment Download PDF

Info

Publication number
CN106886864A
CN106886864A CN201510931795.2A CN201510931795A CN106886864A CN 106886864 A CN106886864 A CN 106886864A CN 201510931795 A CN201510931795 A CN 201510931795A CN 106886864 A CN106886864 A CN 106886864A
Authority
CN
China
Prior art keywords
business
node
state
incidence relation
specific transactions
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510931795.2A
Other languages
Chinese (zh)
Inventor
舒世龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Cainiao Smart Logistics Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510931795.2A priority Critical patent/CN106886864A/en
Publication of CN106886864A publication Critical patent/CN106886864A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders

Landscapes

  • Business, Economics & Management (AREA)
  • Economics (AREA)
  • Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This application discloses a kind of business construction method, device and electronic equipment, a kind of Business Process Control method, device and electronic equipment, and a kind of business management system.Wherein described business construction method includes:The business element that acquisition is prestored;Choose perform specific transactions needed for business element, and according to perform specific transactions needed for business element between relation, be choose business element set incidence relation;The business element that will be chosen and the incidence relation for setting as the specific transactions after structure.The method provided using the application, can realize configurableization of miscellaneous service element, so as to reach configuration and the management process of simplified business, strengthen the reusability of business datum, increase service node circulation efficiency, reduce the effect of the maintenance cost of business datum.

Description

A kind of business construction method, device and electronic equipment
Technical field
The application is related to business treatment technique field, and in particular to a kind of business construction method, device and electronics Equipment.The application is related to a kind of Business Process Control method, device and electronic equipment, and a kind of industry simultaneously Business management system.
Background technology
Any one needs the business of manual intervention in multiple links, is all by practical operation node, node What flowing mode and node state machine were constituted.Wherein, practical operation node defines institute in business fulfillment processes The all practical operation links being related to, for example, a certain logistics service including signing for, being put in storage, etc. outbound reality Border operation link;It is specific in business fulfillment processes that node flowing mode defines certain practical operation node Circulation content;Node state machine defines state and state the circulation sequence of practical operation node, to control each The orderly circulation of the different conditions of practical operation node, for example, node and storage node are signed in definition and being had and having been signed Receipts state and binning state, definition status circulation sequence be state of having signed for it is preceding, binning state has been rear, Can then control to sign for node to the orderly circulation of storage node.
Generally, there may be identical practical operation node between the specific business of difference in same business scope; And the node flowing mode corresponding to the same practical operation node in different specific business may be entirely different, For example, the circulation side of node of examining goods that unpacks of node and outlet streams service of examining goods that unpacks of inlet stream service Formula is entirely different.The sum of the practical operation node that a certain business scope is related to be it is fixed and can limit, With the variation of business development, the specific business in the business scope is more and more, so as to cause node stream The mode of turning emerges in an endless stream.
At present, developer mostly just realizes the control to operation flow using node state machine, without relating to And business and node flowing mode, thus cannot be by industry such as business, practical operation node and node flowing modes Business element efficient association.It can be seen that, because existing business means of performance is by practical operation node and its circulation Mode is fixed, therefore the shortcoming of which is:Business datum not configurableization, modification business datum is difficult, Business practical operation circulation is asynchronous with line under causing line, or even influences the circulation of practical operation node, hinders Business Stream The lifting of transfer efficient.
In sum, existing business means of performance does not consider the multiplexing of practical operation node, node circulation side The problem of formula multiplexing, causes multiple specific business to there is the practical operation node and its flowing mode for repeating, and And repeat to measure increasing, the serious waste of storage resource is caused, increased the maintenance cost of business datum. Therefore, prior art there is a problem of that business cannot be built by the existing business element mode of multiplexing.
The content of the invention
The application provides a kind of business construction method, device and electronic equipment, there is nothing to solve prior art Method builds the problem of business by the existing business element mode of multiplexing.The application provides a kind of operation flow in addition Control method, device and electronic equipment, and a kind of business management system.
The application provides a kind of business construction method, including:
The business element that acquisition is prestored;The business element for prestoring includes service node and node Flowing mode;
Choose the business element needed for performing specific transactions, and the business according to needed for the execution specific transactions Relation between element, for the business element chosen sets incidence relation;
Using the business element of the selection and the incidence relation for setting as the specific transactions after structure.
Optionally, the business element chosen needed for performing specific transactions, and perform specific industry according to described The relation between business element needed for business, for the business element chosen sets incidence relation, using such as lower section Formula:
By way of graphic user interface, the business element needed for choosing the execution specific transactions, and root It is that the business element of the selection is set according to the relation between the business element needed for the execution specific transactions The incidence relation.
Optionally, it is described by way of graphic user interface, the industry needed for choosing the execution specific transactions Business element, and according to it is described execution specific transactions needed for business element between relation, be the selection Business element sets the incidence relation, including:
Show the set of the service node;
Selection of the user at least one service node is received to confirm;
For at least one service node that the specific transactions and user select sets up the first incidence relation;
Show the set of the node flowing mode;
Selection of the user to each pair of service node and node flowing mode is received to confirm;
For each pair of service node and node flowing mode of user selection set up the second incidence relation.
Optionally, the business element for prestoring includes node state;The user needs to be the spy Determine business configuration node state machine;In at least one industry selected for the specific transactions and user Business node is set up after the first incidence relation, is also included:
Show the set of the node state;
Selection of the user to each pair of service node and node state is received to confirm;The service node correspondence At least one node state;
For each pair of service node and node state of user selection set up the 3rd incidence relation.
Optionally, the node state machine is realized in the following way:Working flow mode, regulation engine mode Or pipeline stream mode.
Optionally, the business element for prestoring includes status switch;The user needs to be the spy Determine business configuration status switch;Set up in each pair of service node and node state for user selection After 3rd incidence relation, also include:
Show the set of the status switch;
Selection of the user to the status switch is received to confirm;
For the status switch that the specific transactions and the user select sets up the 4th incidence relation.
Optionally, the business element for prestoring includes processing method;The user needs to be the knot Point flowing mode configuration processing method;In each pair of service node for user selection and node circulation Mode is set up after the second incidence relation, is also included:
Show the set of the processing method;
Selection of the user to the processing method is received to confirm;
For the processing method that the node flowing mode and the user select sets up the 5th incidence relation.
Optionally, the business element for prestoring includes business;In the reception user at least one Before the selection of service node confirms, also include:
Show the set of the business;
Selection of the user to the specific transactions is received to confirm.
Optionally, before the business element for obtaining and prestoring, also include:
The business element prestored described in building.
Optionally, the business element for prestoring belongs to specific transactions field, the specific transactions field Including logistics service field, different specific transactions include identical business element in the specific transactions field.
Accordingly, the application also provides a kind of device for building operation flow, including:
Acquiring unit, for obtaining the business element for prestoring;The business element for prestoring includes Service node and node flowing mode;
Construction unit, it is for choosing the business element needed for performing specific transactions and specific according to the execution The relation between business element needed for business, for the business element chosen sets incidence relation;
Setting unit, for using the business element of the selection and the incidence relation for setting as the institute after structure State specific transactions.
Optionally, the business element chosen needed for performing specific transactions, and perform specific industry according to described The relation between business element needed for business, for the business element chosen sets incidence relation, using such as lower section Formula:
By way of graphic user interface, the business element needed for choosing the execution specific transactions, and root It is that the business element of the selection is set according to the relation between the business element needed for the execution specific transactions The incidence relation.
Optionally, the construction unit includes:
First display subelement, the set for showing the service node;
First receiving subelement, confirms for receiving selection of the user at least one service node;
First incidence relation sets up subelement, at least one described in the specific transactions and user's selection Individual service node sets up the first incidence relation;
Second display subelement, the set for showing the node flowing mode;
Second receiving subelement, for receiving choosing of the user to each pair of service node and node flowing mode Select confirmation;
Second incidence relation sets up subelement, for each pair of service node and node stream that are selected for the user The mode of turning sets up the second incidence relation.
Optionally, the business element for prestoring includes node state;The user needs to be the spy Determine business configuration node state machine;The construction unit also includes:
3rd display subelement, the set for showing the node state;
3rd receiving subelement, it is true for receiving selection of the user to each pair of service node and node state Recognize;At least one node state of the service node correspondence;
3rd incidence relation sets up subelement, for each pair of service node and node shape that are selected for the user State sets up the 3rd incidence relation.
Optionally, the business element for prestoring includes status switch;The user needs to be the spy Determine business configuration status switch;The construction unit also includes:
4th display subelement, the set for showing the status switch;
4th receiving subelement, confirms for receiving selection of the user to the status switch;
4th incidence relation sets up subelement, for the state sequence selected for the specific transactions and the user Row set up the 4th incidence relation.
Optionally, the business element for prestoring includes processing method;The user needs to be the knot Point flowing mode configuration processing method;The construction unit also includes:
5th display subelement, the set for showing the processing method;
5th receiving subelement, confirms for receiving selection of the user to the processing method;
5th incidence relation sets up subelement, for the place selected for the node flowing mode and the user Reason method sets up the 5th incidence relation.
Optionally, the business element for prestoring includes business;The construction unit also includes:
6th display subelement, the set for showing the business;
6th receiving subelement, confirms for receiving selection of the user to the specific transactions.
Optionally, also include:
Construction unit, for building the business element for prestoring.
Accordingly, the application also provides a kind of electronic equipment, including:
Display;
Processor;And
Memory, the memory is configured to store business construction device, and the business construction device is by institute When stating computing device, comprise the following steps:The business element that acquisition is prestored;It is described to prestore Business element includes service node and node flowing mode;The business element needed for performing specific transactions is chosen, And the relation between the business element according to needed for the execution specific transactions, for the business element chosen is set Incidence relation;Using the business element of the selection and the incidence relation for setting as the described specific industry after structure Business.
Additionally, the application also provides a kind of Business Process Control method, including:
Receive the Status Change instruction of correspondence special object;The Status Change instruction includes NextState;
Obtain the current state of the special object;And according to the specific transactions of the special object application, Obtain the status switch of the special object;The specific transactions be based on business element and its between association close System builds;
According to the current state, NextState and the node state machine based on the status switch, institute is changed State the state of special object.
Optionally, the node shape according to the current state, NextState and based on the status switch State machine, changes the state of the special object, including:
According to the current state and the NextState, by the node shape based on the status switch Whether state machine, judging the state of the special object can be changed to the NextState;
It is the NextState by the Status Change of the special object if above-mentioned judged result is yes.
Optionally, in the node according to the current state, NextState and based on the status switch State machine, changes after the state of the special object, also includes:
According to the specific transactions and the corresponding relation of the business, service node and the node state that prestore, Service node corresponding with the NextState is obtained, as current node;
According to the business, service node and the corresponding relation of node flowing mode that prestore, obtain with it is described The corresponding node flowing mode of current node, as current node flowing mode;
According to the corresponding relation of the business, node flowing mode and processing method for prestoring, obtain with it is described The corresponding processing method of current node flowing mode, as currently processed method;
Perform the currently processed method.
Optionally, the node state machine is realized in the following way:Working flow mode, regulation engine mode Or pipeline stream mode.
Optionally, the specific transactions include specific logistics service, and the special object includes logistics order.
Accordingly, the application also provides a kind of Business Process Control device, including:
Receiving unit, the Status Change instruction for receiving correspondence special object;The Status Change instruction bag Include NextState;
Acquiring unit, the current state for obtaining the special object;And should according to the special object Specific transactions, obtain the status switch of the special object;The specific transactions be based on business element and Incidence relation between it builds;
Changing unit, for according to the current state, NextState and the node based on the status switch State machine, changes the state of the special object.
Optionally, the changing unit includes:
Judgment sub-unit, for according to the current state and the NextState, by described based on described Whether the node state machine of status switch, judging the state of the special object can be changed to next shape State;
Change subelement, if being yes for above-mentioned judged result, the Status Change by the special object is The NextState.
Optionally, also include:
Node unit is obtained, for according to the specific transactions and the business, service node and the knot that prestore The corresponding relation of dotted state, obtains service node corresponding with the NextState, as current node;
Node flowing mode unit is obtained, for according to business, service node and the node circulation for prestoring The corresponding relation of mode, obtains node flowing mode corresponding with the current node, as current node stream Turn mode;
Processing method unit is obtained, for according to business, node flowing mode and the processing method for prestoring Corresponding relation, corresponding with current node flowing mode processing method is obtained, as currently processed side Method;
Processing method unit is performed, for performing the currently processed method.
Accordingly, the application also provides a kind of electronic equipment, including:
Display;
Processor;And
Memory, the memory is used for storage service flow control device, the Business Process Control device During by the computing device, comprise the following steps:Receive the Status Change instruction of correspondence special object;Institute Stating Status Change instruction includes NextState;Obtain the current state of the special object;And according to described The specific transactions of special object application, obtain the status switch of the special object;The specific transactions are based on Business element and its between incidence relation build;According to the current state, NextState and based on described The node state machine of status switch, changes the state of the special object.
Additionally, the application also provides a kind of business management system, including:Industry according to any of the above-described Business construction device;And the Business Process Control device according to any of the above-described.
Compared with prior art, the application has advantages below:
Business construction method, Business Process Control method and related device and business pipe that the application is provided Reason system, the business element prestored by acquisition therefrom selects the business needed for performing specific transactions Element, and according to perform specific transactions needed for business element between relation, for choose business element set Incidence relation is put, then using the business element chosen and the incidence relation of setting as the specific transactions after structure, Configurableization of miscellaneous service element can be realized, so as to reach configuration and the management process of simplified business, is increased The reusability of strong business datum, increases service node circulation efficiency, reduces the maintenance cost of business datum Effect.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the business construction method embodiment of the application;
Fig. 2 is the operation system structural representation in the logistics service field of the business construction method embodiment of the application Figure;
Fig. 3 is the data model schematic diagram of the business construction method embodiment of the application;
The idiographic flow schematic diagram of the step of Fig. 4 is the business construction method embodiment of the application S103;
Fig. 5 is the particular flow sheet of the structure logistics service of the business construction method embodiment of the application;
Fig. 6 is that the system architecture of Taobao's transporting something containerized logistics service of the business construction method embodiment of the application is illustrated Figure;
Fig. 7 is the schematic diagram of the business construction device embodiment of the application;
Fig. 8 is the specific schematic diagram of the business construction device embodiment of the application;
Fig. 9 is the schematic diagram of the electronic equipment embodiment of the application;
Figure 10 is the schematic flow sheet of the Business Process Control embodiment of the method for the application;
Figure 11 is the state circulation timing diagram of the Business Process Control embodiment of the method for the application;
Figure 12 is the idiographic flow schematic diagram of the Business Process Control embodiment of the method for the application;
Figure 13 is the schematic diagram of the Business Process Control device embodiment of the application;
Figure 14 is the specific schematic diagram of the Business Process Control device embodiment of the application;
Figure 15 is the schematic diagram of the another electronic equipment embodiment of the application;
Figure 16 is the schematic diagram of the business management system embodiment of the application.
Specific embodiment
Elaborate many details in order to fully understand the application in the following description.But the application Can be implemented with being much different from other manner described here, those skilled in the art can without prejudice to Similar popularization is done in the case of the application intension, therefore the application is not limited by following public specific implementation.
In this application, there is provided a kind of business construction method, device and electronic equipment, a kind of operation flow Control method, device and electronic equipment, and a kind of business management system.In the following embodiments one by one It is described in detail.
The business construction method that the embodiment of the present application is provided, the basic thought of its core is:According to prestoring Miscellaneous service element build specific transactions.Because the method that the application is provided builds according to existing business element Specific transactions so that miscellaneous service element can be multiplexed, can realize configurableization of miscellaneous service element, So as to reach configuration and management process, the effect of reduction business datum maintenance cost of simplified business.
Fig. 1 is refer to, it is the flow chart of the business construction method embodiment of the application.Methods described is included such as Lower step:
Step S101:The business element that acquisition is prestored.
The business element for prestoring described in the embodiment of the present application refers to that what is be related in business fulfillment processes is each The specific business datum of type, including but not limited to:The types such as business, service node and node flowing mode. Wherein, business refers to the business that any one needs manual intervention in multiple links;Service node refers to industry Business fulfillment processes in need by practical operation node;Node flowing mode refers to the corresponding industry of service node Business logic.In the present embodiment, business element also includes the business datum relevant with state, including node shape State and status switch etc., the circulation of control business flow is capable of by the business datum relevant with state.
In actual applications, the business for typically being prestored according to the business scope belonging to specific transactions Element, builds specific transactions, i.e.,:May have between the specific business of difference in identical services field identical Business element.For example, to build Taobao's transporting something containerized logistics service, the service belongs to logistics service field, opens Hair personnel build related business element for logistics service field in advance, and specific business element species can be wrapped Include:Logistics service class, logistics practical operation node class, node flowing mode class, state class and status switch Class etc..
Obtain the business element for prestoring, it is necessary first to the business element prestored described in building.Please Referring to table 1, it is the business element table of the business construction method embodiment of the application.
Table 1, business element table
From above-mentioned table 1, each business element for prestoring is prestored in the data file.Obtaining After getting the various business elements for prestoring, it is possible to enter into step S103 according to the business unit for getting Element builds specific transactions.
Step S103:The business element needed for performing specific transactions is chosen, and according to the execution specific transactions Relation between required business element, for the business element chosen sets incidence relation.
The various business elements for prestoring are got by step S101, step S103 is according to getting Business element builds specific transactions.
Fig. 2 is refer to, it is the operation system in the logistics service field of the business construction method embodiment of the application Structural representation.In the present embodiment, the operation system in logistics service field includes logistics service layer, logistics Practical operation node layer and node flowing mode layer.Above-mentioned each system layer is illustrated separately below.
1) logistics service layer
Logistics service layer defines the clients such as specific logistics service, buyer, seller, logistics provider by ordering Purchase logistics service, the logistics service for enjoying the determination that logistics service platform is provided is fulfiled.
2) logistics practical operation node layer
Logistics practical operation node layer defines specific logistics practical operation node, including storage node, outbound node, Sign for node etc..Each node has corresponding node state, for example, storage node correspondence storage is different Normal state and storage normal condition.
The node state of specific transactions carries out the circulation of state according to given status switch, for example, logistics takes The precondition that business platform flow goes to binning state is that currently practical operation has circulated to signing for state.Need Illustrate, the definition of node state and the maintenance of status switch, be based on node state machine, logistics clothes Platform be engaged in itself and be not concerned with status switch is how to be controlled, circulated.
3) node flowing mode layer
Node flowing mode layer defines specific logistics flowing mode, including certain logistics service storage knot Node flowing mode etc. is signed in point flowing mode, certain logistics service.Each node flowing mode have with Corresponding processing method.These processing methods are and a pair of code segment 1 in logistics service platform Answer.That is, each node flowing mode correspond to one section of specific place in logistics service platform Reason code.
From Figure 2 it can be seen that being included using the operation system that the business construction method that the embodiment of the present application is provided builds Following advantage:1) due to service node and node flowing mode reusable, it is thus possible to save storage overhead, So as to reduce the maintenance cost of service link;2) service node is more flexible with the configuration of node flowing mode, So as to reduce the deployment cost of service link;2) because node flowing mode is associated with specific processing method, It is thus able to be completed in the case where configuration is not changed the change for the treatment of details.
Fig. 3 is refer to, it is the data model schematic diagram of the business construction method embodiment of the application.In this reality Apply in example, the core data of the full link of business includes that business, service node, the association of node flowing mode are closed System.Additionally, it is corresponding with status switch, node flowing mode to also relate to the corresponding node state of service node The incidence relation such as processing method.Solid line is represented in Fig. 3 actual data correlation, dotted line generation between the two Table is between the two data referencing relation.What rectangle frame was represented is business element data, and what oval frame was represented is Incidence relation data between business element.
The all independent business element data of business element data record in Fig. 3, for basic data Definition, the definition of business element is including data type, data name and definition time etc..Wherein, data class Type including business, service node, node flowing mode, node state, status switch and processing method etc., For representing that the business element belongs to what type of business element data.
Incidence relation data in Fig. 3 include that " business-node " incidence relation, " node-flowing mode " are closed Connection relation, " node-state " incidence relation, " business-status switch " incidence relation and " business-stream Turn mode-processing method " incidence relation.Wherein, " business-node " incidence relation have recorded business and its bag Incidence relation between the service node for containing, each business comprises at least a service node data;" node- Flowing mode " incidence relation have recorded service node and its corresponding node flowing mode, usual each node Flowing mode can only have one kind because determine business be unique in the flowing mode of certain node;" knot Point-state " incidence relation have recorded business certain node and its comprising node state, it is specific for certain For business, the corresponding node state of its node at least one, for example, storage node correspondence be put in storage successfully State and storage abnormality;" business-status switch " incidence relation have recorded business and its corresponding state sequence Row, the status switch of each business can only have one, because the full link circulation of the business for determining is ordered into and only One;" business-flowing mode-processing method " incidence relation have recorded certain flowing mode and its bag of business The processing method for containing, for certain specific transactions, the processing method of its flowing mode can only have one, Can only be processed on the line for completing flowing mode by a certain section of the business platform code of determination.
The business construction method that the embodiment of the present application is provided, by way of graphic user interface, chooses and performs Business element needed for specific transactions, and according to perform specific transactions needed for each business element between pass System, for the business element chosen sets incidence relation.
Fig. 4 is refer to, the idiographic flow of S103 shows the step of it is the business construction method embodiment of the application It is intended to.In the present embodiment, step S103 comprises the following steps:
Step S1031:Show the set of the service node.
The execution for fulfiling each service node for depending on it to include of specific transactions, will build a specific industry Business, it is necessary first to define each service node that the business includes.In the present embodiment, in order to define The service node that specific transactions include, it is necessary first to be shown as what the business scope belonging to the business built in advance Each service node information, so that user selects to confirm.
Step S1032:Selection of the user at least one service node is received to confirm.
After user's selection confirms at least one service node that specific transactions include, business constructing system connects Selection of the user at least one service node is received to confirm.
Step S1033:For at least one service node that the specific transactions and user select sets up first Incidence relation.
After business constructing system receives selection confirmation of the user at least one service node, it is possible to For at least one service node that the specific transactions and user select sets up incidence relation, namely form above-mentioned " industry The incidence relation is referred to as the first incidence relation by business-node " incidence relation, the embodiment of the present application.
Step S1034:Show the set of the node flowing mode.
After the service node that it includes being set for specific transactions, it is possible to for these nodes are respectively provided with each Corresponding node flowing mode.The business construction method that the embodiment of the present application is provided, basis is prestored Business element builds specific transactions, and wherein business element also includes node flowing mode.Therefore, it is being knot When point sets node flowing mode, each node flowing mode for prestoring can be shown, so that user selects Select confirmation.
Step S1035:Selection of the user to each pair of service node and node flowing mode is received to confirm.
For the service node that each has been chosen, it is corresponding that user is respectively the selection of each service node Node flowing mode.After user's selection confirms that each service node distinguishes corresponding node flowing mode, Business constructing system receives selection of the user to incidence relation between each pair of service node and node flowing mode Confirm.
Step S1036:For each pair of service node and node flowing mode of user selection set up the second association Relation.
When business constructing system receives user to each service node and corresponding node flowing mode After selection confirms, it is possible to be that each pair of service node and node flowing mode set up incidence relation, namely shape Into above-mentioned " node-node flowing mode " incidence relation, the incidence relation is referred to as second by the embodiment of the present application Incidence relation.
By above step S1031 to S1036, in the way of graphic user interface as specific transactions, business knot Point and node flowing mode construct the incidence relation between three.
Step S105:Using the business element of the selection and the incidence relation for setting as the spy after structure Determine business.
Business element needed for performing specific transactions is selected by step S103, and according to execution specific transactions Relation between required business element, for the business element chosen is provided with after incidence relation, will select The business element that takes and the incidence relation that sets as the specific transactions after structure, so as to complete to specific transactions Structure.
In actual applications, user may also need to configure node state machine for specific transactions, with control business The circulation of state.Node state machine is configured for specific transactions, it is necessary first to for specific transactions set each industry The corresponding node state of business node.Therefore, at least one service node selected for specific transactions and user Set up after the first incidence relation, also include:1) set of the node state is shown;2) receive described Selection of the user to each pair of service node and node state confirms;At least one node of the service node correspondence State;3) it is that each pair of service node and node state of user selection sets up the 3rd incidence relation.
1) set of the node state is shown.
After setting the service node that it includes for specific transactions, can also be respectively provided with each for these nodes Corresponding node state.The business construction method that the embodiment of the present application is provided, is according to the business for prestoring Element builds specific transactions, and wherein business element also includes node state.Therefore, set for service node When putting node state, each node state for prestoring can be shown, so that user selects to confirm.
2) selection of the user to each pair of service node and node state is received to confirm.
For the service node that each has been chosen, it is corresponding that user is respectively the selection of each service node Node state, at least one node state of usual service node correspondence.When user's selection confirms each industry Business node is distinguished after corresponding at least one node state, and business constructing system receives user to each pair of business The selection of incidence relation confirms between node and node state.
3) it is that each pair of service node and node state of user selection sets up the 3rd incidence relation.
When business constructing system receives user to each service node and at least one corresponding node shape After the selection of state confirms, it is possible to be that each pair of service node and node state set up incidence relation, namely shape Into above-mentioned " node-state " incidence relation, the incidence relation is referred to as the 3rd incidence relation by the embodiment of the present application.
It should be noted that the implementation method of the node state machine described in the embodiment of the present application includes workflow side Method, regulation engine method or pipeline stream mode etc..Wherein, workflow method is by defining a series of work Task is performed according to set task controlling each state;Regulation engine method passes through to define one The circulation rule of row controls each state according to set rule circulation.Above-mentioned these methods belong to existing There are technology and more maturation, be mainly used in configuration and the automatic flow of node state machine.In actual applications, Any of the above-described kind of method can be selected to realize node state machine according to real needs.
By above-mentioned steps for each service node of specific transactions is respectively provided with after corresponding node state, Also need to set status switch for specific transactions.Therefore, it is described be the user selection each pair of business knot Point and node state are set up after the 3rd incidence relation, are also included:1) set of the status switch is shown; 2) selection of the user to the status switch is received to confirm;3) it is the specific transactions and the user The status switch of selection sets up the 4th incidence relation.
1) set of the status switch is shown.
Can also be these nodes after for each service node corresponding node state of setting of specific transactions State sets status switch.The business construction method that the embodiment of the present application is provided, is according to the industry for prestoring Business element builds specific transactions, and wherein business element also includes status switch.Therefore, it is being specific transactions When status switch is set, each status switch for prestoring can be shown, so that user selects to confirm.
2) selection of the user to the status switch is received to confirm.
After user's selection confirms the corresponding status switch of specific transactions, business constructing system receives user couple The selection of status switch confirms.
3) it is that the status switch that the specific transactions and the user select sets up the 4th incidence relation.
After business constructing system receives selection confirmation of the user to status switch, it is possible to for this is specific Business and the status switch of user's selection set up incidence relation, namely form above-mentioned " business-status switch " pass The incidence relation is referred to as the 4th incidence relation by connection relation, the embodiment of the present application.
It is that specific transactions and status switch construct incidence relation by above step, so that it is specific industry to complete Business configuration node state machine, with the circulation of control business state.
In actual applications, user may also need to be processed for the specific node flowing mode configuration of specific transactions Method, to realize the multiplexing of processing method Program code.Therefore, in each pair of industry selected for the user Business node and node flowing mode are set up after the second incidence relation, are also included:1) processing method is shown Set;2) selection of the user to the processing method is received to confirm;3) it is the node circulation side Formula and the processing method of user selection set up the 5th incidence relation.
1) set of the processing method is shown.
Can also be these after for each service node corresponding node flowing mode of setting of specific transactions Node flowing mode sets processing method.The business construction method that the embodiment of the present application is provided, is according in advance The business element of storage builds specific transactions, and wherein business element also includes processing method.Therefore, for When specific node flowing mode sets processing method, each processing method for prestoring can be shown, for User's selection confirms.
2) selection of the user to the processing method is received to confirm.
After user's selection confirms the corresponding processing method of specific node flowing mode, business constructing system connects Selection of the user to processing method is received to confirm.
3) it is that the processing method that the node flowing mode and the user select sets up the 5th incidence relation.
After business constructing system receives selection confirmation of the user to processing method, it is possible to be specific knot Point flowing mode and the processing method of user's selection set up incidence relation, namely form above-mentioned " business-circulation side The incidence relation is referred to as the 5th incidence relation by formula-processing method " incidence relation, the embodiment of the present application.
Corresponding place is set by node flowing mode of the above step corresponding to service node in specific transactions Reason method so that after the state circulation of specific transactions is to a certain particular state, can be according to the treatment for setting Method performs the node flowing mode of the service node corresponding to the particular state.
The business construction method that the embodiment of the present application is provided, is specific according to the business element structure for prestoring Business, wherein business element also includes business.Therefore, before specific transactions are built, can also be in advance The title of specific transactions is built, as a kind of business element data.When user needs to build specific transactions When, business construction platform can show each Business Name of advance structure, so that user selects to confirm.Cause This, before selection of the reception user at least one service node confirms, also includes:1) display institute State the set of business;2) selection of the user to the specific transactions is received to confirm.
Fig. 5 is refer to, it is the idiographic flow of the structure logistics service of the business construction method embodiment of the application Figure.In the present embodiment, the process for building the full link of logistics service is related to business element data, association pass Coefficient is according to the configuration for waiting, and specific configuration flow is as described below:
A. all types of metadata of typing, i.e.,:Business element, including various logistics services, various logistics Practical operation node, various node flowing modes, various states, various status switches and various processing methods etc.. Then, is proceeded to【b】Step.
B. the logistics service metadata of copying platform is browsed.Then, is proceeded to【c】Step.
C. if selected for a logistics service metadata, then is proceeded to【d】Step, otherwise rebound the【b】 Step.
D. the logistics practical operation node metadata of typing is browsed, is then proceeded to【e】Step.
E. if selected for a practical operation node metadata, then is proceeded to【f】Step, otherwise jumps back to the【d】 Step.
F. the incidence relation of " service-node " is set up.Then, is proceeded to【g】Step.
G. if necessary to configuration status machine, then the is proceeded to【h】Step, otherwise jumps to the【m】Step.
H. the state metadata of typing is browsed, is then proceeded to【i】Step.
I. " service-node-state " incidence relation is set up.Then, is proceeded to【j】Step.
J. if necessary to configuration status sequence, then the is proceeded to【k】Step, otherwise jumps to the【m】Step.
K. the status switch metadata of typing is browsed, is then proceeded to【l】Step.
L. " service-status switch " incidence relation is set up.Then, is proceeded to【m】Step.
M. the node flowing mode metadata of typing is browsed.Then, is proceeded to【n】Step.
N. if selected for a flowing mode, then is proceeded to【o】Step, otherwise rebound the【m】Step.
O. " node-flowing mode " incidence relation is set up.Then, is proceeded to【p】Step.
If p. configuration processing method, proceeds to【q】Step, otherwise whole configuration flow terminates.
Q. the processing method metadata of typing is browsed, is then proceeded to【r】Step.
R. " service-flowing mode-processing method " incidence relation is set up.Whole configuration flow terminates.
The collocation method of the full link of logistics service is described in detail to step r for above step a.By above flow, The configuration work of the full link of logistics service can be completed, logistics service, logistics practical operation node, logistics reality is realized Configurableization of flowing mode is grasped, and precipitates the incidence relation between three, effectively simplify logistics service data Configuration, strengthen logistics service data reusability, so as to reach improve logistics circulation efficiency, reduce thing Flow the effect of service data maintenance cost.
Below as a example by building Taobao's transporting something containerized logistics service, the concrete configuration process of the service is provided, with to this Apply for that the business construction method for providing further is illustrated.
Taobao's transporting something containerized logistics service refers to that the goods that user buys from different shops is all transported to transporting something containerized company Transfer address at home, by transporting something containerized company withhold goods and gather packing after send it to overseas, so as to save freight charges. The particular transactions flow of Taobao's transporting something containerized logistics service includes:1) in each Taobao's shop purchase commodity, with collection The domestic transfer address of fortune company are used as dispatching address;2) delivery of each shop is input into transporting something containerized company's site Express delivery odd numbers;3) after article all here transporting something containerized companies of these express delivery lists, pay the bill and click on transporting something containerized hair It is sent to overseas.
The embodiment of the present application assume the business constructing system for building " Taobao transporting something containerized logistics service " existed with Under reusable business element:
1) service node:Sign for node, storage node, outbound node;
2) node state:Sign for state, storage abnormality, storage normal condition, outbound state, outbound Abnormality, and these states have built up with the incidence relation of node;
3) node flowing mode:Sign for node flowing mode, storage node flowing mode, the circulation of outbound node Mode, and these node flowing modes have built up with the incidence relation of service node;
4) processing method:Processing method is signed for, entered library processing method, gone out library processing method.
Additionally, the present embodiment realizes node state machine using regulation engine state machine approach, the rule of setting is such as It is lower described:
1) in strict accordance with the status switch of given logistics service, whether verification NextState can circulate;
If 2) state can circulate, according to NextState and current logistics service, by " service-knot Point-state " incidence relation, obtains the corresponding logistics practical operation node of NextState;
3) by " node-flowing mode " incidence relation, the corresponding node circulation side of logistics practical operation node is obtained Formula;
4) by " service-flowing mode-processing method " incidence relation, the corresponding place of node flowing mode is obtained Reason method;
5) according to processing method, specific certain section of program code in logistics service platform is called, completes to locate on line Reason.
On the basis of the above-mentioned reusable business element for having existed and node state machine rule, Taobao's collection The configuration flow for transporting logistics service comprises the following steps:
1) " Taobao transporting something containerized logistics service " business element is increased newly, type is business;
2) " single payment node is closed in transporting something containerized " business element is increased newly, type is service node;It is newly-increased that " transporting something containerized is closed Single pay status " business element, type is service condition;Newly-increased " single payment flowing mode is closed in transporting something containerized " industry Business element, type is node flowing mode;Newly-increased " single payment processing method is closed in transporting something containerized " business element, class Type is processing method;
3) " Taobao transporting something containerized status switch " business element is increased newly, type is status switch;
4) browse all of type and be the business element of business, and select " Taobao transporting something containerized logistics service " business Element;
5) browse all of service node, selection sign for node, storage node, transporting something containerized close it is single pay node, Outbound node business element, and set up the incidence relation of these service nodes and " Taobao transporting something containerized logistics service ";
6) all of service condition is browsed, " the single branch of transporting something containerized conjunction is set up in selection " single pay status are closed in transporting something containerized " Pay node " incidence relation with " transporting something containerized close single pay status ";
7) browse all of status switch, set up " Taobao transporting something containerized logistics service " and " Taobao's transporting something containerized state sequence The incidence relation of row ";
8) all of node flowing mode is browsed, " collection is set up in selection " single payment flowing mode is closed in transporting something containerized " Incidence relation of the single payment node of fortune conjunction " with " transporting something containerized is closed list and pays flowing mode ";And set up " Taobao's collection Fortune logistics service " and " transporting something containerized close single pay flowing mode ", " list payment processing method is closed in transporting something containerized " associate Relation;
9) selection " signing for node flowing mode ", " storage node flowing mode ", " outbound node circulation respectively Mode ", sets up " Taobao transporting something containerized logistics service ", these flowing modes and " signing for processing method ", " enters respectively Library processing method ", the incidence relation of " going out library processing method ".
10) configuration of " Taobao transporting something containerized logistics service " full link is completed.
Configured by above step 1 to step 10 and complete " Taobao transporting something containerized logistics service ".Fig. 6 is refer to, its It is the system structure diagram of Taobao's transporting something containerized logistics service of the business construction method embodiment of the application.
In the above-described embodiment, there is provided a kind of business construction method, corresponding, the application is also A kind of business construction device is provided.The device is corresponding with the embodiment of the above method.
Fig. 7 is refer to, it is the schematic diagram of the business construction device embodiment of the application.Due to device embodiment Embodiment of the method is substantially similar to, so describe fairly simple, referring to the portion of embodiment of the method in place of correlation Defend oneself bright.Device embodiment described below is only schematical.
A kind of business construction device of the present embodiment, including:
Acquiring unit 101, for obtaining the business element for prestoring;The business element bag for prestoring Include service node and node flowing mode;
Construction unit 103, for choosing the business element needed for performing specific transactions, and performs spy according to described The relation between business element needed for determining business, for the business element chosen sets incidence relation;
Setting unit 105, for using the business element of the selection and the incidence relation for setting as after structure The specific transactions.
Optionally, the business element chosen needed for performing specific transactions, and perform specific industry according to described The relation between business element needed for business, for the business element chosen sets incidence relation, using such as lower section Formula:
By way of graphic user interface, the business element needed for choosing the execution specific transactions, and root It is that the business element of the selection is set according to the relation between the business element needed for the execution specific transactions The incidence relation.
Fig. 8 is refer to, it is the specific schematic diagram of the business construction device embodiment of the application.Optionally, institute Stating construction unit 103 includes:
First display subelement 1031, the set for showing the service node;
First receiving subelement 1032, confirms for receiving selection of the user at least one service node;
First incidence relation sets up subelement 1033, for for the specific transactions and user selection described in extremely A few service node sets up the first incidence relation;
Second display subelement 1034, the set for showing the node flowing mode;
Second receiving subelement 1035, for receiving the user to each pair of service node and node flowing mode Selection confirm;
Second incidence relation sets up subelement 1036, for each pair of service node and knot that are selected for the user Point flowing mode sets up the second incidence relation.
Optionally, the business element for prestoring includes node state;The user needs to be the spy Determine business configuration node state machine;The construction unit 103 also includes:
3rd display subelement, the set for showing the node state;
3rd receiving subelement, it is true for receiving selection of the user to each pair of service node and node state Recognize;At least one node state of the service node correspondence;
3rd incidence relation sets up subelement, for each pair of service node and node shape that are selected for the user State sets up the 3rd incidence relation.
Optionally, the business element for prestoring includes status switch;The user needs to be the spy Determine business configuration status switch;The construction unit 103 also includes:
4th display subelement, the set for showing the status switch;
4th receiving subelement, confirms for receiving selection of the user to the status switch;
4th incidence relation sets up subelement, for the state sequence selected for the specific transactions and the user Row set up the 4th incidence relation.
Optionally, the business element for prestoring includes processing method;The user needs to be the knot Point flowing mode configuration processing method;The construction unit 103 also includes:
5th display subelement, the set for showing the processing method;
5th receiving subelement, confirms for receiving selection of the user to the processing method;
5th incidence relation sets up subelement, for the place selected for the node flowing mode and the user Reason method sets up the 5th incidence relation.
Optionally, the business element for prestoring includes business;The construction unit 103 also includes:
6th display subelement, the set for showing the business;
6th receiving subelement, confirms for receiving selection of the user to the specific transactions.
Optionally, also include:
Construction unit, for building the business element for prestoring.
Fig. 9 is refer to, it is the schematic diagram of the electronic equipment embodiment of the application.Because apparatus embodiments are basic Similar in appearance to embodiment of the method, so describing fairly simple, related part is said referring to the part of embodiment of the method It is bright.Apparatus embodiments described below are only schematical.
The a kind of electronic equipment of the present embodiment, the electronic equipment includes:Display 901;Treatment 902;And Memory 903, the memory 903 is used for storage service construction device, and the business construction device is described When processor 902 is performed, comprise the following steps:The business element that acquisition is prestored;It is described to prestore Business element include service node and node flowing mode;The business element needed for performing specific transactions is chosen, And the relation between the business element according to needed for the execution specific transactions, for the business element chosen is set Incidence relation;Using the business element of the selection and the incidence relation for setting as the described specific industry after structure Business.
Business construction method, device and electronic equipment that the application is provided, the business prestored by acquisition Element, therefrom selects the business element needed for performing specific transactions, and according to needed for performing specific transactions Relation between business element, for the business element chosen sets incidence relation, the business unit that then will be chosen Element and the incidence relation of setting can realize the configurable of miscellaneous service element as the specific transactions after structure Change, so as to reach configuration and the management process of simplified business, strengthen the reusability of business datum, increase industry Business node circulation efficiency, reduces the effect of the maintenance cost of business datum.
Corresponding with above-mentioned business construction method, the application also provides a kind of Business Process Control method.Please With reference to Figure 10, it is the schematic flow sheet of the embodiment of the Business Process Control method of the application, the present embodiment Repeated no more with first embodiment content identical part, refer to the appropriate section in embodiment one.This Shen A kind of Business Process Control method that please be provided includes:
Step S1001:Receive the Status Change instruction of correspondence special object.
Special object described in the embodiment of the present application refers to, using the business object of specific transactions, for example, should With a logistics order of " Taobao transporting something containerized logistics service ", the logistics order fulfils needs " Taobao's transporting something containerized Each practical operation service node collaboration of logistics service " is completed.Because special object applies specific transactions, Therefore, the different disposal link according to residing for special object is (i.e.:The different business node of specific transactions), it is special Determine object and different states are presented.Status Change instruction described in the embodiment of the present application is included under special object One state.
Step S1003:Obtain the current state of the special object;And according to the special object application Specific transactions, obtain the status switch of the special object.
Receive correspondence special object Status Change instruction after, and change special object state it It is preceding, it is necessary to obtain two aspect information:The current state and status switch of special object.According to these two aspects number According to whether can interpolate that the state of special object can circulate to the NextState in Status Change instruction.
The current state of special object is typically recorded in the information of special object, the status switch of special object Depending on the specific transactions of special object application.The specific industry of the special object application described in the embodiment of the present application Business is built based on the business element for prestoring, the business element such as business, service node and node circulation relation And its between incidence relation data be stored in advance in the data file of specific transactions.According to special object The specific transactions of application, business, service node and node circulation relation from the specific transactions for prestoring etc. The status switch of special object can be obtained in incidence relation data.
Step S1005:According to the current state, NextState and the node state based on the status switch Machine, changes the state of the special object.
After the current state and status switch that get special object, it is possible to according to working as special object Preceding state and NextState, by the node state machine based on the status switch, to the state of special object Circulation is controlled.
The implementation method of the node state machine described in the embodiment of the present application includes workflow method, regulation engine side Method or pipeline stream mode etc..Wherein, workflow method is controlled respectively by defining a series of task Individual state is performed according to set task;Regulation engine method is regular by defining a series of circulation, To control each state according to set rule circulation.Above-mentioned these methods belong to prior art and more into It is ripe, it is mainly used in configuration and the automatic flow of node state machine.In actual applications, can be according to specific need Any of the above-described kind of method of selection is asked to realize node state machine.
Below in the way of state circulation timing diagram, the state circulation process to special object is illustrated.Please With reference to Figure 11, it is the state circulation timing diagram of the embodiment of the Business Process Control method of the application.Figure 11 For the logistics order of certain specific logistics service of application, the node state of the logistics order from A condition is given Circulate to the timing diagram of B state.During the state circulation shown in the scene, business element and business are first Incidence relation between element act as the role of basic data, wherein, state service element and status switch industry Business element etc. provides data supporting for the state computation of node state machine.Additionally, the physical state of logistics order Also pre-configured state service element is derived from.
In the present embodiment, step S1005 is specifically included:1) according to the current state and next shape State, by the node state machine based on the status switch, judge the special object state whether The NextState can be changed to;If 2) above-mentioned judged result is yes, by the state of the special object It is changed to the NextState.
In actual applications, after controlling the node state of special object to change by node state machine, May also need to according to new state (i.e.:NextState) corresponding default node flowing mode is to specific right As being processed.Figure 12 is refer to, it is the specific stream of the embodiment of the Business Process Control method of the application Journey schematic diagram.In the present embodiment, also include after step S1005:
Step S1201:According to the specific transactions and business, service node and the node state for prestoring Corresponding relation, obtains service node corresponding with the NextState, as current node.
Node state machine described in the embodiment of the present application is verified next in strict accordance with the status switch of special object Whether state can circulate.If state circulation can be carried out, according to the specific transactions of special object application, By the business, the incidence relation between service node and node state that prestore, obtain and NextState Corresponding service node.
Step S1203:According to the business, service node and the corresponding relation of node flowing mode that prestore, Node flowing mode corresponding with the current node is obtained, as current node flowing mode.
After service node corresponding with NextState is got, then business, business by prestoring Incidence relation between node and node flowing mode, obtains node flowing mode corresponding with the service node.
Step S1205:According to the corresponding relation of the business, node flowing mode and processing method for prestoring, Processing method corresponding with the current node flowing mode is obtained, as currently processed method.
After node flowing mode corresponding with service node is got, then by the business that prestores, Incidence relation between node flowing mode and processing method, obtains treatment corresponding with the node flowing mode Method.
Step S1207:Perform the currently processed method.
Finally, according to the processing method for getting, certain section of program code for prestoring is called, is completed to spy Determine to be processed on the line of object.
In the above-described embodiment, there is provided a kind of Business Process Control method, corresponding, this Shen A kind of Business Process Control device is please also provided.The device is corresponding with the embodiment of the above method.
Figure 13 is refer to, it is the schematic diagram of the Business Process Control device embodiment of the application.Due to device Embodiment is substantially similar to embodiment of the method, so describing fairly simple, related part is implemented referring to method The part explanation of example.Device embodiment described below is only schematical.
A kind of Business Process Control device of the present embodiment, including:
Receiving unit 1301, the Status Change instruction for receiving correspondence special object;The Status Change refers to Order includes NextState;
Acquiring unit 1303, the current state for obtaining the special object;And according to described specific right As the specific transactions applied, the status switch of the special object is obtained;The specific transactions are based on business unit Element and its between incidence relation build;
Changing unit 1305, for according to the current state, NextState and based on the status switch Node state machine, changes the state of the special object.
Optionally, the changing unit 1305 includes:
Judgment sub-unit, for according to the current state and the NextState, by described based on described Whether the node state machine of status switch, judging the state of the special object can be changed to next shape State;
Change subelement, if being yes for above-mentioned judged result, the Status Change by the special object is The NextState.
Figure 14 is refer to, it is the specific schematic diagram of the Business Process Control device embodiment of the application.It is optional , also include:
Node unit 1401 is obtained, for according to the specific transactions and the business, the service node that prestore And the corresponding relation of node state, service node corresponding with the NextState is obtained, as current node;
Node flowing mode unit 1403 is obtained, for according to business, service node and the node for prestoring The corresponding relation of flowing mode, obtains node flowing mode corresponding with the current node, used as current knot Point flowing mode;
Processing method unit 1405 is obtained, for according to business, node flowing mode and the treatment for prestoring The corresponding relation of method, obtains processing method corresponding with the current node flowing mode, used as current place Reason method;
Processing method unit 1407 is performed, for performing the currently processed method.
Figure 15 is refer to, it is the schematic diagram of the another electronic equipment embodiment of the application.Because equipment is implemented Example is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to embodiment of the method Part illustrates.Apparatus embodiments described below are only schematical.
Another electronic equipment of the present embodiment, the electronic equipment includes:Display 1501;Processor 1502; And memory 1503, the memory 1503 is for storage service flow control device, the operation flow When control device is performed by the processor 1502, comprise the following steps:Receive the state of correspondence special object Alteration command;The Status Change instruction includes NextState;Obtain the current state of the special object; And according to the specific transactions of the special object application, obtain the status switch of the special object;It is described Specific transactions be based on business element and its between incidence relation build;According to the current state, Xia Yizhuan State and the node state machine based on the status switch, change the state of the special object.
The embodiment of the present application additionally provides a kind of business management system, and as shown in figure 16, the system includes business Construction device 1601 and Business Process Control device 1602.The business construction device 1601 be usually deployed in Server, but it is not limited to server, it is also possible to it is that by described any of business construction method and sets It is standby;The Business Process Control device 1602 is usually deployed in server, to realize to application specific transactions The state circulation control and treatment of special object.For example, business builds personnel by being deployed in server end The business construction device 1601, can obtain the business element for prestoring, and it is specific therefrom to choose execution Business element needed for business, then according to perform specific transactions needed for business element between relation, be The business element of selection sets incidence relation, finally, the business element chosen and the incidence relation of setting is made For the specific transactions storage after structure in the data file, so that service application personnel use;Service application personnel Specific transactions according to storage building in the data file create the special object of the application specific transactions; The Business Process Control device 1602 of server end is deployed in, the state of correspondence special object can be received Alteration command, responds the instruction and goes to obtain the current state of special object, and according to special object application Specific transactions, obtain the status switch of special object, current state then according to special object, Xia Yizhuan State and the node state machine based on status switch, change the state of special object.
Although the application is disclosed as above with preferred embodiment, it is not for limiting the application, Ren Heben Art personnel are not being departed from spirit and scope, can make possible variation and modification, Therefore the scope that the protection domain of the application should be defined by the application claim is defined.
In a typical configuration, computing device includes one or more processors (CPU), input/output Interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory And/or the form, such as read-only storage (ROM) or flash memory (flash RAM) such as Nonvolatile memory (RAM). Internal memory is the example of computer-readable medium.
1st, computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be by Any method or technique realizes information Store.Information can be computer-readable instruction, data structure, journey The module of sequence or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), its The random access memory (RAM) of his type, read-only storage (ROM), electrically erasable is read-only deposits Reservoir (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic cassette tape, tape magnetic magnetic Disk storage or other magnetic storage apparatus or any other non-transmission medium, can be used for storage can be set by calculating The standby information for accessing.Defined according to herein, computer-readable medium does not include non-temporary computer-readable matchmaker Body (transitory media), such as data-signal and carrier wave of modulation.
2nd, it will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer Program product.Therefore, the application can use complete hardware embodiment, complete software embodiment or combine software With the form of the embodiment of hardware aspect.And, the application can be used and wherein include meter at one or more Calculation machine usable program code computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) on implement computer program product form.

Claims (29)

1. a kind of business construction method, it is characterised in that including:
The business element that acquisition is prestored;The business element for prestoring includes service node and node Flowing mode;
Choose the business element needed for performing specific transactions, and the business according to needed for the execution specific transactions Relation between element, for the business element chosen sets incidence relation;
Using the business element of the selection and the incidence relation for setting as the specific transactions after structure.
2. business construction method according to claim 1, it is characterised in that the selection performs specific Business element needed for business, and according to it is described execution specific transactions needed for business element between relation, For the business element chosen sets incidence relation, in the following way:
By way of graphic user interface, the business element needed for choosing the execution specific transactions, and root It is that the business element of the selection is set according to the relation between the business element needed for the execution specific transactions The incidence relation.
3. business construction method according to claim 2, it is characterised in that described by graphical user The mode at interface, the business element needed for choosing the execution specific transactions, and perform specific industry according to described The relation between business element needed for business, is that the business element of the selection sets the incidence relation, bag Include:
Show the set of the service node;
Selection of the user at least one service node is received to confirm;
For at least one service node that the specific transactions and user select sets up the first incidence relation;
Show the set of the node flowing mode;
Selection of the user to each pair of service node and node flowing mode is received to confirm;
For each pair of service node and node flowing mode of user selection set up the second incidence relation.
4. business construction method according to claim 3, it is characterised in that the industry for prestoring Business element includes node state;The user needs to configure node state machine for the specific transactions;Described For at least one service node that the specific transactions and user select is set up after the first incidence relation, Also include:
Show the set of the node state;
Selection of the user to each pair of service node and node state is received to confirm;The service node correspondence At least one node state;
For each pair of service node and node state of user selection set up the 3rd incidence relation.
5. business construction method according to claim 4, it is characterised in that the node state machine is adopted Realized with following manner:Working flow mode, regulation engine mode or pipeline stream mode.
6. business construction method according to claim 4, it is characterised in that the industry for prestoring Business element includes status switch;The user needs to be the specific transactions configuration status sequence;It is described Each pair of service node and node state of user's selection are set up after the 3rd incidence relation, are also included:
Show the set of the status switch;
Selection of the user to the status switch is received to confirm;
For the status switch that the specific transactions and the user select sets up the 4th incidence relation.
7. business construction method according to claim 3, it is characterised in that the industry for prestoring Business element includes processing method;The user needs to be the node flowing mode configuration processing method;Institute State for each pair of service node and node flowing mode of user selection are set up after the second incidence relation, also Including:
Show the set of the processing method;
Selection of the user to the processing method is received to confirm;
For the processing method that the node flowing mode and the user select sets up the 5th incidence relation.
8. business construction method according to claim 3, it is characterised in that the industry for prestoring Business element includes business;Before selection of the reception user at least one service node confirms, also wrap Include:
Show the set of the business;
Selection of the user to the specific transactions is received to confirm.
9. business construction method according to claim 1, it is characterised in that deposited in advance in the acquisition Before the business element of storage, also include:
The business element prestored described in building.
10. the business construction method according to claim any one of 1-9, it is characterised in that it is described in advance The business element of storage belongs to specific transactions field, and the specific transactions field includes logistics service field, institute Stating different specific transactions in specific transactions field includes identical business element.
A kind of 11. devices for building operation flow, it is characterised in that including:
Acquiring unit, for obtaining the business element for prestoring;The business element for prestoring includes Service node and node flowing mode;
Construction unit, it is for choosing the business element needed for performing specific transactions and specific according to the execution The relation between business element needed for business, for the business element chosen sets incidence relation;
Setting unit, for using the business element of the selection and the incidence relation for setting as the institute after structure State specific transactions.
12. business construction devices according to claim 11, it is characterised in that the selection performs spy Business element needed for determining business, and according to it is described execution specific transactions needed for business element between relation, For the business element chosen sets incidence relation, in the following way:
By way of graphic user interface, the business element needed for choosing the execution specific transactions, and root It is that the business element of the selection is set according to the relation between the business element needed for the execution specific transactions The incidence relation.
13. business construction devices according to claim 12, it is characterised in that the construction unit bag Include:
First display subelement, the set for showing the service node;
First receiving subelement, confirms for receiving selection of the user at least one service node;
First incidence relation sets up subelement, at least one described in the specific transactions and user's selection Individual service node sets up the first incidence relation;
Second display subelement, the set for showing the node flowing mode;
Second receiving subelement, for receiving choosing of the user to each pair of service node and node flowing mode Select confirmation;
Second incidence relation sets up subelement, for each pair of service node and node stream that are selected for the user The mode of turning sets up the second incidence relation.
14. business construction devices according to claim 13, it is characterised in that described to prestore Business element includes node state;The user needs to configure node state machine for the specific transactions;It is described Construction unit also includes:
3rd display subelement, the set for showing the node state;
3rd receiving subelement, it is true for receiving selection of the user to each pair of service node and node state Recognize;At least one node state of the service node correspondence;
3rd incidence relation sets up subelement, for each pair of service node and node shape that are selected for the user State sets up the 3rd incidence relation.
15. business construction devices according to claim 14, it is characterised in that described to prestore Business element includes status switch;The user needs to be the specific transactions configuration status sequence;The structure Building unit also includes:
4th display subelement, the set for showing the status switch;
4th receiving subelement, confirms for receiving selection of the user to the status switch;
4th incidence relation sets up subelement, for the state sequence selected for the specific transactions and the user Row set up the 4th incidence relation.
16. business construction devices according to claim 13, it is characterised in that described to prestore Business element includes processing method;The user needs to be the node flowing mode configuration processing method;Institute Stating construction unit also includes:
5th display subelement, the set for showing the processing method;
5th receiving subelement, confirms for receiving selection of the user to the processing method;
5th incidence relation sets up subelement, for the place selected for the node flowing mode and the user Reason method sets up the 5th incidence relation.
17. business construction devices according to claim 13, it is characterised in that described to prestore Business element includes business;The construction unit also includes:
6th display subelement, the set for showing the business;
6th receiving subelement, confirms for receiving selection of the user to the specific transactions.
18. business construction devices according to claim 11, it is characterised in that also include:
Construction unit, for building the business element for prestoring.
19. a kind of electronic equipment, it is characterised in that including:
Display;
Processor;And
Memory, the memory is configured to store business construction device, and the business construction device is by institute When stating computing device, comprise the following steps:The business element that acquisition is prestored;It is described to prestore Business element includes service node and node flowing mode;The business element needed for performing specific transactions is chosen, And the relation between the business element according to needed for the execution specific transactions, for the business element chosen is set Incidence relation;Using the business element of the selection and the incidence relation for setting as the described specific industry after structure Business.
A kind of 20. Business Process Control methods, it is characterised in that including:
Receive the Status Change instruction of correspondence special object;The Status Change instruction includes NextState;
Obtain the current state of the special object;And according to the specific transactions of the special object application, Obtain the status switch of the special object;The specific transactions be based on business element and its between association close System builds;
According to the current state, NextState and the node state machine based on the status switch, institute is changed State the state of special object.
21. Business Process Control methods according to claim 20, it is characterised in that described according to institute Current state, NextState and the node state machine based on the status switch are stated, the special object is changed State, including:
According to the current state and the NextState, by the node shape based on the status switch Whether state machine, judging the state of the special object can be changed to the NextState;
It is the NextState by the Status Change of the special object if above-mentioned judged result is yes.
22. Business Process Control methods according to claim 20, it is characterised in that in the basis The current state, NextState and the node state machine based on the status switch, it is described specific right to change After the state of elephant, also include:
According to the specific transactions and the corresponding relation of the business, service node and the node state that prestore, Service node corresponding with the NextState is obtained, as current node;
According to the business, service node and the corresponding relation of node flowing mode that prestore, obtain with it is described The corresponding node flowing mode of current node, as current node flowing mode;
According to the corresponding relation of the business, node flowing mode and processing method for prestoring, obtain with it is described The corresponding processing method of current node flowing mode, as currently processed method;
Perform the currently processed method.
23. Business Process Control methods according to claim 20, it is characterised in that the node shape State machine is realized in the following way:Working flow mode, regulation engine mode or pipeline stream mode.
24. Business Process Control methods according to claim 20, it is characterised in that the specific industry Business includes specific logistics service, and the special object includes logistics order.
A kind of 25. Business Process Control devices, it is characterised in that including:
Receiving unit, the Status Change instruction for receiving correspondence special object;The Status Change instruction bag Include NextState;
Acquiring unit, the current state for obtaining the special object;And should according to the special object Specific transactions, obtain the status switch of the special object;The specific transactions be based on business element and Incidence relation between it builds;
Changing unit, for according to the current state, NextState and the node based on the status switch State machine, changes the state of the special object.
26. Business Process Control devices according to claim 25, it is characterised in that the Request for Change Unit includes:
Judgment sub-unit, for according to the current state and the NextState, by described based on described Whether the node state machine of status switch, judging the state of the special object can be changed to next shape State;
Change subelement, if being yes for above-mentioned judged result, the Status Change by the special object is The NextState.
27. Business Process Control devices according to claim 25, it is characterised in that also include:
Node unit is obtained, for according to the specific transactions and the business, service node and the knot that prestore The corresponding relation of dotted state, obtains service node corresponding with the NextState, as current node;
Node flowing mode unit is obtained, for according to business, service node and the node circulation for prestoring The corresponding relation of mode, obtains node flowing mode corresponding with the current node, as current node stream Turn mode;
Processing method unit is obtained, for according to business, node flowing mode and the processing method for prestoring Corresponding relation, corresponding with current node flowing mode processing method is obtained, as currently processed side Method;
Processing method unit is performed, for performing the currently processed method.
28. a kind of electronic equipment, it is characterised in that including:
Display;
Processor;And
Memory, the memory is used for storage service flow control device, the Business Process Control device During by the computing device, comprise the following steps:Receive the Status Change instruction of correspondence special object;Institute Stating Status Change instruction includes NextState;Obtain the current state of the special object;And according to described The specific transactions of special object application, obtain the status switch of the special object;The specific transactions are based on Business element and its between incidence relation build;According to the current state, NextState and based on described The node state machine of status switch, changes the state of the special object.
A kind of 29. business management systems, it is characterised in that including:According to the claims 11 Business construction device;And the Business Process Control device according to the claims 25.
CN201510931795.2A 2015-12-15 2015-12-15 A kind of business construction method, device and electronic equipment Pending CN106886864A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510931795.2A CN106886864A (en) 2015-12-15 2015-12-15 A kind of business construction method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510931795.2A CN106886864A (en) 2015-12-15 2015-12-15 A kind of business construction method, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN106886864A true CN106886864A (en) 2017-06-23

Family

ID=59175028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510931795.2A Pending CN106886864A (en) 2015-12-15 2015-12-15 A kind of business construction method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106886864A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108230089A (en) * 2017-12-06 2018-06-29 链家网(北京)科技有限公司 A kind of online order processing method, system and device
CN108876205A (en) * 2018-07-26 2018-11-23 中国光大银行股份有限公司 The implementation method of the construction method and device of business datum, business
CN110765099A (en) * 2019-09-06 2020-02-07 阿里巴巴集团控股有限公司 Business construction method and device and computer equipment
CN111177797A (en) * 2018-09-30 2020-05-19 阿里巴巴集团控股有限公司 Data processing method and device based on block chain and electronic equipment
CN113313476A (en) * 2021-07-28 2021-08-27 深圳市永达电子信息股份有限公司 Service information processing method, system, electronic device and storage medium
CN113687946A (en) * 2021-08-19 2021-11-23 海尔数字科技(青岛)有限公司 Task management method, device, server and storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108230089A (en) * 2017-12-06 2018-06-29 链家网(北京)科技有限公司 A kind of online order processing method, system and device
CN108876205A (en) * 2018-07-26 2018-11-23 中国光大银行股份有限公司 The implementation method of the construction method and device of business datum, business
CN111177797A (en) * 2018-09-30 2020-05-19 阿里巴巴集团控股有限公司 Data processing method and device based on block chain and electronic equipment
CN111177800A (en) * 2018-09-30 2020-05-19 阿里巴巴集团控股有限公司 Data processing method and device based on block chain and electronic equipment
CN111177800B (en) * 2018-09-30 2023-06-30 创新先进技术有限公司 Block chain-based data processing method and device and electronic equipment
CN111177797B (en) * 2018-09-30 2023-06-30 创新先进技术有限公司 Block chain-based data processing method and device and electronic equipment
CN110765099A (en) * 2019-09-06 2020-02-07 阿里巴巴集团控股有限公司 Business construction method and device and computer equipment
CN110765099B (en) * 2019-09-06 2024-01-30 创新先进技术有限公司 Service construction method and device and computer equipment
CN113313476A (en) * 2021-07-28 2021-08-27 深圳市永达电子信息股份有限公司 Service information processing method, system, electronic device and storage medium
CN113687946A (en) * 2021-08-19 2021-11-23 海尔数字科技(青岛)有限公司 Task management method, device, server and storage medium

Similar Documents

Publication Publication Date Title
CN106886864A (en) A kind of business construction method, device and electronic equipment
CN110471984B (en) Service processing method and device based on block chain and electronic equipment
CN107770154B (en) Block chain reliable data storage method, terminal and system based on cloud storage
CN108416577A (en) A kind of block chain service system
Danylevych et al. Service Networks Modelling: An SOA & BPM Standpoint.
CN105447028B (en) The method and device of identification feature account
CN107864193A (en) Method for processing business, device, system and service equipment
CN106445951A (en) File transmission method and apparatus
KR20100098441A (en) Validation framework for service oriented architecture(soa) application adoption
CN109669709A (en) A kind of data migration method and data mover system of the upgrading of block chain
CN106296243A (en) Service implementation method and device
CN106657192A (en) Method used for presenting service calling information and equipment thereof
CN109284990A (en) A kind of amount balance system and method
CN107124473A (en) The construction method and cloud platform of cloud platform
CN109710613A (en) Management method, device, server and the storage medium of field
CN107809332A (en) Compound interface configures and compound interface call method, device
CN108520077A (en) A kind of method and apparatus avoiding repeated downloads
CN109242460A (en) A kind of payment system and its account checking method based on multiple channel of disbursement
CN110020865A (en) Transaction identification method and device
CN110009365A (en) User group's detection method, device and the equipment of improper transfer electronic asset
CN110166304A (en) A kind of method of combination, device, electronic equipment and the storage medium of cross-domain SFC
US8103535B2 (en) Evaluation of fitness for a contractual agreement related to provisioning information technology services
CN109995787A (en) A kind of data processing method and relevant device
CN106384292A (en) System and method for collecting relation among social network users
CN109272326A (en) A kind of real-time processing method, device, regulation engine and the storage medium of rule

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20180419

Address after: Four story 847 mailbox of the capital mansion of Cayman Islands, Cayman Islands, Cayman

Applicant after: CAINIAO SMART LOGISTICS HOLDING Ltd.

Address before: Cayman Islands Grand Cayman capital building a four storey No. 847 mailbox

Applicant before: ALIBABA GROUP HOLDING Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170623