Template generation method and device, equipment and storage medium

By editing interactive pages and generating event templates by users, the problem of long design cycles of office applications is solved, and the business preparation cycle is shortened and editing efficiency is improved.

CN119065659APending Publication Date: 2024-12-03HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310635983.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-31
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

In the prior art, the cycle of designing office applications is relatively long, resulting in an extended business preparation cycle and requires the participation of technical personnel. The threshold is high, making it difficult for ordinary business personnel to edit.

Method used

It provides a template generation method, which generates event templates by users editing interactive pages and triggering conditions, allowing event templates of different users to be triggered in sequence into business processes, reducing the need for editing program codes, and ordinary business personnel can edit them.

Benefits of technology

It shortens the business preparation cycle, reduces the communication needs between technicians and business personnel, and improves editing efficiency and thresholds. Ordinary business personnel can independently complete the editing of event templates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065659A_ABST
    Figure CN119065659A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a template generation method and device, equipment and a storage medium. The second event template can be triggered by the first event template, so that the event templates edited by different users can be connected in series to form a business process through sequential triggering. Therefore, for different business processes, different program codes do not need to be edited, and only corresponding event templates need to be edited. Compared with program codes, the interaction page and the trigger event included in the event template are contents quite easy to edit, the editing period is short, the editing threshold is low, common business personnel can edit the contents, technical personnel with code editing ability are not needed, and the communication time between the technical personnel and the business personnel can be saved. Therefore, the service preparation period can be effectively shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a template generation method, device, equipment and storage medium. Background Art

[0002] In the digital age, major companies use relevant office applications to manage their internal business processes in order to improve office efficiency and record relevant information such as projects or products during the execution of business.

[0003] Since large enterprises generally involve many different business processes, the company's technical personnel need to design corresponding office applications for each department after understanding the business needs, business personnel and other information related to each business process.

[0004] In the related art, the period of designing office applications is long, which results in a long period of business preparation. Summary of the invention

[0005] In order to solve the related technical problems, the embodiments of the present disclosure provide a method, device, equipment and storage medium for generating a template. The technical solution is as follows:

[0006] In a first aspect, a method for generating a template is provided, which can be applied to a server, a terminal, a system composed of a server and a terminal, etc. The method includes: generating a first interactive page according to a page component editing operation of a first user; generating a first trigger condition according to a trigger condition editing operation of the first user; and generating a second event template according to the first interactive page and the first trigger condition.

[0007] The first interactive page is used to provide interactive information of the business process. The trigger condition editing operation of the first user includes the first user's selection instruction for the first event template, and the first event template is created by the second user. The second user can be the same as the first user. The second event template is used to indicate that when the first trigger condition is met, the first interactive page is sent to the relevant user, the second event template corresponds to the first step in the business process, and the first event template corresponds to the preceding step of the first step.

[0008] In the scheme shown in the embodiment of the present disclosure, the first user can drag any component to the interactive page to be edited by clicking, dragging, etc., and edit the name, properties, etc. of the component. The first user can set the condition of the first field by selecting any event template in the first category event template list in the trigger condition, or by selecting the first field in the first field list, and can also select the second field in the second field list to determine the association between the third component in the first interactive page and the fourth component in the second interactive page. Among them, the first field list can be the same as the second field list, and the first field can be the same as the second field. In addition, the first user can also set the name, icon, etc. of the first event template.

[0009] In this way, the second event template can be triggered by the first event template, so that the sequential triggering of event templates edited by different users can be connected into a business process. Then, for different business processes, there is no need to edit different program codes, only the corresponding event templates need to be edited. Compared with program codes, the interactive pages and trigger events included in the event templates are very easy to edit, with a short editing cycle and a low editing threshold. Ordinary business personnel can do it, and there is no need for technical personnel with code editing capabilities, which can save the communication time between technical personnel and business personnel. Therefore, the business preparation cycle can be shortened more effectively.

[0010] In a possible implementation, the trigger condition editing operation of the first user may be to set a specific usage mode for the first event template. The corresponding first trigger condition may be to detect a specific usage mode of the first event template. The specific usage mode may include one or more of using the first event template, selecting or inputting the first component in the first event template being the same as the pre-set content, editing the value of the second component in the first event template meeting a certain threshold, and the user using the first event template belonging to a preset user range.

[0011] In the scheme shown in the embodiment of the present disclosure, the first trigger condition may be the detection of a business event triggered by the first event template. Accordingly, the server's detection of the first trigger event may be a record change in the target form corresponding to the first event template. The first trigger condition may also be the detection of a business event triggered by the first event template and the content of the first field input through the first event template meets the target condition. The server's detection of the first trigger event may be a record change in the target form corresponding to the first event template and the content of the first field in the changed record meets the target condition.

[0012] The content of the business event may include both the user information that triggers the business event and the detailed content of the business event. For example, when user A uses the first event template to send a leave request to user B for 6 days, the business information contained in the business event may include relevant information of user A (such as user A's user name, the entity to which user A belongs, the group to which user A belongs, etc.), relevant information of user B, and the content actually edited by user A for the first event template, etc.

[0013] In this way, according to different trigger condition editing operations, the corresponding trigger conditions are determined, and the server can simply monitor the corresponding forms in the database to achieve the corresponding triggers, which can improve the convenience of event template triggering and reduce resource usage.

[0014] In a possible implementation, the trigger condition editing operation of the first user may be to set an association relationship between a third component in the first interaction page and a fourth component in the second interaction page.

[0015] The association relationship is used to indicate that when the first trigger condition is met, the content of the fourth component in the second interactive page is filled into the third component in the first interactive page.

[0016] In the solution shown in the embodiment of the present disclosure, when the server detects the first business event, it is determined that the first business event satisfies the first trigger condition. Further, the second event template to which the first trigger condition belongs is determined. Then, according to the association relationship in the first trigger condition, the content of the fourth component in the second interactive page is obtained from the business information corresponding to the first business event, and the content of the fourth component is filled into the third component of the first interactive page of the second event template.

[0017] In this way, through the association relationship in the event template, the server can automatically fill in some information for the interactive page, simplify the user's operation of the interactive page, and improve business efficiency.

[0018] In a possible implementation, the interactive page includes at least one component of a button control, a text input box, a selection list, and a file input box.

[0019] In this way, through a variety of components, the interactive pages created can be more diversified. By selecting the corresponding components, the corresponding business functions can be realized, and event templates can be created quickly, which effectively shortens the business preparation cycle.

[0020] In a possible implementation, when it is detected that the first business event satisfies the first trigger condition, the third user to be notified by the second event template can be determined based on the first trigger event and the first business event. In addition, the first interactive page is determined based on the first trigger condition and the second event template and sent to the third user.

[0021] In the scheme shown in the embodiment of the present disclosure, the first business event may include relevant information of users that need to be notified and filled in by the user. When the first business event is detected, the trigger conditions in the second type of event template can be obtained one by one to determine whether the business information in the first business event meets the corresponding trigger conditions. If so, the event template corresponding to the trigger condition is determined as the second event template. Further, the server can determine the user in the user range preset in the trigger condition in the second event template as the third user, or the user in the first business event as the third user, or the user in the user range preset in the trigger condition in the second event template and the user in the first business event as the third user. In addition, the server can fill the business information in the first business event into the first interactive page in the second event template according to the association relationship in the first trigger condition, and obtain the first interactive page after the business information is filled in. Finally, the first interactive page after the business information is filled in is sent to the third user.

[0022] In this way, the server can quickly identify the third user without performing a retrieval process and send the corresponding interactive page to the third user, thereby improving the efficiency of executing business processing.

[0023] In a possible implementation, when it is detected that the first business event meets the first trigger condition, the fourth user to be notified by the second event template can be determined based on the business information in the first business event. In addition, based on the first trigger condition and the second event template, the first interactive page is determined and sent to the fourth user.

[0024] The scheme shown in the embodiment of the present disclosure, when a first business event is detected, can obtain the trigger conditions in the second type of event template one by one, and determine whether the business information in the first business event meets the corresponding trigger condition. If so, the event template corresponding to the trigger condition is determined as the second event template. Further, the server can determine the user in the first business event as the fourth user. In addition, the server can fill the business information in the first business event into the first interactive page in the second event template according to the association relationship in the first trigger condition, and obtain the first interactive page after the business information is filled in. Finally, the first interactive page after the business information is filled in is sent to the fourth user.

[0025] In this way, by determining the fourth user through the business information, the user who needs to be notified can be quickly determined, thereby improving the efficiency of executing business processing.

[0026] In a possible implementation, the relevant user may be a first user, and the first user is a user who creates the second event template.

[0027] Among them, the first user may be a department head or the like.

[0028] According to the solution shown in the embodiment of the present disclosure, when executing a business process, after any user uses the first event template, the server can detect the first trigger event. At this time, the server can send the first interactive page to the creator of the second event template to which the first trigger event belongs.

[0029] In this way, based on the correspondence between the event template and the creator, the users who need to be notified can be determined more quickly, which can improve the efficiency of executing business processing.

[0030] In a possible implementation, after the user completes creating the event template, the user may upload the event template to a public template library for storage.

[0031] In this way, the diversity of event templates in the public template library can be increased, making it easier for users to select event templates for use according to their needs. There is no need to create event templates, which can effectively shorten the business preparation cycle.

[0032] In a possible implementation, the fifth user can select any template in the public template library and add the template to his account, and the server will record the binding relationship between the template and the account. Accordingly, when the server detects that the first business event meets the first trigger condition, all accounts bound to the second event template can be determined as the fifth user, and further, the first interactive page in the second event template is sent to the fifth user.

[0033] In this way, based on the binding relationship between the event template and the account, the users who need to be notified can be determined more quickly, which can improve the efficiency of executing business processing.

[0034] In a second aspect, a device for generating a template is provided, the device comprising at least one module, and the at least one module is used to implement the method for executing business processing provided by the above-mentioned first aspect and its possible implementation methods.

[0035] In a third aspect, a computing device is provided, the computing device comprising a memory and a processor, the memory being used to store computer instructions; the processor executing the computer instructions stored in the memory so that the computing device executes the method of the first aspect and possible implementations thereof.

[0036] In a fourth aspect, a computing device cluster is provided, the computing device cluster comprising at least one computing device, each computing device comprising a processor and a memory;

[0037] The processor of the at least one computing device is configured to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method described in the first aspect.

[0038] In a fifth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer program code. In response to the computer program code being executed by a computing device, the computing device executes the method of the first aspect and possible implementations thereof.

[0039] In a sixth aspect, a computer program product is provided. When the computer program product is executed on the computing device, the computing device executes the method described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 is a structural diagram of a system provided by an embodiment of the present disclosure;

[0041] Figure 2 is a schematic diagram of the structure of a terminal provided by an embodiment of the present disclosure;

[0042] Figure 3 is a structural diagram of a server provided by an embodiment of the present disclosure;

[0043] Figure 4 It is a flowchart of a template generation method provided by an embodiment of the present disclosure;

[0044] Figure 5 is a schematic diagram of a display interface for creating an event template provided by an embodiment of the present disclosure;

[0045] Figure 6 is a schematic diagram of a display interface for creating an interactive page provided by an embodiment of the present disclosure;

[0046] Figure 7 is a schematic diagram of a display interface for creating a trigger condition provided by an embodiment of the present disclosure;

[0047] Figure 8 is a schematic diagram of a display interface of a selection form provided by an embodiment of the present disclosure;

[0048] Fig. 9 is a schematic diagram of a display interface of a form list provided by an embodiment of the present disclosure;

[0049] Fig.10 is a schematic diagram of a display interface for selecting a first field provided by an embodiment of the present disclosure;

[0050] Fig.11is a schematic diagram of a display interface of a first field list provided by an embodiment of the present disclosure;

[0051] Fig.12 is a schematic diagram of a display interface for setting a target condition of a first field provided by an embodiment of the present disclosure;

[0052] Fig.13 is a schematic diagram of a display interface for setting a target condition of a first field provided by an embodiment of the present disclosure;

[0053] Fig.14 is a schematic diagram of a display interface for setting a target condition of a first field provided by an embodiment of the present disclosure;

[0054] Fig.15 is a schematic diagram of a display interface for selecting a second field provided by an embodiment of the present disclosure;

[0055] Fig.16 is a schematic diagram of a display interface of a second field list provided by an embodiment of the present disclosure;

[0056] Fig.17 is a schematic diagram of a display interface for filling in a second field provided by an embodiment of the present disclosure;

[0057] Fig.18 It is a flowchart of a method for executing business processing provided by an embodiment of the present disclosure;

[0058] Fig.19 is a schematic diagram of a main interface of a related application provided by an embodiment of the present disclosure;

[0059] Fig. 20 is a schematic diagram of a display interface for selecting an event template provided by an embodiment of the present disclosure;

[0060] Fig.21 is a schematic diagram of a first interactive page provided by an embodiment of the present disclosure;

[0061] Fig. 22 is a schematic diagram of a first interactive page after business information is filled in according to an embodiment of the present disclosure;

[0062] Fig.23 is a schematic diagram of a notification message of a first service event provided by an embodiment of the present disclosure;

[0063] Fig.24 is a schematic diagram of a second interactive page provided by an embodiment of the present disclosure;

[0064] Fig.25 is a schematic diagram of a second interactive page after business information is filled in, provided by an embodiment of the present disclosure;

[0065] Fig.26 It is a flowchart of a method for querying business information based on a subject provided by an embodiment of the present disclosure;

[0066] Fig. 27 is a schematic diagram of a display interface of a list of event templates subscribed by a user provided by an embodiment of the present disclosure;

[0067] Fig.28 It is a schematic diagram of a display interface of a first type event template list in a public template library provided by an embodiment of the present disclosure;

[0068] Fig.29 is a schematic diagram of a display interface of an updated list of event templates subscribed by a user provided by an embodiment of the present disclosure;

[0069] Fig.30 is a structural schematic diagram of a device for generating a template provided by an embodiment of the present disclosure;

[0070] Fig.31 is a schematic diagram of a computing device provided by an embodiment of the present disclosure;

[0071] Fig.32 is a schematic diagram of a computing device cluster provided by an embodiment of the present disclosure;

[0072] Fig.33 It is a schematic diagram of communication between various computing devices in a computing device cluster provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0073] The present disclosure provides a method for generating a template, which can be used by a user to create an event template and execute a corresponding business process according to the event template. The method can be implemented by a system composed of a terminal and a server. The structure of the system is as follows: Figure 1 As shown. The terminal may be a mobile phone, a tablet computer, a notebook computer, a desktop computer, etc. The server may be a background server of an application or website related to business processing, and the server may be a single server or a device group consisting of multiple devices.

[0074] From the perspective of hardware composition, the structure of the terminal can be as follows Figure 2 As shown, it includes a processor 210 , a memory 220 , a display component 230 , a communication component 240 and an input component 250 .

[0075] The processor 210 may be a central processing unit (CPU) or a system on chip (SoC), etc. The processor 210 may be used to execute various instructions involved in the method, etc.

[0076] The memory 220 may include various volatile memories or non-volatile memories, such as a solid state disk (SSD), a dynamic random access memory (DRAM), etc. The memory 120 may be used for pre-stored data, intermediate data, and result data in the template generation process, such as event templates, etc.

[0077] The display component 230 may be an independent screen, or a screen integrated with the terminal body, a projector, etc. The screen may be a touch screen or a non-touch screen. The display component is used to display interactive pages, etc.

[0078] The communication component 240 may be a wired network connector, a wireless fidelity (WiFi) module, a Bluetooth module, a cellular network communication module, etc. The communication component may be used to transmit data with other devices, such as servers or other terminals.

[0079] The input component 250 may be a keyboard, a mouse, etc., and may be used to input instructions or information to the terminal, for example, inputting business information in an interactive page to execute business processing.

[0080] In addition to the processor and memory, the terminal may also include an audio acquisition component, an audio output component, and the like.

[0081] The audio collection component may be a microphone for collecting the user's voice. The audio output component may be a speaker, earphone, etc. for playing audio.

[0082] From the perspective of hardware composition, the server structure can be as follows Figure 3 As shown, it includes a processor 310 , a memory 320 and a communication component 330 .

[0083] The processor 310 may be a CPU or a SoC, etc. The processor 310 may be used to execute various instructions involved in the method, etc.

[0084] The memory 320 may include various volatile memories or non-volatile memories, such as SSD, DRAM memory, etc. The memory 320 may be used to store pre-stored data, intermediate data, and result data of various messages sent and received by the server, such as a public template library, etc.

[0085] The communication component 330 may be a wired network connector, a WiFi module, a Bluetooth module, a cellular network communication module, etc. The communication component may be used to transmit data with other devices, and the other devices may be servers or other terminals.

[0086] In this era of rapid development of information technology, all walks of life are undergoing digital reforms. For example, major companies manage business processes through relevant applications. In the daily work of major companies, when business personnel need to process business, they can use relevant applications to initiate corresponding business processes. Business processes can be the approval process for leave, the process for collecting opinions on technical solutions, the process for collecting bidding task books, etc.

[0087] The disclosed embodiment provides a method for template generation and business processing execution. Business personnel can create event templates in relevant applications or websites according to their business needs and personal needs. The event template market of the relevant application or website also provides many different event templates. When business personnel need to execute relevant business, they can select the corresponding event template and fill in the corresponding content in the event template to initiate the corresponding business process.

[0088] The above-mentioned event templates may include first-category event templates and second-category event templates, etc. The first-category event template may be an actively triggered event template, corresponding to the first step in the business process, and may only include an interactive page. The first event template in the following content belongs to the first-category event template and may include a first interactive page. The first event template may be created by the first user or selected in a public template library. The second-category event template may be a passively triggered event template, corresponding to the second step or subsequent steps in the business process, and the first event template may include a triggering event and an interactive page. The second event template in the following content belongs to the second-category event template, and the second event template may include a first triggering event and a second interactive page. The second event template may be created by the second user or selected in a public template library.

[0089] The disclosed embodiment provides a method for template generation. The relevant application or website provides different types of components, and the business personnel can select multiple components to combine and create the required event template. The following takes the second user (a business personnel) creating the second event template as an example to elaborate on the template generation method in detail. The corresponding processing flow can be as follows: Figure 4 As shown, the following processing steps are included:

[0090] 401. The second terminal generates a second interactive page according to the page component editing operation, and sends the second interactive page to the server.

[0091] The second terminal is a terminal used by the second user. The page component editing operation may be an operation of selecting any component in the page component list, or an operation of editing the properties of the component. The properties of the component may be the name of the component, etc. The second interaction page is used to provide interaction information of the business process.

[0092] The specific processing steps for creating an interactive page can be as follows:

[0093] Step 1: The second terminal displays a list of page components and an interactive page to be edited.

[0094] In implementation, when the second user needs to create an event template, he can click on the control for constructing an event template in the display interface. When the second terminal detects the click operation, it jumps to the display interface for creating an event template, and can Figure 5 In this display interface, the second user can click on the page construction control or the next step control. After the second terminal detects the user's operation of clicking the control, it jumps to the display interface of creating the interactive page, such as Figure 6 shown.

[0095] Step 2: The second terminal obtains a selection operation instruction for a target component in the page component list, adds the target component to the interactive page to be edited, and obtains a second interactive page.

[0096] Among them, the components in the page component list include at least one of a button control, a text input box, a selection list, and a file input box.

[0097] In implementation, the second user can select any component in the page component list by clicking or dragging to select the component. When the second terminal detects the second user's selection operation, the selected component is added to the interactive page to be edited and displayed. The second user can edit the name of the selected component. For example, Figure 6 In the example, the second user selects two text input boxes and two date selection bars to add to the interactive page to be edited, and edits the names of the two input boxes to "departure place" and "destination", and edits the names of the two date selection bars to "start date" and "end date". After the second user completes editing the interactive page, he can click to save the control. After the second terminal detects that the second user clicks to save the control, it generates a second interactive page and sends relevant information of the second interactive page to the server.

[0098] In other possible implementations, the execution subject of step 401 may be a server. The second terminal may send the relevant information of the component selected by the second user to the server, and after receiving the relevant information of the component, the server generates a second interactive page according to the relevant information of the component.

[0099] 402. The second terminal generates a first trigger condition according to the trigger condition editing operation, and sends the first trigger condition to the server.

[0100] Among them, the trigger condition editing operation may include the first user's selection instruction for the first event template, and may also include the first user setting a specific usage method for the first event template. The specific usage method may include one or more of the following: using the first event template, the selection or input content of the first component in the second event template is the same as the pre-set content, the numerical editing of the second component in the first event template meets a certain threshold, the user using the second event template belongs to a preset user range, and may also include setting the association relationship between the third component in the second interactive page and the fourth component in the first interactive page.

[0101] Step 401 and step 402 may be performed in any order. In other possible implementations, step 402 may not be performed. For example, when creating an actively triggered event template (a first event template), the trigger condition may not be set.

[0102] In other possible implementations, the execution subject of step 402 may be a server. The second terminal may send relevant information of the trigger condition editing operation to the server, and the server generates the first trigger condition after receiving the relevant information.

[0103] 403. The server generates a second event template based on the first trigger condition and the second interactive page.

[0104] In implementation, the second user can click the completion control after setting all the contents of the second event template. After detecting that the second user clicks the completion control, the second terminal sends a request to generate an event template to the server. After receiving the request to generate the event template, the server generates a second event template including the first trigger condition and the second interactive page.

[0105] 404. The server stores the second event template in the public template library.

[0106] Other accounts can also use the same method to create event templates.

[0107] The following is a detailed description of the editing operations for different trigger conditions:

[0108] First, in the case where the trigger condition editing operation includes a selection instruction of the first event template by the first user, the editing process of the trigger condition may be as follows:

[0109] Step 1: The second terminal displays an event template list.

[0110] In implementation, after the second user completes the creation of the interactive page, he can set the trigger conditions, etc. At this time, the second user can click the control configured by the rule or the control of the next step. After detecting the user's click operation, the second terminal jumps to the page configured by the rule, such as Figure 7 In this display interface, the second user can click the checkbox to trigger the form. At this time, the display interface can be as shown in FIG. Figure 8 As shown. Figure 8 In the example, the second user can click on the selection box of the selection form, and after detecting the operation of the second user clicking on the selection box, the second terminal displays the event template list, such as Fig. 9 shown.

[0111] Step 2: The second terminal obtains a selection operation instruction for the first event template in the event template list.

[0112] In implementation, the second user can select the first event template according to his / her needs by clicking or other operations. For example, the event template of "business trip application" is selected in the embodiment of the present disclosure.

[0113] Step three: The second terminal determines a first trigger condition based on the first event template selected by the second user, and sends the first trigger condition to the server.

[0114] The first trigger condition may be detecting a business event triggered by using a first event template. The server may detect the first trigger condition by detecting a record change in a target form corresponding to the first event template. Each time a business is executed using the first event template, the record in the target form will change, for example, a new record will be added.

[0115] Second, for the case where the trigger condition editing operation includes the selection of the first component in the first event template or the input content is the same as the preset content, the value editing of the second component in the first event template meets a certain threshold, and the user using the first event template belongs to the preset user range, the editing process of the trigger condition can be as follows:

[0116] Step 1: The second terminal displays an event template list.

[0117] Step 2: The second terminal obtains a selection operation instruction for the first event template in the event template list.

[0118] The specific processing of these two steps can be found in the above content.

[0119] Step 3: The second terminal displays the first field list.

[0120] The first field list includes the fields in the target form. Among the fields in the target form, one or more fields may correspond to components in the first interactive page, that is, the content of the field can be filled in by the corresponding component in the first interactive page.

[0121] In implementation, the second user can click on the checkbox of "Run a set of actions". After detecting the click operation of the second user, the second terminal displays a page for setting conditions, such as Fig.10 As shown. Fig.10 In the example, the second user can click the check box of configuration condition 1 or add a control. After detecting the click operation of the second user, the second terminal displays the first field list, such as Fig.11 shown.

[0122] Step 4: The second terminal obtains a selection operation instruction for the first field in the first field list.

[0123] In implementation, the second user can select the first field in the first field list, for example, Fig.11 In the example, the second user selected the field "

User Creation

[0124] Step 5: The second terminal displays the condition input field corresponding to the first field, and obtains the target condition entered in the condition input field.

[0125] Among them, the target condition can be used to determine that the selection or input content of the first component in the first event template is the same as the pre-set content, the numerical edit of the second component in the first event template meets a certain threshold, the user using the first event template belongs to the preset user range, etc.

[0126] In implementation, after the second user selects the first field, the condition of the first field can be set in the condition input column. For example, the field can be "[User creation] actual time", "[User status] priority", "[System] creator", etc. The condition input column can include two parts: a rule column and a value column. Fig.12 In the example, the second user can click the first checkbox (i.e., the rule column) to select the field value and select the corresponding rule in the rule column, such as greater than, equal to, or less than. Fig.13 As shown. Fig.13 In the second field, the second user can click the second checkbox (i.e., the value column) to select the field value, select the corresponding value or enter the corresponding value in the value column. The value can be filled in according to the type of the first field. For example, if the first field is a time type, the specific value can include the start time and the end time, such as Fig.14 shown.

[0127] Step six: The second terminal determines a first trigger condition based on the first event template, the first field, and the target condition selected by the second user.

[0128] The first trigger condition may be that a business event triggered by a first event template is detected, and the content of the first field input by the first event template meets the target condition. The server detects the first trigger condition by detecting that a record change occurs in a target form corresponding to the first event template, and the content of the first field in the changed record meets the target condition.

[0129] In implementation, after the second user has completed setting the trigger conditions, he can click Fig.14 In the save control. At this time, after the second terminal detects that the user clicks the save control operation, the first trigger condition is obtained according to the first event template, the first field and the target condition selected by the second user. The first trigger condition is that a record change occurs in the target form and the first field in the changed record meets the target condition. For example, the target form is an opinion collection form, and the first field includes "[User Creation] Actual Time", "[User Status] Priority" and "[System] Creator", and the target condition corresponding to "[User Creation] Actual Time" is equal to [2023.03.10-2023.03.15], "[User Status] Priority" is greater than or equal to "Medium", and "[System] Creator" is equal to department subordinates A, B, C. The first trigger condition is "During the period from March 10, 2023 to March 15, 2023, it is detected that department subordinates A, B, C create records in the opinion collection form and the priority of the event is greater than or equal to Medium". Then, the second terminal sends the relevant information of the first trigger condition to the server.

[0130] Third, for the case where the trigger condition editing operation includes setting an association relationship between the third component in the second interactive page and the fourth component in the first interactive page (the association relationship is used to indicate that when the first trigger condition is met, the content of the fourth component in the first interactive page is filled into the third component in the second interactive page), the trigger condition editing process can be as follows:

[0131] Step 1: The second terminal may display the names of the components included in the second interactive page, and display a field selection bar corresponding to the name of each component.

[0132] Step 2: The second terminal obtains a selection operation instruction for a field selection bar corresponding to the name of the third component in the second interactive page.

[0133] Step three: The second terminal displays a second field list corresponding to the first event template.

[0134] The second field list may be the same as the first field list.

[0135] Step 4: The second terminal obtains a selection operation instruction for the second field in the field list.

[0136] Among them, the second field corresponds to the fourth component in the first interactive page.

[0137] Step five: The second terminal generates a first trigger condition based on the name of the third component and the second field.

[0138] See also Fig.14 First, the second user can click the "Set Action" control. When the second terminal detects the user's click operation, it displays the operation type, the input field for the operation name, the name of the component included in the second interactive page, and the field selection field corresponding to the component. The operation type can be the same as the action condition in the trigger condition, for example, create a record, delete a record, etc. Fig.15 In the display interface shown, the names of the components are "Departure Place", "Destination", "Start Time" and "End Time". The second user can click the add control in the field selection column corresponding to the name of the third component. After detecting the click operation of the second user, the second terminal displays the second field list, such as Fig.16 shown.

[0139] Then, the second user can select the second field in the field list. After the second user fills in the field selection column corresponding to the name of the third component, as shown in FIG. Fig.17 At this time, after the second terminal detects the user clicking the save control operation, it generates a first trigger condition according to the name of the third component and its second field, the operation type and operation name selected by the second user, etc.

[0140] Finally, the second terminal sends relevant information of the first trigger condition to the server.

[0141] In other possible implementations, the second user may only perform the trigger condition editing operation corresponding to any one of the above three situations, or may perform the trigger condition editing operation corresponding to multiple of the above three situations.

[0142] In addition, in addition to trigger conditions and interactive pages, event templates may also include template information, topics, etc. The template information may include the name, icon, and description information of the event template. Accordingly, when creating a template, the second user may also fill in template information, perform collaborative settings, and perform publishing settings. The collaborative settings are used to set whether the business message based on the second event template can be liked, commented on, or forwarded, and the publishing settings are used to set the associated topics, public scope, etc. of the second event template.

[0143] The processing flow of a method for executing business processing provided by an embodiment of the present disclosure can be as follows: Fig.18 As shown, the following processing steps are included:

[0144] 1801. The first terminal displays an event template list.

[0145] Among them, the first terminal is the terminal where the first account is located, and in the embodiment of the present disclosure, the first account is "ME". The event template list includes at least one event template option. The event template is applied to the execution of a certain business link in the business process, and the event template is a template for filling in the relevant business information for executing the business link. The event template may not include the program code for executing the business link, and may only include the code of the interactive page. In addition, it may also include some other auxiliary information, which will be introduced in the subsequent content. The interactive page can be used to fill in the relevant business information to perform business processing of the business link.

[0146] In implementation, when the first user needs to initiate a business process, the relevant application can be opened. The main interface of the relevant application can be composed of three parts, including a subject bar, a dynamic bar, and an event detail bar, such as Fig.19 shown.

[0147] The subject column may include all subjects involved in the first user. The subject is a title specified by a business person or business manager for a series of businesses. The subject may be the identification information of the first user, the identification information of the project in which the first user participates, the identification information of the product, etc. The identification information of the first user may be the avatar and name of the first user, etc. The identification information of the project in which the first user participates may be the icon and name of the project, etc. The identification information of the product may be the icon and name of the product, etc.

[0148] The dynamic bar may include a list of events sent and received by the first user, filter controls, controls for creating events, and the like.

[0149] The event details column is used to display the specific content of an event in the event list. For example, Fig.19 The event details column shows the specific content of event 1.

[0150] In addition, the display interface may also display multiple controls for implementing different functions, such as dynamic controls and the like.

[0151] When the first user needs to initiate a business process, he can click the control to create an event in the dynamic column. After detecting the user's operation, the first terminal displays a list of event templates, such as Fig. 20 As shown, the event template list includes multiple event templates subscribed by the first user, which are used to actively initiate a business process. In the event template list, the first user can select a corresponding event template by clicking or other operations according to his needs. For example, when the first user needs to take a leave, he can click the "leave" event template.

[0152] 1802. After obtaining a selection operation instruction for an option of a first event template in the event template list, the first terminal sends an active triggering request for the first event template to the server.

[0153] The active trigger request carries identification information of the first account and identification information of the first event template.

[0154] The present embodiment of the disclosure takes the event template selected by the first user as the "opinion collection" event template as an example to illustrate the business process.

[0155] 1803. The server determines the first event template in the public template library.

[0156] Among them, the public template library may include first-class event templates and second-class event templates. The trigger condition in the second-class event template may be any specified business event. The embodiment of the present disclosure takes the occurrence of a record change in a specified form as an example. The record change may be the creation of a record, the deletion of a record, the modification of a record, etc. Furthermore, the trigger condition may also be the occurrence of a record change in a specified form and the specified field in the changed record meets the specified condition. Such a setting may make the triggering of the template more refined.

[0157] In implementation, when the server receives the active trigger request, it can obtain the identification information of the first account and the identification information of the first event template from the active trigger request. Further, the server can obtain the first event template from the public template library based on the identification information of the first event template.

[0158] 1804. The server sends the first interactive page in the first event template to the first account.

[0159] In implementation, after acquiring the first event template, the server acquires the first interaction page therefrom, and sends the first interaction page to the first account, that is, to the first terminal.

[0160] 1805. The first terminal displays a first interactive page.

[0161] In implementation, after the first terminal receives the first interactive page, the first interactive page may be displayed in a pop-up window, such as Fig.21 As shown, you can also switch to a new display interface to display the first interactive page. When displaying the first interactive page, you can display the entire content of the first interactive page, or you can display part of the content of the first interactive page. In addition, the display interface can also display the general collaborative attribute column of the event, which is used to associate the event with the topic and set the relevant information of the event release. For example, in Fig.21In the event template, the first user can select the target account to be notified in the recipient selection box, and select the corresponding topic in the associated topic selection box to associate with the event template.

[0162] 1806. The first terminal performs business processing based on the acquired operation on the first interactive page.

[0163] In implementation, the first user can fill in the relevant business information in the input box on the first interactive page. For example, the relevant business information may include text content, images, files, time, target accounts to be notified, etc. After the first user completes filling in the relevant business information, the first interactive page can be displayed as follows: Fig. 22 As shown, at this time, the first user can click on the release control. After detecting the user clicking on the release control, the first terminal sends a service execution message to the server, and the service execution message can carry the relevant service information filled in the first interactive page.

[0164] 1807. The server detects a first service event.

[0165] The first business event is a business event triggered by the business process in step 1806. The first business event may be an event in which a record change occurs in a form, and different businesses may correspond to different forms.

[0166] In implementation, when the server receives a business execution message, it can obtain key information in the business execution message according to pre-set rules, such as identification information of the first event template, relevant business information filled in the first interactive page, etc. The correspondence between event templates and forms can be stored in the server. In this way, the server can determine the corresponding form based on the identification information of the event template in the key information obtained, and perform record change operations in the form. At this point, the server can detect the event of record change in the corresponding form, that is, detect the first business event. For example, the business initiated by the first user is a leave application. After receiving the business execution message of the leave application, the server can create a record in the leave form. At this time, the server can detect the first business event.

[0167] 1808. The server determines a second event template in a public template library based on the business information corresponding to the first business event.

[0168] Among them, the second event template belongs to the second type of event template. The second event template includes a first trigger event and a second interactive page. The business information corresponding to the first business event matches the first trigger condition in the determined second event template. The business information can be information of a specified field. For example, the information of the specified field can be information of a target account that needs to be notified for the first business event, information of the first account that triggers the first business event, identification information of the event template, event occurrence time information, etc.

[0169] In implementation, after detecting the first service event, the server needs to determine the second event template corresponding to the first service event. Two possible processing methods are given below:

[0170] In the first approach, the server may obtain the trigger conditions in the second type of event template one by one, determine whether the business information in the first business event satisfies the corresponding trigger condition, and if so, determine the event template corresponding to the trigger condition as the second event template.

[0171] In the second method, the server may first determine the target account to be notified of the first business event, and further obtain the event template bound to the target account in the public template library. Then, the trigger conditions in the event template bound to the target account are obtained one by one, and it is determined whether the business information in the first business event meets the corresponding trigger condition. If so, the event template corresponding to the trigger condition is determined as the second event template.

[0172] Among them, the target account that needs to be notified by the first business event can be carried in the business execution message corresponding to the first business event, or it can be determined according to pre-set rules. The pre-set rules can be: the target account that needs to be notified by the business event is the information management account corresponding to the form that has changed in the business event. For example, the pre-set rules include notifying the department leader A and administrative staff B of the department corresponding to the form when a record change occurs in the leave form. For another example, the pre-set rules include notifying the department leader C when a record change occurs in the feedback form.

[0173] 1809. The server sends the second interactive page in the second event template to the second account corresponding to the first business event.

[0174] The second account may be the target account to be notified of the first business event mentioned in step 1808, or may be the account bound to the second event template (the server may bind the created event template to the user's account when the user creates the second type of event template). In the disclosed embodiment, the second accounts are "Zhang San", "Li Si" and "Wang Wu". The terminal where the second account is located is the second terminal. The disclosed embodiment is described by taking the second terminal as the terminal where "Li Si" is located as an example.

[0175] 1810. The second terminal displays a second interactive page.

[0176] In implementation, according to different processing modes, the processing of the server sending the second interactive page and the second terminal displaying the second interactive page may include the following situations:

[0177] First, the server sends a notification message of the first business event to the second terminal. The notification message carries specific business information of the first business event and may also carry indication information of the control triggering. The second terminal displays the notification message in the event list of the dynamic bar. When the second terminal detects the click operation instruction of the second user on the notification message, the specific business information in the notification message is displayed, and an operation control is displayed accordingly. When the second terminal detects the click operation instruction of the second user on the operation control, a page acquisition request is sent to the server. When receiving the page acquisition request, the server sends a second interactive page to the second terminal. After receiving the second interactive page, the second terminal displays the second interactive page.

[0178] For example, in Fig.23 In the example, the notification message of the first business event received by the second terminal is event 1. After the second user clicks event 1, the event details column displays the specific content of event 1. The specific content of event 1 is the specific business information of the first business event. At the same time, the feedback operation control can be displayed in the display interface of the message content. The second user can click the feedback operation control. After the second terminal detects the second user's click operation on the feedback operation control, it sends a page acquisition request to the server. After receiving the page acquisition request, the server sends the second interactive page to the second terminal. The second terminal displays the received second interactive page, such as Fig.24 shown.

[0179] Second, the server sends a notification message of the first business event to the second terminal, and sends a second interactive page to the second terminal. The notification message carries the specific business information of the first business event, and may also carry the indication information of the control triggering. The second terminal displays the notification message in the event list of the dynamic bar. When the second terminal detects the second user's click operation instruction on the notification message, the specific business information in the notification message is displayed, and an operation control is displayed accordingly. When the second terminal detects the operation instruction of the operation control, the second interactive page is displayed.

[0180] Third, the server sends a notification message of the first business event to the second terminal. The notification message carries specific business information of the first business event and may also carry indication information of the control triggering. The second terminal displays the notification message in the event list of the dynamic bar. When the second terminal detects the click operation instruction of the second user on the notification message, the specific business information in the notification message is displayed, and an operation control is displayed accordingly. When the second terminal detects the click operation instruction of the operation control, a page acquisition request is sent to the server.

[0181] When the server receives the page acquisition request, it sends a notification message corresponding to the second interactive page to the second terminal. After receiving the notification message, the second terminal displays it in the event list of the dynamic bar. After receiving the second interactive page, the second terminal displays the second interactive page. The second user can click on the notification message. When the second terminal detects the second user's click operation instruction on the notification message, the second interactive page is displayed.

[0182] Fourth, the server sends a notification message of the first business event to the second terminal, and sends a second interactive page to the second terminal. The notification message carries specific business information of the first business event and the second interactive page. After the second terminal receives the notification message of the first business event, it displays the notification message in the event list of the dynamic bar. When the second terminal detects the second user's click operation instruction on the notification message, the specific business information of the first business event and the second interactive page are displayed at the same time.

[0183] Optionally, the server can automatically fill in some business information in the second interaction page. The corresponding processing can be: the server can obtain the association relationship in the second event template, and based on the association relationship, obtain at least one business information in the first business event (this at least one business information is the content filled in the fourth component in the first interaction page), fill it in the third component in the second interaction page, and send the second interaction page with the business information filled in to the second account corresponding to the first business event.

[0184] 1811. The second terminal performs business processing based on the acquired operation on the second interactive page.

[0185] In implementation, the second user can fill in relevant business information in the second interactive page, such as Fig.25As shown, the second user fills in the opinion in the text input box of the feedback on the second interactive page and marks the event as "high" priority. After filling in the relevant business information, the second user can click the publish button. After detecting the second user's operation of clicking the publish button, the second terminal sends a business execution message to the server. After receiving the business execution message, the server can perform corresponding business processing, which can be the final business link of the business process, or the business processing can also be the intermediate link of the business process, that is, the business event corresponding to the business processing will trigger the next business link. Fig.25 In an example case, the business processing may be the final business link of the business process, and may trigger feedback to the first account.

[0186] The disclosed embodiment provides a subject-based business information query method. A subject is a title assigned by a business person or business manager to a series of businesses. For example, a subject can be the name of a project, the name of an important customer, or a well-known code. In this method, a business person can associate an event template with one or more subjects. In this way, a user can query information about all relevant business processes corresponding to the relevant subjects. The processing flow of this method can be as follows: Fig.26 As shown, the following processing steps are included:

[0187] 2601. The third terminal sends a service query request of a target subject to the server.

[0188] The third terminal may be the same terminal as the first terminal or the second terminal, or may be another terminal.

[0189] In implementation, the user can click on any topic in the topic bar of the third terminal, for example, after clicking on the user topic "ME". After detecting the user's operation of clicking on the topic, the third terminal sends a service query request for the template topic to the server.

[0190] 2602. The server determines a third event template corresponding to the target topic.

[0191] The third event template is at least one event template associated with the target theme.

[0192] In implementation, after receiving the business query relationship of the target subject, the server determines a plurality of event templates (ie, third event templates) corresponding to the target subject according to the pre-established correspondence relationship between the subject and the event template.

[0193] 2603. The server obtains processing record information of the business processing executed based on the third event template.

[0194] In implementation, the server may establish a processing information library. Each time a business process is executed, the corresponding processing record information is recorded, and the event template used by the currently executed business process is recorded accordingly. After determining the third event template, the server may determine the processing record information corresponding to the third event template of the current user in the processing information library, and send the determined processing record message to the third terminal.

[0195] 2604. The server sends processing record information of the business processing executed based on the third event template to the third terminal.

[0196] 2605. The third terminal displays the processing record information.

[0197] In implementation, after receiving the processing record information, the third terminal may display multiple processing record information in the form of a list. The user may click on any processing record information, and after detecting the user's click on any processing record information, the third terminal displays the specific content of the processing record information.

[0198] The disclosed embodiment provides a method for subscribing to an event template. The event template involved in the above steps 1801 to 1811 may be created by a user and uploaded to a server, and then selected and subscribed by a first user in a public template library. The following is an example of the first user's subscription process to an event template, and the corresponding processing may be as follows:

[0199] For example, the event template required by the first user is the event template collected by opinion. Fig.19 In the display interface shown, the first user can click on the avatar to enter the personal information interface. The personal information interface includes multiple functional controls, which may include controls for event template lists, controls for selecting event templates, and the like. The first user can click on the control for selecting an event template, and after detecting the click operation of the first user, the first terminal sends a template browsing request to the server. After receiving the template browsing request, the server sends an event template list to the first terminal. After receiving the event template list, the first terminal can first display the event template list subscribed by the first user, such as Fig. 27 As shown, the list does not contain the event template required by the first user. At this time, the user can click the control of the event template list. After the first terminal detects the click operation of the first user, it displays the first category event template list, such as Fig.28As shown. The first user can click the add control corresponding to the event template for opinion collection. After detecting the first user's adding operation, the first terminal sends an event template selection instruction to the server. The selection instruction carries the identification information of the event template and the identification information of the first user. After receiving the subscription request, the server records the correspondence between the first user and the opinion collection template. When the first user clicks on the selected event template again, the server sends an updated list of selected event templates to the first terminal. The first terminal displays the updated list of selected event templates, as shown. Fig.29 shown.

[0200] In the method provided by the embodiment of the present disclosure, the second event template can be triggered by the first event template, so that the sequential triggering of event templates edited by different users can be connected in series into a business process. Then, for different business processes, there is no need to edit different program codes, only the corresponding event templates need to be edited. Compared with the program code, the interactive pages and trigger events included in the event template are very easy to edit, with a short editing cycle and a low editing threshold. Ordinary business personnel can do it, and there is no need for technical personnel with code editing capabilities, which can save communication time between technical personnel and business personnel. Therefore, the business preparation cycle can be shortened more effectively.

[0201] Based on the same technical concept, the embodiment of the present disclosure also provides a device for generating a template, such as Fig.30 As shown, the device comprises:

[0202] The interactive page editing module 3010 is used to generate a first interactive page according to the page component editing operation of the first user, and the first interactive page is used to provide interactive information of the business process. Specifically, it can implement the editing function in the above step 401 and other implicit steps.

[0203] The trigger condition editing module 3020 is used to generate a first trigger condition according to the trigger condition editing operation of the first user, wherein the trigger condition editing operation of the first user includes the first user's selection instruction for the first event template, and the first event template is created by the second user. Specifically, the editing function in the above step 402 and other implicit steps can be implemented.

[0204] The template generation module 3030 is used to generate a second event template according to the first interactive page and the first trigger condition. The second event template is used to indicate that when the first trigger condition is met, the first interactive page is sent to the relevant user. The second event template corresponds to a step in the business process, and the first event template corresponds to a preceding step of a step. Specifically, the generation function in the above step 403 and other implicit steps can be realized.

[0205] In a possible implementation, the trigger condition editing operation of the first user includes: setting a specific usage mode for the first event template, the specific usage mode includes one or more of the following: using the first event template, the content selected or input for the first component in the first event template is the same as the preset content, the value editing of the second component in the first event template meets a certain threshold, and the user using the first event template belongs to a preset user range;

[0206] The first trigger condition includes:

[0207] A specific usage of the first event template is detected.

[0208] In a possible implementation, the first event template includes a second interaction page;

[0209] The trigger condition editing operation of the first user includes: setting an association relationship between the third component in the first interaction page and the fourth component in the second interaction page, and the association relationship is used to indicate: when the first trigger condition is met, the content of the fourth component in the second interaction page is filled into the third component in the first interaction page.

[0210] In a possible implementation, the interactive page includes one or more of the following components: a button control, a text input box, a selection list, and a file input box.

[0211] In a possible implementation, the second event template is used to indicate that when a first service event that satisfies a first trigger condition is detected, a third user is determined according to the first trigger condition and / or the first service event;

[0212] Determine a first interactive page according to the first trigger condition and the second event template;

[0213] The first interaction page is sent to the third user.

[0214] In a possible implementation, the second event template is used to indicate that when a first service event that meets a first trigger condition is detected, a fourth user is determined according to the first service event, and the first service event includes service information of the fourth user;

[0215] Determine a first interactive page according to the first trigger condition and the second event template;

[0216] The first interaction page is sent to the fourth user.

[0217] In a possible implementation manner, the relevant user is the first user.

[0218] In a possible implementation, the device further includes:

[0219] The storage module 3040 is used to store the second event template in the public template library, and can specifically implement the storage function in the above step 404, as well as other implicit steps.

[0220] In a possible implementation, the device further includes:

[0221] The receiving module 3050 is used to receive a second event template selection instruction from a fifth user;

[0222] The relevant user is the fifth user.

[0223] Among them, the interactive page editing module 3010, the trigger condition editing module 3020, the template generation module 3030, the storage module 3040 and the receiving module 3050 can all be implemented by software, or can be implemented by hardware. Exemplarily, the interactive page editing module 3010 is taken as an example to introduce the implementation of the interactive page editing module 3010. Similarly, the implementation of the trigger condition editing module 3020, the template generation module 3030, the storage module 3040 and the receiving module 3050 can refer to the implementation of the interactive page editing module 3010.

[0224] As an example of a software functional unit, the interactive page editing module 3010 may include code running on a computing instance. Among them, the computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Further, the above-mentioned computing instance may be one or more. For example, the interactive page editing module 3010 may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code may be distributed in the same region (region) or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, each AZ including a data center or multiple data centers with similar geographical locations. Among them, usually a region may include multiple AZs.

[0225] Similarly, multiple hosts / virtual machines / containers used to run the code can be distributed in the same virtual private cloud (VPC) or in multiple VPCs. Usually, a VPC is set up in a region. For cross-region communication between two VPCs in the same region and between VPCs in different regions, a communication gateway needs to be set up in each VPC to achieve interconnection between VPCs through the communication gateway.

[0226] As an example of a hardware functional unit, the interactive page editing module 3010 may include at least one computing device, such as a server, etc. Alternatively, the interactive page editing module 3010 may also be a device implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0227] The multiple computing devices included in the interactive page editing module 3010 can be distributed in the same region or in different regions. The multiple computing devices included in the interactive page editing module 3010 can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in the interactive page editing module 3010 can be distributed in the same VPC or in multiple VPCs. The multiple computing devices can be any combination of computing devices such as servers, ASICs, PLDs, CPLDs, FPGAs, and GALs.

[0228] In the device provided by the embodiment of the present disclosure, the second event template can be triggered by the first event template, so that the sequential triggering of event templates edited by different users can be connected in series into a business process. Then, for different business processes, there is no need to edit different program codes, only the corresponding event templates need to be edited. Compared with program codes, the interactive pages and trigger events included in the event templates are very easy to edit, with a short editing cycle and a low editing threshold. Ordinary business personnel can do it, and there is no need for technical personnel with code editing capabilities, which can save communication time between technical personnel and business personnel. Therefore, the business preparation cycle can be shortened more effectively.

[0229] The present disclosure also provides a computing device 3100, which can be used as the above-mentioned server or terminal. Fig.31As shown, the computing device 3100 includes: a bus 3102, a processor 3104, a memory 3106, and a communication interface 3108. The processor 3104, the memory 3106, and the communication interface 3108 communicate with each other through the bus 3102. The computing device 3100 can be a server or a terminal device. It should be understood that the present disclosure does not limit the number of processors and memories in the computing device 3100.

[0230] The bus 3102 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.31 The bus 3104 is represented by only one line, but it does not mean that there is only one bus or one type of bus. The bus 3104 may include a path for transmitting information between various components of the computing device 3100 (for example, the memory 3106, the processor 3104, and the communication interface 3108).

[0231] The processor 3104 may include any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0232] The memory 3106 may include a volatile memory, such as a random access memory (RAM). The memory 3106 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).

[0233] The memory 3106 stores executable program codes, and the processor 3104 executes the executable program codes to respectively implement the functions of the aforementioned interactive page editing module 3010, the trigger condition editing module 3020, the template generating module 3030, the storage module 3040, and the receiving module 3050, thereby implementing the template generating method. That is, the memory 3106 stores instructions for the template generating method.

[0234] Alternatively, the memory 3106 stores executable codes, and the processor 3104 executes the executable codes to respectively implement the functions of the aforementioned template generation device, thereby implementing the template generation method. That is, the memory 3106 stores instructions for template generation.

[0235] The communication interface 3108 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 3100 and other devices or communication networks.

[0236] The present disclosure also provides a computing device cluster. The computing device cluster includes at least one computing device. The computing device may be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device may also be a terminal device such as a desktop computer, a laptop computer, or a smart phone.

[0237] like Fig.32 As shown, the computing device cluster includes at least one computing device 3100. The memory 3106 in one or more computing devices 3100 in the computing device cluster may store the same instructions for the method for template generation.

[0238] In some possible implementations, the memory 3106 of one or more computing devices 3100 in the computing device cluster may also store partial instructions of the method for template generation. In other words, the combination of one or more computing devices 3100 may jointly execute the instructions of the method for template generation.

[0239] It should be noted that the memory 3106 in different computing devices 3100 in the computing device cluster can store different instructions, which are respectively used for part of the functions of the template generation device. That is, the instructions stored in the memory 3106 in different computing devices 3100 can interact with the functions of one or more modules of the page editing module 3010, the trigger condition editing module 3020, the template generating module 3030, the storage module 3040 and the receiving module 3050.

[0240] In some possible implementations, one or more computing devices in the computing device cluster may be connected via a network, which may be a wide area network or a local area network. Fig.33 A possible implementation is shown. Fig.33As shown, two computing devices 3100 and 3100 are connected via a network. Specifically, the network is connected via a communication interface in each computing device. In this type of possible implementation, the memory 3106 in the computing device 3100 stores instructions for executing the functions of the receiving module 3050. At the same time, the memory 3106 in the computing device 3100 stores instructions for executing the functions of the receiving module 3050.

[0241] Fig.33 The connection method between the computing device clusters shown may be that considering that the template generation method provided by the present disclosure needs to process the business, it is considered to hand over the function of the receiving module 3050 to the computing device 3100 for execution.

[0242] It should be understood that Fig.33 The functions of the computing device 3100 shown in FIG. 3100 may also be completed by multiple computing devices 3100. Similarly, the functions of the computing device 3100 may also be completed by multiple computing devices 3100.

[0243] The present disclosure also provides a computer-readable storage medium. The computer-readable storage medium may be any available medium that can be stored by a computing device or a data storage device such as a data center that includes one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk). The computer-readable storage medium includes instructions that indicate a method for generating a computing device template, or indicate a method for generating a computing device template.

[0244] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the protection scope of the technical solutions of the embodiments of the present invention.

[0245] The information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals (including but not limited to signals transmitted between user terminals and other devices, etc.) involved in this disclosure are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

Claims

1. A method for generating a template, characterized in that: The method comprises: Generate a first interactive page according to the page component editing operation of the first user, wherein the first interactive page is used to provide interactive information of the business process; generating a first trigger condition according to a trigger condition editing operation of a first user, wherein the trigger condition editing operation of the first user includes a selection instruction of a first event template by the first user, and the first event template is created by a second user; A second event template is generated based on the first interaction page and the first trigger condition. The second event template is used to indicate that the first interaction page is sent to relevant users when the first trigger condition is met. The second event template corresponds to the first step in the business process, and the first event template corresponds to the predecessor step of the first step.

2. The method according to claim 1, characterized in that: The trigger condition editing operation of the first user includes: setting a specific usage mode for the first event template, wherein the specific usage mode includes one or more of the following: using the first event template, the content selected or input for the first component in the first event template is the same as the preset content, the value editing of the second component in the first event template meets a certain threshold, and the user using the first event template belongs to a preset user range; The first trigger condition includes: A specific usage of the first event template is detected.

3. The method according to claim 1 or 2, characterized in that: The first event template includes a second interaction page; The trigger condition editing operation of the first user includes: setting an association relationship between the third component in the first interaction page and the fourth component in the second interaction page, and the association relationship is used to indicate: when the first trigger condition is met, the content of the fourth component in the second interaction page is filled into the third component in the first interaction page.

4. The method according to any one of claims 1 to 3, characterized in that: The interactive page includes one or more of the following components: a button control, a text input box, a selection list, and a file input box.

5. The method according to any one of claims 1 to 4, characterized in that: The generating a second event template, wherein the second event template is used to indicate that when the first trigger condition is met, the first interactive page is sent to a related user, comprising: The second event template is used to indicate that when a first service event that meets a first trigger condition is detected, a third user is determined according to the first trigger condition and / or the first service event; Determine the first interactive page according to the first trigger condition and the second event template; Send the first interaction page to the third user.

6. The method according to any one of claims 1 to 4, characterized in that: The second event template is used to indicate that when the first trigger condition is met, the first interactive page is sent to a related user, including: The second event template is used to indicate that when a first service event that meets a first trigger condition is detected, a fourth user is determined according to the first service event, and the first service event includes service information of the fourth user; Determine the first interactive page according to the first trigger condition and the second event template; The first interaction page is sent to the fourth user.

7. The method according to any one of claims 1 to 4, characterized in that: The related user is the first user.

8. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: The second event template is stored in a public template library.

9. The method according to claim 8, characterized in that The method further comprises: receiving a second event template selection instruction from a fifth user; The sending the first interactive page to the relevant user includes: The related user is a fifth user.

10. A device for generating a template, characterized in that: The device comprises: An interactive page editing module, used to generate a first interactive page according to a page component editing operation of a first user, wherein the first interactive page is used to provide interactive information of a business process; a trigger condition editing module, configured to generate a first trigger condition according to a trigger condition editing operation of a first user, wherein the trigger condition editing operation of the first user includes a selection instruction of a first event template by the first user, and the first event template is created by a second user; A template generation module is used to generate a second event template based on the first interaction page and the first trigger condition, wherein the second event template is used to indicate that the first interaction page is sent to a related user when the first trigger condition is met, the second event template corresponds to a step in the business process, and the first event template corresponds to a preceding step of the step.

11. The device according to claim 10, characterized in that The trigger condition editing operation of the first user includes: setting a specific usage mode for the first event template, wherein the specific usage mode includes one or more of the following: using the first event template, the content selected or input for the first component in the first event template is the same as the preset content, the value editing of the second component in the first event template meets a certain threshold, and the user using the first event template belongs to a preset user range; The first trigger condition includes: A specific usage of the first event template is detected.

12. The device according to any one of claims 10-11, characterized in that: The first event template includes a second interaction page; The trigger condition editing operation of the first user includes: setting an association relationship between the third component in the first interaction page and the fourth component in the second interaction page, and the association relationship is used to indicate: when the first trigger condition is met, the content of the fourth component in the second interaction page is filled into the third component in the first interaction page.

13. The device according to any one of claims 10 to 12, characterized in that: The interactive page includes one or more of the following components: a button control, a text input box, a selection list, and a file input box.

14. The device according to any one of claims 10 to 13, characterized in that: The second event template is used to indicate that when a first service event that meets a first trigger condition is detected, a third user is determined according to the first trigger condition and / or the first service event; Determine the first interactive page according to the first trigger condition and the second event template; Send the first interaction page to the third user.

15. The device according to any one of claims 10 to 13, characterized in that: The second event template is used to indicate that when a first service event that meets a first trigger condition is detected, a fourth user is determined according to the first service event, and the first service event includes service information of the fourth user; Determine the first interactive page according to the first trigger condition and the second event template; The first interaction page is sent to the fourth user.

16. The device according to any one of claims 10 to 13, characterized in that: The related user is the first user.

17. The device according to any one of claims 10 to 15, characterized in that The device also includes: The storage module is used to store the second event template in a public template library.

18. The device according to claim 17, characterized in that The device also includes: A receiving module, configured to receive a second event template selection instruction from a fifth user; The related user is a fifth user.

19. A computing device, characterized in that The computing device includes a memory and a processor, the memory being used to store computer instructions; The processor executes the computer instructions stored in the memory to enable the computing device to perform the method according to any one of claims 1 to 9.

20. A computing device cluster, characterized in that: comprising at least one computing device, each computing device comprising a processor and a memory; The processor of the at least one computing device is configured to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method according to any one of claims 1 to 9.

21. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program code. In response to the computer program code being executed by a computing device, the computing device executes the method according to any one of claims 1 to 9.