TW201933830A - Traffic switching method and device and computer equipment - Google Patents

Traffic switching method and device and computer equipment Download PDF

Info

Publication number
TW201933830A
TW201933830A TW107146160A TW107146160A TW201933830A TW 201933830 A TW201933830 A TW 201933830A TW 107146160 A TW107146160 A TW 107146160A TW 107146160 A TW107146160 A TW 107146160A TW 201933830 A TW201933830 A TW 201933830A
Authority
TW
Taiwan
Prior art keywords
configuration parameters
user
flow
function control
cutting
Prior art date
Application number
TW107146160A
Other languages
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 TW201933830A publication Critical patent/TW201933830A/en

Links

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

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

The invention discloses a traffic switching method and device and computer equipment. The method comprises the steps that at least one function control capable of being selected by a user is displayed and output through a preset function interface, wherein each function control is encapsulated with a service flow relevant to traffic switching; the function control selected by the user is determined, and a visualized traffic switching flow chart is obtained according to an execution order set by the user according to the selected function control; a computer instruction used for realizing the traffic switching flow is generated according to the visualized traffic switching flow chart; and the computer instruction is executed.

Description

流量切換方法、裝置、及電腦設備Flow switching method, device and computer equipment

本說明書實施例係關於電腦應用技術領域,尤其關於一種流量切換方法、裝置、及電腦設備。The embodiments of the present specification relate to the field of computer application technology, and more particularly, to a method, a device, and a computer device for traffic switching.

出於資料安全、資料處理效率、資料運維成本等方面的考慮,很可能出現切換資料庫、切換伺服器、代碼升級等需求,在該類應用場景下,需要對業務流量進行切流,以切換資料庫為例,切流是指,在部署新的資料庫之後,按照預設策略逐步地將所有業務流量從舊資料庫引流至新資料庫。
現有技術中,對業務流量進行切流時,涉及大量的準備和開發工作,例如部署切流方案、部署切流流程、基於部署的切流流程編寫用於實現切流流程的代碼、在代碼相應位置處設置埋點資訊等,由此可見,現有的切流過程中人工作業繁雜,效率較低。
Due to data security, data processing efficiency, and data operation and maintenance considerations, it is likely that the need to switch databases, switch servers, and code upgrades will arise. In this type of application scenario, it is necessary to cut the flow of business traffic in order to For example, switching databases means that after a new database is deployed, all business traffic is gradually diverted from the old database to the new database according to a preset strategy.
In the prior art, when cutting business traffic, a large amount of preparation and development work is involved, such as deploying a cutting scheme, deploying a cutting process, and writing code for implementing the cutting process based on the deployed cutting process. The buried point information is set at the location, etc. It can be seen that the manual operation is complicated and the efficiency is low in the existing cutting process.

針對上述技術問題,本說明書實施例提供一種流量切換方法、裝置、及電腦設備,技術方案如下:
根據本說明書實施例的第一態樣,提供一種流量切換方法,所述方法包括:
透過預設的功能介面顯示輸出至少一個可供用戶選擇的功能控制項,其中,每一所述功能控制項封裝有一項與切流相關的業務流程;
確定用戶選擇的功能控制項,並根據用戶針對所選擇的功能控制項設置的執行順序得到視覺化切流流程圖;
根據所述視覺化切流流程圖生成用於實現切流流程的電腦指令;
執行所述電腦指令。
根據本說明書實施例的第二態樣,提供一種流量切換裝置,所述裝置包括:
第一輸出模組,用於透過預設的功能介面顯示輸出至少一個可供用戶選擇的功能控制項,其中,每一所述功能控制項封裝有一項與切流相關的業務流程;
流程圖生成模組,用於確定用戶選擇的功能控制項,並根據用戶針對所選擇的功能控制項設置的執行順序得到視覺化切流流程圖;
指令生成模組,用於根據所述視覺化切流流程圖生成用於實現切流流程的電腦指令;
指令執行模組,用於執行所述電腦指令。
根據本說明書實施例的第三態樣,提供一種電腦設備,包括記憶體、處理器及儲存在記憶體上並可在處理器上運行的電腦程式,其中,所述處理器執行所述程式時實現本說明書實施例提供的任一流量切換方法。
本說明書實施例提供的技術方案,透過預設的功能介面向用戶輸出至少一個可供用戶選擇的功能控制項,其中,每一功能控制項封裝有一項與切流相關的業務流程,確定用戶選擇的功能控制項,並根據用戶針對所選擇的功能控制項設置的執行順序得到視覺化切流流程圖,根據該視覺化切流流程圖即可生成用於實現切流流程的電腦指令,從而實現透過用戶的簡單操作即可編排出完整的切流流程,從而節省用戶操作,提高切流效率,提升用戶體驗。
應當理解的是,以上的一般描述和後文的細節描述僅是示例性和解釋性的,並不能限制本說明書實施例。
此外,本說明書實施例中的任一實施例並不需要達到上述的全部效果。
In view of the above technical problems, the embodiments of the present specification provide a method, a device, and a computer device for traffic switching. The technical solutions are as follows:
According to a first aspect of the embodiments of the present specification, a traffic switching method is provided, and the method includes:
Displaying and outputting at least one function control item that can be selected by a user through a preset function interface, wherein each of the function control items encapsulates a business process related to flow switching;
Determine the function control item selected by the user, and obtain a visual cutting flow chart according to the execution order set by the user for the selected function control item;
Generating computer instructions for implementing the flow-cutting flow according to the visual flow-cutting flow chart;
Executing said computer instructions.
According to a second aspect of the embodiments of the present specification, a flow switching device is provided, and the device includes:
A first output module, configured to display and output at least one function control item that can be selected by a user through a preset function interface, wherein each of the function control items encapsulates a flow-related business process;
A flowchart generation module is used to determine a function control item selected by a user, and obtain a visual cutting flow chart according to the execution order set by the user for the selected function control item;
An instruction generating module, configured to generate computer instructions for implementing the cutting flow according to the visual flow cutting flow chart;
An instruction execution module is used to execute the computer instructions.
According to a third aspect of the embodiments of the present specification, a computer device is provided, including a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein when the processor executes the program, Implement any of the traffic switching methods provided in the embodiments of this specification.
The technical solution provided in the embodiment of the present specification outputs at least one function control item for user selection through a preset function interface to the user, wherein each function control item encapsulates a business process related to flow switching to determine user selection Function control item, and obtain a visual cut-off flow chart according to the execution order set by the user for the selected function control item. According to the visual cut-off flow chart, computer instructions for implementing the cut-off flow can be generated, thereby achieving Through the simple operation of the user, a complete flow-cutting process can be programmed and discharged, thereby saving user operations, improving flow-cutting efficiency, and improving the user experience.
It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and should not limit the embodiments of the present specification.
In addition, any one of the embodiments in this specification does not need to achieve all the effects described above.

為了使本領域技術人員更好地理解本說明書實施例中的技術方案,下面將結合本說明書實施例中的附圖,對本說明書實施例中的技術方案進行詳細地描述,顯然,所描述的實施例僅僅是本說明書的一部分實施例,而不是全部的實施例。基於本說明書中的實施例,本領域普通技術人員所獲得的所有其他實施例,都應當屬於保護的範圍。
本說明書實施例提供一種流量切換方法,在該方法中,採用基於“模組化設計理念”設計出的切流流程編排系統,該切流流程編排系統提供可供用戶操作的介面,以及至少一個功能控制項,每一功能控制項封裝有一項與切流相關的業務流程,以實現用戶透過該切流流程編排系統進行簡單操作即可編排出完整的切流流程,從而節省用戶操作,提高切流效率,提升用戶體驗。如下,示出下述實施例對該流量切換方法進行詳細說明。
請參見圖1,為本說明書一示例性實施例示出的流量切換方法的流程圖,該方法可應用於上述切流流程編排系統,包括以下步驟:
步驟102:透過預設的功能介面顯示輸出至少一個可供用戶選擇的功能控制項,其中,每一功能控制項封裝有一項與切流相關的業務流程。
步驟104:確定用戶選擇的功能控制項,並根據用戶針對所選擇的功能控制項設置的執行順序得到視覺化切流流程圖。
步驟106:根據視覺化切流流程圖生成用於實現切流流程的電腦指令。
步驟108:執行用於實現切流流程的電腦指令。
如下,對上述步驟102至步驟108進行詳細描述:
請參見圖2,為本說明書一示例性實施例示出的切流流程編排系統的顯示介面示意圖,如圖2所示例的顯示介面200可以包括功能介面210與流程編排介面220,其中,功能介面210上可顯示輸出至少一個可供用戶選擇的功能控制項,每一功能控制項封裝有一項與切流相關的業務流程,例如,如圖2中所示例的“流量切換”這一功能控制項,其封裝有用於控制流量分配的業務流程,圖2中所示例的“代碼部署”這一功能控制項,其封裝有用於在指定設備上部署新代碼或者是新資料庫的業務流程,圖2中所示例的“結果校驗”這一功能控制項,其封裝有用於檢驗切流結果的業務流程。
需要說明的是,圖2中所示例的功能控制項僅僅作為舉例,在實際應用中,還可以存在封裝有其他業務流程的功能控制項,本說明書實施例對此並不作限制。
在本說明書實施例中,用戶可以透過圖2所示例的功能介面210,選擇功能控制項,並針對所選擇的功能控制項設置執行順序,從而上述切流流程編排系統則可以根據用戶選擇的功能控制項,以及用戶針對所選擇的功能控制項設置的執行順序得到視覺化切流流程圖,並在流程編排介面220上顯示這一視覺化切流流程圖(如圖2所示)。
具體的,在一可選的實現方式中,用戶可以透過外部設備,例如滑鼠,控制滑鼠指標指向其要選擇的功能控制項,繼而按下滑鼠左鍵,並移動滑鼠,此時,相當於用戶針對其選擇的功能控制項發送一個拖曳指令,亦即切流流程編排系統可以接收到用戶針對至少一個功能控制項的拖曳指令,基於該拖曳指令,用戶所選擇的功能控制項則可以隨著用戶移動滑鼠的操作而在流程編排介面220上移動,直至用戶鬆開滑鼠左鍵,此時,用戶所選擇的功能控制項則顯示輸出在流程編排介面220上。
在另一可選的實現方式中,用戶可以按照其預想的切流流程,順序選擇功能控制項,例如,首先選擇圖2所示例的“開始”這一功能控制項,此時,“開始”這一功能控制項將顯示在流程編排介面220上,並且,切流流程編排系統可以自動在該“開始”功能控制項後添加一個“連線”功能控制項,此時,用戶繼續選擇“流量切換”這一功能控制項,此時,“流量切換”這一功能控制項將顯示在最近添加的“連線”功能控制項之後,按照上述描述,切流流程編排系統繼續自動在該“流量切換”這一功能控制項後添加一個“連線”功能控制項,直至用戶選擇“結束”這一功能控制項。在上述過程中,切流流程編排系統可以自動添加“連線”功能控制項,同時,用戶也可以按照實際需求自行“繪製”連線,例如圖2中所示例的從“結果校驗”這一功能控制項指向“開始”這一功能控制項的連線,從而,透過切流流程編排系統與用戶操作可以得到圖2所示例的視覺化切流流程圖。
需要說明的是,上述兩種可選的實現方式僅僅作為舉例描述,在實際應用中,還可以存在其他實現方式,本說明書實施例對此並不作限制。
本說明書實施例中,在得到視覺化切流流程圖之後,切流流程編排系統則可以根據該視覺化切流流程圖生成用於實現切流流程的電腦指令,該電腦指令本質則為可執行代碼,繼而切流流程編排系統可以執行該電腦指令,亦即實現切流流程。
具體的,在一可選的實現方式中,如圖3所示例的切流流程編排系統的顯示介面,還可以包括“確定”和“執行”兩個功能控制項,其中“確定”這一功能控制項封裝有用於實現根據視覺化切流流程圖生成用於實現切流流程的電腦指令的業務流程,也即,當用戶觸發“確定”這一功能控制項時,切流流程編排系統則可以根據流程編排介面220上當前顯示的視覺化切流流程圖生成用於實現切流流程的電腦指令。
進一步,在生成用於實現切流流程的電腦指令後,可以在圖3所示例的顯示介面上彈出一對話方塊,例如如圖4所示,透過該對話方塊中內容,則可以提示用戶已生成用於實現切流流程的電腦指令,並且,該圖4所示例的對話方塊中還可以包括“確定”按鈕,當用戶觸發“確定”按鈕,該對話方塊關閉。
進一步,用戶可以觸發圖3所示例的切流流程編排系統的顯示介面上“執行”這一功能控制項,此時,切流流程編排系統則可以執行用於實現切流流程的電腦指令。
由上述描述可知,本說明書實施例提供的技術方案,透過預設的功能介面向用戶輸出至少一個可供用戶選擇的功能控制項,其中,每一功能控制項封裝有一項與切流相關的業務流程,確定用戶選擇的功能控制項,並根據用戶針對所選擇的功能控制項設置的執行順序得到視覺化切流流程圖,根據該視覺化切流流程圖即可生成用於實現切流流程的電腦指令,從而實現透過用戶的簡單操作即可編排出完整的切流流程,從而節省用戶操作,提高切流效率,提升用戶體驗。
在實際應用中,除了配置每一項業務流程的執行順序以外,還可以針對每一項業務流程配置具體的切流相關資訊,例如切流類型、切流路徑資訊、切流過程時長、切流過程中涉及到的設備數量、針對監控事件的切流相關資訊、針對回滾事件的切流相關資訊等等。
其中,上述切流類型可以包括資料庫切流、業務代碼切流、機房切流,具體的,資料庫切流是指,部署新的資料庫,逐步將所有業務流量從舊資料庫引流至新資料庫;業務代碼切流是指,為部分伺服器部署新版本的代碼,將部分業務流量引流至部署新版本代碼的伺服器,在確定新版本代碼可用時,逐步為全部伺服器部署新版本代碼;機房切流是指,新增伺服器,逐步將部分業務流量引流至新增伺服器。
上述針對監控事件的切流相關資訊可以包括監控事件的類型,監控主體,監控時長等等,其中,針對切流類型不同,監控事件的類型不同,例如,針對業務代碼切流,監控事件的類型可以包括業務成功率、業務量、同比環比值、業務失敗報錯率等等;針對資料庫切流,監控事件的類型可以包括資料庫連接數、資料庫訪問成功率、資料庫redo日誌等等;針對機房切流,監控事件的類型可以包括流量分鐘值、引入流量後機房報錯率等等。
上述針對回滾事件的切流相關資訊可以包括回滾事件的類型、回滾操作等等。
基於上述描述,在本說明書實施例中,可以針對上述功能介面210中的功能控制項設置切流相關資訊,為了描述方便,將針對功能控制項設置的切流相關資訊稱為功能控制項的配置參數。
首先說明,功能控制項的配置參數可以分為兩類,一類為基本配置參數,另一類為可選配置參數,其中,基本配置參數是指在實現切流流程時不可或缺的配置參數,可以包括:切流類型、切流路徑資訊、切流過程時長、切流過程中涉及到的設備數量等等;可選配置參數則是可以基於用戶需求設置的,可以包括:針對監控事件的配置參數、針對回滾事件的配置參數等等。如下,詳細描述設置功能控制項的配置參數的具體過程:
請參見圖5,為本說明書另一示例性實施例示出的流量切換方法的流程圖,該圖5所示例流程在上述圖1所示例流程的基礎上,著重描述設置功能控制項的配置參數的過程,可以包括以下步驟:
步驟502:向用戶輸出預設的配置介面,該配置介面上包括至少一個輸入控制項。
步驟504:透過輸入控制項接收用戶輸入的針對用戶選擇的功能控制項的配置參數。
如下,對步驟502與步驟504進行詳細說明:
在本說明書實施例中,上述切流流程編排系統還可以向用戶輸出預設的配置介面,如圖6所示,為本說明書一示例性實施例示出的切流流程編排系統的配置介面示意圖,其中,該配置介面上包括至少一個輸入控制項,例如圖6中所示例的與切流類型、切流時長、設備數量對應的輸入控制項,用戶可以透過這些輸入控制項為指定的功能控制項設置配置參數,從而透過輸入控制項接收用戶輸入的針對用戶選擇的功能控制項的配置參數。
舉例來說,以設置切流類型為例,如圖7所示,用戶可以觸發切流類型對應的輸入控制項的“下拉選項”,在下拉式功能表中即可顯示出可選的切流類型,用戶透過滑鼠指標點擊其所選擇的切流類型即可。
在一可選的實現方式中,用戶可以透過滑鼠指標按兩下所選擇的功能控制項,從而觸發顯示出圖6所示例的配置介面。
在另一可選的實現方式中,用戶在選擇功能控制項後,可以自動觸發顯示出圖6所示例的配置介面。
需要說明的是,上述兩種可選的實現方式僅僅作為舉例描述,在實際應用中,還可以存在其他實現方式,本說明書實施例對此並不作限制。
由上述描述可知,本說明書實施例提供的技術方案,透過向用戶輸出預設的配置介面,該配置介面上包括至少一個輸入控制項,透過該至少一個輸入控制項接收用戶輸入的針對用戶選擇的功能控制項的配置參數,可以實現後續根據用戶輸入的配置參數生成用於實現切流流程的電腦指令,亦即實現透過用戶的簡單操作即可編排出完整的,契合用戶實際需求切流流程,從而節省用戶操作,提高切流效率,提升用戶體驗。
在本說明書實施例中,考慮到針對同一用戶,例如同一企業,其所涉及到的切流流程具有較多的相似之處,例如,同一企業在一段時期內,對其機房做了多次擴展,之後仍有可能繼續擴展,由於切流場景相同,從而每次的切流流程很可能具有諸多相似之處,基於此,在本說明書實施例中提出訓練得到預測模型,透過該預測模型可以實現:在用戶編排切流流程的過程中,由該預設模型自動推薦出匹配的切流方案,從而進一步節省用戶操作,提升用戶體驗。其中,推薦切流方案的形式可以是:直接給出推薦的切流流程、或者給出對於某些待配置參數的推薦配置值,等等。
如下,詳細描述訓練得到上述預測模型的具體過程:
請參見圖8,為本說明書再一示例性實施例示出的流量切換方法的流程圖,該圖8所示例流程在上述圖1與圖5所示例流程的基礎上,著重描述預測模型的訓練過程,可以包括以下步驟:
步驟802:從歷史切流記錄中獲取切流資料集,每條切流資料至少包括:與切流流程相關的功能控制項的基本配置參數與可選配置參數。
步驟804:根據所獲取的切流資料集生成切流模型訓練樣本。
步驟806:利用預設演算法對切流模型訓練樣本進行訓練得到預測模型,預測模型以基本配置參數作為輸入值,以可選配置參數作為輸出值。
如下,對步驟802至步驟806進行詳細描述:
在本說明書實施例中,可以從歷史切流記錄中獲取切流資料集,例如,可以選擇某個時間視窗內(例如過去一個月、過去六個月等)的切流記錄作為資料來源,對於切流資料集中的每條切流資料至少可以包括:與切流流程相關的功能控制項的基本配置參數與可選配置參數,其中,基本配置參數與可選配置參數可以從用於實現切流流程的電腦指令中提取出來,每條切流資料中還可以包括用於表徵電腦指令的執行結果的參數資訊,以及一些用戶歷史操作資訊等等,這些資訊可以實現對訓練樣本的進一步篩選,本說明書實施例對此不作限制。
上述用於實現切流流程的電腦指令,以及與切流流程相關的功能控制項的基本配置參數與可選配置參數的相關描述可以參見上述實施例中的描述,在此不再詳述;用於表徵電腦指令的執行結果的參數資訊可以包括執行效率、切流成功率、切流風險等等。
後續,可以根據上述切流資料集生成切流模型訓練樣本,例如,可以將上述切流資料集作為切流模型訓練樣本,又例如,可以對切流資料集中的切流資料進行篩選或者處理(例如歸一化處理、映射處理),得到切流模型訓練樣本,本說明書實施例對此並不作限制。
具體的,為了描述方便,將上述切流模型訓練樣本中的參數分為兩類,分別為特徵值(例如基本配置參數、用於表徵電腦指令的執行結果的參數資訊、以及一些用戶歷史操作資訊)與目標值(例如可選配置參數),其中,假設存在M個特徵值,設為x1 ,x2 ,…xM ,假設存在N個目標值,設為y1 ,y2 ,…yN
可以理解的是,特徵值與目標值之間存在某種函數關係,並且每個目標值都會受到M個特徵值中的全部或部分影響,因此可以建立每個目標值與多個特徵值之間的函數關係,如下:
y1 =f1 (x1 ,x2 ,…xM )
y2 =f2 (x1 ,x2 ,…xM )
……
yN =fN (x1 ,x2 ,…xM )
由上述描述可知,N個目標值對應N個函數,每一函數可以以M個特徵值中的全部或部分作為輸入,以1個目標值作為輸出。
進一步,可以利用預設演算法,例如監督學習演算法對上述樣本進行訓練,得到上述關係函數,亦即得到預測模型,由上述描述可知,該預測模型可以以目標值作為輸出值,以特徵值作為輸入值。
需要說明的是,該預測模型的形式可以根據實際訓練需求選擇,例如線性回歸模型(linear regression model)、邏輯回歸模型(logistic regression model)等等。本說明書實施例對模型的選擇及具體的訓練演算法均不作限定。
基於上述訓練得出的預測模型,在一實施例中,則可以基於該預測模型實現:透過輸入控制項接收到用戶輸入的針對用戶選擇的功能控制項的基本配置參數之後,則可以根據該預測模型確定待配置的可選配置參數,可以理解的是,在確定待配置的可選配置參數時,輸入至少包括上述用戶針對選擇的功能控制項輸入的基本配置參數,還可以包括其他資訊,例如一些用戶歷史操作資訊,本說明書實施例對此並不作限制。
進一步,確定待配置的可選配置參數後,可以在圖6所示例的配置介面上顯示所確定的待配置的可選配置參數,以供用戶確認。當然,如果用戶對推薦的參數值不滿意,也可以進一步手動進行修改。
由上述描述可知,本說明書實施例提供的技術方案,透過從歷史切流記錄中獲取切流資料集,根據所獲取的切流資料集生成切流模型訓練樣本,利用預設演算法對該樣本進行訓練得到預測模型,該預測模型可以以基本配置參數作為輸入值,以可選配置參數作為輸出值,從而實現後續根據用戶輸入的基本配置參數即可預測出對應的可選配置參數,繼而生成用於實現切流流程的電腦指令,亦即實現透過用戶的簡單操作即可編排出完整的,契合用戶實際需求切流流程,從而節省用戶操作,提高切流效率,提升用戶體驗。
相應於上述方法實施例,本說明書實施例還提供一種流量切換裝置,參見圖9所示,為本說明書一示例性實施例示出的流量切換裝置的框圖,該裝置可以包括:第一輸出模組910、流程圖生成模組920、指令生成模組930、指令執行模組940。
其中,第一輸出模組910,用於透過預設的功能介面顯示輸出至少一個可供用戶選擇的功能控制項,其中,每一所述功能控制項封裝有一項與切流相關的業務流程;
流程圖生成模組920,用於確定用戶選擇的功能控制項,並根據用戶針對所選擇的功能控制項設置的執行順序得到視覺化切流流程圖;
指令生成模組930,用於根據所述視覺化切流流程圖生成用於實現切流流程的電腦指令;
指令執行模組940,用於執行所述電腦指令。
在一實施例中,所述流程圖生成模組920可以包括(圖9中未示出):
指令接收子模組,用於接收到用戶針對至少一個功能控制項的拖曳指令;
流程圖輸出子模組,用於基於所述拖曳指令在預設的流程編排介面上顯示輸出所述至少一個功能控制項,得到視覺化切流流程圖。
在一實施例中,所述裝置還可以包括(圖9中未示出):
第二輸出模組,用於向用戶輸出預設的配置介面,所述配置介面上包括至少一個輸入控制項;
參數接收模組,用於透過所述輸入控制項接收用戶輸入的針對所述用戶選擇的功能控制項的配置參數。
在一實施例中,所述配置參數可以包括:基本配置參數,所述基本配置參數包括下述至少一項:
切流類型、切流路徑資訊、切流過程時長、切流過程中涉及到的設備數量。
在一實施例中,所述配置參數還包括:可選配置參數,所述可選配置參數包括下述至少一項:
針對監控事件的配置參數、針對回滾事件的配置參數。
在一實施例中,所述裝置還可以包括(圖9中未示出):
參數確定模組,用於根據預先訓練的預測模型,確定待配置的可選配置參數;
參數輸出模組,用於在所述配置介面上顯示輸出所確定的待配置的可選配置參數。
在一實施例中,所述裝置還可以包括(圖9中未示出):
資料集獲取模組,用於從歷史切流記錄中獲取切流資料集,每條切流資料至少包括:與所述切流流程相關的功能控制項的基本配置參數與可選配置參數;
樣本獲取模組,用於根據所獲取的切流資料集生成切流模型訓練樣本;
訓練模組,用於利用預設演算法對所述樣本進行訓練得到所述預測模型,所述預測模型以基本配置參數作為輸入值,以可選配置參數作為輸出值。
可以理解的是,上述第一輸出模組910、流程圖生成模組920、指令生成模組930、指令執行模組940作為四種功能獨立的模組,既可以如圖9所示同時配置在流量切換裝置中,也可以分別單獨配置在流量切換裝置中,因此圖9所示的結構不應理解為對本說明書實施例方案的限定。
此外,上述裝置中各個模組的功能和作用的實現過程具體詳見上述方法中對應步驟的實現過程,在此不再贅述。
本說明書實施例還提供一種電腦設備,其至少包括記憶體、處理器及儲存在記憶體上並可在處理器上運行的電腦程式,其中,處理器執行所述程式時實現前述的流量切換方法,該方法至少包括:透過預設的功能介面顯示輸出至少一個可供用戶選擇的功能控制項,其中,每一所述功能控制項封裝有一項與切流相關的業務流程;確定用戶選擇的功能控制項,並根據用戶針對所選擇的功能控制項設置的執行順序得到視覺化切流流程圖;根據所述視覺化切流流程圖生成用於實現切流流程的電腦指令;執行所述電腦指令。
在一實施例中,所述確定用戶選擇的功能控制項,並根據用戶針對所選擇的功能控制項設置的執行順序得到視覺化切流流程圖,包括:接收到用戶針對至少一個功能控制項的拖曳指令;基於所述拖曳指令在預設的流程編排介面上顯示輸出所述至少一個功能控制項,得到視覺化切流流程圖。
在一實施例中,在所述確定用戶選擇的功能控制項之後,所述方法還包括:向用戶輸出預設的配置介面,所述配置介面上包括至少一個輸入控制項;透過所述輸入控制項接收用戶輸入的針對所述用戶選擇的功能控制項的配置參數。
在一實施例中,所述配置參數包括:基本配置參數,所述基本配置參數包括下述至少一項:切流類型、切流路徑資訊、切流過程時長、切流過程中涉及到的設備數量。
在一實施例中,所述配置參數還包括:可選配置參數,所述可選配置參數包括下述至少一項:針對監控事件的配置參數、針對回滾事件的配置參數。
在一實施例中,在透過所述輸入控制項接收到用戶輸入的針對所述用戶選擇的功能控制項的基本配置參數之後,所述方法還包括:根據預先訓練的預測模型,確定待配置的可選配置參數;在所述配置介面上顯示輸出所確定的待配置的可選配置參數。
在一實施例中,訓練得到所述預測模型的過程包括:從歷史切流記錄中獲取切流資料集,每條切流資料至少包括:與所述切流流程相關的功能控制項的基本配置參數與可選配置參數;根據所獲取的切流資料集生成切流模型訓練樣本;利用預設演算法對所述樣本進行訓練得到所述預測模型,所述預測模型以基本配置參數作為輸入值,以可選配置參數作為輸出值。
圖10示出了本說明書實施例所提供的一種更為具體的計算設備硬體結構示意圖,該設備可以包括:處理器1010、記憶體1020、輸入/輸出介面1030、通信介面1040和匯流排1050。其中處理器1010、記憶體1020、輸入/輸出介面1030和通信介面1040透過匯流排1050實現彼此之間在設備內部的通信連接。
處理器1010可以採用通用的CPU(Central Processing Unit,中央處理器)、微處理器、應用專用積體電路(Application Specific Integrated Circuit,ASIC)、或者一個或多個積體電路等方式實現,用於執行相關程式,以實現本說明書實施例所提供的技術方案。
記憶體1020可以採用ROM(Read Only Memory,唯讀記憶體)、RAM(Random Access Memory,隨機存取記憶體)、靜態存放裝置,動態儲存裝置設備等形式實現。記憶體1020可以儲存作業系統和其他應用程式,在透過軟體或者韌體來實現本說明書實施例所提供的技術方案時,相關的程式碼保存在記憶體1020中,並由處理器1010來調用執行。
輸入/輸出介面1030用於連接輸入/輸出模組,以實現資訊輸入及輸出。輸入輸出/模組可以作為元件配置在設備中(圖10中未示出),也可以外接於設備以提供相應功能。其中輸入裝置可以包括鍵盤、滑鼠、觸控式螢幕、麥克風、各類感測器等,輸出設備可以包括顯示器、揚聲器、振動器、指示燈等。
通信介面1040用於連接通信模組(圖10中未示出),以實現本設備與其他設備的通信交互。其中通信模組可以透過有線方式(例如USB、網線等)實現通信,也可以透過無線方式(例如移動網路、WIFI、藍牙等)實現通信。
匯流排1050包括一通路,在設備的各個元件(例如處理器1010、記憶體1020、輸入/輸出介面1030和通信介面1040)之間傳輸資訊。
需要說明的是,儘管上述設備僅示出了處理器1010、記憶體1020、輸入/輸出介面1030、通信介面1040以及匯流排1050,但是在具體實施過程中,該設備還可以包括實現正常運行所必需的其他元件。此外,本領域的技術人員可以理解的是,上述設備中也可以僅包含實現本說明書實施例方案所必需的組件,而不必包含圖中所示的全部元件。
本說明書實施例還提供一種電腦可讀儲存媒體,其上儲存有電腦程式,該程式被處理器執行時實現前述的流量切換方法。該方法至少包括:透過預設的功能介面顯示輸出至少一個可供用戶選擇的功能控制項,其中,每一所述功能控制項封裝有一項與切流相關的業務流程;確定用戶選擇的功能控制項,並根據用戶針對所選擇的功能控制項設置的執行順序得到視覺化切流流程圖;根據所述視覺化切流流程圖生成用於實現切流流程的電腦指令;執行所述電腦指令。
電腦可讀媒體包括永久性和非永久性、可移動和非可移動媒體可以由任何方法或技術來實現資訊儲存。資訊可以是電腦可讀指令、資料結構、程式的模組或其他資料。電腦的儲存媒體的例子包括,但不限於相變記憶體(PRAM)、靜態隨機存取記憶體(SRAM)、動態隨機存取記憶體(DRAM)、其他類型的隨機存取記憶體(RAM)、唯讀記憶體(ROM)、電可擦除可編程唯讀記憶體(EEPROM)、快閃記憶體或其他記憶體技術、唯讀光碟唯讀記憶體(CD-ROM)、數位多功能光碟(DVD)或其他光學儲存、磁盒式磁帶,磁帶磁磁片儲存或其他磁性存放裝置或任何其他非傳輸媒體,可用於儲存可以被計算設備訪問的資訊。按照本文中的界定,電腦可讀媒體不包括暫存電腦可讀媒體(transitory media),如調製的資料信號和載波。
透過以上的實施方式的描述可知,本領域的技術人員可以清楚地瞭解到本說明書實施例可借助軟體加必需的通用硬體平台的方式來實現。基於這樣的理解,本說明書實施例的技術方案本質上或者說對現有技術做出貢獻的部分可以以軟體產品的形式體現出來,該電腦軟體產品可以儲存在儲存媒體中,如ROM/RAM、磁碟、光碟等,包括若干指令用以使得一台電腦設備(可以是個人電腦,伺服器,或者網路設備等)執行本說明書實施例各個實施例或者實施例的某些部分所述的方法。
上述實施例闡明的系統、裝置、模組或單元,具體可以由電腦晶片或實體實現,或者由具有某種功能的產品來實現。一種典型的實現設備為電腦,電腦的具體形式可以是個人電腦、膝上型電腦、蜂窩電話、相機電話、智慧型電話、個人數位助理、媒體播放機、導航設備、電子郵件收發設備、遊戲控制台、平板電腦、可穿戴設備或者這些設備中的任意幾種設備的組合。
本說明書中的各個實施例均採用遞進的方式描述,各個實施例之間相同相似的部分互相參見即可,每個實施例重點說明的都是與其他實施例的不同之處。尤其,對於裝置實施例而言,由於其基本相似於方法實施例,所以描述得比較簡單,相關之處參見方法實施例的部分說明即可。以上所描述的裝置實施例僅僅是示意性的,其中所述作為分離部件說明的模組可以是或者也可以不是物理上分開的,在實施本說明書實施例方案時可以把各模組的功能在同一個或多個軟體和/或硬體中實現。也可以根據實際的需要選擇其中的部分或者全部模組來實現本實施例方案的目的。本領域普通技術人員在不付出創造性勞動的情況下,即可以理解並實施。
以上所述僅是本說明書實施例的具體實施方式,應當指出,對於本技術領域的普通技術人員來說,在不脫離本說明書實施例原理的前提下,還可以做出若干改進和潤飾,這些改進和潤飾也應視為本說明書實施例的保護範圍。
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 drawings in the embodiments of the present specification. Obviously, the described implementations The examples are only a part of the embodiments of this specification, but not all the examples. Based on the embodiments in this specification, all other embodiments obtained by a person having ordinary skill in the art should fall within the protection scope.
The embodiment of the present specification provides a flow switching method. In this method, a cutting flow orchestration system designed based on a “modular design concept” is adopted. The cutting flow orchestration system provides an interface that can be operated by a user, and at least one Function control items. Each function control item encapsulates a flow-related business process, so that users can edit and discharge the complete flow-cutting process through simple operations through the flow-cutting process orchestration system, thereby saving user operations and improving the flow-cutting. Stream efficiency and improve user experience. The following embodiment is used to describe the flow switching method in detail as follows.
Please refer to FIG. 1, which is a flowchart of a traffic switching method according to an exemplary embodiment of the present specification. The method can be applied to the above-mentioned cut flow orchestration system and includes the following steps:
Step 102: Display and output at least one function control item that can be selected by the user through a preset function interface, wherein each function control item encapsulates a flow-related business process.
Step 104: Determine the function control item selected by the user, and obtain a visual cut-off flow chart according to the execution order set by the user for the selected function control item.
Step 106: Generate computer instructions for implementing the flow-cutting flow according to the visual flow-cutting flow chart.
Step 108: Execute computer instructions for implementing the flow-cutting process.
The above steps 102 to 108 are described in detail as follows:
Please refer to FIG. 2, which is a schematic diagram of a display interface of a chopping flow orchestration system according to an exemplary embodiment of the present specification. The display interface 200 shown in FIG. 2 may include a functional interface 210 and a process orchestration interface 220. Among them, the functional interface 210 At least one function control item that can be selected by the user can be displayed and output, and each function control item encapsulates a flow-related business process, for example, a function control item such as "flow switching" illustrated in FIG. 2, It encapsulates the business process for controlling traffic distribution. The functional control item of "code deployment" illustrated in Figure 2 encapsulates the business process for deploying new code or a new database on a specified device, as shown in Figure 2. The functional control of "exemplary verification" shown in the example encapsulates a business process for verifying the result of cutting flow.
It should be noted that the function control items illustrated in FIG. 2 are merely examples. In actual applications, there may be function control items encapsulated with other business processes, which are not limited in the embodiments of the present specification.
In the embodiment of the present specification, the user may select a function control item through the function interface 210 illustrated in FIG. 2 and set an execution order for the selected function control item, so that the above-mentioned flow cutting process orchestration system may be based on the function selected by the user. The control item and the execution order set by the user for the selected function control item obtain a visual flow cut flow chart, and the visual flow cut flow chart is displayed on the flow orchestration interface 220 (as shown in FIG. 2).
Specifically, in an optional implementation manner, the user may control the mouse pointer to point to the function control item to be selected through an external device, such as a mouse, and then press the left mouse button and move the mouse. At this time, It is equivalent to the user sending a drag command for the function control item selected by the user, that is, the chopping process orchestration system can receive the user's drag command for at least one function control item. Based on the drag command, the function control item selected by the user can As the user moves the mouse, the user moves on the process orchestration interface 220 until the user releases the left mouse button. At this time, the function control item selected by the user is displayed and output on the process orchestration interface 220.
In another optional implementation manner, the user may sequentially select the function control items according to his intended flow-cutting process. For example, first select the function control item “start” as shown in FIG. 2. At this time, “start” This function control item will be displayed on the process orchestration interface 220, and the flow cut process orchestration system can automatically add a "connection" function control item after the "start" function control item. At this time, the user continues to select "flow""Switch" function control, at this time, the "flow switch" function control will be displayed after the recently added "connection" function control, according to the above description, the cut flow process orchestration system continues to automatically Add a "connection" function control after the "control" function control until the user selects the "end" function control. In the above process, the cut-flow process orchestration system can automatically add the “connection” function control item. At the same time, the user can also “draw” the connection according to the actual needs. For example, from the “result check” A function control item points to the connection of the function control item "start", so that, through the flow cutting process orchestration system and user operation, the visual flow cutting flow chart shown in Fig. 2 can be obtained.
It should be noted that the above-mentioned two optional implementation manners are only described as examples. In actual applications, there may be other implementation manners, which are not limited in the embodiments of the present specification.
In the embodiment of the present specification, after obtaining the visualized cutting flow chart, the cutting flow orchestration system can generate computer instructions for realizing the cutting flow according to the visual cutting flow chart. The essence of the computer instructions is executable. The code, and then the cutting flow orchestration system can execute the computer instruction, that is, realize the cutting flow process.
Specifically, in an optional implementation manner, as shown in the display interface of the flow cutting process orchestration system shown in FIG. 3, the function control items of "OK" and "Execute" may also be included, and the function of "OK" The control item encapsulates a business process for generating computer instructions for realizing the cut flow process according to the visual cut flow flowchart. That is, when the user triggers the function control item “OK”, the cut flow orchestration system can Computer instructions for implementing the flow-cutting process are generated according to the visual flow-cutting flowchart currently displayed on the process orchestration interface 220.
Further, after generating the computer instructions for implementing the cutting process, a dialog box can be popped up on the display interface shown in FIG. 3, for example, as shown in FIG. 4, through the content of the dialog box, the user can be prompted to have generated Computer instructions for implementing the flow-cutting process, and the dialog box illustrated in FIG. 4 may further include an "OK" button. When the user triggers the "OK" button, the dialog box is closed.
Further, the user can trigger the function control item "execute" on the display interface of the chopping process orchestration system illustrated in FIG. 3, and at this time, the chopping process orchestration system can execute computer instructions for implementing the chopping process.
As can be seen from the above description, the technical solution provided in the embodiment of the present specification outputs at least one function control item for the user to select through a preset function interface, wherein each function control item encapsulates a flow-related business Process, determine the function control item selected by the user, and obtain a visual flow chart according to the execution order set by the user for the selected function control item. According to the visual flow chart, a flow chart for generating the flow chart can be generated. Computer instructions, so that through the simple operation of the user, you can program and discharge the complete cutting process, thereby saving user operations, improving the efficiency of cutting, and improving the user experience.
In practice, in addition to configuring the execution order of each business process, you can also configure specific flow-relevant information for each business process, such as the type of flow cut, flow path information, duration of the flow cut process, cut The number of devices involved in the streaming process, information related to the flow cut for the monitoring event, information related to the flow cut for the rollback event, and so on.
Among them, the above-mentioned types of switching can include database switching, business code switching, and computer room switching. Specifically, database switching refers to deploying a new database and gradually diverting all business traffic from the old database to the new one. Database; business code cutoff refers to deploying a new version of the code for some servers, diverting part of the business traffic to the server deploying the new version of the code, and gradually deploying the new version for all servers when it is determined that the new version of the code is available Code; cut-off in the computer room refers to adding a server, and gradually diverting part of the business traffic to the newly added server.
The above-mentioned flow-relevant information for a monitoring event may include the type of monitoring event, the monitoring subject, the monitoring duration, etc. Among them, the type of the monitoring event is different for different types of flow-cutting, for example, for the flow of business code, the monitoring event is monitored. Types can include business success rate, business volume, year-on-year ring value, business failure error rate, etc. For database switching, the types of monitoring events can include database connections, database access success rate, database redo logs, etc. For the switching of the computer room, the types of monitoring events can include the traffic minute value, the error rate of the computer room after the introduction of traffic, and so on.
The above information related to the rollback event may include the type of the rollback event, the rollback operation, and the like.
Based on the above description, in the embodiment of the present specification, flow-cutting related information can be set for the function control items in the above-mentioned function interface 210. For convenience of description, the flow-cutting related information set for the function control items is referred to as the function control item configuration. parameter.
First of all, the configuration parameters of the function control items can be divided into two types, one is the basic configuration parameters, and the other is the optional configuration parameters. Among them, the basic configuration parameters refer to the configuration parameters that are indispensable when implementing the flow cutting process. Including: flow cut type, flow cut path information, flow cut process duration, number of equipment involved in the flow cut process, etc .; optional configuration parameters can be set based on user needs, and can include: configuration for monitoring events Parameters, configuration parameters for rollback events, and more. The detailed process of setting the configuration parameters of the function control items is described as follows:
Please refer to FIG. 5, which is a flowchart of a traffic switching method according to another exemplary embodiment of the present specification. The process shown in FIG. 5 is based on the process shown in FIG. 1 described above, and focuses on describing configuration parameters for setting function control items. The process 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 item.
Step 504: Receive the configuration parameters for the function control item selected by the user through the input control item.
The steps 502 and 504 are described in detail as follows:
In the embodiment of the present specification, the above-mentioned chopping process orchestration system may also output a preset configuration interface to the user. As shown in FIG. 6, this is a schematic diagram of a configuration interface of the chopping process orchestration system shown in an exemplary embodiment of the present specification. Wherein, the configuration interface includes at least one input control item, such as the input control items corresponding to the type of cutting flow, the length of the cutting flow, and the number of devices, as shown in FIG. 6, and the user can control the specified functions through these input control items. The item sets configuration parameters, so as to receive the user-entered configuration parameters for the function control item selected by the user through the input control item.
For example, taking the setting of the type of cut flow as an example, as shown in Figure 7, the user can trigger the "drop-down option" of the input control corresponding to the type of cut flow, and the optional cut flow can be displayed in the drop-down menu. Type, the user can click on the selected type of flow through the mouse pointer.
In an optional implementation, the user can double-click the selected function control item through the mouse pointer to trigger the configuration interface shown in FIG. 6.
In another optional implementation manner, after the user selects a function control item, the configuration interface shown in FIG. 6 may be automatically triggered and displayed.
It should be noted that the above-mentioned two optional implementation manners are only described as examples. In actual applications, there may be other implementation manners, which are not limited in the embodiments of the present specification.
As can be seen from the above description, the technical solution provided by the embodiment of the present specification, by outputting a preset configuration interface to the user, the configuration interface includes at least one input control item, and receives the user input for the user selection through the at least one input control item. The configuration parameters of the function control item can realize the subsequent generation of computer instructions for implementing the cutting flow process according to the configuration parameters input by the user, that is, the complete cutting flow process can be compiled and discharged by the user's simple operation. This saves user operations, improves streamlining efficiency, and improves user experience.
In the embodiment of the present specification, considering that the same user, such as the same enterprise, has a lot of similarities in the flow-cutting processes involved, for example, the same enterprise has expanded its computer room multiple times in a period of time. After that, it is still possible to continue to expand. Because the cut flow scenarios are the same, each cut flow process is likely to have many similarities. Based on this, a training model is proposed in the embodiment of this specification to obtain a prediction model. : In the process of orchestrating the user's flow, the preset model automatically recommends a matching flow plan, thereby further saving user operations and improving the user experience. The form of the recommended flow-cutting scheme may be: directly providing the recommended flow-cutting process, or giving recommended configuration values for certain parameters to be configured, and so on.
The specific process of training to obtain the above prediction model is described in detail as follows:
Please refer to FIG. 8, which is a flowchart of a method for switching traffic according to another exemplary embodiment of the present specification. The process shown in FIG. 8 is based on the processes shown in FIG. 1 and FIG. 5, and focuses on describing the training process of the prediction model. Can include the following steps:
Step 802: Obtain a cutting data set from a historical cutting data record. Each cutting data includes at least the basic configuration parameters and optional configuration parameters of the function control items related to the cutting flow.
Step 804: Generate a cutting model training sample according to the obtained cutting data set.
Step 806: The preset model is used to train the training model training samples to obtain a prediction model. The prediction model takes basic configuration parameters as input values and optional configuration parameters as output values.
The steps 802 to 806 are described in detail as follows:
In the embodiment of the present specification, the cutoff data set can be obtained from the historical cutoff records. For example, the cutoff records within a certain time window (for example, the past month, the past six months, etc.) can be selected as the data source. Each flow-cutting data in the flow-cutting data set may include at least: basic configuration parameters and optional configuration parameters of function control items related to the flow-cutting process, wherein the basic configuration parameters and optional configuration parameters may be used to realize flow-cutting. It is extracted from the computer instructions of the process, and each stream data can also include parameter information used to characterize the execution results of the computer instructions, as well as some user historical operation information, etc. These information can realize the further screening of training samples. The embodiment of the specification does not limit this.
The above-mentioned computer instructions for implementing the flow-cutting process, and the basic configuration parameters and optional configuration parameters of the function control items related to the flow-cutting process can be referred to the descriptions in the above embodiments, and will not be described in detail here; The parameter information used to characterize the execution results of the computer instructions may include execution efficiency, success rate of cutting flow, risk of cutting flow, and so on.
Subsequently, a training flow model training sample may be generated according to the cutting flow data set. For example, the cutting flow data set may be used as a training flow model training sample, and for example, the cutting flow data in the cutting flow data set may be filtered or processed ( (Eg, normalization processing, mapping processing) to obtain training flow model training samples, which are not limited in the embodiments of the present specification.
Specifically, for the convenience of description, the parameters in the above training model training samples are divided into two categories, which are characteristic values (such as basic configuration parameters, parameter information used to characterize the execution results of computer instructions, and some user historical operation information). ) And target values (such as optional configuration parameters), where M feature values are assumed to be set to x 1 , x 2 , ... x M , and N target values are assumed to be set to y 1 , y 2 , ... y N.
It can be understood that there is a certain functional relationship between the eigenvalues and the target values, and each target value will be affected by all or part of the M eigenvalues, so each target value and multiple eigenvalues can be established The functional relationship is as follows:
y 1 = f 1 (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 )
It can be known from the above description that N target values correspond to N functions, and each function can take all or part of the M characteristic values as input and 1 target value as output.
Further, a preset algorithm, such as a supervised learning algorithm, can be used to train the above samples to obtain the above relationship function, that is, to obtain a prediction model. As can be seen from the above description, the prediction model can use the target value as the output value and the feature value. As input value.
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 this specification does not limit the selection of the model and the specific training algorithm.
Based on the prediction model obtained through the training, in one embodiment, the prediction model can be implemented based on the prediction model. After receiving the user's input of the basic configuration parameters for the function control item selected by the user through the input control item, the prediction model can be based on the prediction. The model determines the optional configuration parameters to be configured. It can be understood that when determining the optional configuration parameters to be configured, the input includes at least the basic configuration parameters input by the user for the selected function control item, and may also include other information, such as Some user historical operation information is not limited in the embodiment of this specification.
Further, after determining the optional configuration parameters to be configured, the determined optional configuration parameters to be configured may be displayed on the configuration interface shown in FIG. 6 for user confirmation. Of course, if users are not satisfied with the recommended parameter values, they can also be modified manually.
From the above description, it can be known that the technical solution provided in the embodiment of the present specification obtains a cutting data set from a historical cutting data record, generates a cutting model training sample according to the obtained cutting data set, and uses a preset algorithm for the sample. After training, a prediction model can be obtained. The prediction model can take basic configuration parameters as input values and 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 instructions for realizing the flow-cutting process, that is, realizing the complete flow-cutting process through the simple operation of the user, which meets the actual needs of the user, thereby saving user operations, improving the flow-cutting efficiency, and improving the user experience.
Corresponding to the foregoing method embodiments, an embodiment of the present specification further provides a flow switching device. Referring to FIG. 9, a block diagram of a flow switching device shown in an exemplary embodiment of the present specification is provided. The device may include a first output mode. Group 910, flowchart generation module 920, instruction generation module 930, and instruction execution module 940.
The first output module 910 is configured to display and output at least one function control item that can be selected by a user through a preset function interface, wherein each of the function control items encapsulates a flow-related business process;
The flowchart generating module 920 is configured to determine a function control item selected by a user, and obtain a visual cutting flow chart according to an execution order set by the user for the selected function control item;
An instruction generating module 930, configured to generate computer instructions for implementing the cutting flow according to the visual flow cutting flow chart;
The instruction execution module 940 is configured to execute the computer instructions.
In an embodiment, the flowchart generating module 920 may include (not shown in FIG. 9):
An instruction receiving sub-module, configured to receive a user's drag instruction for at least one function control item;
A flowchart output sub-module is configured to display and output the at least one function control item on a preset process layout interface based on the drag instruction to obtain a visual flow-cutting flowchart.
In an embodiment, the device may further include (not shown in FIG. 9):
A second output module, configured to output a preset configuration interface to a user, where the configuration interface includes at least one input control item;
A parameter receiving module is configured to receive, through the input control item, a configuration parameter input by a user for a function control item selected by the user.
In an embodiment, the configuration parameters may include: basic configuration parameters, and the basic configuration parameters include at least one of the following:
Type of cutting flow, information of cutting flow path, duration of cutting flow, number of equipment involved in cutting flow.
In an embodiment, the configuration parameters further include: optional configuration parameters, and the optional configuration parameters include at least one of the following:
Configuration parameters for monitoring events, configuration parameters for rollback events.
In an embodiment, the device may further include (not shown in FIG. 9):
A parameter determining module for determining optional configuration parameters to be configured according to a pre-trained prediction model;
A parameter output module is configured to display and output the optional configuration parameters determined to be configured on the configuration interface.
In an embodiment, the device may further include (not shown in FIG. 9):
A data set acquisition module is used to obtain a cut data set from a historical cut record, and each cut data includes at least: basic configuration parameters and optional configuration parameters of a function control item related to the cut flow;
A sample acquisition module, configured to generate a training model training sample based on the obtained training dataset;
A training module is configured to train the sample using a preset algorithm to obtain the prediction model, where the prediction model takes basic configuration parameters as input values and optional configuration parameters as output values.
It can be understood that the above-mentioned first output module 910, flowchart generation module 920, instruction generation module 930, and instruction execution module 940, as four independent modules, can be configured at the same time as shown in FIG. 9 The flow switching device may also be separately configured in the flow switching device. Therefore, the structure shown in FIG. 9 should not be construed as limiting the scheme of the embodiment of the present specification.
In addition, the implementation process of the functions and functions of each module in the above device is described in detail in the implementation process of the corresponding steps in the above method, and is not repeated here.
An embodiment of the present specification also provides a computer device including at least a memory, a processor, and a computer program stored on the memory and operable on the processor. The processor implements the foregoing flow switching method when the processor executes the program. The method at least includes: displaying and outputting at least one function control item that can be selected by a user through a preset function interface, wherein each of the function control items encapsulates a flow-related business process; determining a function selected by the user Control items, and obtain a visual cutting flow chart according to the execution order set by the user for the selected functional control item; generating a computer instruction for implementing the cutting flow according to the visual cutting flow chart; and executing the computer instruction .
In an embodiment, determining the function control item selected by the user, and obtaining a visual flow chart according to the execution order set by the user for the selected function control item, includes: receiving a user's response to at least one function control item. A drag instruction; displaying and outputting the at least one functional control item on a preset process layout interface based on the drag instruction to obtain a visual flow cut flow chart.
In an embodiment, after the function control item selected by the user is determined, the method further includes: outputting a preset configuration interface to the user, the configuration interface including at least one input control item; and controlling through the input The item receives configuration parameters input by a user for a function control item selected by the user.
In an embodiment, the configuration parameters include: basic configuration parameters, and the basic configuration parameters include at least one of the following: a type of cutting flow, information of a cutting flow path, a duration of the cutting flow, and a process involved in the cutting flow Equipment Quantity.
In an embodiment, the configuration parameters further include optional configuration parameters, and the optional configuration parameters include at least one of the following: configuration parameters for a monitoring event, and configuration parameters for a rollback event.
In an embodiment, after receiving a basic configuration parameter for a function control item selected by the user input by the user through the input control item, the method further includes: determining a to-be-configured parameter according to a pre-trained prediction model. Optional configuration parameters; on the configuration interface, the optional configuration parameters determined to be configured are displayed and output.
In an embodiment, the process of training to obtain the predictive model includes: obtaining a cutting data set from a historical cutting data record, and each cutting data includes at least: a basic configuration of a function control item related to the cutting flow process Parameters and optional configuration parameters; generating training flow model training samples based on the obtained cutting flow data set; training the samples using a preset algorithm to obtain the prediction model, and the prediction model taking basic configuration parameters as input values , With optional configuration parameters as output values.
FIG. 10 shows a more specific schematic diagram of the hardware structure of a computing device provided by an embodiment of this 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 a communication connection within the device through a bus 1050.
The processor 1010 may be implemented by using a general-purpose CPU (Central Processing Unit, central processing unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits. Relevant programs are executed to implement the technical solutions provided by the embodiments of this specification.
The memory 1020 may be implemented in the form of ROM (Read Only Memory, ROM), RAM (Random Access Memory, random access memory), a static storage device, a dynamic storage device and the like. The memory 1020 can store an operating system and other applications. When the technical solution provided by the embodiment of this specification is implemented by software or firmware, the relevant code is stored 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 for information input and output. The input / output / module can be configured in the device as a component (not shown in FIG. 10), or can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, and the like, and an output device may include a display, a speaker, a vibrator, and an indicator light.
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 realize communication through a wired method (such as USB, network cable, etc.), and also can realize communication through a wireless method (such as mobile network, WIFI, Bluetooth, etc.).
The bus 1050 includes a path for transmitting information between various components of the device (such as the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
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 the specific implementation process, the device may further include a device for achieving normal operation. Required other components. In addition, those skilled in the art can understand that the foregoing device may also include only components necessary to implement the solutions of the embodiments of the present specification, and not necessarily all the elements shown in the drawings.
The embodiment of the present specification also provides a computer-readable storage medium on which a computer program is stored, and the program is implemented by a processor to implement the foregoing flow switching method. The method includes at least: displaying and outputting at least one function control item that can be selected by a user through a preset function interface, wherein each of the function control items encapsulates a flow-related business process; determining the function control selected by the user Item, and obtain a visual cutting flow chart according to the execution order set by the user for the selected function control item; generate a computer instruction for implementing the cutting flow according to the visual cutting flow chart; and execute the computer instruction.
Computer-readable media includes permanent and non-permanent, removable and non-removable media. Information can be stored by any method or technology. 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), and other types of random access memory (RAM) , Read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transmitting media may be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
It can be known from the description of the foregoing embodiments that those skilled in the art can clearly understand that the embodiments of the present specification can be implemented by means of software plus a necessary universal hardware platform. Based on such an understanding, the technical solutions of the embodiments of the present specification can be embodied in the form of software products that are essentially or contribute to the existing technology. The computer software products can be stored in storage media such as ROM / RAM, magnetic Disks, optical discs, etc. include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments or portions of the embodiments of this specification.
The system, device, module, or unit described in the foregoing embodiments may be specifically implemented by a computer chip or entity, or by a product having a certain function. A typical implementation device is a computer. The specific form of the computer can 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 e-mail transceiver device, and a game control Desk, tablet, wearable, or a combination of any of these devices.
Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, as for the device embodiment, since it is basically similar to the method embodiment, it is described relatively simply. For the relevant part, refer to the description of the method embodiment. The device embodiments described above are only schematic, and the modules described as separate components may or may not be physically separated. When implementing the solutions of the embodiments of this specification, the functions of each module may be Implemented in the same software or hardware. Some or all of the modules may also be selected according to actual needs to achieve the objective of the solution of this embodiment. Those of ordinary skill in the art can understand and implement without creative efforts.
The above are only specific implementations of the embodiments of the present specification. It should be noted that, for those of ordinary skill in the art, without departing from the principles of the embodiments of the present specification, several improvements and retouches can be made. Improvement and retouching should also be regarded as the protection scope of the embodiments of the present specification.

200‧‧‧顯示介面200‧‧‧ display interface

210‧‧‧功能介面 210‧‧‧Function Interface

220‧‧‧流程編排介面 220‧‧‧ Process Orchestration Interface

910‧‧‧第一輸出模組 910‧‧‧First Output Module

920‧‧‧流程圖生成模組 920‧‧‧Flowchart generation module

930‧‧‧指令生成模組 930‧‧‧Command generation module

940‧‧‧指令執行模組 940‧‧‧Command execution module

1010‧‧‧處理器 1010‧‧‧ processor

1020‧‧‧記憶體 1020‧‧‧Memory

1030‧‧‧輸入/輸出介面 1030‧‧‧ input / output interface

1040‧‧‧通信介面 1040‧‧‧ communication interface

1050‧‧‧匯流排 1050‧‧‧Bus

為了更清楚地說明本說明書實施例或現有技術中的技術方案,下面將對實施例或現有技術描述中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本說明書實施例中記載的一些實施例,對於本領域普通技術人員來講,還可以根據這些附圖獲得其他的附圖。In order to more clearly explain the embodiments of the present specification or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only For some ordinary people skilled in the art, some of the embodiments described in the description of the specification can also obtain other drawings according to these drawings.

圖1為本說明書一示例性實施例示出的流量切換方法的流程圖; FIG. 1 is a flowchart of a traffic switching method according to an exemplary embodiment of the present specification;

圖2為本說明書一示例性實施例示出的切流流程編排系統的顯示介面示意圖; FIG. 2 is a schematic diagram of a display interface of a cutting flow orchestration system according to an exemplary embodiment of the present specification; FIG.

圖3為本說明書另一示例性實施例示出的切流流程編排系統的顯示介面示意圖; FIG. 3 is a schematic diagram of a display interface of a cutting flow orchestration system according to another exemplary embodiment of the present specification; FIG.

圖4為本說明書另一示例性實施例示出的切流流程編排系統的顯示介面示意圖; FIG. 4 is a schematic diagram of a display interface of a cutting flow orchestration system according to another exemplary embodiment of the present specification; FIG.

圖5為本說明書另一示例性實施例示出的流量切換方法的流程圖; FIG. 5 is a flowchart of a traffic switching method according to another exemplary embodiment of the present specification;

圖6為本說明書一示例性實施例示出的切流流程編排系統的配置介面示意圖; FIG. 6 is a schematic diagram of a configuration interface of a cutting flow orchestration system according to an exemplary embodiment of the present specification; FIG.

圖7為本說明書另一示例性實施例示出的切流流程編排系統的配置介面示意圖; FIG. 7 is a schematic configuration interface diagram of a cutting flow orchestration system according to another exemplary embodiment of the present specification; FIG.

圖8為本說明書再一示例性實施例示出的流量切換方法的流程圖; FIG. 8 is a flowchart of a traffic switching method according to still another exemplary embodiment of the present specification;

圖9為本說明書一示例性實施例示出的流量切換裝置的框圖; FIG. 9 is a block diagram of a traffic switching device according to an exemplary embodiment of the present specification;

圖10為本說明書實施例所提供的一種更為具體的計算設備硬體結構示意圖。 FIG. 10 is a schematic diagram of a more specific hardware structure of a computing device according to an embodiment of the present specification.

Claims (15)

一種流量切換方法,該方法包括: 透過預設的功能介面顯示輸出至少一個可供用戶選擇的功能控制項,其中,每一該功能控制項封裝有一項與切流相關的業務流程; 確定用戶選擇的功能控制項,並根據用戶針對所選擇的功能控制項設置的執行順序得到視覺化切流流程圖; 根據該視覺化切流流程圖生成用於實現切流流程的電腦指令; 執行該電腦指令。A traffic switching method includes: Displaying and outputting at least one function control item that can be selected by a user through a preset function interface, wherein each of the function control items encapsulates a flow-related business process; Determine the function control item selected by the user, and obtain a visual cutting flow chart according to the execution order set by the user for the selected function control item; Generating computer instructions for implementing the flow-cutting process according to the visual flow-cutting flowchart; Run the computer command. 根據請求項1所述的方法,所述確定用戶選擇的功能控制項,並根據用戶針對所選擇的功能控制項設置的執行順序得到視覺化切流流程圖,包括: 接收到用戶針對至少一個功能控制項的拖曳指令; 基於該拖曳指令在預設的流程編排介面上顯示輸出該至少一個功能控制項,得到視覺化切流流程圖。According to the method described in request item 1, determining the function control item selected by the user, and obtaining a visual cutting flow chart according to the execution order set by the user for the selected function control item includes: Receiving a user's drag instruction for at least one function control item; Displaying and outputting the at least one function control item on a preset process layout interface based on the drag instruction to obtain a visual flow cutting flowchart. 根據請求項1所述的方法,在所述確定用戶選擇的功能控制項之後,該方法還包括: 向用戶輸出預設的配置介面,該配置介面上包括至少一個輸入控制項; 透過該輸入控制項接收用戶輸入的針對該用戶選擇的功能控制項的配置參數。According to the method described in claim 1, after the determining the function control item selected by the user, the method further includes: Outputting a preset configuration interface to a user, the configuration interface including at least one input control item; A configuration parameter for a function control item selected by the user is received by the user through the input control item. 根據請求項3所述的方法,該配置參數包括:基本配置參數,該基本配置參數包括下述至少一項: 切流類型、切流路徑資訊、切流過程時長、切流過程中涉及到的設備數量。According to the method described in claim 3, the configuration parameters include: basic configuration parameters, and the basic configuration parameters include at least one of the following: Type of cutting flow, information of cutting flow path, duration of cutting flow, number of equipment involved in cutting flow. 根據請求項4所述的方法,該配置參數還包括:可選配置參數,該可選配置參數包括下述至少一項: 針對監控事件的配置參數、針對回滾事件的配置參數。According to the method described in claim 4, the configuration parameters further include: optional configuration parameters, the optional configuration parameters include at least one of the following: Configuration parameters for monitoring events, configuration parameters for rollback events. 根據請求項5所述的方法,在透過該輸入控制項接收到用戶輸入的針對該用戶選擇的功能控制項的基本配置參數之後,該方法還包括: 根據預先訓練的預測模型,確定待配置的可選配置參數; 在該配置介面上顯示輸出所確定的待配置的可選配置參數。According to the method described in claim 5, after receiving the user's basic configuration parameters for the function control item selected by the user through the input control item, the method further includes: Determining optional configuration parameters to be configured according to a pre-trained prediction model; The optional configuration parameters to be configured determined by the output are displayed on the configuration interface. 根據請求項6所述的方法,訓練得到該預測模型的過程包括: 從歷史切流記錄中獲取切流資料集,每條切流資料至少包括:與該切流流程相關的功能控制項的基本配置參數與可選配置參數; 根據所獲取的切流資料集生成切流模型訓練樣本; 利用預設演算法對該樣本進行訓練得到該預測模型,該預測模型以基本配置參數作為輸入值,以可選配置參數作為輸出值。According to the method described in claim 6, the process of training to obtain the prediction model includes: Obtain a cutting data set from the historical cutting data. Each cutting data includes at least: the basic configuration parameters and optional configuration parameters of the function control items related to the cutting flow; Generating a training model training sample according to the acquired training data set; The sample is trained by a preset algorithm to obtain the prediction model. The prediction model takes basic configuration parameters as input values and optional configuration parameters as output values. 一種流量切換裝置,該裝置包括: 第一輸出模組,用於透過預設的功能介面顯示輸出至少一個可供用戶選擇的功能控制項,其中,每一該功能控制項封裝有一項與切流相關的業務流程; 流程圖生成模組,用於確定用戶選擇的功能控制項,並根據用戶針對所選擇的功能控制項設置的執行順序得到視覺化切流流程圖; 指令生成模組,用於根據該視覺化切流流程圖生成用於實現切流流程的電腦指令; 指令執行模組,用於執行該電腦指令。A flow switching device includes: A first output module, configured to display and output at least one function control item that can be selected by a user through a preset function interface, wherein each of the function control items encapsulates a flow-related business process; A flowchart generation module is used to determine a function control item selected by a user, and obtain a visual cutting flow chart according to the execution order set by the user for the selected function control item; An instruction generating module for generating computer instructions for implementing the cutting flow according to the visual flow cutting flow chart; An instruction execution module is used to execute the computer instructions. 根據請求項8所述的裝置,該流程圖生成模組包括: 指令接收子模組,用於接收到用戶針對至少一個功能控制項的拖曳指令; 流程圖輸出子模組,用於基於該拖曳指令在預設的流程編排介面上顯示輸出該至少一個功能控制項,得到視覺化切流流程圖。According to the apparatus described in claim 8, the flowchart generating module includes: An instruction receiving sub-module, configured to receive a user's drag instruction for at least one function control item; The flowchart output sub-module is used for displaying and outputting the at least one function control item on a preset process layout interface based on the drag instruction to obtain a visual flow chart. 根據請求項8所述的裝置,該裝置還包括: 第二輸出模組,用於向用戶輸出預設的配置介面,該配置介面上包括至少一個輸入控制項; 參數接收模組,用於透過該輸入控制項接收用戶輸入的針對該用戶選擇的功能控制項的配置參數。According to the device of claim 8, the device further comprises: A second output module configured to output a preset configuration interface to a user, the configuration interface including at least one input control item; A parameter receiving module is configured to receive, through the input control item, a configuration parameter input by a user for a function control item selected by the user. 根據請求項10所述的裝置,該配置參數包括:基本配置參數,該基本配置參數包括下述至少一項: 切流類型、切流路徑資訊、切流過程時長、切流過程中涉及到的設備數量。According to the apparatus of claim 10, the configuration parameters include: basic configuration parameters, and the basic configuration parameters include at least one of the following: Type of cutting flow, information of cutting flow path, duration of cutting flow, number of equipment involved in cutting flow. 根據請求項11所述的裝置,該配置參數還包括:可選配置參數,該可選配置參數包括下述至少一項: 針對監控事件的配置參數、針對回滾事件的配置參數。According to the device of claim 11, the configuration parameters further include: optional configuration parameters, the optional configuration parameters include at least one of the following: Configuration parameters for monitoring events, configuration parameters for rollback events. 根據請求項12所述的裝置,該裝置還包括: 參數確定模組,用於根據預先訓練的預測模型,確定待配置的可選配置參數; 參數輸出模組,用於在該配置介面上顯示輸出所確定的待配置的可選配置參數。According to the device of claim 12, the device further comprises: A parameter determining module for determining optional configuration parameters to be configured according to a pre-trained prediction model; A parameter output module is used to display and output the optional configuration parameters determined to be configured on the configuration interface. 根據請求項13所述的裝置,該裝置還包括: 資料集獲取模組,用於從歷史切流記錄中獲取切流資料集,每條切流資料至少包括:與該切流流程相關的功能控制項的基本配置參數與可選配置參數; 樣本獲取模組,用於根據所獲取的切流資料集生成切流模型訓練樣本; 訓練模組,用於利用預設演算法對該樣本進行訓練得到該預測模型,該預測模型以基本配置參數作為輸入值,以可選配置參數作為輸出值。According to the device of claim 13, the device further comprises: A data set acquisition module is used to obtain a cut data set from a historical cut record, and each cut data includes at least: basic configuration parameters and optional configuration parameters of function control items related to the cut flow; A sample acquisition module, configured to generate a training model training sample based on the obtained training dataset; The training module is configured to train the sample by using a preset algorithm to obtain the prediction model. The prediction model takes basic configuration parameters as input values and optional configuration parameters as output values. 一種電腦設備,包括記憶體、處理器及儲存在記憶體上並可在處理器上運行的電腦程式,其中,該處理器執行該程式時實現如請求項1至7任一項所述的方法。A computer device includes a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 7 is implemented .
TW107146160A 2018-01-25 2018-12-20 Traffic switching method and device and computer equipment TW201933830A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
??201810074864.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
TW201933830A true TW201933830A (en) 2019-08-16

Family

ID=63238902

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107146160A TW201933830A (en) 2018-01-25 2018-12-20 Traffic switching method and device and computer equipment

Country Status (3)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI814227B (en) * 2022-01-27 2023-09-01 國立高雄師範大學 Mehod for implementing library by using microservices architecture

Families Citing this family (6)

* 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
CN110503567B (en) * 2019-08-15 2023-08-22 中国平安财产保险股份有限公司 Data verification method, device, storage medium and apparatus
CN113065779B (en) * 2021-04-07 2023-08-11 网易(杭州)网络有限公司 Data processing method and device and electronic equipment
CN114828124B (en) * 2022-05-13 2023-07-14 中国联合网络通信集团有限公司 Method and device for determining target base station

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8332809B2 (en) * 2004-09-30 2012-12-11 Microsoft Corporation 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
CN108459792B (en) * 2018-01-25 2020-04-07 阿里巴巴集团控股有限公司 Flow switching method and device and computer equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI814227B (en) * 2022-01-27 2023-09-01 國立高雄師範大學 Mehod for implementing library by using microservices architecture

Also Published As

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

Similar Documents

Publication Publication Date Title
TW201933830A (en) Traffic switching method and device and computer equipment
US10671507B2 (en) Application performance analytics platform
WO2018126935A1 (en) Voice-based interaction method and apparatus, electronic device, and operating system
CN107451663B (en) Algorithm componentization, modeling method and device based on algorithm components and electronic equipment
JP5268945B2 (en) How to manage the user interface display
WO2019217158A1 (en) Risk and dependency tracking and control system
CN109074549A (en) Application with embedded workflow designer
JP2020505670A (en) Component Release Method, Graphic Machine Learning Algorithm Platform Based Component Construction Method, and Graphic Machine Learning Algorithm Platform
US20160266880A1 (en) Application name modification method and device, and storage medium
US8413109B2 (en) Systems and methods for metamodel transformation
US9304838B1 (en) Scheduling and executing model components in response to un-modeled events detected during an execution of the model
CN106250110B (en) Method and device for establishing model
US10901984B2 (en) Enhanced batch updates on records and related records system and method
US8732655B2 (en) Systems and methods for metamodel transformation
CN113407284A (en) Navigation interface generation method and device, storage medium and electronic equipment
JP2020505710A (en) Methods and systems for verifying software programs
US9921871B2 (en) Event processing systems and methods
CN114185874A (en) Big data based modeling method and device, development framework and equipment
US10402430B2 (en) Method and system for representing paths on a graph based on a classification
US20200379618A1 (en) Method of automatically switching mode of work screen of digital content authoring tool
US20230185427A1 (en) Systems and methods for animated computer generated display
US8719704B2 (en) Seamless integration of additional functionality into enterprise software without customization or apparent alteration of same
US11586338B2 (en) Systems and methods for animated computer generated display
US20200125483A1 (en) Systems and methods for testing a customer environment
CN111191795B (en) Method, device and system for training machine learning model