Workflow plug-in publishing method and device, storage medium and program product
By selecting and connecting work icons in the workflow construction interface to form functional plug-ins and integrating them into workflow plug-ins, the problem of how to efficiently generate and publish workflows is solved, and the effect of improving merchant business efficiency is achieved.
Patent Information
- Application Number
- CN202411976184.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-29
AI Technical Summary
How to generate and publish workflows more efficiently to improve business efficiency of merchants, especially to reduce human errors and accelerate business progress in complex business processes.
By providing a workflow plug-in publishing method, users can select and connect multiple work icons in the workflow construction interface to form functional plug-ins, and integrate these plug-ins into workflow plug-ins and finally publish them to the target browser.
It realizes a more efficient generation and release workflow, simplifies complex business processing steps, reduces human errors, and improves merchants' business efficiency.
Smart Images

Figure CN119902817A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of remote collaboration technology, and in particular to a workflow plug-in publishing method, device, storage medium and program product. Background Art
[0002] As the business informatization continues to deepen, its business processes are becoming increasingly complex. How to ensure the business efficiency of merchants has become a challenge. In this context, workflow can not only simplify complex business processing steps and reduce the occurrence of human errors, but also speed up the business progress of merchants. Among them, workflow refers to a process in which a series of interrelated steps or activities are carried out according to certain rules and sequences in order to achieve a certain business goal or complete a specific task.
[0003] Based on this, how to generate workflows more efficiently and publish them to merchants to improve their business efficiency has become an urgent problem to be solved. Summary of the invention
[0004] Multiple aspects of the present application provide a workflow plug-in publishing method, device, storage medium and program product for more efficiently generating workflows and publishing them to merchants.
[0005] An embodiment of the present application provides a workflow plug-in publishing method, which is applicable to a first electronic device, on which a target browser is deployed, and the method comprises: responding to a workflow construction instruction, displaying a workflow construction interface to a user; the workflow construction interface comprises: a plurality of work icons; each work icon is associated with a function code; in each workflow drawing, in response to at least one selection operation on the work icon, displaying the selected plurality of target work icons in the working area of the workflow construction interface for building a function plug-in corresponding to the workflow; in response to a connection operation on the plurality of target work icons, establishing a connection relationship between the plurality of target work icons, and splicing the function codes corresponding to the plurality of target work icons according to the connection relationship to form a function plug-in corresponding to the workflow; integrating the plurality of function plug-ins obtained from multiple workflow drawings into a workflow plug-in, and publishing the workflow plug-in to the target browser on other electronic devices, wherein different function plug-ins correspond to different workflows, and different workflows are used to implement different function operations.
[0006] Optionally, the function codes associated with each of the multiple work icons include: the first type of function codes associated with each of the first type of icons; the method also includes: encapsulating the first script as a first function code for creating a new tab, and establishing an association between the first function code and the first icon; the first script is used to control the target browser to open the live broadcast page; encapsulating the second script as a second function code for clicking a page element, and establishing an association between the second function code and the second icon; the second script is used to control the target browser to click on the target page element; the first function code and the second function code are used as the first type of function code; the first script and the second script are encapsulated based on the function interface of the target browser.
[0007] Optionally, the function codes associated with each of the multiple work icons also include: second function codes associated with each of the second-category icons; the method also includes: displaying an editing window of the second-category function codes to the user for the user to input a target script; encapsulating the target script to obtain the second-category function code corresponding to the target script.
[0008] Optionally, the target script is encapsulated to obtain a second type of working module corresponding to the target script, including: encapsulating the third script into a third function code for capturing comment information, and establishing an association relationship between the third function code and the third icon; the third script is used to determine the comment information from the live broadcast page according to preset information screening rules; encapsulating the fourth script into a fourth function code for calling a deep learning model, and establishing an association relationship between the fourth function code and the fourth icon; the fourth script is used to input the comment information into the deep learning model to output reply information to the comment information in the live broadcast page; encapsulating the fifth script into a fifth function code for sending a welcome message; the fifth script is used to send a welcome message to the newly added viewers when the number of new viewers on the live broadcast page is detected; encapsulating the sixth script into a sixth function code for sending an advertising slogan, and establishing an association relationship between the sixth function code and the sixth icon; the sixth script is used to output the advertising slogan in the live broadcast page according to the set sending cycle.
[0009] Optionally, in response to at least one selection operation on a work icon, multiple selected target work icons are displayed in the work area of the workflow construction interface, including: when the workflow is a live customer acquisition workflow, in response to multiple selection operations on the work icon, dragging the first icon, the second icon, the third icon, the fourth icon, the fifth icon and the sixth icon to the work area, wherein each icon is used to implement the function of its associated function code.
[0010] Optionally, the workflow construction interface also includes: multiple types of connection lines; different types of connection lines are used to establish different connection relationships between target work icons; in response to a connection operation on the multiple target work icons, a connection relationship is established between the multiple target work icons, including: in response to a drag operation on a target connection line of a target type, a target connection relationship is established between the multiple target work icons pointed to by the target connection line.
[0011] The embodiment of the present application also provides a workflow plug-in publishing method, which is applicable to a second electronic device, on which a target browser is deployed, and the method comprises: in response to a plug-in startup operation, obtaining a workflow plug-in; the workflow plug-in is obtained by integrating multiple function plug-ins obtained by drawing multiple workflows; any function plug-in is formed by splicing function codes corresponding to multiple target work icons according to the connection relationship of multiple target work icons; a function plug-in selection window corresponding to the workflow plug-in is displayed on the target browser for a user to select the multiple function plug-ins; each function plug-in corresponds to a workflow; different workflows are used to implement different functional operations; in response to the user's function plug-in selection operation, multiple target work icons corresponding to the target function plug-in selected by the user and their respective connection relationships are displayed in the workflow details window; in response to the user's function plug-in startup operation, the function codes corresponding to the multiple target work icons of the target function plug-in selected by the user are executed in sequence to implement the functional operation of the workflow corresponding to the target function plug-in; wherein, each time any function code in the target code is executed, the target work icon corresponding to any function code is highlighted so that the user can perceive the progress of the workflow execution.
[0012] An embodiment of the present application also provides an electronic device, comprising: a memory and a processor; wherein the memory is used to: store one or more computer instructions; the processor is used to execute the one or more computer instructions to: execute the steps in the workflow plug-in publishing method.
[0013] The embodiment of the present application also provides a computer-readable storage medium, which, when the computer program is executed by a processor, enables the processor to implement the steps in the workflow plug-in publishing method.
[0014] The embodiment of the present application further provides a computer program product, including a computer program / instruction. When the computer program / instruction is executed by a processor, the processor is enabled to implement the steps in the workflow plug-in publishing method.
[0015] In this embodiment, a workflow construction interface can be displayed; in each workflow drawing, in response to at least one selection operation for a work icon, multiple selected target work icons are displayed in the work area of the workflow construction interface; in response to an icon connection operation, a connection relationship is established between multiple target work icons, and the function codes corresponding to the multiple target work icons are spliced according to the connection relationship to form a function plug-in corresponding to the workflow; multiple function plug-ins obtained by multiple workflow drawings are integrated into a workflow plug-in, and the workflow plug-in is published to a target browser on other electronic devices, and different function plug-ins correspond to different workflows, and different workflows are used to implement different functional operations. In this way, a workflow plug-in can be generated more efficiently to improve the business efficiency of merchants. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0017] Figure 1 A flowchart of a workflow plug-in publishing method provided by an exemplary embodiment of the present application;
[0018] Figure 2 A schematic diagram of an interactive control provided for an exemplary embodiment of the present application;
[0019] Figure 3 A schematic diagram of a workflow construction interface provided by an exemplary embodiment of the present application;
[0020] Figure 4a-4b A schematic diagram of target work icon connection provided for an exemplary embodiment of the present application;
[0021] Figure 4c-4d A schematic diagram of a working icon provided for an exemplary embodiment of the present application;
[0022] Figure 5 A flowchart of another workflow plug-in publishing method provided by an exemplary embodiment of the present application;
[0023] Figure 6 A schematic diagram of a startup control provided by an exemplary embodiment of the present application;
[0024] Figure 7 A schematic diagram of an electronic device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0026] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation portals for users to choose to authorize or refuse. In addition, the various models involved in this application (including but not limited to language models or large models) are in compliance with relevant laws and standards.
[0027] As the business informatization continues to deepen, its business processes are becoming increasingly complex. How to ensure the business efficiency of merchants has become a challenge. In this context, workflow can not only simplify complex business processing steps and reduce the occurrence of human errors, but also speed up the business progress of merchants. Based on this, how to generate workflows more efficiently and publish them to merchants to improve their business efficiency has become an urgent problem to be solved.
[0028] In view of the above technical problems, a technical solution is provided in the embodiments of the present application. The technical solutions provided in the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.
[0029] Figure 1 The workflow plug-in publishing method provided by the exemplary embodiment of the present application is as follows: Figure 1 As shown, the method may include the following steps:
[0030] Step 11, respond to the workflow construction instruction and display the workflow construction interface to the user; the workflow construction interface includes: multiple work icons; each work icon is associated with a function code.
[0031] Step 12: In each workflow drawing, in response to at least one selection operation on a work icon, a plurality of selected target work icons are displayed in the work area of the workflow construction interface to be used for constructing a functional plug-in corresponding to the workflow.
[0032] Step 13: In response to the connection operation for multiple target work icons, a connection relationship is established between the multiple target work icons, and the function codes corresponding to the multiple target work icons are spliced according to the connection relationship to form a function plug-in corresponding to the workflow.
[0033] Step 14: Integrate multiple functional plug-ins obtained by multiple workflow drawings into a workflow plug-in, and publish the workflow plug-in to a target browser on other electronic devices. Different functional plug-ins correspond to different workflows, and different workflows are used to implement different functional operations.
[0034] This embodiment is applicable to a first electronic device, which can be any type of electronic device, such as a server or a terminal device, which can be a mobile phone, a tablet computer or a computer, etc. This embodiment does not limit this. A target browser can be deployed on the electronic device.
[0035] In this embodiment, the workflow construction instruction can be responded to, and the workflow construction interface can be displayed to the user through the target browser. The workflow construction instruction can be issued by the user corresponding to the first electronic device, or it can be automatically issued based on the rules of timing construction, which is not limited in this embodiment. Figure 2 As shown, the user can click on the interactive control named "New Workflow" to issue a workflow construction instruction.
[0036] The workflow construction interface may include: multiple work icons and work areas. Figure 3 As shown, the left side of the work construction interface displays multiple work icons including "delay", "clipboard" and "parameter prompt", and the right side of the work construction interface displays the work area. Each work icon is associated with a function code. The association here can be understood as the binding of the work icon displayed on the front end and the function code on the back end. It should be noted that Figure 2 and Figure 3 The interface layout shown is only an example and does not limit the actual interface layout.
[0037] Among them, the function code is used to perform corresponding operations. For example, the function code associated with the work icon named "Delay" can be used to delay the set time. For another example, the function code associated with the work icon named "Model Call" can be used to call a pre-trained deep learning model.
[0038] Users can build one or more functional plug-ins corresponding to workflows on the workflow construction interface according to their own needs. Different functional plug-ins correspond to different workflows, and different workflows are used to implement different functional operations. Figure 2As shown, on the right side, there are a built function plug-in A1 named "Automatic Reply to Comments" and a built function plug-in A2 named "Live Plug-in". The workflow corresponding to function plug-in A1 can be used to automatically reply to the comments of the audience in the live broadcast room, and the workflow corresponding to function plug-in A2 can be used for automatic reply, looping and sending welcome messages to new users entering the live broadcast room. In other words, different workflows can be used to provide different functional operations to merchants, thereby improving the business efficiency of merchants. For example, if a merchant needs to convert the audience watching the live broadcast (i.e. potential customers) into actual customers, then the above-mentioned purpose of the merchant can be achieved more efficiently by using function plug-in A1 or function plug-in A2.
[0039] In this embodiment, the user can draw a workflow one or more times. In each workflow drawing, the user can select a work icon one or more times. The user can drag at least one work icon to the work area to complete the operation of the work icon, or directly click the work icon to complete the operation of the work icon. This embodiment does not limit this. Correspondingly, in response to at least one selection operation on the work icon, multiple selected target work icons can be displayed in the work area of the workflow construction interface for use in constructing the functional plug-in corresponding to the workflow. Figure 4a As shown, three target work icons of "click element", "delay" and "insert data" can be displayed in the work area.
[0040] Afterwards, the user may connect multiple target work icons, and correspondingly, in response to the connection operation on multiple target work icons, a connection relationship may be established between the multiple target work icons. Figure 4b As shown, the user can connect between the three target work icons of "Click Element", "Delay" and "Insert Data". Correspondingly, a connection relationship can be established between the "Click Element" icon and the "Delay" icon, as well as a connection relationship between the "Delay" icon and the "Insert Data" icon.
[0041] After establishing the connection relationship, the function codes corresponding to the multiple target work icons can be spliced according to the connection relationship to form a function plug-in corresponding to the workflow. Among them, the function codes corresponding to the multiple target work icons can be directly spliced, and the function plug-in corresponding to the workflow can be formed according to the spliced code. It is also possible to fill the preset code snippet for code connection between the function codes corresponding to any adjacent target work icons, thereby completing the splicing between the function codes corresponding to any adjacent target work icons, and forming the function plug-in corresponding to the workflow according to the spliced code. Among them, when forming the function plug-in corresponding to the workflow according to the spliced code, the preset resource configuration rules can be used to package resources and construct plug-ins according to the spliced code, so as to form the function plug-in corresponding to the workflow, wherein the resource configuration rules are used to specify the configuration files and resource files of the function plug-in.
[0042] Based on the above steps, multiple functional plug-ins obtained by multiple workflow drawing can be integrated into a workflow plug-in, and the workflow plug-in can be published to a target browser on other electronic devices. The integration here can be understood as a packaging operation, that is, the workflow plug-in includes multiple functional plug-ins.
[0043] After publishing the workflow plug-in to the target browser on other electronic devices, merchants of other electronic devices can execute at least one of the functional plug-ins through the workflow plug-in according to their own needs, thereby realizing the automation of functions. For example, after the merchant clicks on the functional plug-in called "live broadcast plug-in", the target browser on other electronic devices can automatically reply, send out the script in a loop, and send a welcome message to the new users entering the live broadcast room, thereby improving the business efficiency of the merchant.
[0044] In this embodiment, a workflow construction interface can be displayed; in each workflow drawing, in response to at least one selection operation for a work icon, multiple selected target work icons are displayed in the work area of the workflow construction interface; in response to an icon connection operation, a connection relationship is established between multiple target work icons, and the function codes corresponding to the multiple target work icons are spliced according to the connection relationship to form a function plug-in corresponding to the workflow; multiple function plug-ins obtained by multiple workflow drawings are integrated into a workflow plug-in, and the workflow plug-in is published to a target browser on other electronic devices, and different function plug-ins correspond to different workflows, and different workflows are used to implement different functional operations. In this way, a workflow plug-in can be generated more efficiently to improve the business efficiency of merchants.
[0045] In some optional embodiments, the work icons may include first-category icons and second-category icons. Correspondingly, the function codes may also be divided into two categories, namely, first-category function codes associated with each first-category icon and second-category function codes associated with each first-category icon.
[0046] Among them, the first type of function code is a function code generated based on the function interface of the target browser. This type of code can be used to implement functions based on the inherent functions of the target browser. For example, the target browser may have an inherent function of "click trigger", and a first type of function code can further implement the "simulated click" function based on the inherent function of "page element click". Different from the first type of function code, the second type of function code is generated based on the user's custom operation and can be used to implement custom functions.
[0047] The following will explain how to generate the first type of function code and the second type of function code respectively according to different situations:
[0048] (1) First-class function code: The first-class function code can be obtained by encapsulating the script encapsulated based on the function interface of the target browser. The function interface here refers to the API (Application Programming Interface) provided by the target browser that allows developers to interact with it. The following is an example:
[0049] ① Encapsulate the first script as the first function code for creating a new tab, and establish an association relationship between the first function code and the first icon; the first script is used to control the target browser to open the live page. By establishing the association relationship, the first icon can have the function of controlling the target browser to open the live page.
[0050] ② Encapsulate the second script as a second function code for clicking a page element, and establish an association relationship between the second function code and the second icon; the second script is used to control the target browser to click the target page element. By establishing the association relationship, the second icon can have the function of controlling the target browser to click the target page element. The target page element can be any page element, such as a confirmation control and an expansion control, etc.
[0051] Based on this, the first function code and the second function code can be used as the first category function code, and the first icon and the second icon are the first category icons. The first script and the second script are encapsulated based on the functional interface of the target browser. The above ① and ② are only exemplary descriptions, and the first category function code can also include other function codes, such as function codes for simulating page scrolling effects, etc.
[0052] (2) Second-class function code: Display the editing window of the second-class function code to the user so that the user can input the target script; encapsulate the target script to obtain the second-class function code corresponding to the target script. The following is an example:
[0053] ③ Encapsulate the third script as a third function code for capturing comment information, and establish an association relationship between the third function code and the third icon; the third script is used to determine the comment information from the live page according to the preset information screening rules. The information screening rules can be used to identify which information is comment information on the live page. By establishing the association relationship, the third icon can have the function of capturing comment information.
[0054] ④ Encapsulate the fourth script as a fourth function code for calling the deep learning model, and establish an association relationship between the fourth function code and the fourth icon; the fourth script is used to input the comment information into the deep learning model to output reply information for the comment information in the live page. Among them, the deep learning model can be used to generate corresponding reply information for the comment information in the live page. By establishing the association relationship, the fourth icon can have the function of calling the deep learning model.
[0055] ⑤ Encapsulate the fifth script as the fifth function code for sending a welcome message; the fifth script is used to send a welcome message to the newly added viewers when the number of newly added viewers on the live page is detected. By establishing the association relationship, the fifth icon can have the function of sending a welcome message.
[0056] ⑥ Encapsulate the sixth script as the sixth function code for sending the advertising slogan, and establish an association relationship between the sixth function code and the sixth icon; the sixth script is used to output the advertising slogan in the live broadcast page according to the set sending cycle. By establishing the association relationship, the sixth icon can have the function of sending the advertising slogan.
[0057] The third icon to the sixth icon above are the second category icons. The above ③-⑥ are only exemplary descriptions, and the second category function codes may also include other function codes, such as function codes for outputting set pictures in the live broadcast room, etc.
[0058] In this way, more abundant work icons with various functions can be provided to users, so that users can generate workflows with richer functions.
[0059] Of course, the above classification method of work icons is only an optional method. In actual scenarios, work icons can also be divided into other categories according to the functions that can be realized by the corresponding function codes. For example, work icons can include Figure 4c The various work icons of the Web (World Wide Web network) interaction class shown in the figure may also include Figure 4d The various work icons of the data class shown can be classified in any way according to actual needs, which will not be repeated here.
[0060] On the basis of the above embodiment, step 12 in the above embodiment "responding to at least one selection operation on the work icon, displaying multiple selected target work icons in the work area of the workflow construction interface" can be implemented based on the following method: when the workflow is a live broadcast customer acquisition workflow, responding to multiple selection operations on the work icon, dragging the first icon, the second icon, the third icon, the fourth icon, the fifth icon and the sixth icon to the work area, wherein each icon is used to implement the function of its associated function code. Among them, live broadcast customer acquisition can be understood as the process of attracting potential customers and converting them into actual customers when displaying and promoting products in the live broadcast room.
[0061] Correspondingly, step 13 in the aforementioned embodiment, "In response to the connection operation for multiple target work icons, a connection relationship is established between the multiple target work icons, and the function codes corresponding to the multiple target work icons are spliced according to the connection relationship to form a function plug-in corresponding to the workflow" can be implemented based on the following method: In response to the connection operation for the first icon to the sixth icon, a connection relationship is established between the first icon and the sixth icon, and the function codes corresponding to the first icon to the sixth icon are spliced according to the connection relationship to form a function plug-in corresponding to the live broadcast customer acquisition workflow. The function plug-in can be used to execute the following steps in sequence: control the target browser to open the live broadcast page, control the target browser to click on the target page element (such as the open control corresponding to the comment area), capture comment information, input the comment information into the deep learning model to output reply information to the comment information in the live broadcast page, send a welcome message to the newly added viewers when the number of new viewers on the live broadcast page is detected, and output advertising slogans in the live broadcast page according to the set sending cycle.
[0062] The functional plug-in corresponding to the live broadcast customer acquisition workflow generated in this way can help merchants convert viewers who watch the live broadcast (i.e. potential customers) into actual customers.
[0063] Of course, the above is only an example. Different work icons selected by users will generate different functions of the workflow based on the work icons. For example, if the user only selects the first icon and the sixth icon and connects them, the function plug-in generated based on the function codes corresponding to the first icon and the sixth icon can control the target browser to open the live page and output the advertising slogan in the live page according to the set sending cycle, but will not execute other functions such as "capturing comment information".
[0064] In some optional embodiments, the workflow construction interface may also include multiple types of connection lines for the user to choose from, and different types of connection lines may be used to establish different connection relationships between target task icons. The following is an example:
[0065] The first type of connecting line can be used to establish a connection relationship for sequential execution between target work icons. For example, the target work icon T1 and the target work icon T2 are connected by the first type of connecting line. Based on this, the two target work icons can be executed sequentially in the order of the target work icon T1 and the target work icon T2.
[0066] The second type of connection line can be used to establish a connection relationship for parallel execution between target work icons. For example, the target work icon T3 and the target work icon T4 are connected using the second type of connection line. Based on this, the target work icon T3 and the target work icon T4 can be executed simultaneously.
[0067] The third type of connection line can be used to establish a jump connection relationship between target work icons. For example, by connecting the target work icon T5 and the target work icon T6 using the third type of connection line, you can jump directly to the target work icon T4 without executing the target work icon T3 to execute the target work icon T4.
[0068] The fourth type of connecting line can be used to establish a connection relationship between target work icons based on custom conditions. For example, the target work icon T7 and the target work icon T7 can be connected using the fourth type of connecting line. Based on this, the target work icon T7 can be executed first, and then it can be determined whether the output value of the function code corresponding to the target work icon T7 meets the conditions set by the user. If yes, the target work icon T8 is executed, and if not, the execution of the target work icon is stopped.
[0069] Based on this, in response to the connection operation for multiple target work icons, when a connection relationship is established between multiple target work icons, a target connection relationship can be established between the multiple target work icons pointed to by the target connection line in response to the drag operation of the target connection line for the target type.
[0070] In this way, a more functional plug-in with richer functions can be generated for the user through different types of connection lines.
[0071] Based on the above embodiments, a workflow plug-in publishing method is also provided in the embodiment of the present application, which is applicable to a second electronic device on which a target browser is deployed. Figure 5 As shown, the method includes:
[0072] Step 51, respond to the plug-in start operation, and obtain the workflow plug-in; the workflow plug-in is obtained by integrating multiple functional plug-ins obtained by multiple workflow drawings; any functional plug-in is formed by splicing the functional codes corresponding to multiple target work icons according to the connection relationship of multiple target work icons.
[0073] Step 52: Display a function plug-in selection window corresponding to the workflow plug-in on the target browser, so that the user can select multiple function plug-ins; each function plug-in corresponds to a workflow; different workflows are used to implement different functional operations.
[0074] Step 53: In response to the user's function plug-in selection operation, multiple target task icons corresponding to the target function plug-in selected by the user and their respective connection relationships are displayed in the workflow details window.
[0075] Step 54: In response to the user's function plug-in start operation, the function codes corresponding to the multiple target work icons of the target function plug-in selected by the user are executed in sequence to implement the functional operation of the workflow corresponding to the target function plug-in; wherein, each time any function code is executed, the target work icon corresponding to any function code is highlighted to allow the user to perceive the progress of the workflow execution. Figure 6 As shown, users can click Figure 6 Launch control in the upper right corner to start the workflow called "Live Plug-in".
[0076] In this way, the business efficiency of the merchant of the second electronic device can be improved based on the workflow plug-in generated by the first electronic device, and the user can perceive the execution progress by visualizing the execution progress of the workflow.
[0077] In some optional embodiments, after the workflow plug-in is obtained, the workflow plug-in may be deployed in the target browser. The embodiment of the present application does not limit the implementation of each functional plug-in in the workflow plug-in.
[0078] Optionally, when a user issues a function plug-in startup operation for a target function plug-in corresponding to a live customer acquisition workflow, the function plug-in startup operation can be responded to, and the function codes corresponding to multiple target work icons of the target function plug-in can be executed in sequence. Specifically, the first function code corresponding to the first icon, the second function code corresponding to the second icon, the third function code corresponding to the third icon, the fourth function code corresponding to the fourth icon, the fifth function code corresponding to the fifth icon, and the sixth function code corresponding to the sixth icon can be executed in sequence, so as to realize the following functional operations of the workflow corresponding to the target function plug-in: control the target browser to open the live page, control the target browser to click on the target page element (such as the open control corresponding to the comment area), capture comment information, input the comment information into the deep learning model to output reply information for the comment information in the live page, send a welcome message to the newly added viewers when the number of new viewers on the live page is detected, and output the advertising message in the live page according to the set sending cycle.
[0079] Through the functional plug-in corresponding to the live broadcast customer acquisition workflow, it can help businesses convert viewers who watch live broadcasts (i.e. potential customers) into actual customers. It should be noted that the execution subject of each step of the method provided in the above embodiment can be the same device, or the method can also be executed by different devices. For example, the execution subject of steps 11 to 14 can be device A; for another example, the execution subject of steps 11 to 12 can be device A, and the execution subject of steps 13 to 14 can be device B; and so on.
[0080] In addition, in some of the processes described in the above embodiments and the accompanying drawings, multiple operations appearing in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this document or may be executed in parallel, and the sequence numbers of the operations, such as 12, 13, etc., are only used to distinguish between different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel.
[0081] It should be noted that the descriptions such as “first” and “second” in this article are used to distinguish different messages, devices, modules, etc., and do not represent the order of precedence, nor do they limit “first” and “second” to different types.
[0082] Figure 7 is a schematic diagram of the structure of an electronic device provided by an exemplary embodiment of the present application, and the electronic device is applicable to the workflow plug-in publishing method provided by the aforementioned embodiment, such as Figure 7 As shown, the electronic device may include: a memory 701 , a processor 702 and a communication component 703 .
[0083] The memory 701 is used to store computer programs and can be configured to store various other data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phone book data, messages, pictures, videos, etc.
[0084] In some exemplary embodiments, the processor 702 is coupled to the memory 701 and is used to execute a computer program in the memory 701 to: respond to a workflow construction instruction and display a workflow construction interface to a user; the workflow construction interface includes: multiple work icons; each work icon is associated with a function code; in each workflow drawing, in response to at least one selection operation on the work icon, the selected multiple target work icons are displayed in the work area of the workflow construction interface to build a function plug-in corresponding to the workflow; in response to a connection operation on the multiple target work icons, a connection relationship is established between the multiple target work icons, and the function codes corresponding to the multiple target work icons are spliced according to the connection relationship to form a function plug-in corresponding to the workflow; the multiple function plug-ins obtained from multiple workflow drawings are integrated into a workflow plug-in, and the workflow plug-in is published to the target browser on other electronic devices, different function plug-ins correspond to different workflows, and different workflows are used to implement different functional operations.
[0085] Optionally, the function codes associated with each of the multiple work icons include: the first type of function codes associated with each of the first type of icons; the processor 702 is also used to: encapsulate the first script as a first function code for creating a new tab, and establish an association between the first function code and the first icon; the first script is used to control the target browser to open the live broadcast page; encapsulate the second script as a second function code for clicking on a page element, and establish an association between the second function code and the second icon; the second script is used to control the target browser to click on the target page element; the first function code and the second function code are used as the first type of function code; the first script and the second script are encapsulated based on the function interface of the target browser.
[0086] Optionally, the function codes associated with each of the multiple work icons also include: second function codes associated with each of the second-category icons; the processor 702 is also used to: display an editing window of the second-category function code to the user for the user to input a target script; and encapsulate the target script to obtain the second-category function code corresponding to the target script.
[0087] Optionally, when the processor 702 encapsulates the target script and obtains the second type of working module corresponding to the target script, it is specifically used to: encapsulate the third script into a third function code for capturing comment information, and establish an association relationship between the third function code and the third icon; the third script is used to determine the comment information from the live broadcast page according to a preset information screening rule; encapsulate the fourth script into a fourth function code for calling a deep learning model, and establish an association relationship between the fourth function code and the fourth icon; the fourth script is used to input the comment information into the deep learning model to output reply information to the comment information in the live broadcast page; encapsulate the fifth script into a fifth function code for sending a welcome message; the fifth script is used to send a welcome message to the newly added viewers when the number of new viewers on the live broadcast page is detected; encapsulate the sixth script into a sixth function code for sending an advertising slogan, and establish an association relationship between the sixth function code and the sixth icon; the sixth script is used to output the advertising slogan in the live broadcast page according to the set sending cycle.
[0088] Optionally, the processor 702 responds to at least one selection operation on a work icon, and when multiple selected target work icons are displayed in the work area of the workflow construction interface, it is specifically used to: when the workflow is a live customer acquisition workflow, respond to multiple selection operations on the work icon, drag the first icon, the second icon, the third icon, the fourth icon, the fifth icon and the sixth icon to the work area, wherein each icon is used to implement the function of its associated function code.
[0089] Optionally, the workflow construction interface also includes: multiple types of connection lines; different types of connection lines are used to establish different connection relationships between target work icons; the processor 702 responds to the connection operation for the multiple target work icons, and when establishing a connection relationship between the multiple target work icons, it is specifically used to: respond to the drag operation of the target connection line for the target type, and establish a target connection relationship between the multiple target work icons pointed to by the target connection line.
[0090] Further, if Figure 7 As shown, the electronic device also includes: a display 704, a power supply component 705, an audio component 706 and other components. Figure 7 Only some components are shown schematically, which does not mean that the electronic device only includes Figure 7 Components shown.
[0091] The embodiment of the present application also provides a computer-readable storage medium, which, when the computer program is executed by a processor, enables the processor to implement the steps in the workflow plug-in publishing method.
[0092] The embodiment of the present application further provides a computer program product, including a computer program / instruction. When the computer program / instruction is executed by a processor, the steps in the workflow plug-in publishing method are executed.
[0093] In this embodiment, a workflow construction interface can be displayed; in each workflow drawing, in response to at least one selection operation for a work icon, multiple selected target work icons are displayed in the work area of the workflow construction interface; in response to an icon connection operation, a connection relationship is established between multiple target work icons, and the function codes corresponding to the multiple target work icons are spliced according to the connection relationship to form a function plug-in corresponding to the workflow; multiple function plug-ins obtained by multiple workflow drawings are integrated into a workflow plug-in, and the workflow plug-in is published to a target browser on other electronic devices, and different function plug-ins correspond to different workflows, and different workflows are used to implement different functional operations. In this way, a workflow plug-in can be generated more efficiently to improve the business efficiency of merchants.
[0094] The above-mentioned memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.
[0095] The above-mentioned communication component is configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G / LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
[0096] The above-mentioned display includes a screen, and the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0097] The power supply assembly provides power to various components of the device where the power supply assembly is located. The power supply assembly may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device where the power supply assembly is located.
[0098] The above-mentioned audio component can be configured to output and / or input audio signals. For example, the audio component includes a microphone (Microphone, MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting an audio signal.
[0099] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-readable storage media (including but not limited to disk storage, compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage, etc.) containing computer-usable program code.
[0100] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0101] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0102] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0103] In a typical configuration, a computing device includes one or more processors (Central Processing Unit, CPU), input / output interface, network interface and memory.
[0104] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0105] Computer readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase-change random access 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, read-only compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0106] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0107] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A workflow plug-in publishing method, characterized in that: Applicable to a first electronic device, on which a target browser is deployed, the method includes: In response to the workflow construction instruction, a workflow construction interface is displayed to the user; the workflow construction interface includes: a plurality of work icons; each work icon is associated with a function code; In each workflow drawing, in response to at least one selection operation on a work icon, a plurality of selected target work icons are displayed in a work area of a workflow construction interface to be used for constructing a function plug-in corresponding to the workflow; In response to the connection operation for the multiple target work icons, a connection relationship is established between the multiple target work icons, and the function codes corresponding to the multiple target work icons are spliced according to the connection relationship to form a function plug-in corresponding to the workflow; Multiple functional plug-ins obtained by drawing multiple workflows are integrated into a workflow plug-in, and the workflow plug-in is published to the target browser on other electronic devices. Different functional plug-ins correspond to different workflows, and different workflows are used to implement different functional operations.
2. The method according to claim 1, characterized in that The function codes associated with each of the plurality of working icons include: first-category function codes associated with each of the first-category icons; the method further includes: Encapsulating the first script as a first function code for creating a new tab, and establishing an association relationship between the first function code and the first icon; the first script is used to control the target browser to open a live broadcast page; Encapsulating the second script as a second function code for clicking a page element, and establishing an association relationship between the second function code and a second icon; the second script is used to control the target browser to click a target page element; The first function code and the second function code are used as the first type of function code; the first script and the second script are encapsulated based on the function interface of the target browser.
3. The method according to claim 2, characterized in that The function codes associated with each of the plurality of working icons further include: second function codes associated with each of the second category icons; and the method further includes: Displaying an editing window of the second type of function code to the user so that the user can input a target script; The target script is encapsulated to obtain a second type of function code corresponding to the target script.
4. The method according to claim 3, characterized in that The target script is encapsulated to obtain a second type of working module corresponding to the target script, including: The third script is encapsulated as a third function code for capturing comment information, and an association relationship is established between the third function code and the third icon; the third script is used to determine the comment information from the live broadcast page according to a preset information screening rule; Encapsulating the fourth script as a fourth function code for calling the deep learning model, and establishing an association relationship between the fourth function code and the fourth icon; the fourth script is used to input the comment information into the deep learning model to output reply information to the comment information in the live broadcast page; Encapsulating the fifth script as a fifth function code for sending a welcome message; the fifth script is used to send a welcome message to the newly added viewers when the number of newly added viewers on the live broadcast page is detected; The sixth script is encapsulated as a sixth function code for sending advertising slogans, and an association relationship is established between the sixth function code and the sixth icon; the sixth script is used to output advertising slogans in the live broadcast page according to a set sending cycle.
5. The method according to claim 4, characterized in that In response to at least one selection operation on a work icon, a plurality of selected target work icons are displayed in a work area of the workflow construction interface, including: When the workflow is a live customer acquisition workflow, in response to multiple selection operations on the work icons, drag the first icon, the second icon, the third icon, the fourth icon, the fifth icon and the sixth icon to the work area, wherein each icon is used to implement the function of its associated function code.
6. The method according to any one of claims 1 to 5, characterized in that: The workflow construction interface also includes: multiple types of connection lines; different types of connection lines are used to establish different connection relationships between target work icons; In response to the connection operation for the multiple target work icons, a connection relationship is established between the multiple target work icons, including: in response to the drag operation of the target connection line for the target type, a target connection relationship is established between the multiple target work icons pointed to by the target connection line.
7. A workflow plug-in publishing method, characterized in that: Applicable to a second electronic device, where a target browser is deployed on the electronic device, the method includes: In response to the plug-in start operation, a workflow plug-in is obtained; the workflow plug-in is obtained by integrating multiple functional plug-ins obtained by drawing multiple workflows; any functional plug-in is formed by splicing functional codes corresponding to multiple target work icons according to the connection relationship of the multiple target work icons; Displaying a function plug-in selection window corresponding to the workflow plug-in on the target browser for the user to select the multiple function plug-ins; each function plug-in corresponds to a workflow; different workflows are used to implement different functional operations; In response to the function plug-in selection operation of the user, a plurality of target work icons corresponding to the target function plug-in selected by the user and their respective connection relationships are displayed in the workflow details window; In response to the user's function plug-in startup operation, the function codes corresponding to the multiple target work icons of the target function plug-in selected by the user are executed in sequence to implement the functional operation of the workflow corresponding to the target function plug-in; wherein, each time any function code in the target code is executed, the target work icon corresponding to any function code is highlighted so that the user can perceive the progress of the workflow execution.
8. An electronic device, characterized in that: include: A memory and a processor; wherein the memory is used to: store one or more computer instructions; and the processor is used to execute the one or more computer instructions to: execute the steps in the method described in any one of claims 1-6 or claim 7.
9. A computer-readable storage medium, characterized in that: When the computer program is executed by a processor, the processor is enabled to implement the steps of the method according to any one of claims 1 to 6 or claim 7.
10. A computer program product, characterized in that The method comprises a computer program / instruction, which, when executed by a processor, enables the processor to implement the steps of the method according to any one of claims 1 to 6 or claim 7.