Webpage processing method and device
By displaying the setting interface in the web page processing method to receive event configuration information and update the page configuration file, the problem of low web page production efficiency in the existing technology is solved, and the target web page element events are configured without code is realized, and the web page production efficiency is improved.
Patent Information
- Application Number
- CN202311236025.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-22
- Publication Date
- 2025-03-25
AI Technical Summary
In the prior art, web page production efficiency is low, and software codes are required to write event monitoring corresponding to, resulting in complex user operations and low efficiency.
Provide a web page processing method, which can display the setting interface, receive event configuration information, update the initial page configuration file, generate the target page configuration file, and realize the codeless configuration of the event settings of the target web page element.
Users can set events of the target web page elements directly in the web page to be edited without writing software code, which significantly improves the efficiency of web page production.
Smart Images

Figure CN119691306A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a web page processing method and device. Background Art
[0002] Researchers can create web pages by writing source code corresponding to the web pages. However, this method requires high code writing ability of the researchers, which results in low efficiency of web page creation.
[0003] How to improve the efficiency of web page production is a problem that has yet to be solved. Summary of the invention
[0004] In order to solve or at least partially solve the above technical problems, an embodiment of the present application provides a web page processing method and device.
[0005] In a first aspect, an embodiment of the present application provides a webpage processing method, the method comprising:
[0006] In response to a setting operation triggered on a target web page element in the web page to be edited, displaying a setting interface;
[0007] Receiving event configuration information set in the setting interface, the event configuration information including: the event monitored by the target webpage element, and the action executed after the event is monitored;
[0008] According to the event configuration information, the initial page configuration file used to describe the web page to be edited is updated to obtain a target page configuration file, wherein the target page configuration file is used to describe the target web page with the event configuration information set on the basis of the web page to be edited.
[0009] Optionally, the event configuration information also includes:
[0010] The conditions that must be met to perform the action.
[0011] Optionally, the action executed after the event is monitored is to obtain target data, and the action executed after the event is monitored is set to obtain target data in the following manner:
[0012] Displaying at least one identifier of an accessible service, wherein the at least one identifier of an accessible service includes: a target service identifier indicating a target service;
[0013] In response to a selection operation triggered by the target service identifier, displaying an identifier of at least one interface for accessing the target service, wherein the identifier of the at least one interface includes a target interface identifier indicating a target interface;
[0014] In response to a selection operation triggered by the target interface identifier, displaying at least one field corresponding to the target interface;
[0015] In response to a selection operation triggered on a target field in the at least one field, an action to be performed after the event is monitored is set to obtain target data, wherein the target field is used to carry the target data.
[0016] Optionally, the method further includes:
[0017] Receiving web page production requirements inputted in the web page production page;
[0018] Processing the webpage production requirements using a machine learning model to obtain the initial page configuration file that meets the webpage production requirements, wherein the machine learning model is used to output the initial page configuration file that meets the webpage production requirements based on the input webpage production requirements;
[0019] Based on the initial page configuration file, the web page to be edited is displayed in the web page creation page.
[0020] Optionally, the webpage production requirements include one or more of the following:
[0021] Page layout requirements, page style requirements, and event monitoring requirements.
[0022] In a second aspect, an embodiment of the present application provides a webpage processing device, the device comprising:
[0023] A first display unit, configured to display a setting interface in response to a setting operation triggered on a target web page element in a web page to be edited;
[0024] A first receiving unit is used to receive event configuration information set in the setting interface, wherein the event configuration information includes: the event monitored by the target webpage element, and the action executed after the event is monitored;
[0025] The updating unit is used to update the initial page configuration file used to describe the web page to be edited according to the event configuration information to obtain a target page configuration file, wherein the target page configuration file is used to describe the target web page with the event configuration information set based on the web page to be edited.
[0026] Optionally, the event configuration information also includes:
[0027] The conditions that must be met to perform the action.
[0028] Optionally, the action executed after the event is monitored is to obtain target data, and the action executed after the event is monitored is set to obtain target data in the following manner:
[0029] Displaying at least one identifier of an accessible service, wherein the at least one identifier of an accessible service includes: a target service identifier indicating a target service;
[0030] In response to a selection operation triggered by the target service identifier, displaying an identifier of at least one interface for accessing the target service, wherein the identifier of the at least one interface includes a target interface identifier indicating a target interface;
[0031] In response to a selection operation triggered by the target interface identifier, displaying at least one field corresponding to the target interface;
[0032] In response to a selection operation triggered on a target field in the at least one field, an action to be performed after the event is monitored is set to obtain target data, wherein the target field is used to carry the target data.
[0033] Optionally, the device further comprises:
[0034] A second receiving unit, used for receiving a web page creation requirement inputted in the web page creation page;
[0035] a processing unit, configured to process the webpage production requirement by using a machine learning model to obtain the initial page configuration file that meets the webpage production requirement, wherein the machine learning model is configured to output the initial page configuration file that meets the webpage production requirement based on the input webpage production requirement;
[0036] The second display unit is used to display the web page to be edited in the web page creation page based on the initial page configuration file.
[0037] Optionally, the webpage production requirements include one or more of the following:
[0038] Page layout requirements, page style requirements, and event monitoring requirements.
[0039] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising a processor and a memory;
[0040] The processor is used to execute instructions stored in the memory so that the electronic device executes the method described in any one of the first aspects above.
[0041] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, comprising instructions, wherein the instructions instruct a device to execute any of the methods described in the first aspect above.
[0042] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on a computer, enables the computer to execute any of the methods described in the first aspect above.
[0043] Compared with the prior art, the embodiments of the present application have the following advantages:
[0044] The embodiment of the present application provides a web page processing method. In one example, the method can be applied to a client. A web page to be edited is displayed in the client. The web page to be edited may include a target page element. The user can trigger a setting operation for the target page element. Accordingly, the client can display a setting interface in response to the setting operation. The user can set the event monitored by the target web page element in the setting interface. In one example, the user can set event configuration information in the setting interface. The event configuration information includes the event monitored by the target web page element and the action performed after the event is monitored. Accordingly, the client can update the initial page configuration file used to describe the web page to be edited based on the event configuration information to obtain a target page configuration file, wherein the target page configuration file is used to describe the target web page with the event configuration information set on the basis of the web page to be edited. In other words, based on the target page configuration file, the target web page with the event configuration information set on the basis of the web page to be edited can be obtained. It can be seen that, using the solution of the embodiment of the present application, the user can directly implement the setting of the event monitored by the target web page element in the web page to be edited, without the need for the user to write the software code corresponding to the event monitoring, thereby improving the efficiency of web page production. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0046] Figure 1 A schematic diagram of a flow chart of a web page processing method provided in an embodiment of the present application;
[0047] Figure 2 A flowchart of another web page processing method provided in an embodiment of the present application;
[0048] Figure 3 A schematic diagram of an event monitoring provided in an embodiment of the present application;
[0049] Figure 4 A schematic diagram of a web page processing process provided by an embodiment of the present application;
[0050] Figure 5 A schematic diagram of the structure of a web page processing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0052] The inventor of this application has found through research that R&D personnel can realize the production of web pages by writing the source code corresponding to the web pages. However, using this method, the efficiency of web page production is relatively low. In order to improve the efficiency of web page production, some low-code platforms that can produce web pages have emerged. Users can design the page layout by dragging and dropping materials on the low-code platform to improve the efficiency of web page production. Among them, after the material is dragged to the web page being produced, it becomes a page element in the web page. The materials include but are not limited to common web page components such as text boxes, buttons, single selections, and multiple selections. Using this method, it still requires users to have a certain foundation in software code writing. Specifically, users also need to write software codes corresponding to event monitoring. Therefore, using this method, the efficiency of web page production has not been significantly improved.
[0053] In order to solve the above problems, the embodiments of the present application provide a web page processing method and device.
[0054] Various non-limiting implementations of the present application are described in detail below in conjunction with the accompanying drawings.
[0055] Exemplary Methods
[0056] See also Figure 1 , which is a flow chart of a web page processing method provided in an embodiment of the present application.
[0057] Figure 1 The webpage processing method shown can be executed by a client. In this embodiment, the method can include the following steps: S101-S103.
[0058] S101: In response to a setting operation triggered on a target web page element in a web page to be edited, displaying a setting interface.
[0059] The client can display a web page to be edited, which can be considered as a web page that has been started but not yet completed. In a specific example, the client can display a web page creation page, which includes a page display area, which is used to display the web page being created. In this case, the web page to be edited can be displayed in the page display area.
[0060] In an embodiment of the present application, there may be multiple web page elements in the web page to be edited, and the target web page element may be one of the multiple web page elements. The user may trigger a setting operation for the target web page element to implement the setting of the target web page element. The embodiment of the present application does not specifically limit the setting operation, and the setting operation includes but is not limited to: single-clicking the target web page element or double-clicking the target web page element, etc. After the user triggers the setting operation for the target web page element, the client may respond to the setting operation and display a setting interface, which is used to set the events monitored by the target element.
[0061] Regarding the aforementioned web page to be edited, in one example, the web page to be edited may be a web page created by a user in the aforementioned web page creation page by dragging and dropping materials.
[0062] In another example, in order to further improve the efficiency of web page creation by users, the web page to be edited can also be automatically generated based on the web page creation requirements input by the user. Figure 2 To understand, Figure 2 A flowchart of another web page processing method provided in an embodiment of the present application. Figure 2 The method shown may include the following S201-S203.
[0063] S201: receiving a web page creation requirement inputted in a web page creation page.
[0064] In one example, the web page production page may include a production requirement input area, and the user may input the web page production requirement in the production requirement input area. Specifically, the user may input the web page production requirement described in natural language in the production requirement input area. Among them, the web page production requirement may also be understood as the conditions that the produced web page needs to meet, or may also be understood as the description information of the produced web page. The embodiment of the present application does not specifically limit the web page production requirement, and the web page production requirement may include page layout requirements, page style requirements, and event monitoring requirements, etc. Among them, the page layout requirement is used to indicate the page layout of the web page, for example, which page elements are included in the web page, the location of the page elements, etc. The page style requirement indicates the style of the page, for example, the original display style of the page. The event monitoring requirement is used to indicate the event that needs to be monitored. In one example, for some monitoring events involving relatively simple processing logic, they can be input in the production requirement input area. Among them, the monitoring event involving relatively simple processing logic, for example, can be an event with relatively simple actions to be performed after the event is monitored.
[0065] S202: Processing the web page production requirements using a machine learning model to obtain an initial page configuration file that meets the web page production requirements, wherein the machine learning model is used to output the initial page configuration file that meets the web page production requirements based on the input web page production requirements.
[0066] After obtaining the web page production requirements, the web page production requirements can be input into the machine learning model. In an embodiment of the present application, the machine learning model can input a page configuration file corresponding to the web page production requirements based on the input web page production requirements, wherein the page configuration file is used to describe the page information, and the page rendering is performed based on the page configuration file to obtain a web page that meets the page production requirements. Therefore, after inputting the web page production requirements into the machine learning model, the machine learning model can input an initial page configuration file that meets the web page production requirements. The initial page configuration file mentioned here can be, for example, a domain specific language (DSL) file, or a schema configuration file.
[0067] In one example, the machine learning model may be pre-trained, wherein the training of the machine learning model may be supervised training or unsupervised training. In order to improve the efficiency of training the machine learning model, the machine learning model may be trained in a supervised training manner. In this case, in a specific example, the machine learning model may be trained through the following steps A1-A2.
[0068] A1: Obtain page description information of a training web page and a page configuration file of the training web page.
[0069] A2: Based on the page description information of the training web page and the page configuration file of the training web page, the machine learning model is trained.
[0070] In one example, the page description information of the training web page may include the page layout, page style and event monitoring information of the training page. The page configuration file of the training web page may be used to render the training web page. In one example, the page configuration file of an existing web page may be obtained, and the page description information of the training web page may be obtained according to the page layout, page style and monitoring events supported by the training web page.
[0071] After determining the page description information of the training web page and the page configuration file of the training web page, the page configuration file of the training web page can be used as a label of the page description information to train the machine learning model. The process of training the machine learning model is a process of continuously updating the parameters of the machine learning model. After a certain number of rounds of training, or if the loss function meets certain conditions during the training process, the training can be terminated, and the model obtained when the training is terminated is used as the machine learning model that has been finally trained.
[0072] The embodiments of the present application do not specifically limit the internal structure of the machine learning model, and the internal structure of the machine learning model can be determined based on actual conditions.
[0073] S203: Based on the initial page configuration file, display the web page to be edited in the web page creation page.
[0074] In the embodiment of the present application, page rendering can be performed based on the initial page configuration file to obtain a rendering result, and the web page to be edited can be displayed in the web page creation page based on the rendering result.
[0075] S102: Receive event configuration information set in the setting interface, where the event configuration information includes: the event monitored by the target webpage element, and the action executed after the event is monitored.
[0076] In an embodiment of the present application, a user can set the events that the target web page element monitors in the setting interface. Specifically, the user can set event configuration information in the setting page, and the event configuration information may include the events that the target web page element monitors, and the actions performed after the events are monitored. Among them, the events that the target web page element monitors may be events generated by other web page elements, for example, web page element A (target web page element) monitors event X generated by web page element B. The actions performed after the events are monitored include but are not limited to: obtaining data from other services, displaying prompt information, updating page status, opening a new page, closing the current page, etc.
[0077] In addition, in one example, considering that in some scenarios, the execution of the aforementioned actions needs to meet certain conditions, for example, when an input operation is detected and the input content is specific content, a corresponding action is executed. Therefore, in order to meet the webpage interaction requirements in this scenario, the event configuration information also includes the conditions that need to be met to execute the action. The embodiments of the present application do not specifically limit the conditions that need to be met to execute the action, and the conditions that need to be met to execute the action can be determined according to the actual interaction requirements.
[0078] As mentioned above, in one example, the action performed after the event is monitored may include obtaining data from other services. At present, in conventional technology, if the action performed after the event is monitored is set to obtain target data, the user is required to write a corresponding configuration command, specifying the service to be accessed, the interface to interact with the service, and the field to carry the data to be obtained, thereby obtaining the data needed by the user from other services. This approach is inefficient. In order to solve this problem, in an embodiment of the present application, the client pre-encapsulates the services that the client can access, the interface to interact with the service, and the fields that each interface carries data, so that the user can set the action performed after the event is monitored to obtain target data in a visual way. Specifically, the client can set the action performed after the event is monitored to obtain target data through the following steps B1-B3.
[0079] B1: Displaying at least one identifier of an accessible service, wherein the at least one identifier of an accessible service includes: a target service identifier indicating a target service.
[0080] In one example, the setting page may include a service identification display area. For example, a user may trigger a selection operation for the service identification display area, and the client may respond to the selection operation by displaying the identification of at least one service that the client can access in the service identification display area. That is, the identification of the aforementioned accessible service refers to the identification of at least one service that the client can access. The client may, for example, display the identification of the at least one service in the form of a drop-down option. The services that the client can access include a target service, and the identification of the at least one accessible service includes: a target service identification indicating the target service.
[0081] B2: In response to an operation triggered by the target service identifier, display an interface identifier of at least one interface for accessing the target service, wherein the interface identifier of the at least one interface includes a target interface identifier indicating a target interface.
[0082] The setting page may also include an interface identification display area. After the user triggers a selection operation for the target service identification, the client may display the identification of at least one interface for accessing the target service in the interface identification display area in response to the operation triggered for the target service identification. The interface mentioned here may be an interface provided by the target service for interacting with the client. The client may, for example, display the identification of the at least one interface in the form of a drop-down option. The at least one interface includes a target interface, and the identification of the at least one interface includes a target interface identification indicating the target interface.
[0083] B3: In response to a selection operation triggered by the target interface identifier, display at least one field corresponding to the target interface corresponding to the target interface identifier, and receive a selection operation triggered by a target field in the at least one field, wherein the target field is used to carry the target data.
[0084] The setting page may also include a field display area. After the user triggers a selection operation for the target interface identifier, the client may display at least one field corresponding to the target interface in the field identifier display area in response to the selection operation triggered for the target interface identifier. The client may, for example, display the at least one field in the form of a drop-down option. Among them, the at least one field includes a target field, and the target field can be used to carry the aforementioned target data. The user may trigger a selection operation for the Sohu target field, and accordingly, the client may receive the selection operation triggered for the target field, and in response to the selection operation triggered for the target field, set the action to be performed after monitoring the event to obtain the target data.
[0085] After the user inputs the event configuration information in the configuration interface, the client may receive the event configuration information and further execute S103.
[0086] S103: According to the event configuration information, an initial page configuration file for describing the web page to be edited is updated to obtain a target page configuration file, wherein the target page configuration file is used to describe a target web page on which the event configuration information is set based on the web page to be edited.
[0087] After receiving the event configuration information, the client can update the initial page configuration file used to describe the web page to be edited according to the event configuration information to obtain the target page configuration file. Specifically, the client can add the event configuration information to the initial page configuration file. In a specific example, the client can convert the event configuration information into a data format corresponding to the initial page configuration file and add it to the initial page configuration file to obtain the target page configuration file. Based on the target page configuration file, a target web page with the event configuration information set on the basis of the web page to be edited can be obtained.
[0088] From the above description, it can be seen that by utilizing the solution of the embodiment of the present application, the user can directly set the events monitored by the target web page element in the web page to be edited, without the user having to write the corresponding software code for event monitoring, thereby improving the efficiency of web page production.
[0089] Moreover, when the initial page configuration file is obtained by processing the web page production requirements based on the machine learning model, this solution can realize code-free web page production, thereby effectively improving the efficiency of web page production.
[0090] The web page processing method provided in the embodiment of the present application is introduced above. Figure 3 This section introduces the relevant scenarios of event monitoring. Figure 3 A schematic diagram of event monitoring provided in an embodiment of the present application.
[0091] like Figure 3As shown, web element A monitors event X of web element B. After web element B triggers event X, the event bus can monitor event X of web element B and notify web element A through the callback function. Furthermore, web element A uses the condition calculation module to calculate whether the action execution condition is met. If it is met, the action execution module is triggered to execute the action executed after monitoring event X. Correspondingly, after the action is executed, web element A will present the corresponding linkage effect (for example, the page display content is refreshed). Among them, the condition calculation module can include a module for performing simple logic calculations in the client, and can also include a rule engine for performing complex logic calculations in the server.
[0092] Next, we will introduce the entire process from the creation to the release of the target web page. Figure 4 , which is a schematic diagram of a web page processing process provided by an embodiment of the present application. Figure 4 As shown:
[0093] During the web page configuration phase:
[0094] Users can drag and drop materials and input web page creation requirements to create web pages to be edited. In addition, you can set the events to be monitored, the actions to be performed after the events are monitored, and the conditions to be met for performing the actions in the web pages to be edited. In addition, users can also set service identifiers, interface identifiers, and field identifiers to obtain data from other services. Of course, you can also set the processing method for the obtained data.
[0095] After the web page configuration is completed, the web page testing phase begins. In this phase, the initialization parameters of the web page test can be set first, and then the interactive logic test and data interface test of the web page can be performed. Among them, the steps performed in the web page testing phase can adopt traditional technologies and will not be described in detail here.
[0096] After the page test is completed, the page can be registered and published, for example, to an application market, or to other platforms for use.
[0097] Exemplary Devices
[0098] Based on the method provided in the above embodiment, the embodiment of the present application further provides a device, which is described below in conjunction with the accompanying drawings.
[0099] See also Figure 5 , which is a schematic diagram of the structure of a web page processing device provided by an embodiment of the present application. The device 500 may specifically include: a first display unit 501, a first receiving unit 502 and an updating unit 503.
[0100] The first display unit 501 is used to display a setting interface in response to a setting operation triggered on a target web page element in a web page to be edited;
[0101] The first receiving unit 502 is used to receive event configuration information set in the setting interface, wherein the event configuration information includes: the event monitored by the target web page element, and the action executed after the event is monitored;
[0102] The updating unit 503 is used to update the initial page configuration file used to describe the web page to be edited according to the event configuration information to obtain a target page configuration file, wherein the target page configuration file is used to describe the target web page with the event configuration information set based on the web page to be edited.
[0103] Optionally, the event configuration information also includes:
[0104] The conditions that must be met to perform the action.
[0105] Optionally, the action executed after the event is monitored is to obtain target data, and the action executed after the event is monitored is set to obtain target data in the following manner:
[0106] Displaying at least one identifier of an accessible service, wherein the at least one identifier of an accessible service includes: a target service identifier indicating a target service;
[0107] In response to a selection operation triggered by the target service identifier, displaying an identifier of at least one interface for accessing the target service, wherein the identifier of the at least one interface includes a target interface identifier indicating a target interface;
[0108] In response to a selection operation triggered by the target interface identifier, displaying at least one field corresponding to the target interface;
[0109] In response to a selection operation triggered on a target field in the at least one field, an action to be performed after the event is monitored is set to obtain target data, wherein the target field is used to carry the target data.
[0110] Optionally, the device further comprises:
[0111] A second receiving unit, used for receiving a web page creation requirement inputted in the web page creation page;
[0112] a processing unit, configured to process the webpage production requirement by using a machine learning model to obtain the initial page configuration file that meets the webpage production requirement, wherein the machine learning model is configured to output the initial page configuration file that meets the webpage production requirement based on the input webpage production requirement;
[0113] The second display unit is used to display the web page to be edited in the web page creation page based on the initial page configuration file.
[0114] Optionally, the webpage production requirements include one or more of the following:
[0115] Page layout requirements, page style requirements, and event monitoring requirements.
[0116] Since the device 500 is a device corresponding to the method provided in the above method embodiment, the specific implementation of each unit of the device 300 is based on the same concept as the above method embodiment. Therefore, for the specific implementation of each unit of the device 500, reference can be made to the description part of the above method embodiment, which will not be repeated here.
[0117] The embodiment of the present application also provides an electronic device, the electronic device comprising a processor and a memory;
[0118] The processor is used to execute the instructions stored in the memory, so that the electronic device executes the web page processing method provided by the above method embodiment.
[0119] An embodiment of the present application provides a computer-readable storage medium, including instructions, wherein the instructions instruct a device to execute the web page processing method provided by the above method embodiment.
[0120] An embodiment of the present application provides a computer program product. When the computer program product is run on a computer, the computer executes the web page processing method provided by the above method embodiment.
[0121] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0122] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
[0123] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A web page processing method, characterized in that: The method comprises: In response to a setting operation triggered on a target web page element in the web page to be edited, displaying a setting interface; Receiving event configuration information set in the setting interface, the event configuration information including: the event monitored by the target webpage element, and the action executed after the event is monitored; According to the event configuration information, an initial page configuration file for describing the web page to be edited is updated to obtain a target page configuration file, wherein the target page configuration file is used to describe a target web page with the event configuration information set on the basis of the web page to be edited.
2. The method according to claim 1, characterized in that The event configuration information also includes: The conditions that must be met to perform the action.
3. The method according to claim 1, characterized in that The action executed after the event is monitored is to obtain the target data. The action executed after the event is monitored is set to obtain the target data in the following manner: Displaying at least one identifier of an accessible service, wherein the at least one identifier of an accessible service includes: a target service identifier indicating a target service; In response to a selection operation triggered by the target service identifier, displaying an identifier of at least one interface for accessing the target service, wherein the identifier of the at least one interface includes a target interface identifier indicating a target interface; In response to a selection operation triggered by the target interface identifier, displaying at least one field corresponding to the target interface; In response to a selection operation triggered on a target field in the at least one field, an action to be performed after the event is monitored is set to obtain target data, wherein the target field is used to carry the target data.
4. The method according to claim 1, characterized in that The method further comprises: Receiving web page production requirements inputted in the web page production page; Processing the webpage production requirements using a machine learning model to obtain the initial page configuration file that meets the webpage production requirements, wherein the machine learning model is used to output the initial page configuration file that meets the webpage production requirements based on the input webpage production requirements; Based on the initial page configuration file, the web page to be edited is displayed in the web page creation page.
5. The method according to claim 4, characterized in that The web page production requirements include one or more of the following: Page layout requirements, page style requirements, and event monitoring requirements.
6. A web page processing device, characterized in that: The device comprises: A first display unit, configured to display a setting interface in response to a setting operation triggered on a target web page element in a web page to be edited; A first receiving unit is used to receive event configuration information set in the setting interface, wherein the event configuration information includes: the event monitored by the target web page element, and the action executed after the event is monitored; The updating unit is used to update the initial page configuration file used to describe the web page to be edited according to the event configuration information to obtain a target page configuration file, wherein the target page configuration file is used to describe the target web page with the event configuration information set based on the web page to be edited.
7. The device according to claim 6, characterized in that The event configuration information also includes: The conditions that must be met to perform the action.
8. The device according to claim 6, characterized in that The action executed after the event is monitored is to obtain the target data. The action executed after the event is monitored is set to obtain the target data in the following manner: Displaying at least one identifier of an accessible service, wherein the at least one identifier of an accessible service includes: a target service identifier indicating a target service; In response to a selection operation triggered by the target service identifier, displaying an identifier of at least one interface for accessing the target service, wherein the identifier of the at least one interface includes a target interface identifier indicating a target interface; In response to a selection operation triggered by the target interface identifier, displaying at least one field corresponding to the target interface; In response to a selection operation triggered on a target field in the at least one field, an action to be performed after the event is monitored is set to obtain target data, wherein the target field is used to carry the target data.
9. An electronic device, characterized in that: The electronic device comprises a processor and a memory; The processor is configured to execute instructions stored in the memory, so that the electronic device executes the method according to any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that: The method comprises instructions for instructing a device to execute the method according to any one of claims 1 to 5.
Citation Information
Cited By
Page updating method and device based on model, computer equipment and storage medium
CN120873310A