WO2019144769A1 - Traffic switching method and apparatus, and computer device - Google Patents

Traffic switching method and apparatus, and computer device Download PDF

Info

Publication number
WO2019144769A1
WO2019144769A1 PCT/CN2018/125198 CN2018125198W WO2019144769A1 WO 2019144769 A1 WO2019144769 A1 WO 2019144769A1 CN 2018125198 W CN2018125198 W CN 2018125198W WO 2019144769 A1 WO2019144769 A1 WO 2019144769A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
flow
function control
cut
configuration parameter
Prior art date
Application number
PCT/CN2018/125198
Other languages
French (fr)
Chinese (zh)
Inventor
孙畅
Original Assignee
阿里巴巴集团控股有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2019144769A1 publication Critical patent/WO2019144769A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Definitions

  • the embodiments of the present disclosure relate to the field of computer application technologies, and in particular, to a method, an apparatus, and a computer device for switching traffic.
  • cut flow means that after deploying a new database, all traffic is gradually drained from the old database to the new database according to a preset policy.
  • the embodiment of the present specification provides a flow switching method, device, and computer device, and the technical solution is as follows:
  • a flow switching method comprising:
  • a flow switching device comprising:
  • a first output module configured to output, by using a preset function interface, at least one function control that is selectable by a user, wherein each of the function controls encapsulates a business process related to cutting flow;
  • a flow chart generating module configured to determine a function control selected by the user, and obtain a visual flow chart according to an execution sequence set by the user for the selected function control
  • An instruction generating module configured to generate, according to the visual stream cutting flowchart, a computer instruction for implementing a stream cutting process
  • An instruction execution module for executing the computer instructions.
  • a computer apparatus includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the program when the program is executed Any of the flow switching methods provided by the embodiments of the specification.
  • the technical solution provided by the embodiment of the present specification outputs at least one function control that can be selected by the user to the user through a preset function interface, wherein each function control encapsulates a business process related to the cut flow, and determines a function selected by the user. Controls, and according to the execution sequence set by the user for the selected function control, a visual flow chart is generated, according to which the computer instruction for implementing the flow cutting process can be generated, thereby implementing a simple operation by the user
  • the complete stream cutting process can be programmed to save user operations, improve cutting efficiency and enhance user experience.
  • any of the embodiments of the present specification does not need to achieve all of the above effects.
  • FIG. 1 is a flowchart of a flow switching method according to an exemplary embodiment of the present specification
  • FIG. 2 is a schematic diagram of a display interface of a flow cutting process scheduling system according to an exemplary embodiment of the present specification
  • FIG. 3 is a schematic diagram of a display interface of a flow cutting process scheduling system according to another exemplary embodiment of the present specification.
  • FIG. 4 is a schematic diagram of a display interface of a flow cutting process programming system according to another exemplary embodiment of the present specification
  • FIG. 5 is a flowchart of a flow switching method according to another exemplary embodiment of the present specification.
  • FIG. 6 is a schematic diagram of a configuration interface of a flow cutting process scheduling system according to an exemplary embodiment of the present disclosure
  • FIG. 7 is a schematic diagram of a configuration interface of a flow cutting process scheduling system according to another exemplary embodiment of the present specification.
  • FIG. 8 is a flowchart of a flow switching method according to still another exemplary embodiment of the present specification.
  • FIG. 9 is a block diagram of a flow switching device according to an exemplary embodiment of the present specification.
  • FIG. 10 is a schematic structural diagram of a more specific computing device hardware according to an embodiment of the present disclosure.
  • the embodiment of the present specification provides a flow switching method, in which a cutting flow scheduling system designed based on a “modular design concept” is provided, and the cutting flow programming system provides an interface operable by a user, and at least one Functional control, each functional control package has a business process related to cutting flow, so that the user can perform a simple operation through the cutting flow programming system, thereby eliminating the user's operation and improving the efficiency of cutting flow. To enhance the user experience.
  • the flow switching method will be described in detail in the following embodiments as follows.
  • FIG. 1 it is a flowchart of a flow switching method according to an exemplary embodiment of the present disclosure.
  • the method is applicable to the foregoing cut flow scheduling system, and includes the following steps:
  • Step 102 Display and output at least one function control that is selectable by the user through a preset function interface, wherein each function control encapsulates a business process related to the cut flow.
  • Step 104 Determine a function control selected by the user, and obtain a visual flow chart according to an execution sequence set by the user for the selected function control.
  • Step 106 Generate computer instructions for implementing a stream cutting process according to the visual stream cutting flowchart.
  • Step 108 Execute computer instructions for implementing a stream cutting process.
  • FIG. 2 is a schematic diagram of a display interface of a flow cutting process scheduling system according to an exemplary embodiment of the present disclosure.
  • the display interface 200 illustrated in FIG. 2 may include a function interface 210 and a process programming interface 220.
  • At least one function control can be displayed for the user to select, and each function control encapsulates a business process related to the cut flow, for example, the function control of “flow switching” as shown in FIG. 2, and the package is useful.
  • the functional control of "code deployment" shown in Figure 2 encapsulates a business process for deploying new code or a new database on a specified device, the result of the example shown in Figure 2. "Verify" this functional control, which encapsulates the business process for verifying the results of the cut.
  • function control shown in FIG. 2 is only an example. In an actual application, there may be a function control that is encapsulated with other service flows, which is not limited in this embodiment of the present specification.
  • the user can select a function control through the function interface 210 illustrated in FIG. 2, and set an execution order for the selected function control, so that the cut flow scheduling system can be based on the function control selected by the user. And the user enters a visual stream flow chart for the execution order of the selected function control settings, and displays the visual stream flow chart on the process orchestration interface 220 (as shown in FIG. 2).
  • the user can control the mouse pointer to point to the function control to be selected by using an external device, such as a mouse, and then press the left mouse button and move the mouse.
  • the selected function control sends a drag and drop instruction, that is, the cut flow process programming system can receive the user's drag and drop instruction for at least one function control, and based on the drag command, the function control selected by the user can move with the user The operation of the mouse moves on the process programming interface 220 until the user releases the left mouse button. At this time, the function control selected by the user displays the output on the process programming interface 220.
  • the user may sequentially select the function control according to the envisioned flow cutting process. For example, first select the function “Start” as shown in FIG. 2, and at this time, “Start” The function control will be displayed on the process orchestration interface 220, and the stream flow scheduling system can automatically add a "wire” function control after the "start” function control. At this time, the user continues to select the "flow switching" function. Control, at this time, the "flow switching" function control will be displayed after the recently added “wiring” function control, according to the above description, the cut flow scheduling system continues to automatically add after the "flow switching" function control A "wire” function control until the user selects the "end” function control.
  • the cut flow scheduling system can automatically add the "wire” function control, and the user can also "draw” the connection according to actual needs, such as the "result check” shown in Figure 2.
  • the function control points to the connection of the function control "Start", so that the flow chart of the visualization shown in Fig. 2 can be obtained through the chipping process programming system and the user operation.
  • the cutting flow scheduling system may generate a computer instruction for implementing the cutting flow process according to the visual cutting flow flowchart, and the computer instruction is essentially executable code. Then, the cut flow scheduling system can execute the computer instruction, that is, implement the cut flow process.
  • the display interface of the cut flow scheduling system illustrated in FIG. 3 may further include two functions of “determining” and “executing”, wherein the “determining” function control Encapsulating a business process for implementing computer instructions for implementing a cut flow process according to a visual cut flow flow diagram, that is, when the user triggers the "determination” function control, the cut flow process orchestration system can arrange the interface according to the process
  • the visual stream flow diagram currently displayed on 220 generates computer instructions for implementing the stream cutting process.
  • a dialog box may be popped up on the display interface of the example shown in FIG. 3, for example, as shown in FIG. 4, the content in the dialog box may prompt the user to generate A computer instruction for implementing a flow cutting process, and the dialog box illustrated in FIG. 4 may further include an “OK” button, and when the user triggers the “OK” button, the dialog box is closed.
  • the user can trigger the "execute" function control on the display interface of the stream flow scheduling system shown in FIG. 3, and at this time, the stream flow scheduling system can execute computer instructions for implementing the stream cutting process.
  • the technical solution provided by the embodiment of the present specification outputs at least one function control that can be selected by the user to the user through a preset function interface, wherein each function control encapsulates a business process related to the cut flow. Determining the function control selected by the user, and obtaining a visual flow chart according to the execution sequence set by the user for the selected function control, according to the visual flow chart, generating a computer instruction for implementing the stream cutting process, thereby implementing The user's simple operation can be programmed to discharge the complete cut flow process, thereby saving user operations, improving cut flow efficiency, and improving user experience.
  • cut flow related information for each business process, such as cut flow type, cut flow path information, cut flow process duration, and cut flow.
  • cut flow type such as cut flow type, cut flow path information, cut flow process duration, and cut flow.
  • the foregoing cut stream type may include database cut flow, service code cut flow, and machine room cut flow.
  • the database cut flow refers to deploying a new database, and gradually diverting all service traffic from the old database to the new database
  • the service code Cut flow refers to deploying a new version of code for some servers, and directing some traffic to the server deploying the new version code.
  • the new version code When determining that the new version code is available, gradually deploy the new version code for all servers; Add a server and gradually drain some traffic to the new server.
  • the above-mentioned cut flow related information for the monitoring event may include monitoring the type of the event, the monitoring subject, the monitoring duration, and the like, wherein the type of the monitoring event is different for different types of the cutting stream, for example, for the business code cutting, monitoring the type of the event It can include service success rate, traffic volume, year-on-year ring value, service failure error rate, etc.
  • the types of monitoring events can include database connection number, database access success rate, database redo log, etc.
  • the type of the monitoring event may include the traffic minute value, the error rate of the equipment room after the traffic is introduced, and the like.
  • the above-described cut flow related information for the rollback event may include a type of rollback event, a rollback operation, and the like.
  • the cut flow related information may be set for the function control in the function interface 210.
  • the cut flow related information set for the function control is referred to as a configuration parameter of the function control.
  • the configuration parameters of the function control can be divided into two categories, one is the basic configuration parameter, and the other is the optional configuration parameter.
  • the basic configuration parameter refers to the configuration parameter that is indispensable when implementing the cut flow process.
  • the information may include: a cut flow type, a cut flow path information, a cut flow process duration, a number of devices involved in the cut flow process, and the like; an optional configuration parameter may be set based on user requirements, and may include: configuration for monitoring events Parameters, configuration parameters for rollback events, and more.
  • FIG. 5 is a flowchart of a flow switching method according to another exemplary embodiment of the present disclosure.
  • the flowchart shown in FIG. 5 focuses on the process of setting configuration parameters of a function control based on the above-described flow shown in FIG. 1 . , can include the following steps:
  • Step 502 Output a preset configuration interface to the user, where the configuration interface includes at least one input control.
  • Step 504 Receive, by the input control, a configuration parameter input by the user for the function control selected by the user.
  • Steps 502 and 504 are described in detail as follows:
  • the cut flow scheduling system may further output a preset configuration interface to the user, as shown in FIG. 6 , which is a schematic configuration interface of the cut flow scheduling system shown in an exemplary embodiment of the present specification.
  • the configuration interface includes at least one input control, such as the input control corresponding to the cut flow type, the cut flow duration, and the number of devices, as shown in FIG. 6, and the user can set configuration parameters for the specified function control through the input control. Thereby, the configuration parameters of the function control selected by the user for the user are received through the input control.
  • the user can trigger the “pull down option” of the input control corresponding to the cut flow type, and the optional cut flow type can be displayed in the drop down menu, the user Click on the selected stream type with the mouse pointer.
  • the user can double-click the selected function control by using the mouse pointer to trigger the configuration interface shown in FIG. 6 to be displayed.
  • the user may automatically trigger to display the configuration interface illustrated in FIG. 6 .
  • the technical solution provided by the embodiment of the present disclosure is to output a preset configuration interface to the user, where the configuration interface includes at least one input control, and the user controls the user-selected function control by the at least one input control.
  • the configuration parameters can be used to generate computer instructions for implementing the cut flow process according to the configuration parameters input by the user, that is, the simple operation of the user can be used to compile and complete the cut-through flow that meets the actual needs of the user, thereby saving users. Operation, improve cutting efficiency and enhance user experience.
  • the cut flow process involved has more similarities, for example, the same enterprise has extended its machine room several times in a period of time. After that, it is still possible to continue to expand. Since the cut flow scenes are the same, each cut flow process is likely to have many similarities. Based on this, in the embodiment of the present specification, a training prediction model is obtained, and the prediction model can be realized. In the process of user programming the cut flow process, the matching model automatically recommends a matching cut flow scheme, thereby further saving user operations and improving the user experience.
  • the recommended cut flow scheme may be in the form of directly giving a recommended cut flow process, or giving a recommended configuration value for some parameters to be configured, and the like.
  • FIG. 8 it is a flowchart of a flow switching method according to still another exemplary embodiment of the present specification.
  • the flowchart shown in FIG. 8 focuses on the training process of the predictive model based on the foregoing exemplary processes illustrated in FIG. 1 and FIG. 5 . , can include the following steps:
  • Step 802 Obtain a cut data set from the historical cut record, where each cut data includes at least: basic configuration parameters and optional configuration parameters of the function control related to the cut flow process.
  • Step 804 Generate a cut flow model training sample according to the acquired cut stream data set.
  • Step 806 Training the cut flow model training sample by using a preset algorithm to obtain a predictive model, wherein the predictive model takes the basic configuration parameter as an input value and the optional configuration parameter as an output value.
  • Steps 802 through 806 are described in detail as follows:
  • the cut stream data set may be obtained from the historical stream cut record. For example, a cut stream record within a certain time window (for example, the past month, the past six months, etc.) may be selected as the data source.
  • Each of the cut stream data in the cut stream data set may include at least: basic configuration parameters and optional configuration parameters of the function control related to the cut flow process, wherein the basic configuration parameters and the optional configuration parameters may be used to implement the cut flow process Extracted from the computer instructions, each of the cut stream data may further include parameter information for characterizing the execution result of the computer instruction, and some user history operation information, etc., which can further filter the training sample, this specification The embodiment does not limit this.
  • the parameter information characterizing the execution result of the computer instruction may include execution efficiency, cut flow success rate, cut flow risk, and the like.
  • the cut flow model training sample may be generated according to the cut stream data set.
  • the cut stream data set may be used as a cut flow model training sample, and, for example, the cut stream data in the cut stream data set may be filtered or processed ( For example, the normalized processing and the mapping processing are used to obtain the cut flow model training samples, which are not limited in this embodiment of the present specification.
  • the parameters in the training model of the cut flow model are divided into two categories, namely, feature values (for example, basic configuration parameters, parameter information used to represent the execution result of the computer instruction, and some user historical operation information). And a target value (for example, an optional configuration parameter), wherein it is assumed that there are M eigenvalues, set to x 1 , x 2 , ... x M , assuming there are N target values, set to y 1 , y 2 , ... y N.
  • feature values for example, basic configuration parameters, parameter information used to represent the execution result of the computer instruction, and some user historical operation information.
  • a target value for example, an optional configuration parameter
  • each target value is affected by all or part of the M eigenvalues, so that each target value and multiple eigenvalues can be established.
  • the function relationship is as follows:
  • the N target values correspond to N functions, and each function can take all or part of the M eigenvalues as input and one target value as an output.
  • a predetermined algorithm such as a supervised learning algorithm, may be used to train the sample to obtain the above relationship function, that is, a prediction model is obtained.
  • the prediction model can take the target value as an output value and use the feature value as the feature value. input value.
  • the form of the prediction model can be selected according to actual training needs, such as a linear regression model, a logistic regression model, and the like.
  • the embodiment of the present specification does not limit the selection of the model and the specific training algorithm.
  • the prediction model based on the above training may be implemented in an embodiment according to the prediction model: after receiving the basic configuration parameters of the function control selected by the user for the user input through the input control, the prediction model may be determined according to the prediction model.
  • the optional configuration parameter to be configured it can be understood that, when determining the optional configuration parameter to be configured, the input includes at least basic configuration parameters input by the user for the selected function control, and may also include other information, such as some user history. The operation information is not limited in this embodiment of the present specification.
  • the determined optional configuration parameter to be configured may be displayed on the configuration interface of the example shown in FIG. 6 for the user to confirm.
  • the user is not satisfied with the recommended parameter values, it can be further modified manually.
  • the technical solution provided by the embodiment of the present specification generates a cut flow model training sample from the historical cut flow data set, and generates a cut flow model training sample according to the obtained cut flow data set, and uses the preset algorithm to perform the sample on the cut flow model.
  • the training obtains a prediction model, which can take the basic configuration parameters as input values and the optional configuration parameters as output values, so that the corresponding optional configuration parameters can be predicted according to the basic configuration parameters input by the user, and then generated.
  • the computer instruction for realizing the flow cutting process that is, the simple operation of the user can be programmed to discharge the complete flow process that meets the actual needs of the user, thereby saving user operations, improving the efficiency of cutting flow, and improving the user experience.
  • the embodiment of the present specification further provides a flow switching device.
  • the device may include: a first output module. 910.
  • the first output module 910 is configured to display, by using a preset function interface, at least one function control that is selectable by the user, where each of the function controls encapsulates a business process related to cutting flow;
  • the flowchart generating module 920 is configured to determine a function control selected by the user, and obtain a visual flow chart according to an execution sequence set by the user for the selected function control;
  • An instruction generating module 930 configured to generate, according to the visual stream cutting flowchart, a computer instruction for implementing a stream cutting process
  • An instruction execution module 940 is configured to execute the computer instructions.
  • the flowchart generation module 920 can include (not shown in FIG. 9):
  • An instruction receiving submodule configured to receive a drag and drop instruction of the user for the at least one function control
  • the flowchart output sub-module is configured to display and output the at least one function control on the preset flow programming interface according to the dragging instruction, to obtain a visual cut flow flow chart.
  • the apparatus may also include (not shown in Figure 9):
  • a second output module configured to output a preset configuration interface to the user, where the configuration interface includes at least one input control
  • a parameter receiving module configured to receive, by the input control, a configuration parameter input by the user for the function control selected by the user.
  • the configuration parameter may include: a basic configuration parameter, the basic configuration parameter including at least one of the following:
  • the type of cut flow the information of the cut flow path, the duration of the cut flow process, and the number of devices involved in the cut flow process.
  • the configuration parameter further includes: an optional configuration parameter, where the optional configuration parameter includes at least one of the following:
  • Configuration parameters for monitoring events configuration parameters for rollback events.
  • the apparatus may also include (not shown in Figure 9):
  • a parameter determining module configured to determine an optional configuration parameter to be configured according to the pre-trained prediction model
  • a parameter output module configured to display, on the configuration interface, an optional configuration parameter to be configured determined by the output.
  • the apparatus may also include (not shown in Figure 9):
  • a data set obtaining module configured to obtain a cut data set from the historical cut flow record, where each cut flow data includes at least: basic configuration parameters and optional configuration parameters of the function control related to the cut flow process;
  • a sample acquisition module configured to generate a cut flow model training sample according to the acquired cut stream data set
  • a training module configured to train the sample by using a preset algorithm to obtain the prediction model, where the prediction model takes a basic configuration parameter as an input value and an optional configuration parameter as an output value.
  • the first output module 910, the flowchart generation module 920, the instruction generation module 930, and the instruction execution module 940 are four functionally independent modules, which can be simultaneously configured in the flow switching device as shown in FIG. It can also be separately configured in the flow switching device, and therefore the structure shown in FIG. 9 should not be construed as limiting the embodiment of the present specification.
  • the embodiment of the present specification further provides a computer device including at least a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor performs the foregoing flow switching method when the program is executed,
  • the method at least includes: outputting, by using a preset function interface, at least one function control that is selectable by a user, wherein each of the function controls encapsulates a business process related to cutting flow; determining a function control selected by the user, and Obtaining a visual flow chart according to an execution sequence set by the user for the selected function control; generating computer instructions for implementing a stream cutting process according to the visual stream flow chart; and executing the computer instruction.
  • the determining a function control selected by the user, and obtaining a visual flow chart according to an execution sequence set by the user for the selected function control includes: receiving a drag command of the user for the at least one function control; And displaying, according to the dragging instruction, the outputting the at least one function control on a preset flow programming interface to obtain a visual cut flow flow chart.
  • the method further includes: outputting, to the user, a preset configuration interface, where the configuration interface includes at least one input control; receiving the user by using the input control Enter the configuration parameters for the function controls selected by the user.
  • the configuration parameter includes: a basic configuration parameter, where the basic configuration parameter includes at least one of the following: a cut flow type, a cut flow path information, a cut flow process duration, and a device involved in the cut flow process. Quantity.
  • the configuration parameter further includes: an optional configuration parameter, where the optional configuration parameter includes at least one of: a configuration parameter for a monitoring event, and a configuration parameter for a rollback event.
  • the method further comprises: determining, according to the pre-trained prediction model, an optional to be configured The configuration parameter is displayed on the configuration interface, and the optional configuration parameter to be configured determined by the output is displayed.
  • the process of obtaining the prediction model includes: acquiring a cut data set from the historical cut record, each cut flow data including at least: basic configuration parameters of the function control related to the cut flow process And selecting an optional configuration parameter; generating a cut flow model training sample according to the obtained cut flow data set; and training the sample by using a preset algorithm to obtain the predicted model, where the predicted model takes the basic configuration parameter as an input value, Optional configuration parameters are used as output values.
  • FIG. 10 is a schematic diagram showing a hardware structure of a more specific computing device provided by an embodiment of the present specification.
  • the device may include a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050.
  • the processor 1010, the memory 1020, the input/output interface 1030, and the communication interface 1040 implement communication connections within the device with each other through the bus 1050.
  • the processor 1010 can be implemented by using a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits for performing correlation.
  • the program is implemented to implement the technical solutions provided by the embodiments of the present specification.
  • the memory 1020 can be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like.
  • the memory 1020 can store an operating system and other applications.
  • the technical solution provided by the embodiment of the present specification is implemented by software or firmware, the related program code is saved in the memory 1020 and is called and executed by the processor 1010.
  • the input/output interface 1030 is used to connect an input/output module to implement information input and output.
  • the input/output/module can be configured as a component in the device (not shown in Figure 10) or externally to the device to provide the corresponding functionality.
  • the input device may include a keyboard, a mouse, a touch screen, a microphone, various types of sensors, and the like, and the output device may include a display, a speaker, a vibrator, an indicator light, and the like.
  • the communication interface 1040 is used to connect a communication module (not shown in FIG. 10) to implement communication interaction between the device and other devices.
  • the communication module can communicate by wired means (such as USB, network cable, etc.), or can communicate by wireless means (such as mobile network, WIFI, Bluetooth, etc.).
  • Bus 1050 includes a path for communicating information between various components of the device, such as processor 1010, memory 1020, input/output interface 1030, and communication interface 1040.
  • the above device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040, and the bus 1050, in a specific implementation, the device may also include necessary for normal operation. Other components.
  • the above-mentioned devices may also include only the components necessary for implementing the embodiments of the present specification, and do not necessarily include all the components shown in the drawings.
  • the embodiment of the present specification further provides a computer readable storage medium, on which a computer program is stored, and when the program is executed by the processor, the foregoing traffic switching method is implemented.
  • the method at least includes: outputting, by using a preset function interface, at least one function control that is selectable by a user, wherein each of the function controls encapsulates a business process related to cutting flow; determining a function control selected by the user, and Obtaining a visual flow chart according to an execution sequence set by the user for the selected function control; generating computer instructions for implementing a stream cutting process according to the visual stream flow chart; and executing the computer instruction.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
  • the embodiments of the present specification can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution of the embodiments of the present specification may be embodied in the form of a software product in essence or in the form of a software product, which may be stored in a storage medium such as a ROM/RAM. Disks, optical disks, and the like, including instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments or portions of the embodiments of the present specification.
  • a computer device which may be a personal computer, server, or network device, etc.
  • the system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • a typical implementation device is a computer, and the specific form of the computer may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, and a game control.
  • the various embodiments in the specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • the device embodiments described above are merely illustrative, and the modules described as separate components may or may not be physically separated, and the functions of the modules may be the same in the implementation of the embodiments of the present specification. Or implemented in multiple software and/or hardware. It is also possible to select some or all of the modules according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Abstract

A traffic switching method and apparatus, and a computer device. The method comprises: displaying and outputting, by means of a preset function interface, at least one function control that can be selected by a user, wherein each of the function controls encapsulates a service flow related to traffic switching (102); determining a function control selected by the user, and obtaining visual traffic switching flow charts in an execution order set by the user for the selected function control (104); generating, according to the visual traffic switching flow chart, a computer instruction for implementing a traffic switching flow (106); and executing the computer instruction for implementing the traffic switching flow (108).

Description

一种流量切换方法、装置、及计算机设备Flow switching method, device, and computer device 技术领域Technical field
本说明书实施例涉及计算机应用技术领域,尤其涉及一种流量切换方法、装置、及计算机设备。The embodiments of the present disclosure relate to the field of computer application technologies, and in particular, to a method, an apparatus, and a computer device for switching traffic.
背景技术Background technique
出于数据安全、数据处理效率、数据运维成本等方面的考虑,很可能出现切换数据库、切换服务器、代码升级等需求,在该类应用场景下,需要对业务流量进行切流,以切换数据库为例,切流是指,在部署新的数据库之后,按照预设策略逐步地将所有业务流量从旧数据库引流至新数据库。For reasons of data security, data processing efficiency, data operation and maintenance cost, etc., it is very likely that there is a need to switch databases, switch servers, and code upgrades. In this type of application scenario, traffic needs to be switched to switch databases. For example, cut flow means that after deploying a new database, all traffic is gradually drained from the old database to the new database according to a preset policy.
现有技术中,对业务流量进行切流时,涉及大量的准备和开发工作,例如部署切流方案、部署切流流程、基于部署的切流流程编写用于实现切流流程的代码、在代码相应位置处设置埋点信息等,由此可见,现有的切流过程中人工操作繁杂,效率较低。In the prior art, when traffic is cut, a large amount of preparation and development work is involved, such as deploying a cut flow scheme, deploying a cut flow process, and deploying a cut flow process to write code for implementing a cut flow process in the code. The buried point information and the like are set at the corresponding positions, and thus it can be seen that the manual operation in the existing cutting flow process is complicated and the efficiency is low.
发明内容Summary of the invention
针对上述技术问题,本说明书实施例提供一种流量切换方法、装置、及计算机设备,技术方案如下:For the above technical problem, the embodiment of the present specification provides a flow switching method, device, and computer device, and the technical solution is as follows:
根据本说明书实施例的第一方面,提供一种流量切换方法,所述方法包括:According to a first aspect of the embodiments of the present specification, a flow switching method is provided, the method comprising:
通过预设的功能界面显示输出至少一个可供用户选择的功能控件,其中,每一所述功能控件封装有一项与切流相关的业务流程;Displaying, by using a preset function interface, at least one function control that is selectable by a user, wherein each of the function controls encapsulates a business process related to cutting flow;
确定用户选择的功能控件,并根据用户针对所选择的功能控件设置的执行顺序得到可视化切流流程图;Determining the function control selected by the user, and obtaining a visual flow chart according to the execution sequence set by the user for the selected function control;
根据所述可视化切流流程图生成用于实现切流流程的计算机指令;Generating a computer instruction for implementing a stream cutting process according to the visual stream cutting flowchart;
执行所述计算机指令。Executing the computer instructions.
根据本说明书实施例的第二方面,提供一种流量切换装置,所述装置包括:According to a second aspect of the embodiments of the present specification, a flow switching device is provided, the device comprising:
第一输出模块,用于通过预设的功能界面显示输出至少一个可供用户选择的功能控件,其中,每一所述功能控件封装有一项与切流相关的业务流程;a first output module, configured to output, by using a preset function interface, at least one function control that is selectable by a user, wherein each of the function controls encapsulates a business process related to cutting flow;
流程图生成模块,用于确定用户选择的功能控件,并根据用户针对所选择的功能控件设置的执行顺序得到可视化切流流程图;a flow chart generating module, configured to determine a function control selected by the user, and obtain a visual flow chart according to an execution sequence set by the user for the selected function control;
指令生成模块,用于根据所述可视化切流流程图生成用于实现切流流程的计算机指令;An instruction generating module, configured to generate, according to the visual stream cutting flowchart, a computer instruction for implementing a stream cutting process;
指令执行模块,用于执行所述计算机指令。An instruction execution module for executing the computer instructions.
根据本说明书实施例的第三方面,提供一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现本说明书实施例提供的任一流量切换方法。According to a third aspect of embodiments of the present specification, a computer apparatus includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the program when the program is executed Any of the flow switching methods provided by the embodiments of the specification.
本说明书实施例提供的技术方案,通过预设的功能界面向用户输出至少一个可供用户选择的功能控件,其中,每一功能控件封装有一项与切流相关的业务流程,确定用户选择的功能控件,并根据用户针对所选择的功能控件设置的执行顺序得到可视化切流流程图,根据该可视化切流流程图即可生成用于实现切流流程的计算机指令,从而实现通过用户的简单操作即可编排出完整的切流流程,从而节省用户操作,提高切流效率,提升用户体验。The technical solution provided by the embodiment of the present specification outputs at least one function control that can be selected by the user to the user through a preset function interface, wherein each function control encapsulates a business process related to the cut flow, and determines a function selected by the user. Controls, and according to the execution sequence set by the user for the selected function control, a visual flow chart is generated, according to which the computer instruction for implementing the flow cutting process can be generated, thereby implementing a simple operation by the user The complete stream cutting process can be programmed to save user operations, improve cutting efficiency and enhance user experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本说明书实施例。The above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the embodiments.
此外,本说明书实施例中的任一实施例并不需要达到上述的全部效果。Moreover, any of the embodiments of the present specification does not need to achieve all of the above effects.
附图说明DRAWINGS
为了更清楚地说明本说明书实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书实施例中记载的一些实施例,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings to be used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a few embodiments described in the embodiments of the present specification, and other drawings can be obtained from those skilled in the art based on these drawings.
图1为本说明书一示例性实施例示出的流量切换方法的流程图;1 is a flowchart of a flow switching method according to an exemplary embodiment of the present specification;
图2为本说明书一示例性实施例示出的切流流程编排系统的显示界面示意图;2 is a schematic diagram of a display interface of a flow cutting process scheduling system according to an exemplary embodiment of the present specification;
图3为本说明书另一示例性实施例示出的切流流程编排系统的显示界面示意图;FIG. 3 is a schematic diagram of a display interface of a flow cutting process scheduling system according to another exemplary embodiment of the present specification; FIG.
图4为本说明书另一示例性实施例示出的切流流程编排系统的显示界面示意图;4 is a schematic diagram of a display interface of a flow cutting process programming system according to another exemplary embodiment of the present specification;
图5为本说明书另一示例性实施例示出的流量切换方法的流程图;FIG. 5 is a flowchart of a flow switching method according to another exemplary embodiment of the present specification; FIG.
图6为本说明书一示例性实施例示出的切流流程编排系统的配置界面示意图;FIG. 6 is a schematic diagram of a configuration interface of a flow cutting process scheduling system according to an exemplary embodiment of the present disclosure; FIG.
图7为本说明书另一示例性实施例示出的切流流程编排系统的配置界面示意图;FIG. 7 is a schematic diagram of a configuration interface of a flow cutting process scheduling system according to another exemplary embodiment of the present specification; FIG.
图8为本说明书再一示例性实施例示出的流量切换方法的流程图;FIG. 8 is a flowchart of a flow switching method according to still another exemplary embodiment of the present specification; FIG.
图9为本说明书一示例性实施例示出的流量切换装置的框图;FIG. 9 is a block diagram of a flow switching device according to an exemplary embodiment of the present specification; FIG.
图10为本说明书实施例所提供的一种更为具体的计算设备硬件结构示意图。FIG. 10 is a schematic structural diagram of a more specific computing device hardware according to an embodiment of the present disclosure.
具体实施方式Detailed ways
为了使本领域技术人员更好地理解本说明书实施例中的技术方案,下面将结合本说明书实施例中的附图,对本说明书实施例中的技术方案进行详细地描述,显然,所描述的实施例仅仅是本说明书的一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员所获得的所有其他实施例,都应当属于保护的范围。In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present specification, the technical solutions in the embodiments of the present specification will be described in detail below with reference to the accompanying drawings in the embodiments of the present specification. The examples are only a part of the embodiments of the specification, and not all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in this specification should fall within the scope of protection.
本说明书实施例提供一种流量切换方法,在该方法中,采用基于“模块化设计理念”设计出的切流流程编排系统,该切流流程编排系统提供可供用户操作的界面,以及至少一个功能控件,每一功能控件封装有一项与切流相关的业务流程,以实现用户通过该切流流程编排系统进行简单操作即可编排出完整的切流流程,从而节省用户操作,提高切流效率,提升用户体验。如下,示出下述实施例对该流量切换方法进行详细说明。The embodiment of the present specification provides a flow switching method, in which a cutting flow scheduling system designed based on a “modular design concept” is provided, and the cutting flow programming system provides an interface operable by a user, and at least one Functional control, each functional control package has a business process related to cutting flow, so that the user can perform a simple operation through the cutting flow programming system, thereby eliminating the user's operation and improving the efficiency of cutting flow. To enhance the user experience. The flow switching method will be described in detail in the following embodiments as follows.
请参见图1,为本说明书一示例性实施例示出的流量切换方法的流程图,该方法可应用于上述切流流程编排系统,包括以下步骤:Referring to FIG. 1 , it is a flowchart of a flow switching method according to an exemplary embodiment of the present disclosure. The method is applicable to the foregoing cut flow scheduling system, and includes the following steps:
步骤102:通过预设的功能界面显示输出至少一个可供用户选择的功能控件,其中,每一功能控件封装有一项与切流相关的业务流程。Step 102: Display and output at least one function control that is selectable by the user through a preset function interface, wherein each function control encapsulates a business process related to the cut flow.
步骤104:确定用户选择的功能控件,并根据用户针对所选择的功能控件设置的执行顺序得到可视化切流流程图。Step 104: Determine a function control selected by the user, and obtain a visual flow chart according to an execution sequence set by the user for the selected function control.
步骤106:根据可视化切流流程图生成用于实现切流流程的计算机指令。Step 106: Generate computer instructions for implementing a stream cutting process according to the visual stream cutting flowchart.
步骤108:执行用于实现切流流程的计算机指令。Step 108: Execute computer instructions for implementing a stream cutting process.
如下,对上述步骤102至步骤108进行详细描述:The above steps 102 to 108 are described in detail as follows:
请参见图2,为本说明书一示例性实施例示出的切流流程编排系统的显示界面示意图,如图2所示例的显示界面200可以包括功能界面210与流程编排界面220,其中,功能界面210上可显示输出至少一个可供用户选择的功能控件,每一功能控件封装有一项与切流相关的业务流程,例如,如图2中所示例的“流量切换”这一功能控件,其封装有用于控制流量分配的业务流程,图2中所示例的“代码部署”这一功能控件,其封装有用于在指定设备上部署新代码或者是新数据库的业务流程,图2中所示例的“结果校验”这一功能控件,其封装有用于检验切流结果的业务流程。FIG. 2 is a schematic diagram of a display interface of a flow cutting process scheduling system according to an exemplary embodiment of the present disclosure. The display interface 200 illustrated in FIG. 2 may include a function interface 210 and a process programming interface 220. At least one function control can be displayed for the user to select, and each function control encapsulates a business process related to the cut flow, for example, the function control of “flow switching” as shown in FIG. 2, and the package is useful. In the business process of controlling traffic distribution, the functional control of "code deployment" shown in Figure 2 encapsulates a business process for deploying new code or a new database on a specified device, the result of the example shown in Figure 2. "Verify" this functional control, which encapsulates the business process for verifying the results of the cut.
需要说明的是,图2中所示例的功能控件仅仅作为举例,在实际应用中,还可以存在封装有其他业务流程的功能控件,本说明书实施例对此并不作限制。It should be noted that the function control shown in FIG. 2 is only an example. In an actual application, there may be a function control that is encapsulated with other service flows, which is not limited in this embodiment of the present specification.
在本说明书实施例中,用户可以通过图2所示例的功能界面210,选择功能控件,并针对所选择的功能控件设置执行顺序,从而上述切流流程编排系统则可以根据用户选择的功能控件,以及用户针对所选择的功能控件设置的执行顺序得到可视化切流流程图,并在流程编排界面220上显示这一可视化切流流程图(如图2所示)。In the embodiment of the present specification, the user can select a function control through the function interface 210 illustrated in FIG. 2, and set an execution order for the selected function control, so that the cut flow scheduling system can be based on the function control selected by the user. And the user enters a visual stream flow chart for the execution order of the selected function control settings, and displays the visual stream flow chart on the process orchestration interface 220 (as shown in FIG. 2).
具体的,在一可选的实现方式中,用户可以通过外部设备,例如鼠标,控制鼠标指针指向其要选择的功能控件,继而按下鼠标左键,并移动鼠标,此时,相当于用户针对其选择的功能控件发送一个拖拽指令,也即切流流程编排系统可以接收到用户针对至少一个功能控件的拖拽指令,基于该拖拽指令,用户所选择的功能控件则可以随着用户移动鼠标的操作而在流程编排界面220上移动,直至用户松开鼠标左键,此时,用户所选择的功能控件则显示输出在流程编排界面220上。Specifically, in an optional implementation manner, the user can control the mouse pointer to point to the function control to be selected by using an external device, such as a mouse, and then press the left mouse button and move the mouse. The selected function control sends a drag and drop instruction, that is, the cut flow process programming system can receive the user's drag and drop instruction for at least one function control, and based on the drag command, the function control selected by the user can move with the user The operation of the mouse moves on the process programming interface 220 until the user releases the left mouse button. At this time, the function control selected by the user displays the output on the process programming interface 220.
在另一可选的实现方式中,用户可以按照其预想的切流流程,顺序选择功能控件,例如,首先选择图2所示例的“开始”这一功能控件,此时,“开始”这一功能控件将显示在流程编排界面220上,并且,切流流程编排系统可以自动在该“开始”功能控件后添加一个“连线”功能控件,此时,用户继续选择“流量切换”这一功能控件,此时,“流量切换”这一功能控件将显示在最近添加的“连线”功能控件之后,按照上述描述,切流流程编排系统继续自动在该“流量切换”这一功能控件后添加一个“连线”功能控件,直至用户选择“结束”这一功能控件。在上述过程中,切流流程编排系统可以自动添加“连线”功能控件,同时,用户也可以按照实际需求自行“绘制”连线,例如图2 中所示例的从“结果校验”这一功能控件指向“开始”这一功能控件的连线,从而,通过切流流程编排系统与用户操作可以得到图2所示例的可视化切流流程图。In another optional implementation manner, the user may sequentially select the function control according to the envisioned flow cutting process. For example, first select the function “Start” as shown in FIG. 2, and at this time, “Start” The function control will be displayed on the process orchestration interface 220, and the stream flow scheduling system can automatically add a "wire" function control after the "start" function control. At this time, the user continues to select the "flow switching" function. Control, at this time, the "flow switching" function control will be displayed after the recently added "wiring" function control, according to the above description, the cut flow scheduling system continues to automatically add after the "flow switching" function control A "wire" function control until the user selects the "end" function control. In the above process, the cut flow scheduling system can automatically add the "wire" function control, and the user can also "draw" the connection according to actual needs, such as the "result check" shown in Figure 2. The function control points to the connection of the function control "Start", so that the flow chart of the visualization shown in Fig. 2 can be obtained through the chipping process programming system and the user operation.
需要说明的是,上述两种可选的实现方式仅仅作为举例描述,在实际应用中,还可以存在其他实现方式,本说明书实施例对此并不作限制。It should be noted that the foregoing two alternative implementation manners are only described by way of example, and other implementation manners may be used in the actual application, which is not limited in this embodiment of the present specification.
本说明书实施例中,在得到可视化切流流程图之后,切流流程编排系统则可以根据该可视化切流流程图生成用于实现切流流程的计算机指令,该计算机指令本质则为可执行代码,继而切流流程编排系统可以执行该计算机指令,也即实现切流流程。In the embodiment of the present specification, after the visual flow cutting flowchart is obtained, the cutting flow scheduling system may generate a computer instruction for implementing the cutting flow process according to the visual cutting flow flowchart, and the computer instruction is essentially executable code. Then, the cut flow scheduling system can execute the computer instruction, that is, implement the cut flow process.
具体的,在一可选的实现方式中,如图3所示例的切流流程编排系统的显示界面,还可以包括“确定”和“执行”两个功能控件,其中“确定”这一功能控件封装有用于实现根据可视化切流流程图生成用于实现切流流程的计算机指令的业务流程,也即,当用户触发“确定”这一功能控件时,切流流程编排系统则可以根据流程编排界面220上当前显示的可视化切流流程图生成用于实现切流流程的计算机指令。Specifically, in an optional implementation manner, the display interface of the cut flow scheduling system illustrated in FIG. 3 may further include two functions of “determining” and “executing”, wherein the “determining” function control Encapsulating a business process for implementing computer instructions for implementing a cut flow process according to a visual cut flow flow diagram, that is, when the user triggers the "determination" function control, the cut flow process orchestration system can arrange the interface according to the process The visual stream flow diagram currently displayed on 220 generates computer instructions for implementing the stream cutting process.
进一步,在生成用于实现切流流程的计算机指令后,可以在图3所示例的显示界面上弹出一对话框,例如如图4所示,通过该对话框中内容,则可以提示用户已生成用于实现切流流程的计算机指令,并且,该图4所示例的对话框中还可以包括“确定”按钮,当用户触发“确定”按钮,该对话框关闭。Further, after the computer instruction for implementing the flow cutting process is generated, a dialog box may be popped up on the display interface of the example shown in FIG. 3, for example, as shown in FIG. 4, the content in the dialog box may prompt the user to generate A computer instruction for implementing a flow cutting process, and the dialog box illustrated in FIG. 4 may further include an “OK” button, and when the user triggers the “OK” button, the dialog box is closed.
进一步,用户可以触发图3所示例的切流流程编排系统的显示界面上“执行”这一功能控件,此时,切流流程编排系统则可以执行用于实现切流流程的计算机指令。Further, the user can trigger the "execute" function control on the display interface of the stream flow scheduling system shown in FIG. 3, and at this time, the stream flow scheduling system can execute computer instructions for implementing the stream cutting process.
由上述描述可知,本说明书实施例提供的技术方案,通过预设的功能界面向用户输出至少一个可供用户选择的功能控件,其中,每一功能控件封装有一项与切流相关的业务流程,确定用户选择的功能控件,并根据用户针对所选择的功能控件设置的执行顺序得到可视化切流流程图,根据该可视化切流流程图即可生成用于实现切流流程的计算机指令,从而实现通过用户的简单操作即可编排出完整的切流流程,从而节省用户操作,提高切流效率,提升用户体验。It can be seen from the above description that the technical solution provided by the embodiment of the present specification outputs at least one function control that can be selected by the user to the user through a preset function interface, wherein each function control encapsulates a business process related to the cut flow. Determining the function control selected by the user, and obtaining a visual flow chart according to the execution sequence set by the user for the selected function control, according to the visual flow chart, generating a computer instruction for implementing the stream cutting process, thereby implementing The user's simple operation can be programmed to discharge the complete cut flow process, thereby saving user operations, improving cut flow efficiency, and improving user experience.
在实际应用中,除了配置每一项业务流程的执行顺序以外,还可以针对每一项业务流程配置具体的切流相关信息,例如切流类型、切流路径信息、切流过程时长、切流过程中涉及到的设备数量、针对监控事件的切流相关信息、针对回滚事件的切流相关信息等等。In practical applications, in addition to configuring the execution order of each business process, you can also configure specific cut flow related information for each business process, such as cut flow type, cut flow path information, cut flow process duration, and cut flow. The number of devices involved in the process, cut-stream related information for monitoring events, cut-stream related information for rollback events, and so on.
其中,上述切流类型可以包括数据库切流、业务代码切流、机房切流,具体的,数据库切流是指,部署新的数据库,逐步将所有业务流量从旧数据库引流至新数据库;业务代码切流是指,为部分服务器部署新版本的代码,将部分业务流量引流至部署新版本代码的服务器,在确定新版本代码可用时,逐步为全部服务器部署新版本代码;机房切流是指,新增服务器,逐步将部分业务流量引流至新增服务器。The foregoing cut stream type may include database cut flow, service code cut flow, and machine room cut flow. Specifically, the database cut flow refers to deploying a new database, and gradually diverting all service traffic from the old database to the new database; the service code Cut flow refers to deploying a new version of code for some servers, and directing some traffic to the server deploying the new version code. When determining that the new version code is available, gradually deploy the new version code for all servers; Add a server and gradually drain some traffic to the new server.
上述针对监控事件的切流相关信息可以包括监控事件的类型,监控主体,监控时长等等,其中,针对切流类型不同,监控事件的类型不同,例如,针对业务代码切流,监控事件的类型可以包括业务成功率、业务量、同比环比值、业务失败报错率等等;针对数据库切流,监控事件的类型可以包括数据库连接数、数据库访问成功率、数据库redo日志等等;针对机房切流,监控事件的类型可以包括流量分钟值、引入流量后机房报错率等等。The above-mentioned cut flow related information for the monitoring event may include monitoring the type of the event, the monitoring subject, the monitoring duration, and the like, wherein the type of the monitoring event is different for different types of the cutting stream, for example, for the business code cutting, monitoring the type of the event It can include service success rate, traffic volume, year-on-year ring value, service failure error rate, etc. For database stream cutting, the types of monitoring events can include database connection number, database access success rate, database redo log, etc. The type of the monitoring event may include the traffic minute value, the error rate of the equipment room after the traffic is introduced, and the like.
上述针对回滚事件的切流相关信息可以包括回滚事件的类型、回滚操作等等。The above-described cut flow related information for the rollback event may include a type of rollback event, a rollback operation, and the like.
基于上述描述,在本说明书实施例中,可以针对上述功能界面210中的功能控件设置切流相关信息,为了描述方便,将针对功能控件设置的切流相关信息称为功能控件的配置参数。Based on the above description, in the embodiment of the present specification, the cut flow related information may be set for the function control in the function interface 210. For the convenience of description, the cut flow related information set for the function control is referred to as a configuration parameter of the function control.
首先说明,功能控件的配置参数可以分为两类,一类为基本配置参数,另一类为可选配置参数,其中,基本配置参数是指在实现切流流程时不可或缺的配置参数,可以包括:切流类型、切流路径信息、切流过程时长、切流过程中涉及到的设备数量等等;可选配置参数则是可以基于用户需求设置的,可以包括:针对监控事件的配置参数、针对回滚事件的配置参数等等。如下,详细描述设置功能控件的配置参数的具体过程:First, the configuration parameters of the function control can be divided into two categories, one is the basic configuration parameter, and the other is the optional configuration parameter. The basic configuration parameter refers to the configuration parameter that is indispensable when implementing the cut flow process. The information may include: a cut flow type, a cut flow path information, a cut flow process duration, a number of devices involved in the cut flow process, and the like; an optional configuration parameter may be set based on user requirements, and may include: configuration for monitoring events Parameters, configuration parameters for rollback events, and more. The specific process of setting the configuration parameters of the function control is described in detail as follows:
请参见图5,为本说明书另一示例性实施例示出的流量切换方法的流程图,该图5所示例流程在上述图1所示例流程的基础上,着重描述设置功能控件的配置参数的过程,可以包括以下步骤:5 is a flowchart of a flow switching method according to another exemplary embodiment of the present disclosure. The flowchart shown in FIG. 5 focuses on the process of setting configuration parameters of a function control based on the above-described flow shown in FIG. 1 . , can include the following steps:
步骤502:向用户输出预设的配置界面,该配置界面上包括至少一个输入控件。Step 502: Output a preset configuration interface to the user, where the configuration interface includes at least one input control.
步骤504:通过输入控件接收用户输入的针对用户选择的功能控件的配置参数。Step 504: Receive, by the input control, a configuration parameter input by the user for the function control selected by the user.
如下,对步骤502与步骤504进行详细说明: Steps 502 and 504 are described in detail as follows:
在本说明书实施例中,上述切流流程编排系统还可以向用户输出预设的配置界面,如图6所示,为本说明书一示例性实施例示出的切流流程编排系统的配置界面示意图, 其中,该配置界面上包括至少一个输入控件,例如图6中所示例的与切流类型、切流时长、设备数量对应的输入控件,用户可以通过这些输入控件为指定的功能控件设置配置参数,从而通过输入控件接收用户输入的针对用户选择的功能控件的配置参数。In the embodiment of the present specification, the cut flow scheduling system may further output a preset configuration interface to the user, as shown in FIG. 6 , which is a schematic configuration interface of the cut flow scheduling system shown in an exemplary embodiment of the present specification. The configuration interface includes at least one input control, such as the input control corresponding to the cut flow type, the cut flow duration, and the number of devices, as shown in FIG. 6, and the user can set configuration parameters for the specified function control through the input control. Thereby, the configuration parameters of the function control selected by the user for the user are received through the input control.
举例来说,以设置切流类型为例,如图7所示,用户可以触发切流类型对应的输入控件的“下拉选项”,在下拉菜单中即可显示出可选的切流类型,用户通过鼠标指针点击其所选择的切流类型即可。For example, to set the cut stream type as an example, as shown in FIG. 7 , the user can trigger the “pull down option” of the input control corresponding to the cut flow type, and the optional cut flow type can be displayed in the drop down menu, the user Click on the selected stream type with the mouse pointer.
在一可选的实现方式中,用户可以通过鼠标指针双击所选择的功能控件,从而触发显示出图6所示例的配置界面。In an optional implementation, the user can double-click the selected function control by using the mouse pointer to trigger the configuration interface shown in FIG. 6 to be displayed.
在另一可选的实现方式中,用户在选择功能控件后,可以自动触发显示出图6所示例的配置界面。In another optional implementation manner, after selecting the function control, the user may automatically trigger to display the configuration interface illustrated in FIG. 6 .
需要说明的是,上述两种可选的实现方式仅仅作为举例描述,在实际应用中,还可以存在其他实现方式,本说明书实施例对此并不作限制。It should be noted that the foregoing two alternative implementation manners are only described by way of example, and other implementation manners may be used in the actual application, which is not limited in this embodiment of the present specification.
由上述描述可知,本说明书实施例提供的技术方案,通过向用户输出预设的配置界面,该配置界面上包括至少一个输入控件,通过该至少一个输入控件接收用户输入的针对用户选择的功能控件的配置参数,可以实现后续根据用户输入的配置参数生成用于实现切流流程的计算机指令,也即实现通过用户的简单操作即可编排出完整的,契合用户实际需求切流流程,从而节省用户操作,提高切流效率,提升用户体验。The technical solution provided by the embodiment of the present disclosure is to output a preset configuration interface to the user, where the configuration interface includes at least one input control, and the user controls the user-selected function control by the at least one input control. The configuration parameters can be used to generate computer instructions for implementing the cut flow process according to the configuration parameters input by the user, that is, the simple operation of the user can be used to compile and complete the cut-through flow that meets the actual needs of the user, thereby saving users. Operation, improve cutting efficiency and enhance user experience.
在本说明书实施例中,考虑到针对同一用户,例如同一企业,其所涉及到的切流流程具有较多的相似之处,例如,同一企业在一段时期内,对其机房做了多次扩展,之后仍有可能继续扩展,由于切流场景相同,从而每次的切流流程很可能具有诸多相似之处,基于此,在本说明书实施例中提出训练得到预测模型,通过该预测模型可以实现:在用户编排切流流程的过程中,由该预设模型自动推荐出匹配的切流方案,从而进一步节省用户操作,提升用户体验。其中,推荐切流方案的形式可以是:直接给出推荐的切流流程、或者给出对于某些待配置参数的推荐配置值,等等。In the embodiment of the present specification, considering that the same user, for example, the same enterprise, the cut flow process involved has more similarities, for example, the same enterprise has extended its machine room several times in a period of time. After that, it is still possible to continue to expand. Since the cut flow scenes are the same, each cut flow process is likely to have many similarities. Based on this, in the embodiment of the present specification, a training prediction model is obtained, and the prediction model can be realized. In the process of user programming the cut flow process, the matching model automatically recommends a matching cut flow scheme, thereby further saving user operations and improving the user experience. The recommended cut flow scheme may be in the form of directly giving a recommended cut flow process, or giving a recommended configuration value for some parameters to be configured, and the like.
如下,详细描述训练得到上述预测模型的具体过程:The specific process of training to obtain the above prediction model is described in detail as follows:
请参见图8,为本说明书再一示例性实施例示出的流量切换方法的流程图,该图8所示例流程在上述图1与图5所示例流程的基础上,着重描述预测模型的训练过程,可以包括以下步骤:Referring to FIG. 8 , it is a flowchart of a flow switching method according to still another exemplary embodiment of the present specification. The flowchart shown in FIG. 8 focuses on the training process of the predictive model based on the foregoing exemplary processes illustrated in FIG. 1 and FIG. 5 . , can include the following steps:
步骤802:从历史切流记录中获取切流数据集,每条切流数据至少包括:与切流流程相关的功能控件的基本配置参数与可选配置参数。Step 802: Obtain a cut data set from the historical cut record, where each cut data includes at least: basic configuration parameters and optional configuration parameters of the function control related to the cut flow process.
步骤804:根据所获取的切流数据集生成切流模型训练样本。Step 804: Generate a cut flow model training sample according to the acquired cut stream data set.
步骤806:利用预设算法对切流模型训练样本进行训练得到预测模型,预测模型以基本配置参数作为输入值,以可选配置参数作为输出值。Step 806: Training the cut flow model training sample by using a preset algorithm to obtain a predictive model, wherein the predictive model takes the basic configuration parameter as an input value and the optional configuration parameter as an output value.
如下,对步骤802至步骤806进行详细描述: Steps 802 through 806 are described in detail as follows:
在本说明书实施例中,可以从历史切流记录中获取切流数据集,例如,可以选择某个时间窗口内(例如过去一个月、过去六个月等)的切流记录作为数据源,对于切流数据集中的每条切流数据至少可以包括:与切流流程相关的功能控件的基本配置参数与可选配置参数,其中,基本配置参数与可选配置参数可以从用于实现切流流程的计算机指令中提取出来,每条切流数据中还可以包括用于表征计算机指令的执行结果的参数信息,以及一些用户历史操作信息等等,这些信息可以实现对训练样本的进一步筛选,本说明书实施例对此不作限制。In the embodiment of the present specification, the cut stream data set may be obtained from the historical stream cut record. For example, a cut stream record within a certain time window (for example, the past month, the past six months, etc.) may be selected as the data source. Each of the cut stream data in the cut stream data set may include at least: basic configuration parameters and optional configuration parameters of the function control related to the cut flow process, wherein the basic configuration parameters and the optional configuration parameters may be used to implement the cut flow process Extracted from the computer instructions, each of the cut stream data may further include parameter information for characterizing the execution result of the computer instruction, and some user history operation information, etc., which can further filter the training sample, this specification The embodiment does not limit this.
上述用于实现切流流程的计算机指令,以及与切流流程相关的功能控件的基本配置参数与可选配置参数的相关描述可以参见上述实施例中的描述,在此不再详述;用于表征计算机指令的执行结果的参数信息可以包括执行效率、切流成功率、切流风险等等。For the description of the basic configuration parameters and optional configuration parameters of the above-mentioned embodiments, the descriptions of the basic configuration parameters and the optional configuration parameters of the function control related to the flow cutting process are not described in detail in the above embodiments; The parameter information characterizing the execution result of the computer instruction may include execution efficiency, cut flow success rate, cut flow risk, and the like.
后续,可以根据上述切流数据集生成切流模型训练样本,例如,可以将上述切流数据集作为切流模型训练样本,又例如,可以对切流数据集中的切流数据进行筛选或者处理(例如归一化处理、映射处理),得到切流模型训练样本,本说明书实施例对此并不作限制。Subsequently, the cut flow model training sample may be generated according to the cut stream data set. For example, the cut stream data set may be used as a cut flow model training sample, and, for example, the cut stream data in the cut stream data set may be filtered or processed ( For example, the normalized processing and the mapping processing are used to obtain the cut flow model training samples, which are not limited in this embodiment of the present specification.
具体的,为了描述方便,将上述切流模型训练样本中的参数分为两类,分别为特征值(例如基本配置参数、用于表征计算机指令的执行结果的参数信息、以及一些用户历史操作信息)与目标值(例如可选配置参数),其中,假设存在M个特征值,设为x 1,x 2,…x M,假设存在N个目标值,设为y 1,y 2,…y NSpecifically, for convenience of description, the parameters in the training model of the cut flow model are divided into two categories, namely, feature values (for example, basic configuration parameters, parameter information used to represent the execution result of the computer instruction, and some user historical operation information). And a target value (for example, an optional configuration parameter), wherein it is assumed that there are M eigenvalues, set to x 1 , x 2 , ... x M , assuming there are N target values, set to y 1 , y 2 , ... y N.
可以理解的是,特征值与目标值之间存在某种函数关系,并且每个目标值都会受到M个特征值中的全部或部分影响,因此可以建立每个目标值与多个特征值之间的函数关系,如下:It can be understood that there is a certain functional relationship between the eigenvalue and the target value, and each target value is affected by all or part of the M eigenvalues, so that each target value and multiple eigenvalues can be established. The function relationship is as follows:
y 1=f 1(x 1,x 2,…x M) y 1 =f 1 (x 1 ,x 2 ,...x M )
y 2=f 2(x 1,x 2,…x M) y 2 =f 2 (x 1 ,x 2 ,...x M )
……......
y N=f N(x 1,x 2,…x M) y N =f N (x 1 ,x 2 ,...x M )
由上述描述可知,N个目标值对应N个函数,每一函数可以以M个特征值中的全部或部分作为输入,以1个目标值作为输出。As can be seen from the above description, the N target values correspond to N functions, and each function can take all or part of the M eigenvalues as input and one target value as an output.
进一步,可以利用预设算法,例如监督学习算法对上述样本进行训练,得到上述关系函数,也即得到预测模型,由上述描述可知,该预测模型以可以以目标值作为输出值,以特征值作为输入值。Further, a predetermined algorithm, such as a supervised learning algorithm, may be used to train the sample to obtain the above relationship function, that is, a prediction model is obtained. According to the above description, the prediction model can take the target value as an output value and use the feature value as the feature value. input value.
需要说明的是,该预测模型的形式可以根据实际训练需求选择,例如线性回归模型(linear regression model)、逻辑斯谛回归模型(logistic regression model)等等。本说明书实施例对模型的选择及具体的训练算法均不作限定。It should be noted that the form of the prediction model can be selected according to actual training needs, such as a linear regression model, a logistic regression model, and the like. The embodiment of the present specification does not limit the selection of the model and the specific training algorithm.
基于上述训练得出的预测模型,在一实施例中,则可以基于该预测模型实现:通过输入控件接收到用户输入的针对用户选择的功能控件的基本配置参数之后,则可以根据该预测模型确定待配置的可选配置参数,可以理解的是,在确定待配置的可选配置参数时,输入至少包括上述用户针对选择的功能控件输入的基本配置参数,还可以包括其他信息,例如一些用户历史操作信息,本说明书实施例对此并不作限制。The prediction model based on the above training may be implemented in an embodiment according to the prediction model: after receiving the basic configuration parameters of the function control selected by the user for the user input through the input control, the prediction model may be determined according to the prediction model. The optional configuration parameter to be configured, it can be understood that, when determining the optional configuration parameter to be configured, the input includes at least basic configuration parameters input by the user for the selected function control, and may also include other information, such as some user history. The operation information is not limited in this embodiment of the present specification.
进一步,确定待配置的可选配置参数后,可以在图6所示例的配置界面上显示所确定的待配置的可选配置参数,以供用户确认。当然,如果用户对推荐的参数值不满意,也可以进一步手动进行修改。Further, after the optional configuration parameter to be configured is determined, the determined optional configuration parameter to be configured may be displayed on the configuration interface of the example shown in FIG. 6 for the user to confirm. Of course, if the user is not satisfied with the recommended parameter values, it can be further modified manually.
由上述描述可知,本说明书实施例提供的技术方案,通过从历史切流记录中获取切流数据集,根据所获取的切流数据集生成切流模型训练样本,利用预设算法对该样本进行训练得到预测模型,该预测模型可以以基本配置参数作为输入值,以可选配置参数作为输出值,从而实现后续根据用户输入的基本配置参数即可预测出对应的可选配置参数,继而生成用于实现切流流程的计算机指令,也即实现通过用户的简单操作即可编排出完整的,契合用户实际需求切流流程,从而节省用户操作,提高切流效率,提升用户体验。It can be seen from the above description that the technical solution provided by the embodiment of the present specification generates a cut flow model training sample from the historical cut flow data set, and generates a cut flow model training sample according to the obtained cut flow data set, and uses the preset algorithm to perform the sample on the cut flow model. The training obtains a prediction model, which can take the basic configuration parameters as input values and the optional configuration parameters as output values, so that the corresponding optional configuration parameters can be predicted according to the basic configuration parameters input by the user, and then generated. The computer instruction for realizing the flow cutting process, that is, the simple operation of the user can be programmed to discharge the complete flow process that meets the actual needs of the user, thereby saving user operations, improving the efficiency of cutting flow, and improving the user experience.
相应于上述方法实施例,本说明书实施例还提供一种流量切换装置,参见图9所示,为本说明书一示例性实施例示出的流量切换装置的框图,该装置可以包括:第一输出模 块910、流程图生成模块920、指令生成模块930、指令执行模块940。Corresponding to the above method embodiment, the embodiment of the present specification further provides a flow switching device. Referring to FIG. 9 , which is a block diagram of a flow switching device according to an exemplary embodiment of the present disclosure, the device may include: a first output module. 910. The flowchart generation module 920, the instruction generation module 930, and the instruction execution module 940.
其中,第一输出模块910,用于通过预设的功能界面显示输出至少一个可供用户选择的功能控件,其中,每一所述功能控件封装有一项与切流相关的业务流程;The first output module 910 is configured to display, by using a preset function interface, at least one function control that is selectable by the user, where each of the function controls encapsulates a business process related to cutting flow;
流程图生成模块920,用于确定用户选择的功能控件,并根据用户针对所选择的功能控件设置的执行顺序得到可视化切流流程图;The flowchart generating module 920 is configured to determine a function control selected by the user, and obtain a visual flow chart according to an execution sequence set by the user for the selected function control;
指令生成模块930,用于根据所述可视化切流流程图生成用于实现切流流程的计算机指令;An instruction generating module 930, configured to generate, according to the visual stream cutting flowchart, a computer instruction for implementing a stream cutting process;
指令执行模块940,用于执行所述计算机指令。An instruction execution module 940 is configured to execute the computer instructions.
在一实施例中,所述流程图生成模块920可以包括(图9中未示出):In an embodiment, the flowchart generation module 920 can include (not shown in FIG. 9):
指令接收子模块,用于接收到用户针对至少一个功能控件的拖拽指令;An instruction receiving submodule, configured to receive a drag and drop instruction of the user for the at least one function control;
流程图输出子模块,用于基于所述拖拽指令在预设的流程编排界面上显示输出所述至少一个功能控件,得到可视化切流流程图。The flowchart output sub-module is configured to display and output the at least one function control on the preset flow programming interface according to the dragging instruction, to obtain a visual cut flow flow chart.
在一实施例中,所述装置还可以包括(图9中未示出):In an embodiment, the apparatus may also include (not shown in Figure 9):
第二输出模块,用于向用户输出预设的配置界面,所述配置界面上包括至少一个输入控件;a second output module, configured to output a preset configuration interface to the user, where the configuration interface includes at least one input control;
参数接收模块,用于通过所述输入控件接收用户输入的针对所述用户选择的功能控件的配置参数。And a parameter receiving module, configured to receive, by the input control, a configuration parameter input by the user for the function control selected by the user.
在一实施例中,所述配置参数可以包括:基本配置参数,所述基本配置参数包括下述至少一项:In an embodiment, the configuration parameter may include: a basic configuration parameter, the basic configuration parameter including at least one of the following:
切流类型、切流路径信息、切流过程时长、切流过程中涉及到的设备数量。The type of cut flow, the information of the cut flow path, the duration of the cut flow process, and the number of devices involved in the cut flow process.
在一实施例中,所述配置参数还包括:可选配置参数,所述可选配置参数包括下述至少一项:In an embodiment, the configuration parameter further includes: an optional configuration parameter, where the optional configuration parameter includes at least one of the following:
针对监控事件的配置参数、针对回滚事件的配置参数。Configuration parameters for monitoring events, configuration parameters for rollback events.
在一实施例中,所述装置还可以包括(图9中未示出):In an embodiment, the apparatus may also include (not shown in Figure 9):
参数确定模块,用于根据预先训练的预测模型,确定待配置的可选配置参数;a parameter determining module, configured to determine an optional configuration parameter to be configured according to the pre-trained prediction model;
参数输出模块,用于在所述配置界面上显示输出所确定的待配置的可选配置参 数。And a parameter output module, configured to display, on the configuration interface, an optional configuration parameter to be configured determined by the output.
在一实施例中,所述装置还可以包括(图9中未示出):In an embodiment, the apparatus may also include (not shown in Figure 9):
数据集获取模块,用于从历史切流记录中获取切流数据集,每条切流数据至少包括:与所述切流流程相关的功能控件的基本配置参数与可选配置参数;a data set obtaining module, configured to obtain a cut data set from the historical cut flow record, where each cut flow data includes at least: basic configuration parameters and optional configuration parameters of the function control related to the cut flow process;
样本获取模块,用于根据所获取的切流数据集生成切流模型训练样本;a sample acquisition module, configured to generate a cut flow model training sample according to the acquired cut stream data set;
训练模块,用于利用预设算法对所述样本进行训练得到所述预测模型,所述预测模型以基本配置参数作为输入值,以可选配置参数作为输出值。And a training module, configured to train the sample by using a preset algorithm to obtain the prediction model, where the prediction model takes a basic configuration parameter as an input value and an optional configuration parameter as an output value.
可以理解的是,上述第一输出模块910、流程图生成模块920、指令生成模块930、指令执行模块940作为四种功能独立的模块,既可以如图9所示同时配置在流量切换装置中,也可以分别单独配置在流量切换装置中,因此图9所示的结构不应理解为对本说明书实施例方案的限定。It can be understood that the first output module 910, the flowchart generation module 920, the instruction generation module 930, and the instruction execution module 940 are four functionally independent modules, which can be simultaneously configured in the flow switching device as shown in FIG. It can also be separately configured in the flow switching device, and therefore the structure shown in FIG. 9 should not be construed as limiting the embodiment of the present specification.
此外,上述装置中各个模块的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。In addition, the implementation process of the functions and functions of the modules in the foregoing apparatus is specifically described in the implementation process of the corresponding steps in the foregoing methods, and details are not described herein again.
本说明书实施例还提供一种计算机设备,其至少包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,处理器执行所述程序时实现前述的流量切换方法,该方法至少包括:通过预设的功能界面显示输出至少一个可供用户选择的功能控件,其中,每一所述功能控件封装有一项与切流相关的业务流程;确定用户选择的功能控件,并根据用户针对所选择的功能控件设置的执行顺序得到可视化切流流程图;根据所述可视化切流流程图生成用于实现切流流程的计算机指令;执行所述计算机指令。The embodiment of the present specification further provides a computer device including at least a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor performs the foregoing flow switching method when the program is executed, The method at least includes: outputting, by using a preset function interface, at least one function control that is selectable by a user, wherein each of the function controls encapsulates a business process related to cutting flow; determining a function control selected by the user, and Obtaining a visual flow chart according to an execution sequence set by the user for the selected function control; generating computer instructions for implementing a stream cutting process according to the visual stream flow chart; and executing the computer instruction.
在一实施例中,所述确定用户选择的功能控件,并根据用户针对所选择的功能控件设置的执行顺序得到可视化切流流程图,包括:接收到用户针对至少一个功能控件的拖拽指令;基于所述拖拽指令在预设的流程编排界面上显示输出所述至少一个功能控件,得到可视化切流流程图。In an embodiment, the determining a function control selected by the user, and obtaining a visual flow chart according to an execution sequence set by the user for the selected function control, includes: receiving a drag command of the user for the at least one function control; And displaying, according to the dragging instruction, the outputting the at least one function control on a preset flow programming interface to obtain a visual cut flow flow chart.
在一实施例中,在所述确定用户选择的功能控件之后,所述方法还包括:向用户输出预设的配置界面,所述配置界面上包括至少一个输入控件;通过所述输入控件接收用户输入的针对所述用户选择的功能控件的配置参数。In an embodiment, after the determining the function control selected by the user, the method further includes: outputting, to the user, a preset configuration interface, where the configuration interface includes at least one input control; receiving the user by using the input control Enter the configuration parameters for the function controls selected by the user.
在一实施例中,所述配置参数包括:基本配置参数,所述基本配置参数包括下 述至少一项:切流类型、切流路径信息、切流过程时长、切流过程中涉及到的设备数量。In an embodiment, the configuration parameter includes: a basic configuration parameter, where the basic configuration parameter includes at least one of the following: a cut flow type, a cut flow path information, a cut flow process duration, and a device involved in the cut flow process. Quantity.
在一实施例中,所述配置参数还包括:可选配置参数,所述可选配置参数包括下述至少一项:针对监控事件的配置参数、针对回滚事件的配置参数。In an embodiment, the configuration parameter further includes: an optional configuration parameter, where the optional configuration parameter includes at least one of: a configuration parameter for a monitoring event, and a configuration parameter for a rollback event.
在一实施例中,在通过所述输入控件接收到用户输入的针对所述用户选择的功能控件的基本配置参数之后,所述方法还包括:根据预先训练的预测模型,确定待配置的可选配置参数;在所述配置界面上显示输出所确定的待配置的可选配置参数。In an embodiment, after receiving, by the input control, a basic configuration parameter input by the user for the function control selected by the user, the method further comprises: determining, according to the pre-trained prediction model, an optional to be configured The configuration parameter is displayed on the configuration interface, and the optional configuration parameter to be configured determined by the output is displayed.
在一实施例中,训练得到所述预测模型的过程包括:从历史切流记录中获取切流数据集,每条切流数据至少包括:与所述切流流程相关的功能控件的基本配置参数与可选配置参数;根据所获取的切流数据集生成切流模型训练样本;利用预设算法对所述样本进行训练得到所述预测模型,所述预测模型以基本配置参数作为输入值,以可选配置参数作为输出值。In an embodiment, the process of obtaining the prediction model includes: acquiring a cut data set from the historical cut record, each cut flow data including at least: basic configuration parameters of the function control related to the cut flow process And selecting an optional configuration parameter; generating a cut flow model training sample according to the obtained cut flow data set; and training the sample by using a preset algorithm to obtain the predicted model, where the predicted model takes the basic configuration parameter as an input value, Optional configuration parameters are used as output values.
图10示出了本说明书实施例所提供的一种更为具体的计算设备硬件结构示意图,该设备可以包括:处理器1010、存储器1020、输入/输出接口1030、通信接口1040和总线1050。其中处理器1010、存储器1020、输入/输出接口1030和通信接口1040通过总线1050实现彼此之间在设备内部的通信连接。FIG. 10 is a schematic diagram showing a hardware structure of a more specific computing device provided by an embodiment of the present specification. The device may include a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input/output interface 1030, and the communication interface 1040 implement communication connections within the device with each other through the bus 1050.
处理器1010可以采用通用的CPU(Central Processing Unit,中央处理器)、微处理器、应用专用集成电路(Application Specific Integrated Circuit,ASIC)、或者一个或多个集成电路等方式实现,用于执行相关程序,以实现本说明书实施例所提供的技术方案。The processor 1010 can be implemented by using a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits for performing correlation. The program is implemented to implement the technical solutions provided by the embodiments of the present specification.
存储器1020可以采用ROM(Read Only Memory,只读存储器)、RAM(Random Access Memory,随机存取存储器)、静态存储设备,动态存储设备等形式实现。存储器1020可以存储操作系统和其他应用程序,在通过软件或者固件来实现本说明书实施例所提供的技术方案时,相关的程序代码保存在存储器1020中,并由处理器1010来调用执行。The memory 1020 can be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1020 can store an operating system and other applications. When the technical solution provided by the embodiment of the present specification is implemented by software or firmware, the related program code is saved in the memory 1020 and is called and executed by the processor 1010.
输入/输出接口1030用于连接输入/输出模块,以实现信息输入及输出。输入输出/模块可以作为组件配置在设备中(图10中未示出),也可以外接于设备以提供相应功能。其中输入设备可以包括键盘、鼠标、触摸屏、麦克风、各类传感器等,输出设备可以包括显示器、扬声器、振动器、指示灯等。The input/output interface 1030 is used to connect an input/output module to implement information input and output. The input/output/module can be configured as a component in the device (not shown in Figure 10) or externally to the device to provide the corresponding functionality. The input device may include a keyboard, a mouse, a touch screen, a microphone, various types of sensors, and the like, and the output device may include a display, a speaker, a vibrator, an indicator light, and the like.
通信接口1040用于连接通信模块(图10中未示出),以实现本设备与其他设备的通信交互。其中通信模块可以通过有线方式(例如USB、网线等)实现通信,也可以通过无线方式(例如移动网络、WIFI、蓝牙等)实现通信。The communication interface 1040 is used to connect a communication module (not shown in FIG. 10) to implement communication interaction between the device and other devices. The communication module can communicate by wired means (such as USB, network cable, etc.), or can communicate by wireless means (such as mobile network, WIFI, Bluetooth, etc.).
总线1050包括一通路,在设备的各个组件(例如处理器1010、存储器1020、输入/输出接口1030和通信接口1040)之间传输信息。 Bus 1050 includes a path for communicating information between various components of the device, such as processor 1010, memory 1020, input/output interface 1030, and communication interface 1040.
需要说明的是,尽管上述设备仅示出了处理器1010、存储器1020、输入/输出接口1030、通信接口1040以及总线1050,但是在具体实施过程中,该设备还可以包括实现正常运行所必需的其他组件。此外,本领域的技术人员可以理解的是,上述设备中也可以仅包含实现本说明书实施例方案所必需的组件,而不必包含图中所示的全部组件。It should be noted that although the above device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040, and the bus 1050, in a specific implementation, the device may also include necessary for normal operation. Other components. In addition, it will be understood by those skilled in the art that the above-mentioned devices may also include only the components necessary for implementing the embodiments of the present specification, and do not necessarily include all the components shown in the drawings.
本说明书实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现前述的流量切换方法。该方法至少包括:通过预设的功能界面显示输出至少一个可供用户选择的功能控件,其中,每一所述功能控件封装有一项与切流相关的业务流程;确定用户选择的功能控件,并根据用户针对所选择的功能控件设置的执行顺序得到可视化切流流程图;根据所述可视化切流流程图生成用于实现切流流程的计算机指令;执行所述计算机指令。The embodiment of the present specification further provides a computer readable storage medium, on which a computer program is stored, and when the program is executed by the processor, the foregoing traffic switching method is implemented. The method at least includes: outputting, by using a preset function interface, at least one function control that is selectable by a user, wherein each of the function controls encapsulates a business process related to cutting flow; determining a function control selected by the user, and Obtaining a visual flow chart according to an execution sequence set by the user for the selected function control; generating computer instructions for implementing a stream cutting process according to the visual stream flow chart; and executing the computer instruction.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media includes both permanent and non-persistent, removable and non-removable media. Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本说明书实施例可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本说明书实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等) 执行本说明书实施例各个实施例或者实施例的某些部分所述的方法。It can be clearly understood by those skilled in the art that the embodiments of the present specification can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution of the embodiments of the present specification may be embodied in the form of a software product in essence or in the form of a software product, which may be stored in a storage medium such as a ROM/RAM. Disks, optical disks, and the like, including instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments or portions of the embodiments of the present specification.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机,计算机的具体形式可以是个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任意几种设备的组合。The system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function. A typical implementation device is a computer, and the specific form of the computer may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, and a game control. A combination of a tablet, a tablet, a wearable device, or any of these devices.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,在实施本说明书实施例方案时可以把各模块的功能在同一个或多个软件和/或硬件中实现。也可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。The various embodiments in the specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment. The device embodiments described above are merely illustrative, and the modules described as separate components may or may not be physically separated, and the functions of the modules may be the same in the implementation of the embodiments of the present specification. Or implemented in multiple software and/or hardware. It is also possible to select some or all of the modules according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.
以上所述仅是本说明书实施例的具体实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本说明书实施例原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本说明书实施例的保护范围。The above is only a specific embodiment of the embodiments of the present specification, and it should be noted that those skilled in the art can make some improvements and refinements without departing from the principles of the embodiments of the present specification. Improvements and retouching should also be considered as protection of embodiments of the present specification.

Claims (15)

  1. 一种流量切换方法,所述方法包括:A flow switching method, the method comprising:
    通过预设的功能界面显示输出至少一个可供用户选择的功能控件,其中,每一所述功能控件封装有一项与切流相关的业务流程;Displaying, by using a preset function interface, at least one function control that is selectable by a user, wherein each of the function controls encapsulates a business process related to cutting flow;
    确定用户选择的功能控件,并根据用户针对所选择的功能控件设置的执行顺序得到可视化切流流程图;Determining the function control selected by the user, and obtaining a visual flow chart according to the execution sequence set by the user for the selected function control;
    根据所述可视化切流流程图生成用于实现切流流程的计算机指令;Generating a computer instruction for implementing a stream cutting process according to the visual stream cutting flowchart;
    执行所述计算机指令。Executing the computer instructions.
  2. 根据权利要求1所述的方法,所述确定用户选择的功能控件,并根据用户针对所选择的功能控件设置的执行顺序得到可视化切流流程图,包括:The method according to claim 1, wherein the function control selected by the user is determined, and a visual flow chart is obtained according to an execution sequence set by the user for the selected function control, including:
    接收到用户针对至少一个功能控件的拖拽指令;Receiving a user drag and drop instruction for at least one function control;
    基于所述拖拽指令在预设的流程编排界面上显示输出所述至少一个功能控件,得到可视化切流流程图。And displaying, according to the dragging instruction, the outputting the at least one function control on a preset flow programming interface to obtain a visual cut flow flow chart.
  3. 根据权利要求1所述的方法,在所述确定用户选择的功能控件之后,所述方法还包括:The method according to claim 1, after the determining the function control selected by the user, the method further comprises:
    向用户输出预设的配置界面,所述配置界面上包括至少一个输入控件;Outputting a preset configuration interface to the user, where the configuration interface includes at least one input control;
    通过所述输入控件接收用户输入的针对所述用户选择的功能控件的配置参数。A configuration parameter input by the user for the function control selected by the user is received by the input control.
  4. 根据权利要求3所述的方法,所述配置参数包括:基本配置参数,所述基本配置参数包括下述至少一项:The method of claim 3, the configuration parameter comprising: a basic configuration parameter, the basic configuration parameter comprising at least one of the following:
    切流类型、切流路径信息、切流过程时长、切流过程中涉及到的设备数量。The type of cut flow, the information of the cut flow path, the duration of the cut flow process, and the number of devices involved in the cut flow process.
  5. 根据权利要求4所述的方法,所述配置参数还包括:可选配置参数,所述可选配置参数包括下述至少一项:The method of claim 4, the configuration parameter further comprising: an optional configuration parameter, the optional configuration parameter comprising at least one of the following:
    针对监控事件的配置参数、针对回滚事件的配置参数。Configuration parameters for monitoring events, configuration parameters for rollback events.
  6. 根据权利要求5所述的方法,在通过所述输入控件接收到用户输入的针对所述用户选择的功能控件的基本配置参数之后,所述方法还包括:The method of claim 5, after receiving the basic configuration parameters of the user-selected function control input by the user through the input control, the method further comprises:
    根据预先训练的预测模型,确定待配置的可选配置参数;Determining optional configuration parameters to be configured according to the pre-trained prediction model;
    在所述配置界面上显示输出所确定的待配置的可选配置参数。The optional configuration parameters to be configured determined by the output are displayed on the configuration interface.
  7. 根据权利要求6所述的方法,训练得到所述预测模型的过程包括:The method of claim 6 wherein the process of training the predictive model comprises:
    从历史切流记录中获取切流数据集,每条切流数据至少包括:与所述切流流程相关的功能控件的基本配置参数与可选配置参数;Obtaining a cut data set from the historical cut flow record, each cut flow data at least comprising: basic configuration parameters and optional configuration parameters of the function control related to the cut flow process;
    根据所获取的切流数据集生成切流模型训练样本;Generating a cut flow model training sample according to the obtained cut stream data set;
    利用预设算法对所述样本进行训练得到所述预测模型,所述预测模型以基本配置参数作为输入值,以可选配置参数作为输出值。The sample is trained using a preset algorithm to obtain the prediction model, the prediction model taking the basic configuration parameter as an input value and the optional configuration parameter as an output value.
  8. 一种流量切换装置,所述装置包括:A flow switching device, the device comprising:
    第一输出模块,用于通过预设的功能界面显示输出至少一个可供用户选择的功能控件,其中,每一所述功能控件封装有一项与切流相关的业务流程;a first output module, configured to output, by using a preset function interface, at least one function control that is selectable by a user, wherein each of the function controls encapsulates a business process related to cutting flow;
    流程图生成模块,用于确定用户选择的功能控件,并根据用户针对所选择的功能控件设置的执行顺序得到可视化切流流程图;a flow chart generating module, configured to determine a function control selected by the user, and obtain a visual flow chart according to an execution sequence set by the user for the selected function control;
    指令生成模块,用于根据所述可视化切流流程图生成用于实现切流流程的计算机指令;An instruction generating module, configured to generate, according to the visual stream cutting flowchart, a computer instruction for implementing a stream cutting process;
    指令执行模块,用于执行所述计算机指令。An instruction execution module for executing the computer instructions.
  9. 根据权利要求8所述的装置,所述流程图生成模块包括:The apparatus of claim 8, the flowchart generation module comprising:
    指令接收子模块,用于接收到用户针对至少一个功能控件的拖拽指令;An instruction receiving submodule, configured to receive a drag and drop instruction of the user for the at least one function control;
    流程图输出子模块,用于基于所述拖拽指令在预设的流程编排界面上显示输出所述至少一个功能控件,得到可视化切流流程图。The flowchart output sub-module is configured to display and output the at least one function control on the preset flow programming interface according to the dragging instruction, to obtain a visual cut flow flow chart.
  10. 根据权利要求8所述的装置,所述装置还包括:The apparatus of claim 8 further comprising:
    第二输出模块,用于向用户输出预设的配置界面,所述配置界面上包括至少一个输入控件;a second output module, configured to output a preset configuration interface to the user, where the configuration interface includes at least one input control;
    参数接收模块,用于通过所述输入控件接收用户输入的针对所述用户选择的功能控件的配置参数。And a parameter receiving module, configured to receive, by the input control, a configuration parameter input by the user for the function control selected by the user.
  11. 根据权利要求10所述的装置,所述配置参数包括:基本配置参数,所述基本配置参数包括下述至少一项:The apparatus according to claim 10, wherein the configuration parameter comprises: a basic configuration parameter, the basic configuration parameter comprising at least one of the following:
    切流类型、切流路径信息、切流过程时长、切流过程中涉及到的设备数量。The type of cut flow, the information of the cut flow path, the duration of the cut flow process, and the number of devices involved in the cut flow process.
  12. 根据权利要求11所述的装置,所述配置参数还包括:可选配置参数,所述可选配置参数包括下述至少一项:The apparatus of claim 11, the configuration parameter further comprising: an optional configuration parameter, the optional configuration parameter comprising at least one of the following:
    针对监控事件的配置参数、针对回滚事件的配置参数。Configuration parameters for monitoring events, configuration parameters for rollback events.
  13. 根据权利要求12所述的装置,所述装置还包括:The device of claim 12, the device further comprising:
    参数确定模块,用于根据预先训练的预测模型,确定待配置的可选配置参数;a parameter determining module, configured to determine an optional configuration parameter to be configured according to the pre-trained prediction model;
    参数输出模块,用于在所述配置界面上显示输出所确定的待配置的可选配置参数。And a parameter output module, configured to display, on the configuration interface, an optional configuration parameter to be configured determined by the output.
  14. 根据权利要求13所述的装置,所述装置还包括:The apparatus of claim 13 further comprising:
    数据集获取模块,用于从历史切流记录中获取切流数据集,每条切流数据至少包括:与所述切流流程相关的功能控件的基本配置参数与可选配置参数;a data set obtaining module, configured to obtain a cut data set from the historical cut flow record, where each cut flow data includes at least: basic configuration parameters and optional configuration parameters of the function control related to the cut flow process;
    样本获取模块,用于根据所获取的切流数据集生成切流模型训练样本;a sample acquisition module, configured to generate a cut flow model training sample according to the acquired cut stream data set;
    训练模块,用于利用预设算法对所述样本进行训练得到所述预测模型,所述预测模型以基本配置参数作为输入值,以可选配置参数作为输出值。And a training module, configured to train the sample by using a preset algorithm to obtain the prediction model, where the prediction model takes a basic configuration parameter as an input value and an optional configuration parameter as an output value.
  15. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现如权利要求1至7任一项所述的方法。A computer device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor executes the program to implement the method of any one of claims 1 to method.
PCT/CN2018/125198 2018-01-25 2018-12-29 Traffic switching method and apparatus, and computer device WO2019144769A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810074864.6 2018-01-25
CN201810074864.6A CN108459792B (en) 2018-01-25 2018-01-25 Flow switching method and device and computer equipment

Publications (1)

Publication Number Publication Date
WO2019144769A1 true WO2019144769A1 (en) 2019-08-01

Family

ID=63238902

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/125198 WO2019144769A1 (en) 2018-01-25 2018-12-29 Traffic switching method and apparatus, and computer device

Country Status (3)

Country Link
CN (1) CN108459792B (en)
TW (1) TW201933830A (en)
WO (1) WO2019144769A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110503567A (en) * 2019-08-15 2019-11-26 中国平安财产保险股份有限公司 Data verification method, equipment, storage medium and device
CN114828124A (en) * 2022-05-13 2022-07-29 中国联合网络通信集团有限公司 Method and device for determining target base station

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108459792B (en) * 2018-01-25 2020-04-07 阿里巴巴集团控股有限公司 Flow switching method and device and computer equipment
CN109783859A (en) * 2018-12-13 2019-05-21 重庆金融资产交易所有限责任公司 Model building method, device and computer readable storage medium
CN111737372A (en) * 2019-03-19 2020-10-02 北京四维图新科技股份有限公司 Map data generation method and device
CN113065779B (en) * 2021-04-07 2023-08-11 网易(杭州)网络有限公司 Data processing method and device and electronic equipment
TWI814227B (en) * 2022-01-27 2023-09-01 國立高雄師範大學 Mehod for implementing library by using microservices architecture

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1755620A (en) * 2004-09-30 2006-04-05 微软公司 Workflow schedule authoring tool
US20100251155A1 (en) * 2009-03-25 2010-09-30 Microsoft Corporation Placeholder activities and in-lining of code editors in workflow designer
CN108459792A (en) * 2018-01-25 2018-08-28 阿里巴巴集团控股有限公司 A kind of flow switching method, device and computer equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1755620A (en) * 2004-09-30 2006-04-05 微软公司 Workflow schedule authoring tool
US20100251155A1 (en) * 2009-03-25 2010-09-30 Microsoft Corporation Placeholder activities and in-lining of code editors in workflow designer
CN108459792A (en) * 2018-01-25 2018-08-28 阿里巴巴集团控股有限公司 A kind of flow switching method, device and computer equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110503567A (en) * 2019-08-15 2019-11-26 中国平安财产保险股份有限公司 Data verification method, equipment, storage medium and device
CN110503567B (en) * 2019-08-15 2023-08-22 中国平安财产保险股份有限公司 Data verification method, device, storage medium and apparatus
CN114828124A (en) * 2022-05-13 2022-07-29 中国联合网络通信集团有限公司 Method and device for determining target base station
CN114828124B (en) * 2022-05-13 2023-07-14 中国联合网络通信集团有限公司 Method and device for determining target base station

Also Published As

Publication number Publication date
CN108459792B (en) 2020-04-07
TW201933830A (en) 2019-08-16
CN108459792A (en) 2018-08-28

Similar Documents

Publication Publication Date Title
WO2019144769A1 (en) Traffic switching method and apparatus, and computer device
CN107451663B (en) Algorithm componentization, modeling method and device based on algorithm components and electronic equipment
US10656917B2 (en) Generation of a device application
WO2018126935A1 (en) Voice-based interaction method and apparatus, electronic device, and operating system
US8296721B2 (en) Template-based software development
US8762936B2 (en) Dynamic design-time extensions support in an integrated development environment
US7484203B2 (en) Automated interaction diagram generation using source code breakpoints
CN110598868B (en) Machine learning model building method and device and related equipment
US9471213B2 (en) Chaining applications
JP2020505670A (en) Component Release Method, Graphic Machine Learning Algorithm Platform Based Component Construction Method, and Graphic Machine Learning Algorithm Platform
CN112214210A (en) Logistics business rule engine and configuration method, device, equipment and storage medium thereof
KR20140143028A (en) Method for operating program and an electronic device thereof
US9304838B1 (en) Scheduling and executing model components in response to un-modeled events detected during an execution of the model
US20210406794A1 (en) Flexible Work Breakdown Structure
CN109062779A (en) Test control method, main control device, controlled device and test macro
WO2017049893A1 (en) Application program testing method, testing apparatus, and mobile terminal
US20150161547A1 (en) Methods and systems to define and execute customer declarative business rules to extend business applications
CN114185874A (en) Big data based modeling method and device, development framework and equipment
US8126961B2 (en) Integration of client and server development environments
US9053084B1 (en) Self-service testing
CN114764296A (en) Machine learning model training method and device, electronic equipment and storage medium
US11586338B2 (en) Systems and methods for animated computer generated display
KR20140041603A (en) Creating logic using pre-built controls
CN115993971A (en) Active page generation method, computing device and computer storage medium
CN114327709A (en) Control page generation method and device, intelligent device and storage medium

Legal Events

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

Ref document number: 18901971

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18901971

Country of ref document: EP

Kind code of ref document: A1