Template generation method, apparatus and device, and storage medium
By editing page components by users and generating event templates for triggering conditions, the problem of long design cycle of office applications in the existing technology is solved, and the rapid editing and efficient management of business processes is realized, reducing the participation needs of technicians.
Patent Information
- Application Number
- PCT/CN2024/087927
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-31
- Filing Date
- 2024-04-16
- Publication Date
- 2024-12-05
AI Technical Summary
In the prior art, the period of designing office applications is relatively long, which leads to an extended business preparation cycle and requires the participation of technical personnel. The threshold is high, making it difficult to meet the needs of different business processes.
Provides a template generation method, which generates event templates by users editing page components and triggering conditions, allowing non-technical personnel to create and connect business processes, simplify the editing and execution of business processes, and reduce resource usage and communication time.
Shorten the business preparation cycle, reduce the participation needs of technicians, improve the editing efficiency and diversity of business processes, and enable ordinary business personnel to easily manage business processes.
Smart Images

Figure CN2024087927_05122024_PF_FP_ABST
Abstract
Description
Template generation method, device, equipment and storage medium
[0001] This application claims priority to Chinese patent application No. 202310635983.5 filed on May 31, 2023, entitled “Method, device, apparatus and storage medium for template generation”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] The present disclosure relates to the field of computer technology, and in particular to a template generation method, apparatus, device, and storage medium. Background Art
[0003] In the digital age, major companies use relevant office applications to manage internal business processes in order to improve office efficiency and record relevant information such as projects or products during the execution of business.
[0004] 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.
[0005] In the related art, the period for designing office applications is long, which results in a long period for business preparation.
[0006] Summary of the Invention
[0007] To solve related technical problems, the present disclosure provides a template generation method, apparatus, device, and storage medium. The technical solution is as follows:
[0008] In a first aspect, a template generation method is provided. The method can be applied to a server, a terminal, a system composed of a server and a terminal, and the method includes: generating a first interactive page based on a page component edit operation performed by a first user; generating a first trigger condition based on a trigger condition edit operation performed by the first user; and generating a second event template based on the first interactive page and the first trigger condition.
[0009] The first interactive page is used to provide interactive information about the business process. The first user's trigger condition editing operation includes the first user selecting a first event template, which was created by a 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 will be 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.
[0010] In the solution 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 conditions of the first field by selecting any event template in the first type of 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 relationship 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.
[0011] In this way, the second event template can be triggered by the first event template. Thus, the sequential triggering of event templates edited by different users can be cascaded into a single business process. Therefore, for different business processes, there's no need to edit separate program code; only the corresponding event templates need to be edited. The interactive pages and triggering events included in the event templates are much easier to edit than program code, resulting in a shorter editing cycle and a lower barrier to entry. Ordinary business personnel can do this, eliminating the need for technical personnel with code editing skills, saving communication time between technical personnel and business personnel. This effectively shortens the business preparation cycle.
[0012] In one possible implementation, the trigger condition editing operation of the first user may be to set a specific usage for the first event template. The corresponding first trigger condition may be detecting a specific usage of the first event template. The specific usage may include one or more of the following: using the first event template, selecting or inputting the same content as a pre-set content for the first component in the first event template, editing the value of the second component in the first event template to meet a certain threshold, and the user using the first event template belonging to a preset user range.
[0013] In the solution shown in the embodiment of the present disclosure, the first trigger condition may be the detection of a business event triggered by the use of a 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 use of 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.
[0014] 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.
[0015] 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 triggering, which can improve the convenience of event template triggering and reduce resource usage.
[0016] In a possible implementation, the trigger condition editing operation of the first user may be to set an association relationship between the third component in the first interactive page and the fourth component in the second interactive page.
[0017] 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.
[0018] In the solution shown in the embodiment of the present disclosure, when the server detects a first business event, it determines that the first business event satisfies a first trigger condition. Furthermore, it determines the second event template to which the first trigger condition belongs. Then, based on the association relationship in the first trigger condition, the server retrieves the content of the fourth component in the second interactive page from the business information corresponding to the first business event, and populates the content of the fourth component in the third component of the first interactive page of the second event template.
[0019] 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 on the interactive page, and improve business efficiency.
[0020] 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.
[0021] In this way, through a variety of components, the interactive pages created can be more diverse. 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.
[0022] In one possible implementation, when it is detected that a first business event satisfies a first trigger condition, a third user to be notified by the second event template may be determined based on the first trigger event and the first business event. Furthermore, a first interaction page may be determined based on the first trigger condition and the second event template and sent to the third user.
[0023] In the solution shown in the embodiment of the present disclosure, the first business event may include relevant information of the 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. Furthermore, the server may determine the user in the user range preset in the trigger condition in the second event template as the third user, or may determine the user in the first business event as the third user, or may determine 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 may fill the business information in the first business event into the first interactive page in the second event template based on 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.
[0024] In this way, the server can quickly determine 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.
[0025] In one possible implementation, when it is detected that a first business event satisfies a first trigger condition, a fourth user to be notified by the second event template may be determined based on the business information in the first business event. Furthermore, a first interactive page may be determined based on the first trigger condition and the second event template and sent to the fourth user.
[0026] The solution 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 conditions. If so, the event template corresponding to the trigger condition is determined as the second event template. Furthermore, 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 based on 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.
[0027] 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.
[0028] 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.
[0029] The first user may be a department head, etc.
[0030] 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.
[0031] 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.
[0032] 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.
[0033] 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.
[0034] In one possible implementation, the fifth user can select any template from the public template library and add it to their account. The server will then record the binding between the template and the account. Accordingly, when the server detects that the first business event meets the first trigger condition, it can identify all accounts bound to the second event template as the fifth user and further send the first interactive page in the second event template to the fifth user.
[0035] 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.
[0036] In a second aspect, a device for template generation is provided, which includes 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.
[0037] In a third aspect, a computing device is provided, comprising a memory and a processor, wherein the memory is used to store computer instructions; the processor executes the computer instructions stored in the memory so that the computing device executes the method of the first aspect and its possible implementation methods.
[0038] 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;
[0039] 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.
[0040] 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 its possible implementation methods.
[0041] In a sixth aspect, a computer program product is provided, which, when executed on a computing device, enables the computing device to execute the method described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] FIG1 is a schematic structural diagram of a system provided by an embodiment of the present disclosure;
[0043] FIG2 is a schematic structural diagram of a terminal provided by an embodiment of the present disclosure;
[0044] FIG3 is a schematic diagram of the structure of a server provided by an embodiment of the present disclosure;
[0045] FIG4 is a flow chart of a template generation method provided by an embodiment of the present disclosure;
[0046] FIG5 is a schematic diagram of a display interface for creating an event template provided by an embodiment of the present disclosure;
[0047] FIG6 is a schematic diagram of a display interface for creating an interactive page provided by an embodiment of the present disclosure;
[0048] FIG7 is a schematic diagram of a display interface for creating a trigger condition provided by an embodiment of the present disclosure;
[0049] FIG8 is a schematic diagram of a display interface of a selection form provided in an embodiment of the present disclosure;
[0050] FIG9 is a schematic diagram of a display interface of a form list provided in an embodiment of the present disclosure;
[0051] FIG10 is a schematic diagram of a display interface for selecting a first field provided by an embodiment of the present disclosure;
[0052] FIG11 is a schematic diagram of a display interface of a first field list provided in an embodiment of the present disclosure;
[0053] 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;
[0054] 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;
[0055] FIG14 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;
[0056] FIG15 is a schematic diagram of a display interface for selecting a second field provided by an embodiment of the present disclosure;
[0057] FIG16 is a schematic diagram of a display interface of a second field list provided in an embodiment of the present disclosure;
[0058] FIG17 is a schematic diagram of a display interface for filling in a second field provided by an embodiment of the present disclosure;
[0059] FIG18 is a flow chart of a method for executing business processing provided by an embodiment of the present disclosure;
[0060] FIG19 is a schematic diagram of a main interface of a related application provided by an embodiment of the present disclosure;
[0061] FIG20 is a schematic diagram of a display interface for selecting an event template provided in an embodiment of the present disclosure;
[0062] FIG21 is a schematic diagram of a first interactive page provided by an embodiment of the present disclosure;
[0063] FIG22 is a schematic diagram of a first interactive page after business information is filled in according to an embodiment of the present disclosure;
[0064] FIG23 is a schematic diagram of a notification message of a first business event provided by an embodiment of the present disclosure;
[0065] FIG24 is a schematic diagram of a second interactive page provided by an embodiment of the present disclosure;
[0066] FIG25 is a schematic diagram of a second interactive page after business information is filled in according to an embodiment of the present disclosure;
[0067] FIG26 is a flow chart of a method for querying subject-based business information provided by an embodiment of the present disclosure;
[0068] FIG27 is a schematic diagram of a display interface for a list of event templates to which a user has subscribed, provided in an embodiment of the present disclosure;
[0069] FIG28 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;
[0070] FIG29 is a schematic diagram of a display interface of an updated list of event templates to which a user has subscribed, provided in an embodiment of the present disclosure;
[0071] FIG30 is a schematic structural diagram of a device for generating a template provided by an embodiment of the present disclosure;
[0072] FIG31 is a schematic diagram of a computing device provided by an embodiment of the present disclosure;
[0073] FIG32 is a schematic diagram of a computing device cluster provided by an embodiment of the present disclosure;
[0074] FIG33 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
[0075] The disclosed embodiments provide a template generation method that allows users to create event templates and execute corresponding business processing based on the event templates. This method can be implemented by a system consisting of a terminal and a server, the structure of which is shown in Figure 1. The terminal can be a mobile phone, tablet computer, laptop computer, desktop computer, etc. The server can be the backend server of an application or website related to business processing. The server can be a single server or a group of multiple devices.
[0076] From the perspective of hardware composition, the structure of the terminal may be as shown in FIG. 2 , including a processor 210 , a memory 220 , a display component 230 , a communication component 240 and an input component 250 .
[0077] The processor 210 may be a central processing unit (CPU) or a system on chip (SoC), etc. The processor 210 may be configured to execute various instructions involved in the method.
[0078] 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 to store pre-stored data, intermediate data, and result data during the template generation process, such as event templates.
[0079] The display component 230 can be an independent screen, or a screen integrated with the terminal body, a projector, etc. The screen can be a touch screen or a non-touch screen. The display component is used to display interactive pages, etc.
[0080] 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.
[0081] 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.
[0082] In addition to the processor and memory, the terminal may also include an audio acquisition component, an audio output component, and the like.
[0083] The audio collection component may be a microphone for collecting the user's voice, and the audio output component may be a speaker, earphones, etc. for playing audio.
[0084] From the perspective of hardware composition, the structure of the server may be as shown in FIG3 , including a processor 310 , a memory 320 and a communication component 330 .
[0085] 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.
[0086] 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.
[0087] 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, such as servers or other terminals.
[0088] In today's era of rapid information technology development, digital transformation is underway across all industries. For example, major companies manage their business processes through relevant applications. In their daily work, when business personnel need to perform tasks, they can use relevant applications to initiate the corresponding business processes. These business processes can include the approval process for leave requests, the process for collecting feedback on technical proposals, and the process for collecting bid specifications.
[0089] The disclosed embodiments provide a method for template generation and business processing. Business personnel can create event templates based on their business and personal needs within relevant applications or websites. The event template market within the relevant applications or websites also offers a wide variety of event templates. When executing a business, business personnel can select a corresponding event template and fill in the template with the appropriate content to initiate the corresponding business process.
[0090] 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 the 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 the public template library.
[0091] The disclosed embodiments provide a method for template generation. A related application or website provides different types of components, and business personnel can select multiple components and combine them to create the desired event template. The following uses the example of a second user (a business person) creating a second event template to illustrate the template generation method in detail. The corresponding processing flow can be shown in FIG4 , including the following processing steps:
[0092] 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.
[0093] The second terminal is the terminal used by the second user. The page component editing operation can be an operation of selecting any component from the page component list or an operation of editing the properties of the component. The properties of the component can be, for example, the name of the component. The second interactive page is used to provide interactive information of the business process.
[0094] The specific steps for creating an interactive page can be as follows:
[0095] Step 1: The second terminal displays a list of page components and an interactive page to be edited.
[0096] In practice, when a second user needs to create an event template, they can click the control for creating an event template in the display interface. Upon detecting this click, the second terminal will jump to the display interface for creating an event template, as shown in Figure 5. Within this display interface, the second user can click the control for page construction or the control for the next step. Upon detecting this click, the second terminal will jump to the display interface for creating an interactive page, as shown in Figure 6.
[0097] 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.
[0098] 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.
[0099] In implementation, the second user can select any component in the page component list by clicking or dragging, etc. to select the component. When the second terminal detects the selection operation of the second user, 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, in Figure 6, the second user selected two text input boxes and two date selection bars to add to the interactive page to be edited, and edited the names of the two input boxes to "Departure Place" and "Destination" respectively, and edited the names of the two date selection bars to "Start Date" and "Expiration Date" respectively. After the second user finishes editing the interactive page, he can click to save the control. After the second terminal detects the second user's operation of clicking to save the control, it generates a second interactive page and sends relevant information of the second interactive page to the server.
[0100] In other possible implementations, the server may be the execution entity of step 401. The second terminal may send the relevant information of the component selected by the second user to the server. After receiving the relevant information of the component, the server generates a second interactive page based on the relevant information of the component.
[0101] 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.
[0102] Among them, the trigger condition editing operation may include the first user's selection instruction for the first event template, or it may 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 the preset user range, and it 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.
[0103] 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.
[0104] In other possible implementations, the execution entity 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.
[0105] 403. The server generates a second event template based on the first trigger condition and the second interactive page.
[0106] In implementation, after completing all the settings for the second event template, the second user can click the completion control. Upon detecting the second user's click of the completion control, the second terminal sends a request to the server to generate an event template. Upon receiving the request, the server generates the second event template including the first trigger condition and the second interactive page.
[0107] 404. The server stores the second event template in the public template library.
[0108] Other accounts can also use the same method to create event templates.
[0109] The following describes in detail the editing operations for different trigger conditions:
[0110] First, in the case where the trigger condition editing operation includes the first user's selection instruction for the first event template, the trigger condition editing process may be as follows:
[0111] Step 1: The second terminal displays an event template list.
[0112] In practice, after the second user completes the creation of the interactive page, they can set trigger conditions and other settings. At this point, the second user can click on the rule configuration control or the next step control. After detecting the user's click, the second terminal jumps to the rule configuration page, as shown in Figure 7. In this display interface, the second user can click on the checkbox of the trigger form, and the display interface may be as shown in Figure 8. In Figure 8, the second user can click on the checkbox of the selection form. After detecting the second user's click on the checkbox, the second terminal displays a list of event templates, as shown in Figure 9.
[0113] Step 2: The second terminal obtains an instruction to select the first event template in the event template list.
[0114] In practice, the second user can select the first event template according to his / her needs by clicking or other operations. For example, the embodiment of the present disclosure selects the event template of "business trip application".
[0115] 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.
[0116] The first trigger condition may be detecting a business event triggered by a first event template. The server may detect a change in a record 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.
[0117] Second, for the trigger condition editing operation, where the selection or input of the first component in the first event template is the same as the preset content, the value edit of the second component in the first event template meets a certain threshold, and the user using the first event template falls within a preset user range, the trigger condition editing process can be as follows:
[0118] Step 1: The second terminal displays an event template list.
[0119] Step 2: The second terminal obtains an instruction to select the first event template in the event template list.
[0120] The specific processing of these two steps can be found in the above content.
[0121] Step 3: The second terminal displays the first field list.
[0122] The first field list includes each field 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.
[0123] In implementation, the second user can click the "Run a set of actions" checkbox. Upon detecting the second user's click, the second terminal displays a page for setting conditions, as shown in Figure 10. In Figure 10, the second user can click the "Configure Condition 1" checkbox or add a control. Upon detecting the second user's click, the second terminal displays the first field list, as shown in Figure 11.
[0124] Step 4: The second terminal obtains a selection operation instruction for the first field in the first field list.
[0125] In implementation, the second user can select the first field in the first field list. For example, in FIG11 , the second user selects the field “[User Created] Actual Time”, and “[User Created] Actual Time” is the time when the record is created.
[0126] 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.
[0127] 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.
[0128] In implementation, after the second user selects the first field, the condition of the first field can be set in the condition input bar. For example, the field can be "
User Creation
User Status
System
[0129] Step 6: 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.
[0130] The first trigger condition may be detecting a business event triggered by a first event template, and the content of a first field inputted via the first event template satisfies a target condition. The server may detect the first trigger condition by detecting a record change in a target form corresponding to the first event template, and the content of a first field in the changed record satisfies the target condition.
[0131] In implementation, after the second user has set the trigger conditions, they can click the Save control in Figure 14. Upon detecting the user's click of the Save control, the second terminal generates a first trigger condition based on the first event template, first field, and target condition selected by the second user. The first trigger condition is that a record in the target form is changed, and the first field in the changed record meets the target condition. For example, if the target form is an opinion collection form, and the first field includes "[User Creation] Actual Time," "[User Status] Priority," and "[System] Creator," 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, and C. The first trigger condition is "Between March 10, 2023, and March 15, 2023, it is detected that department subordinates A, B, and C created a record in the opinion collection form, and the event priority is greater than or equal to Medium." The second terminal then sends relevant information about the first trigger condition to the server.
[0132] 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:
[0133] In 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.
[0134] 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.
[0135] Step 3: The second terminal displays a second field list corresponding to the first event template.
[0136] The second field list may be the same as the first field list.
[0137] Step 4: The second terminal obtains a selection operation instruction for the second field in the field list.
[0138] Among them, the second field corresponds to the fourth component in the first interactive page.
[0139] Step 5: The second terminal generates a first trigger condition based on the name of the third component and the second field.
[0140] Referring to Figure 14, first, the second user can click on 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 names of the components included in the second interactive page, and the field selection field corresponding to the components. The operation type can be the same as the action condition in the trigger condition, for example, creating a record, deleting a record, etc. In the display interface shown in Figure 15, the names of the components are "Departure Place", "Destination", "Start Time" and "End Time". The second user can click on the add control in the field selection field corresponding to the name of the third component. After detecting the second user's click operation, the second terminal displays the second field list, as shown in Figure 16.
[0141] The second user can then select the second field in the field list. After the second user fills in the field selection bar corresponding to the name of the third component, as shown in Figure 17, they can click to save the control. At this time, after the second terminal detects the user's operation of clicking the save control, it generates a first trigger condition based on the name of the third component and its second field, the operation type and operation name selected by the second user, etc.
[0142] Finally, the second terminal sends relevant information of the first trigger condition to the server.
[0143] 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 situations of the above three situations.
[0144] In addition to trigger conditions and interactive pages, event templates can also include template information, topics, and more. Template information can include the event template's name, icon, and description. Accordingly, when creating a template, the second user can also fill in template information and perform collaboration and publishing settings. Collaboration settings are used to set whether business messages based on the second event template can be liked, commented on, or forwarded, and publishing settings are used to set the second event template's associated topics and public scope.
[0145] The processing flow of a method for executing business processing provided by an embodiment of the present disclosure may be shown in FIG18 , including the following processing steps:
[0146] 1801. The first terminal displays an event template list.
[0147] Among them, the first terminal is the terminal where the first account is located. 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. 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 the business processing of the business link.
[0148] In implementation, when the first user needs to initiate a business process, he or she may open a related application. The main interface of the related application may consist of three parts, including a subject bar, a dynamic bar, and an event details bar, as shown in FIG19 .
[0149] The subject line can include all topics related to the first user. A subject is a title assigned by a business person or business manager to a series of business operations. A subject can include the first user's identification information, identification information of projects in which the first user is involved, or identification information of products. The first user's identification information can include the first user's profile picture, name, etc. The identification information of projects in which the first user is involved can include project icons, names, etc. The product identification information can include product icons and names, etc.
[0150] The dynamic bar may include a list of events sent and received by the first user, a filter control, a control for creating an event, and the like.
[0151] The event details column is used to display the specific content of an event in the event list. For example, the event details column in Figure 19 displays the specific content of event 1.
[0152] In addition, the display interface may also display multiple controls for implementing different functions, such as dynamic controls and the like.
[0153] When the first user needs to initiate a business process, they can click the Create Event control in the dynamic column. After detecting the user's operation, the first terminal displays an event template list, as shown in Figure 20. This event template list includes multiple event templates subscribed by the first user for actively initiating business processes. In the event template list, the first user can select the corresponding event template according to their needs by clicking or other operations. For example, when the first user needs to take leave, they can click the "Leave" event template.
[0154] 1802. After obtaining the selection operation instruction for the option of the first event template in the event template list, the first terminal sends an active triggering request for the first event template to the server.
[0155] The active trigger request carries identification information of the first account and identification information of the first event template.
[0156] The embodiment of the present disclosure takes the event template selected by the first user as the “opinion collection” event template as an example to illustrate the business process.
[0157] 1803. The server determines the first event template in the public template library.
[0158] The public template library can include both first- and second-category event templates. The trigger condition in the second-category event template can be any specified business event. In this embodiment, the example of a record change in a specified form is used. Record changes can include creating, deleting, or modifying a record. Furthermore, the trigger condition can also be a record change in a specified form, where a specified field in the changed record meets a specified condition. This allows for more refined template triggering.
[0159] 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.
[0160] 1804. The server sends the first interactive page in the first event template to the first account.
[0161] In implementation, after obtaining the first event template, the server obtains the first interaction page therefrom and sends the first interaction page to the first account, that is, to the first terminal.
[0162] 1805. The first terminal displays a first interactive page.
[0163] In implementation, after the first terminal receives the first interactive page, it can display the first interactive page in the form of a pop-up window, as shown in FIG21, or it can switch to a new display interface to display the first interactive page. When displaying the first interactive page, the entire content of the first interactive page can be displayed, or part of the content of the first interactive page can be displayed. In addition, the display interface can also display the general collaborative attribute bar of the event, which is used to associate the event with the subject and to set the relevant information for the event release. For example, in FIG21, the first user can select the target account to be notified in the recipient's selection box, and select the corresponding subject in the associated subject selection box to associate with the event template.
[0164] 1806. The first terminal performs business processing based on the acquired operation on the first interactive page.
[0165] In implementation, the first user can enter relevant business information into the input box on the first interactive page. For example, the relevant business information may include text content, images, files, time, and target accounts to be notified. After the first user completes entering the relevant business information, the first interactive page may appear as shown in FIG22 . At this point, the first user can click the publish control. Upon detecting the user clicking the publish control, the first terminal sends a business execution message to the server. The business execution message may carry the relevant business information entered on the first interactive page.
[0166] 1807. The server detects a first service event.
[0167] 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 in a form is changed, and different businesses may correspond to different forms.
[0168] During 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 the identification information of the first event template, the relevant business information filled in the first interactive page, etc. The server can store the correspondence between event templates and forms. In this way, the server can determine the corresponding form based on the identification information of the event template in the obtained key information, and perform the record change operation in the form. At this time, 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.
[0169] 1808. The server determines a second event template in a public template library based on the business information corresponding to the first business event.
[0170] The second event template belongs to the second category of event templates. The second event template includes a first triggering event and a second interactive page. The business information corresponding to the first business event matches the first triggering condition determined in the second event template. The business information can be information in a specified field. For example, the information in the specified field can include information about the target account to be notified for the first business event, information about the first account that triggered the first business event, event template identification information, event occurrence time information, and so on.
[0171] In implementation, after detecting a first service event, the server needs to determine a second event template corresponding to the first service event. Two possible processing methods are given below:
[0172] In the first approach, the server may obtain the trigger conditions in the second event template one by one, determine whether the business information in the first business event meets the corresponding trigger conditions, and if so, determine the event template corresponding to the trigger condition as the second event template.
[0173] In the second approach, the server can first determine the target account to be notified for the first business event and then search the public template library for the event templates bound to the target account. The server then retrieves the trigger conditions from each of the event templates bound to the target account and determines whether the business information in the first business event meets the corresponding trigger condition. If so, the server determines the event template corresponding to the trigger condition as the second event template.
[0174] The target account that needs to be notified by the first business event can be the one 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.
[0175] 1809. The server sends the second interactive page in the second event template to the second account corresponding to the first business event.
[0176] The second account can be the target account to be notified of the first business event mentioned in step 1808, or it can be the account bound to the second event template (the server can bind the created event template to the user's account when the user creates the second type of event template). In the embodiment of the present disclosure, the second accounts are "Zhang San", "Li Si", and "Wang Wu". The terminal where the second account is located is the second terminal. This embodiment of the present disclosure uses the second terminal where "Li Si" is located as an example for explanation.
[0177] 1810. The second terminal displays a second interactive page.
[0178] In implementation, according to different processing methods, the processing of the server sending the second interactive page and the second terminal displaying the second interactive page may include the following situations:
[0179] 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 second user's click operation instruction on the notification message, it displays the specific business information in the notification message and displays an operation control accordingly. When the second terminal detects the second user's click operation instruction on the operation control, it sends a page acquisition request to the server. Upon 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.
[0180] For example, in Figure 23, the notification message for 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, which is the specific business information of the first business event. At the same time, a feedback operation control can be displayed in the message content display interface. The second user can click the feedback operation control. After the second terminal detects the second user's click 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, as shown in Figure 24.
[0181] Second, the server sends a notification message regarding the first service event to the second terminal and also sends a second interactive page to the second terminal. The notification message carries specific service information about the first service event and may also carry information indicating the triggering of a control. The second terminal displays the notification message in the event list in the dynamic bar. When the second terminal detects a click operation instruction from the second user on the notification message, it displays the specific service information in the notification message and a corresponding operation control. When the second terminal detects an operation instruction from the operation control, it displays the second interactive page.
[0182] Third, the server sends a notification message regarding the first service event to the second terminal. The notification message carries specific service information about the first service event and may also carry information indicating the triggering of a control. The second terminal displays the notification message in the event list in the dynamic bar. When the second terminal detects a click operation instruction from the second user on the notification message, it displays the specific service information in the notification message and a corresponding control. When the second terminal detects a click operation instruction on the control, it sends a page retrieval request to the server.
[0183] Upon receiving the page retrieval request, the server sends a notification message corresponding to the second interactive page to the second terminal. Upon receiving the notification message, the second terminal displays it in the event list of the dynamic bar. Upon receiving the second interactive page, the second terminal displays it. The second user can click on the notification message. Upon detecting the second user's click on the notification message, the second terminal displays the second interactive page.
[0184] Fourth, the server sends a notification message regarding the first business event to the second terminal, and also sends a second interactive page to the second terminal. The notification message carries specific business information about the first business event and the second interactive page. Upon receiving the notification message regarding the first business event, the second terminal displays the notification message in the event list in the dynamic bar. When the second terminal detects a click instruction from the second user on the notification message, it simultaneously displays the specific business information about the first business event and the second interactive page.
[0185] Optionally, the server can automatically fill in some business information in the second interactive 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 interactive page), fill it in the third component in the second interactive page, and send the second interactive page with the business information filled in to the second account corresponding to the first business event.
[0186] 1811. The second terminal performs business processing based on the acquired operation on the second interactive page.
[0187] During implementation, the second user can fill in the relevant business information in the second interactive page. As shown in Figure 25, 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 operation of the second user 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. The business processing 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. For the example of Figure 25, the business processing can be the final business link of the business process, which can trigger feedback on the first account.
[0188] 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 business operations. For example, a subject can be the name of a project, the name of an important customer, or a well-known code name. 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 shown in FIG26 and includes the following processing steps:
[0189] 2601. The third terminal sends a service query request of a target topic to the server.
[0190] The third terminal may be the same terminal as the first terminal or the second terminal, or may be another terminal.
[0191] In practice, 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 clicking on the topic, the third terminal sends a service query request for the template topic to the server.
[0192] 2602. The server determines a third event template corresponding to the target topic.
[0193] The third event template is at least one event template associated with the target theme.
[0194] In implementation, after receiving the business query relationship of the target topic, the server determines multiple event templates (ie, third event templates) corresponding to the target topic according to the pre-established correspondence relationship between topics and event templates.
[0195] 2603. The server obtains processing record information of the business process executed based on the third event template.
[0196] In implementation, the server may establish a processing information database. Each time a business process is executed, the server will record the corresponding processing record information and the event template used for the currently executed business process. After determining the third event template, the server may determine the processing record information corresponding to the third event template for the current user in the processing information database and send the determined processing record message to the third terminal.
[0197] 2604. The server sends processing record information of the business processing executed based on the third event template to the third terminal.
[0198] 2605. The third terminal displays the processing record information.
[0199] In practice, 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.
[0200] The present disclosure provides a method for subscribing to event templates. The event templates involved in steps 1801 to 1811 above may be created by a user and uploaded to a server, and then selected and subscribed to by a first user from a public template library. The following uses the first user's subscription process for an event template as an example to illustrate the corresponding processing as follows:
[0201] For example, the event template required by the first user is an opinion collection event template. In the display interface shown in Figure 19, the first user can click on their avatar to enter the personal information interface. The personal information interface includes multiple functional controls, including a control for listing event templates and a control for selecting an event template. The first user can click on the control for selecting an event template. After detecting the first user's click, the first terminal sends a template browse request to the server. After receiving the template browse request, the server sends the event template list to the first terminal. After receiving the event template list, the first terminal can first display the list of event templates subscribed to by the first user. As shown in Figure 27, this list does not contain the event template required by the first user. In this case, the user can click on the control for the event template list. After detecting the first user's click, the first terminal displays a list of first-category event templates, as shown in Figure 28. The first user can click on the add control corresponding to the opinion collection event template. After detecting the first user's add operation, the first terminal sends an event template selection instruction to the server. This selection instruction carries the event template's identification information and the first user's identification information. 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 the updated selected event template list to the first terminal. The first terminal displays the updated selected event template list, as shown in FIG29 .
[0202] 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 concatenated 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. The interactive pages and trigger events included in the event templates are very easy to edit compared to the program codes, 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.
[0203] Based on the same technical concept, the embodiment of the present disclosure further provides a device for generating a template, as shown in FIG30 , which includes:
[0204] The interactive page editing module 3010 is used to generate a first interactive page based on 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.
[0205] Trigger condition editing module 3020 is configured to generate a first trigger condition based on a trigger condition editing operation by a first user, where the trigger condition editing operation by the first user includes the first user selecting a first event template, where the first event template is created by a second user. Specifically, this module implements the editing function described in step 402 above, as well as other implicit steps.
[0206] Template generation module 3030 is configured to generate a second event template based on the first interactive page and the first trigger condition. The second event template indicates that the first interactive page should be sent to the relevant 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. Specifically, this module implements the generation function described in step 403 above, as well as other implicit steps.
[0207] In one possible implementation, the trigger condition editing operation of the first user includes: setting a specific usage mode for the first event template, where the specific usage mode includes one or more of the following: using the first event template, selecting or inputting content of the first component in the first event template being the same as pre-set content, editing a 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 pre-set user range;
[0208] The first trigger condition includes:
[0209] A specific usage of the first event template is detected.
[0210] In one possible implementation, the first event template includes a second interaction page;
[0211] The trigger condition editing operation of the first user includes: setting the association relationship between the third component in the first interactive page and the fourth component in the second interactive 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 interactive page is filled into the third component in the first interactive page.
[0212] 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.
[0213] 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 third user is determined according to the first trigger condition and / or the first service event;
[0214] Determining a first interactive page according to the first trigger condition and the second event template;
[0215] The first interaction page is sent to the third user.
[0216] In a possible implementation, the second event template is used to indicate that when a first service event that meets the first trigger condition is detected, a fourth user is determined based on the first service event, and the first service event includes service information of the fourth user;
[0217] Determining a first interactive page according to the first trigger condition and the second event template;
[0218] The first interaction page is sent to the fourth user.
[0219] In a possible implementation manner, the relevant user is the first user.
[0220] In a possible implementation, the apparatus further includes:
[0221] 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 and other implicit steps.
[0222] In a possible implementation, the apparatus further includes:
[0223] Receiving module 3050, configured to receive a second event template selection instruction from a fifth user;
[0224] The relevant user is the fifth user.
[0225] The interactive page editing module 3010, trigger condition editing module 3020, template generation module 3030, storage module 3040, and receiving module 3050 can all be implemented via software or hardware. For example, the implementation of the interactive page editing module 3010 will be described below using the example of the interactive page editing module 3010. Similarly, the implementation of the trigger condition editing module 3020, template generation module 3030, storage module 3040, and receiving module 3050 can refer to the implementation of the interactive page editing module 3010.
[0226] As an example of a software functional unit, the interactive page editing module 3010 may include code running on a computing instance. The computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Furthermore, the 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 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 one data center or multiple geographically close data centers. Typically, a region may include multiple AZs.
[0227] Similarly, multiple hosts / virtual machines / containers running the code can be distributed within the same virtual private cloud (VPC) or across multiple VPCs. Typically, a VPC is set up within a region. Cross-region communication between two VPCs within the same region, or between VPCs in different regions, requires a communication gateway within each VPC to interconnect the VPCs.
[0228] 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. Alternatively, the interactive page editing module 3010 may be 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.
[0229] 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.
[0230] 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 concatenated 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. The interactive pages and trigger events included in the event templates are very easy to edit compared to the program codes, 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.
[0231] The present disclosure also provides a computing device 3100, which can be used as the aforementioned server or terminal. As shown in FIG31 , computing device 3100 includes a bus 3102, a processor 3104, a memory 3106, and a communication interface 3108. Processor 3104, memory 3106, and communication interface 3108 communicate with each other via bus 3102. 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 computing device 3100.
[0232] Bus 3102 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, among others. Buses may be classified as address buses, data buses, control buses, and the like. For ease of illustration, FIG31 shows only one line, but this does not imply a single bus or type of bus. Bus 3104 may include a path for transmitting information between various components of computing device 3100 (e.g., memory 3106, processor 3104, and communication interface 3108).
[0233] The processor 3104 may include any one or more processors such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).
[0234] Memory 3106 may include volatile memory, such as random access memory (RAM). Memory 3106 may also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (SSD).
[0235] Memory 3106 stores executable program code. Processor 3104 executes this executable program code to implement the functions of the aforementioned interactive page editing module 3010, trigger condition editing module 3020, template generation module 3030, storage module 3040, and receiving module 3050, thereby implementing the template generation method. In other words, memory 3106 stores instructions for the template generation method.
[0236] 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.
[0237] 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.
[0238] The present disclosure also provides a computing device cluster. The computing device cluster includes at least one computing device. The computing device can 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 can also be a terminal device such as a desktop computer, a laptop computer, or a smartphone.
[0239] As shown in Figure 32, 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.
[0240] In some possible implementations, the memory 3106 of one or more computing devices 3100 in the computing device cluster may also store partial instructions for the method for template generation. In other words, the combination of one or more computing devices 3100 can jointly execute the instructions for the method for template generation.
[0241] It should be noted that the memory 3106 in different computing devices 3100 in the computing device cluster can store different instructions, each for a portion of the functions of the template generation apparatus. That is, the instructions stored in the memory 3106 in different computing devices 3100 can interactively operate the functions of one or more of the page editing module 3010, the trigger condition editing module 3020, the template generation module 3030, the storage module 3040, and the receiving module 3050.
[0242] In some possible implementations, one or more computing devices in a computing device cluster may be connected via a network. The network may be a wide area network (WAN) or a local area network (LAN), among others. FIG. 33 illustrates one possible implementation. As shown in FIG. 33 , two computing devices 3100 and 3100 are connected via a network. Specifically, the connection to the network is achieved via a communication interface within each computing device. In this type of possible implementation, the memory 3106 within the computing device 3100 stores instructions for executing the functions of the receiving module 3050. Simultaneously, the memory 3106 within the computing device 3100 stores instructions for executing the functions of the receiving module 3050.
[0243] The connection method between the computing device clusters shown in Figure 33 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.
[0244] It should be understood that the functions of the computing device 3100 shown in Figure 33 can also be completed by multiple computing devices 3100. Similarly, the functions of the computing device 3100 can also be completed by multiple computing devices 3100.
[0245] The embodiments of the present disclosure also provide a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center that contains one or more available media. The available medium can 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 drive). 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.
[0246] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application 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 deviate the essence of the corresponding technical solutions from the protection scope of the technical solutions of the embodiments of the present application.
[0247] 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 the 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; The trigger condition editing module is used to generate a first trigger condition according to a trigger condition editing operation of a first user. The conditional editing operation includes a selection instruction of the first user to a first event template, the first event template being created by the 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 the 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.
Citation Information
Patent Citations
Visual page processing method and equipment
CN112241264A
Project approval method, device and equipment, computer readable storage medium and product
CN114266555A
Service generation method and device, electronic equipment and storage medium
CN114564190A
Method for realizing business process configuration and generating application business
CN115658170A
