CN110020765A - A kind of switching method and apparatus of operation flow - Google Patents

A kind of switching method and apparatus of operation flow Download PDF

Info

Publication number
CN110020765A
CN110020765A CN201811306272.9A CN201811306272A CN110020765A CN 110020765 A CN110020765 A CN 110020765A CN 201811306272 A CN201811306272 A CN 201811306272A CN 110020765 A CN110020765 A CN 110020765A
Authority
CN
China
Prior art keywords
stream
cut
dimension
business
cuts
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.)
Granted
Application number
CN201811306272.9A
Other languages
Chinese (zh)
Other versions
CN110020765B (en
Inventor
向宏令
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced Nova Technology Singapore Holdings 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 CN201811306272.9A priority Critical patent/CN110020765B/en
Publication of CN110020765A publication Critical patent/CN110020765A/en
Application granted granted Critical
Publication of CN110020765B publication Critical patent/CN110020765B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • 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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Educational Administration (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Stored Programmes (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This specification embodiment provides a kind of method and apparatus, wherein method includes: to receive to execute request to the business of target service, which carries: the business information of target service;Parse the operation flow for determining target service cuts stream instruction, and what is come into force cuts stream dimension;Described to cut stream instruction include: multiple markers, wherein each marker corresponding one is cut stream dimension, and the value of marker cuts whether stream dimension comes into force for indicating corresponding;Inquiry cuts stream and instructs corresponding mapping relations, which includes: that cut in stream instruction each cuts that stream dimension is corresponding to cut flow content, obtain it is corresponding come into force cut stream dimension cut flow content;If the business information of target service cuts flow content described in meeting, new business process is executed to the target service.

Description

A kind of switching method and apparatus of operation flow
Technical field
This disclosure relates to field of computer technology, in particular to a kind of switching method and apparatus of operation flow.
Background technique
The variation of business demand or the upgrading of whole business structure, can result in operation flow and change, need New business process is switched to by old operation flow, once new technological process do not meet business expection can quick switchback old process.It is existing The switching method of the old and new's operation flow may include: to issue switching command according to the switching condition that operation flow switches, should Switching command can describe the switching condition of at least one dimension, if for example, the switching condition can be service request be about The business of product 1 or product 2 then uses new business process.Transaction processing system will parse the switching command, and judge current Service request whether meet cut stream instruction limit switching condition, the switching of operation flow is executed if meeting switching condition. But when the switching condition of each dimension changes, need to rewrite switching command, and as switching condition is more next More complicated, the generation of switching command also becomes increasingly complex, and affects the treatment effeciency of operation flow switching.
Summary of the invention
In view of this, this specification one or more embodiment provides a kind of switching method and apparatus of operation flow, To improve the treatment effeciency of process switching.
Specifically, this specification one or more embodiment is achieved by the following technical solution:
In a first aspect, providing a kind of switching method of operation flow, which comprises
It receives and request is executed to the business of target service, the business executes request and carries: the business of the target service Information;
Parse the operation flow for determining the target service cuts stream instruction, and what is come into force cuts stream dimension;It is described Cutting stream instruction includes: multiple markers, wherein each marker corresponding one is cut stream dimension, and the value of the marker is used for It indicates corresponding and cuts whether stream dimension comes into force;
Cut stream described in inquiry and instruct corresponding mapping relations, the mapping relations include: it is described cut it is each in stream instruction Cutting stream, dimension is corresponding cuts flow content, corresponded to described in come into force cut flow dimension cut flow content;
If the business information of the target service cuts flow content described in meeting, new service flow is executed to the target service Journey.
Second aspect, provides a kind of switching device of operation flow, and described device includes:
Request receiving module executes request to the business of target service for receiving, and the business executes request and carries: institute State the business information of target service;
Command analysis module, the stream of cutting for parsing the operation flow for determining the target service are instructed, are given birth to Effect cuts stream dimension;Described to cut stream instruction include: multiple markers, wherein each marker corresponding one is cut stream dimension, and institute The value for stating marker cuts whether stream dimension comes into force for indicating corresponding;
Content determination module instructs corresponding mapping relations for inquiring the stream of cutting, and the mapping relations include: described Cut in stream instruction it is each cut stream dimension be corresponding cuts flow content, corresponded to described in come into force cut flow dimension cut flow content;
Process determining module, for the business information of the target service meet it is described cut flow content when, to the mesh Mark business executes new business process.
The third aspect, provides a kind of switching equipment of operation flow, and the equipment includes memory, processor, Yi Jicun The computer instruction that can be run on a memory and on a processor is stored up, the processor performs the steps of when executing instruction
It receives and request is executed to the business of target service, the business executes request and carries: the business of the target service Information;
Parse the operation flow for determining the target service cuts stream instruction, and what is come into force cuts stream dimension;It is described Cutting stream instruction includes: multiple markers, wherein each marker corresponding one is cut stream dimension, and the value of the marker is used for It indicates corresponding and cuts whether stream dimension comes into force;
Cut stream described in inquiry and instruct corresponding mapping relations, the mapping relations include: it is described cut it is each in stream instruction Cutting stream, dimension is corresponding cuts flow content, corresponded to described in come into force cut flow dimension cut flow content;
If the business information of the target service cuts flow content described in meeting, new service flow is executed to the target service Journey.
The switching method and apparatus of the operation flow of this specification one or more embodiment, by the way that matching for stream instruction will be cut The configuration for setting and cutting flow content separates, and not only makes the modification for cutting stream instruction more efficient and convenient, improves process switching Treatment effeciency has more versatility but also this configuration mode for cutting stream instruction can be adapted for several scenes.
Detailed description of the invention
In order to illustrate more clearly of this specification one or more embodiment or technical solution in the prior art, below will A brief introduction will be made to the drawings that need to be used in the embodiment or the description of the prior art, it should be apparent that, it is described below Attached drawing is only some embodiments recorded in this specification one or more embodiment, and those of ordinary skill in the art are come It says, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 cuts the schematic diagram in stream dimension library for one that this specification one or more embodiment provides;
Fig. 2 is a kind of switching method for operation flow that this specification one or more embodiment provides;
Fig. 3 is the schematic diagram for the funnel identification bit sequence that this specification one or more embodiment provides;
Fig. 4 is the schematic diagram of the switching method for the operation flow that this specification one or more embodiment provides;
Fig. 5 is a kind of schematic diagram for service flow process switching method that this specification one or more embodiment provides;
Fig. 6 is a kind of switching device for operation flow that this specification one or more embodiment provides.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification one or more embodiment, Below in conjunction with the attached drawing in this specification one or more embodiment, to the technology in this specification one or more embodiment Scheme is clearly and completely described, it is clear that and described embodiment is only this specification a part of the embodiment, rather than Whole embodiments.Based on this specification one or more embodiment, those of ordinary skill in the art are not making creativeness The range of disclosure protection all should belong in every other embodiment obtained under the premise of labour.
The switching method for the operation flow that at least one embodiment of this specification provides, is determined for for an industry Business executes request, is the business to be executed using old operation flow, or execute the business using new business process.Also, the party Method will be cut stream instruction and be separated with the definition for cutting flow content, as follows:
For example, it is assumed that define a condition: if certain business executes request, for business be under product P1 Trade company b1 is related, then uses new business process to this business;Otherwise, business is executed using old operation flow.In the condition, " product ", " trade company " are referred to as a switching dimension.
Shown in Figure 1, Fig. 1 illustrates one and cuts stream dimension library, can this cut be pre-configured in stream dimension library it is each It is a to cut stream dimension is corresponding cuts flow content, as the following table 1 illustrates part mapping relationship:
Table 1 cuts the mapping relations in stream dimension library
Marker 1 (cuts stream dimension 1) Product 1
Marker 2 (cuts stream dimension 2) Trade company 1
Marker n (cuts stream dimension n) ***
It should be noted that one group of mapping relations of above-mentioned table 1 correspond to a type when configuring in cutting stream dimension library Type cuts stream instruction.For example, the corresponding format for cutting stream instruction of table 1 is as follows:
Table 2 cuts stream instruction
Marker 1 Marker 2 Marker 3 ……. Marker n
Cutting stream instruction may include multiple markers, for example, marker 1, marker 2 etc..Wherein, each marker is corresponding One is cut stream dimension, for example, the corresponding stream dimension 1 of cutting of marker 1 can be " product ", marker 2 is corresponding cut stream dimension 2 can To be " trade company ".And " product 1 ", " trade company 1 " in table 1 then for it is corresponding some cut stream dimension cut flow content.In addition, marker Value can be used to indicate that this cut stream dimension whether come into force, for example, value 1 expression come into force, value 0 expression do not come into force.
Still for above-mentioned, in order to realize process switching under the above conditions: if certain business executes request, needle Pair business be it is related with the trade company b1 under product P1, then to this business use new business process.It can carry out following tripartite Face setting:
A, the format of stream instruction is cut in definition: cutting the corresponding stream dimension of cutting of the marker 1 in stream instruction is " product ", marker 2 corresponding stream dimensions of cutting are " trade companies ".
B, it is configured in table 1 and each cut stream dimension is corresponding cuts flow content: setting the corresponding flow content of cutting of marker 1 to The corresponding flow content of cutting of marker 2 is set " trade company 1 " by " product 1 ".
C, the value of each marker of stream instruction is cut in setting: being set 1 for the value of marker 1, is indicated the marker 1 Corresponding stream dimension of cutting comes into force, and this is cut corresponding cut flow content " product 1 " of stream dimension as condition.Similarly, setting mark The value of position 2 is also 1.
As above, the mapping relations cut in stream dimension library can be and be pre-configured with, and after configuration is good, each dimension is corresponding Cutting flow content can be constant, as long as the value of the marker to come into force is set as effective by the setting for cutting stream instruction.For example, when single When dimension controls, it is effective that marker 1 can be set;Alternatively, marker 1 and mark can be set when various dimensions are combined and controlled It comes into force simultaneously position 2.
In addition, the mapping relations cut in stream dimension library can also change, for example, can change, marker is corresponding to cut stream dimension Degree, for example, the stream dimension of cutting of marker 1 is changed to " business department ";It cuts stream alternatively, can also change dimension is corresponding cuts stream Content, for example, marker 1 corresponding " product 1 " is changed to " product 2 ".
This stream that will cut instructs and cuts the mode that flow content is provided separately, on the one hand, so that cutting the change setting of stream instruction It is more convenient, for example, when to change it is different cut stream dimension and whether come into force when, as long as changing the marker cut in stream instruction Value;For another example, it cuts stream dimension or when cutting flow content, as long as configuration mapping relations, cuts stream instruction when changing Still use the form of simple a string of markers.On the other hand, which can provide the general stream instruction of cutting of one kind and configure Mode, the business under different scenes, which cuts stream, can use the deployment way of this separate type.
Fig. 2 is the switching method for the operation flow that at least one embodiment of this specification provides, and this method can describe Above-mentioned cuts how to cut stream under stream instruction configuration mode, as shown in Fig. 2, this method may include handling as follows, does not limit each Sequence is executed between step:
In step 200, it receives business and executes request.The request is used to request performance objective business, also, in the request It can carry: the business information of target service.The business information, for example, may include: product that the business is directed to or Trade company, for example, target service is the business for product 1 or trade company 2.
In step 202, stream instruction is cut in parsing, and what is come into force cuts stream dimension.
Wherein, cutting stream instruction may include multiple markers, and each marker corresponding one is cut stream dimension, and the mark The value of position cuts whether stream dimension comes into force for indicating this.In this step, each marker cut in stream instruction, root can be traversed Determine which is cut stream dimension and comes into force according to the value of marker.For example, " product ", " trade company " the two cut stream dimension come into force.
In step 204, stream is cut described in inquiry and instructs corresponding mapping relations, and the mapping relations include: described to cut stream Each in instruction, which cuts stream dimension is corresponding, cuts flow content, corresponded to described in come into force cut flow dimension cut flow content.
It in this step, cuts stream and instructs corresponding mapping relations can be as shown in table 1, which includes cutting stream instruction In it is each cut stream dimension be corresponding cuts flow content, for example, cutting the corresponding flow content of cutting of stream dimension " product " is " product 1 ", cut Flowing dimension " trade company " corresponding flow content of cutting is " trade company 1 ".
In step 206, it requests to meet to cut flow content if current business executes, executes new business process.
In this step, if the business information of target service, which meets, is cut flow content, new industry can be executed to target service Business process.For example, that indicates that target if the target service that request executes is the business of product 1 and the business of trade company 1 The business information of business, which meets, cuts flow content, or alternatively business execution requests to meet to cut flow content, can be according to new industry Business process executes the business;Otherwise, business can be executed according to old operation flow.
The switching method of the operation flow of this example, by separating the configuration for cutting stream instruction and the configuration for cutting flow content It opens, not only makes the modification for cutting stream instruction more efficient and convenient, the treatment effeciency of process switching is improved, but also this cut stream The configuration mode of instruction can be adapted for several scenes, have more versatility.
In this specification one or more embodiment, the above-mentioned each marker cut in stream instruction, can also include: leakage Struggle against identification bit sequence, and the corresponding stream dimensional extent of cutting of each marker in the funnel identification bit sequence successively reduces.Wherein, institute The characteristics of " the funnel identification bit sequence " stated is a kind of description of visualization, this identification bit sequence is as follows:
It is shown in Figure 3, it is assumed that marker 1 to marker n is a funnel identification bit sequence, the mark in the sequence The corresponding stream dimensional extent of cutting in position successively reduces.Illustratively, it can be and from left to right successively reduce the scope, for example, marker 1 Correspond to it is maximum cut stream dimensional extent, marker 2 cuts that stream dimensional extent is slightly smaller, marker 3 to cut stream dimensional extent small again It is some, until marker n successively becomes smaller.
Wherein, it is described cut stream dimensional extent and successively reduce may is that for example, one kind is exemplary gradually smaller to cut stream dimension Range is product line > product type > trade company, and can be includes multiple product types, a product type in a product line It may include multiple trade companies under number, i.e., the type product is all sold by multiple trade companies.
Stream instruction is cut using above-mentioned funnel identification bit sequence, can be adapted for following cutting flow field scape: if a certain Business meet it is certain cut stream condition, then execute the business using new business process;Otherwise, if the business be unsatisfactory for it is described Stream condition is cut, executes the business using old operation flow.Wherein, the described stream condition of cutting is according to funnel shaped in setting The mode that range successively reduces is set, for example, when singly cutting stream dimension control, as long as can be the business for meeting product 1, all Use new business process.In another example can be when cutting stream dimension control more and not only meet product 1 but also meet trade company 1, it is full simultaneously The two conditions of foot just use new business process.
Fig. 4 is the flow chart of the switching method for the operation flow that at least one embodiment of this specification provides, which can Suitable for cutting stream using the stream instruction of cutting of funnel identification bit sequence to control.May include:
In step 400, it receives business and executes request.
In step 402, stream instruction is cut in parsing, obtains a marker in funnel identification bit sequence.
For example, can be originated by the corresponding marker of stream dimensional extent of cutting maximum in funnel identification bit sequence, successively time Go through each marker.Such as in the example in figure 3, the value for cutting leftmost marker 1 in stream instruction can be obtained first.
In step 404, judge that marker is corresponding and cut whether stream dimension comes into force.
If come into force, step 406 is continued to execute.
If Pending The Entry Into Force, confirm that traversal terminates, directly execution step 412.For example, the head of funnel identification bit sequence Bit identification position default comes into force.
In a step 406, inquiry cuts stream and instructs corresponding mapping relations, obtain come into force cut stream dimension be corresponding and cut in stream Hold.For example, can be with inquiry table 1, obtaining the corresponding flow content of cutting of product dimension is " product 1 ", and trade company's dimension is corresponding to cut in stream Appearance is " trade company 1 ".
In a step 408, judge current business execution request cuts flow content described in whether meeting.
If meeting, and each marker is not traversed also, has then returned and continue to execute step 402, has obtained adjacent next It is a to cut the stream lesser marker of dimensional extent.If meeting and having stepped through each marker terminates, step 412 is continued to execute.
If not meeting, 410 are thened follow the steps.
In step 412, business is executed using old operation flow.
In the process of above-mentioned Fig. 4, the form for cutting stream instruction used can be digit strings, and each marker is not using Whether the same corresponding switching dimension of digital representation comes into force.For example, cutting stream instruction can be 111111, wherein digital " 1 " indicates This is cut stream dimension and comes into force, and digital " 0 " expression cuts stream dimension and do not come into force.
In addition, cutting stream instruction can also be such as 111000.When using process shown in Fig. 4 parse this cut stream instruction when, If traverse the 4th marker, the value of the 4th marker is " 0 ", indicates corresponding and cuts stream dimension Pending The Entry Into Force, this When can be confirmed that traversal terminates.Meanwhile the corresponding stream dimension of cutting of three markers " 111 " of front is all effective, and corresponding Flow content of cutting meet current business and execute request, business can be executed according to new business process.
In the switching method for the operation flow that at least one embodiment of this specification provides, each mark in stream instruction is cut Position may not be funnel identification bit sequence.For example, the corresponding stream dimension of cutting of each marker cut in stream instruction can be simultaneously Column relationship, parsing cut stream instruction when, all markers can be traversed, according to the value of marker acquisition wherein come into force to Few one is cut stream dimension, obtains cutting stream further according to mapping relations dimension is corresponding and cut flow content.If business, which executes request, meets institute Some cuts flow content, then uses the business of new business flow execution request;Otherwise, flow content is cut if not meeting, uses old business Process.
In other examples, different business can also cut stream instruction using different-format, for example, for business S1, the stream of cutting for configuring a kind of format instruct, and for business S2, configure another format cuts stream instruction.Following 3 example of table, It may include three markers that business S1 was used, which cuts stream instruction, corresponds to three and cuts stream dimension;And the stream of cutting of business S2 instructs It may include four markers, corresponding four are cut stream dimension.Also, every kind of configuration can be defined by cutting in stream dimension library cuts stream instruction In each stream dimension of cutting cut flow content.
Table 3 cuts stream dimension library and corresponding stream of cutting instructs
Fig. 5 is the service flow process switching method that at least one embodiment of this specification provides, and this method is with more shown in table 3 Seed type cut stream instruction for.May include:
In step 500, receive preset value cut stream instruction and the stream of cutting instructs corresponding service identification.
For example, it is assumed that being the switching for being responsible for executing operation flow by the switching equipment of operation flow, which be can receive Business executes request, and the switching method that can execute this specification embodiment is determined using new business process or old Business Stream The corresponding business of Cheng Zhihang.
It can be pre-configured in the switching equipment and cut stream instruction, instruct corresponding business and it is possible to configure this and cut stream Mark.When switching equipment receive the service identification business execute request when, obtain it is corresponding cut stream instruction judge whether New business process is executed to the business.
There is corresponding relationship in addition it is also possible to be arranged and cut stream instruction and the other information except service identification.
In step 502, it receives business and executes request, the business executes the business mark for carrying target service in request Know.For example, business, which executes in request, can carry service identification.The available service identification such as S1 of this step.
In step 504, according to service identification, obtain the corresponding mark cuts stream instruction.
It is instructed for example, can store a plurality of stream of cutting in the switching equipment of operation flow, different instructions can correspond to not Same service identification, for executing the selection for carrying out the old and new's operation flow when request in the business for receiving different business.This In step, switching equipment can obtain corresponding stream of cutting according to the service identification got in step 502 and instruct.
In step 506, it parses this and cuts stream instruction, cut stream dimension according to what the acquisition of the value of marker came into force.
For example, each marker cut in stream instruction can be traversed, what is come into force cuts stream dimension.
In step 508, it is executed according to business and requests corresponding service identification, stream dimension library is cut in inquiry, obtains the business Identify corresponding mapping relations.
It also can store multiple groups mapping relations likewise, cutting in stream dimension library, for example, such as the example of table 3, one group of mapping Relationship corresponds to service identification S1, and another group of mapping relations correspond to service identification S2.Different mapping relations can correspond to not apposition Formula cuts stream instruction, and cutting the mark bit quantity of stream instruction or cut the corresponding flow content of cutting of stream dimension can be different.This step In the corresponding mapping relations of available service identification S1.
In step 510, by the stream of cutting that is come into force in the mapping relations, dimension is corresponding cuts flow content.
For example, may include: the contents such as product 1+ trade company 1 according to the available flow content of cutting of mapping relations.
In step 512, it requests to meet to cut flow content if current business executes, executes new business process.
For example, it is that can then execute new service flow for the request of the trade company 1 under product 1 that current business, which executes request, Journey;Otherwise, using old operation flow.
The switching method of the operation flow of this example is instructed, Ke Yifang by the way that different stream of cutting is arranged for different business Just it carries out cutting the management of stream condition, also, is separated by that will cut stream instruction and cut flow content, and formed using marker value Stream instruction is cut, so that the generation for cutting stream instruction is simpler, the modification for cutting stream instruction is also more convenient.
Fig. 6 is the structural schematic diagram of the switching device for the operation flow that at least one embodiment of this specification provides, such as Fig. 6 It is shown, the apparatus may include: request receiving module 61, command analysis module 62, content determination module 63 and process determine mould Block 64.
Request receiving module 61 executes request to the business of target service for receiving, and the business executes request and carries: The business information of the target service;
Command analysis module 62, the stream of cutting for parsing the operation flow for determining the target service are instructed, are obtained What is come into force cuts stream dimension;It is described that cut stream instruction include: multiple markers, wherein each marker corresponding one is cut stream dimension, and The value of the marker cuts whether stream dimension comes into force for indicating corresponding;
Content determination module 63 instructs corresponding mapping relations for inquiring the stream of cutting, and the mapping relations include: institute Cut in stream instruction each is stated to cut stream dimension is corresponding cuts flow content, corresponded to described in come into force cut and flow the cutting in stream of dimension Hold;
Process determining module 64, for the business information of the target service meet it is described cut flow content when, to target Business executes new business process.
In one example, content determination module 63 are specifically used for: cutting stream dimension by maximum in funnel identification bit sequence Range corresponding marker starting, if the corresponding stream dimension of cutting of the marker comes into force, and what is come into force cuts stream dimension is corresponding and cut Flow content executes request with current business and meets, then continues to judge adjacent next marker;It is described to cut in stream instruction Multiple markers, comprising: funnel identification bit sequence, each marker in the funnel identification bit sequence is corresponding to cut stream dimension Range successively reduces.
The process determining module 64, is specifically used for: if the stream dimension of cutting to come into force in the funnel identification bit sequence corresponds to Cut flow content and current business execute request and meet, request is executed to business and executes new business process.
In one example, it is described cut stream instruction be digit strings, each marker using different digital representations this Switching dimension comes into force or Pending The Entry Into Force.
In one example, command analysis module 62 are also used to: according to the corresponding service identification of the target service, being obtained Take the corresponding mapping relations of the service identification.
The device or module that above-described embodiment illustrates can specifically realize by computer chip or entity, or by having The product of certain function is realized.A kind of typically to realize that equipment is computer, the concrete form of computer can be personal meter Calculation machine, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media player, navigation are set It is any several in standby, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment The combination of equipment.
For convenience of description, it is divided into various modules when description apparatus above with function to describe respectively.Certainly, implementing this The function of each module can be realized in the same or multiple software and or hardware when specification one or more embodiment.
Each step in above-mentioned process as shown in the figure, execution sequence are not limited to the sequence in flow chart.In addition, each The description of a step can be implemented as software, hardware or its form combined, for example, those skilled in the art can be by it It is embodied as the form of software code, can is the computer executable instructions that can be realized the corresponding logic function of the step. When it is realized in the form of software, the executable instruction be can store in memory, and by the processor in equipment It executes.
For example, corresponding to the above method, this specification one or more embodiment provides a kind of cutting for operation flow simultaneously Exchange device, the equipment may include processor, memory and storage on a memory and the calculating that can run on a processor Machine instruction, the processor is by executing described instruction for realizing following steps:
It receives and request is executed to the business of target service, the business executes request and carries: the business of the target service Information;
Parse the operation flow for determining the target service cuts stream instruction, and what is come into force cuts stream dimension;It is described Cutting stream instruction includes: multiple markers, wherein each marker corresponding one is cut stream dimension, and the value of the marker is used for It indicates corresponding and cuts whether stream dimension comes into force;
Cut stream described in inquiry and instruct corresponding mapping relations, the mapping relations include: it is described cut it is each in stream instruction Cutting stream, dimension is corresponding cuts flow content, corresponded to described in come into force cut flow dimension cut flow content;
If the business information of the target service cuts flow content described in meeting, new service flow is executed to the target service Journey.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, trade company or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, trade company or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, trade company or equipment.
It will be understood by those skilled in the art that this specification one or more embodiment can provide as method, system or calculating Machine program product.Therefore, this specification one or more embodiment can be used complete hardware embodiment, complete software embodiment or The form of embodiment combining software and hardware aspects.Moreover, this specification one or more embodiment can be used at one or It is multiple wherein include computer usable program code computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) on the form of computer program product implemented.
This specification one or more embodiment can computer executable instructions it is general on It hereinafter describes, such as program module.Generally, program module includes executing particular task or realization particular abstract data type Routine, programs, objects, component, data structure etc..Can also practice in a distributed computing environment this specification one or Multiple embodiments, in these distributed computing environments, by being executed by the connected remote processing devices of communication network Task.In a distributed computing environment, the local and remote computer that program module can be located at including storage equipment is deposited In storage media.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.At data For managing apparatus embodiments, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to side The part of method embodiment illustrates.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can With or may be advantageous.
The foregoing is merely the preferred embodiments of this specification one or more embodiment, not to limit this theory Bright book one or more embodiment, all within the spirit and principle of this specification one or more embodiment, that is done is any Modification, equivalent replacement, improvement etc. should be included within the scope of the protection of this specification one or more embodiment.

Claims (10)

1. a kind of switching method of operation flow, which comprises
It receives and request is executed to the business of target service, the business executes request and carries: the business information of the target service;
Parse the operation flow for determining the target service cuts stream instruction, and what is come into force cuts stream dimension;It is described to cut stream Instruction includes: multiple markers, wherein each marker corresponding one is cut stream dimension, and the value of the marker is for indicating It is corresponding to cut whether stream dimension comes into force;
Cut stream described in inquiry and instruct corresponding mapping relations, the mapping relations include: it is described cut in stream instruction each cut stream Dimension is corresponding cuts flow content, corresponded to described in the stream dimension of cutting that comes into force cut flow content;
If the business information of the target service cuts flow content described in meeting, new business process is executed to the target service.
2. according to the method described in claim 1,
The multiple markers cut in stream instruction, comprising: funnel identification bit sequence, it is each in the funnel identification bit sequence The corresponding stream dimensional extent of cutting of marker successively reduces;
Operation flow of the parsing for determining the target service cuts stream instruction, and what is come into force cuts stream dimension, inquiry Cut stream dimension library, correspond to described in the stream dimension of cutting that comes into force cut flow content, if described in current business executes and requests to meet Flow content is cut, then executes new business process, comprising:
The corresponding marker starting of stream dimensional extent is cut by maximum in the funnel identification bit sequence, if the marker is corresponding Stream dimension of cutting come into force, and stream dimension is corresponding to cut flow content and current business executes and requests to meet for cutting of coming into force, then continues Judge adjacent next marker;If dimension is corresponding cuts flow content and work as the stream of cutting to come into force in the funnel identification bit sequence Preceding business executes request and meets, then executes request to the business and execute new business process;
The method also includes: it is tieed up if current business execution request does not meet the stream of cutting to come into force in the funnel identification bit sequence Spend it is corresponding cut flow content, then request is executed to the business and executes old operation flow.
3. according to the method described in claim 1, it is described cut stream instruction be digit strings, each marker use different numbers The switching dimension that word indicates comes into force or Pending The Entry Into Force.
4. according to the method described in claim 1,
Stream is cut described in the inquiry and instructs corresponding mapping relations, comprising: according to the corresponding service identification of the target service, is obtained Take the corresponding mapping relations of the service identification.
5. according to the method described in claim 1, the method is also before the business execution request received to target service Include:
It receives and preset cuts stream instruction and the stream of cutting instructs corresponding service identification;
Stream instruction is cut described in parsing, comprising: according to the corresponding service identification of the target service, obtain the corresponding service identification Cut stream instruction.
6. a kind of switching device of operation flow, described device include:
Request receiving module executes request to the business of target service for receiving, and the business executes request and carries: the mesh The business information of mark business;
Command analysis module, the stream of cutting for parsing the operation flow for determining the target service are instructed, are come into force Cut stream dimension;Described to cut stream instruction include: multiple markers, wherein each marker corresponding one is cut stream dimension, and the mark The value for knowing position cuts whether stream dimension comes into force for indicating corresponding;
Content determination module instructs corresponding mapping relations for inquiring the stream of cutting, and the mapping relations include: described to cut stream Each in instruction, which cuts stream dimension is corresponding, cuts flow content, corresponded to described in come into force cut flow dimension cut flow content;
Process determining module, for the business information of the target service meet it is described cut flow content when, to the target industry Business executes new business process.
7. device according to claim 6,
The content determination module, is specifically used for: cutting the corresponding mark of stream dimensional extent by maximum in funnel identification bit sequence Position starting, if the corresponding stream dimension of cutting of the marker comes into force, and what is come into force cuts the corresponding flow content and current of cutting of stream dimension Business executes request and meets, then continues to judge adjacent next marker;The multiple markers cut in stream instruction, packet Include: funnel identification bit sequence, the corresponding stream dimensional extent of cutting of each marker in the funnel identification bit sequence successively reduce;
The process determining module, is specifically used for: if dimension is corresponding cuts stream for the stream of cutting to come into force in the funnel identification bit sequence Content executes request with current business and meets, and executes request to business and executes new business process.
8. device according to claim 6, described to cut stream instruction be digit strings, and each marker uses different numbers The switching dimension that word indicates comes into force or Pending The Entry Into Force.
9. device according to claim 6,
Described instruction parsing module, is also used to: according to the corresponding service identification of the target service, obtaining the service identification pair The mapping relations answered.
10. a kind of switching equipment of operation flow, the equipment includes memory, processor, and is stored on a memory simultaneously The computer instruction that can be run on a processor, the processor perform the steps of when executing instruction
It receives and request is executed to the business of target service, the business executes request and carries: the business information of the target service;
Parse the operation flow for determining the target service cuts stream instruction, and what is come into force cuts stream dimension;It is described to cut stream Instruction includes: multiple markers, wherein each marker corresponding one is cut stream dimension, and the value of the marker is for indicating It is corresponding to cut whether stream dimension comes into force;
Cut stream described in inquiry and instruct corresponding mapping relations, the mapping relations include: it is described cut in stream instruction each cut stream Dimension is corresponding cuts flow content, corresponded to described in the stream dimension of cutting that comes into force cut flow content;
If the business information of the target service cuts flow content described in meeting, new business process is executed to the target service.
CN201811306272.9A 2018-11-05 2018-11-05 Service flow switching method and device Active CN110020765B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811306272.9A CN110020765B (en) 2018-11-05 2018-11-05 Service flow switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811306272.9A CN110020765B (en) 2018-11-05 2018-11-05 Service flow switching method and device

Publications (2)

Publication Number Publication Date
CN110020765A true CN110020765A (en) 2019-07-16
CN110020765B CN110020765B (en) 2023-06-30

Family

ID=67188516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811306272.9A Active CN110020765B (en) 2018-11-05 2018-11-05 Service flow switching method and device

Country Status (1)

Country Link
CN (1) CN110020765B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731803A (en) * 2004-08-04 2006-02-08 中兴通讯股份有限公司 Method for service switching in interactive voice answer system
US20070256050A1 (en) * 2006-04-28 2007-11-01 Kia Behnia Bi-Directional Communication Between Change Management Tool and Implementation Tools
CN101163057A (en) * 2007-11-20 2008-04-16 华为技术有限公司 Fault notifying method and apparatus, and service receiving method and apparatus
CN101299827A (en) * 2007-04-30 2008-11-05 中兴通讯股份有限公司 Indication message structure and transmission method thereof
CN101605318A (en) * 2008-06-13 2009-12-16 华为技术有限公司 A kind of method, Apparatus and system of realizing professional switching
JP2011045046A (en) * 2009-06-23 2011-03-03 Huawei Technologies Co Ltd Switching method and device
CN102591574A (en) * 2010-12-16 2012-07-18 微软公司 Real-time interaction with entertainment content
CN102982398A (en) * 2011-05-31 2013-03-20 德商赛克公司 Systems and/or methods for identifying service candidates based on service identification indicators and associated algorithms
CN103442399A (en) * 2013-08-26 2013-12-11 东莞宇龙通信科技有限公司 Network switching method, network switching system and terminal
US20160062797A1 (en) * 2014-08-26 2016-03-03 Freescale Semiconductor, Inc. System and method for dynamically managed task switch lookahead
CN105763595A (en) * 2015-12-23 2016-07-13 杭州赫智电子科技有限公司 Method of improving data processing efficiency and server
CN107656946A (en) * 2016-09-28 2018-02-02 平安科技(深圳)有限公司 Operation flow reorientation method and system
CN107924502A (en) * 2016-03-01 2018-04-17 华为技术有限公司 Multistage high-effect Business Process Management engine

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731803A (en) * 2004-08-04 2006-02-08 中兴通讯股份有限公司 Method for service switching in interactive voice answer system
US20070256050A1 (en) * 2006-04-28 2007-11-01 Kia Behnia Bi-Directional Communication Between Change Management Tool and Implementation Tools
CN101299827A (en) * 2007-04-30 2008-11-05 中兴通讯股份有限公司 Indication message structure and transmission method thereof
CN101163057A (en) * 2007-11-20 2008-04-16 华为技术有限公司 Fault notifying method and apparatus, and service receiving method and apparatus
CN101605318A (en) * 2008-06-13 2009-12-16 华为技术有限公司 A kind of method, Apparatus and system of realizing professional switching
JP2011045046A (en) * 2009-06-23 2011-03-03 Huawei Technologies Co Ltd Switching method and device
CN102591574A (en) * 2010-12-16 2012-07-18 微软公司 Real-time interaction with entertainment content
CN102982398A (en) * 2011-05-31 2013-03-20 德商赛克公司 Systems and/or methods for identifying service candidates based on service identification indicators and associated algorithms
CN103442399A (en) * 2013-08-26 2013-12-11 东莞宇龙通信科技有限公司 Network switching method, network switching system and terminal
US20160062797A1 (en) * 2014-08-26 2016-03-03 Freescale Semiconductor, Inc. System and method for dynamically managed task switch lookahead
CN105763595A (en) * 2015-12-23 2016-07-13 杭州赫智电子科技有限公司 Method of improving data processing efficiency and server
CN107924502A (en) * 2016-03-01 2018-04-17 华为技术有限公司 Multistage high-effect Business Process Management engine
CN107656946A (en) * 2016-09-28 2018-02-02 平安科技(深圳)有限公司 Operation flow reorientation method and system

Also Published As

Publication number Publication date
CN110020765B (en) 2023-06-30

Similar Documents

Publication Publication Date Title
CN108255958A (en) Data query method, apparatus and storage medium
CN104504003A (en) Graph data searching method and device
CN101448018A (en) Interprocess communication method and device thereof
CN106156070B (en) A kind of querying method, file mergences method and relevant apparatus
US11398981B2 (en) Path creation method and device for network on chip and electronic apparatus
CN105989076A (en) Data statistical method and device
CN105630847A (en) Data storage method as well as data query method, apparatus and system
CN104468401A (en) Message processing method and device
CN108399175B (en) Data storage and query method and device
CN107547391A (en) A kind of message transmitting method and device
CN110048961A (en) Duplicate message detection method and system based on ASIC
CN109298888B (en) Queue data access method and device
CN108418752B (en) A kind of creation method and device of aggregation group
CN105677252B (en) Read method, data processing method and the associated storage device of data
CN104038423A (en) Open flow flow table refreshing method and router device
CN105550220B (en) A kind of method and device of the access of heterogeneous system
CN110020333A (en) Data analysing method and device, electronic equipment, storage medium
CN109241504A (en) A kind of character string replacement method, device, computer equipment and computer readable storage medium
CN105426131A (en) KV (Key Value) storage implementation method and device
CN118034924A (en) Data processing method and device based on many-core system, electronic equipment and medium
CN105843859B (en) The method, apparatus and equipment of data processing
CN110020765A (en) A kind of switching method and apparatus of operation flow
EP3096248A1 (en) Data management system and data management method
CN103414756A (en) Task distributing method and distributing node and system
CN109413225A (en) A kind of MAC address entries processing method and equipment

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: 20201012

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

Effective date of registration: 20201012

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240206

Address after: Guohao Times City # 20-01, 128 Meizhi Road, Singapore

Patentee after: Advanced Nova Technology (Singapore) Holdings Ltd.

Country or region after: Singapore

Address before: Ky1-9008 Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands, ky1-9008

Patentee before: Innovative advanced technology Co.,Ltd.

Country or region before: Cayman Islands