Page data processing method and device, electronic equipment and storage medium

By generating and sending display information and page data on the server side, and making adjustments based on feedback abnormal information from the terminal, the problem of differences in PC-side design and terminal display effects is solved, ensuring correct display and business processing of terminal pages.

CN118656164APending Publication Date: 2024-09-17CHINA CONSTRUCTION BANK +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410964034.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

During the page design process, there are differences between the page effect designed on the PC and the terminal display effect, resulting in the designed page effect being unable to meet the needs of the terminal and affecting the business processing of activities or applications.

Method used

By responding to page preview instructions on the server side, it obtains activity information and generates display information, triggers page jump events, sends page data to the terminal for preview, and adjusts page data according to the abnormal information fed back by the terminal to ensure that the page is displayed properly in the terminal. displayed correctly.

Benefits of technology

It realizes the timely adjustment and preview of page data in the terminal, avoids the problem that the PC side design cannot meet the terminal display effect, and ensures the smooth progress of business processing of activities or applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656164A
    Figure CN118656164A
Patent Text Reader

Abstract

The invention discloses a page data processing method and device, electronic equipment and a storage medium, and relates to the technical field of computers. A specific embodiment of the method comprises the steps of obtaining corresponding activity information in response to a page preview instruction, and generating display information based on the activity information and displaying the display information; receiving a preview request sent by a terminal, obtaining activity information of the preview request, and triggering a page jump event based on the activity information; in response to the triggering of the page jump event, obtaining page data of the preview page associated with the activity information, and sending the page data to the terminal, so that the terminal renders the preview page; and receiving abnormal information of the preview page, executing an adjustment program based on the abnormal information, and adjusting page data of the preset page. According to the embodiment, the problems that the display effect of the designed page in the terminal cannot meet the requirement and the business processing of an activity or an application is affected due to the fact that the display effect of the designed page in the PC terminal is different from the display effect of the designed page in the terminal can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method, device, electronic device and storage medium for processing page data. Background Art

[0002] In the page design scenario of an activity, the page is usually set up first from the PC (Personal Computer). During the page design process, in order to ensure the page effect, it is necessary to preview and modify the design at the same time to ensure that the designed page effect can meet the activity requirements. In the related technology, since the page of the activity involved needs to be displayed on the terminal, and the display effect of the page designed on the PC is different from that on the terminal, the page effect designed on the PC will not meet the requirements in the terminal, thereby affecting the business processing of the activity. Summary of the invention

[0003] In view of this, an embodiment of the present invention provides a method, device, electronic device and storage medium for page data processing, which can solve the problem that there is a difference between the display effect of the designed page on the PC and the display effect on the terminal, so that the display effect of the designed page in the terminal cannot meet the demand, affecting the business processing of activities or applications.

[0004] To achieve the above objective, according to one aspect of an embodiment of the present invention, a method for processing page data is provided.

[0005] A method for processing page data according to an embodiment of the present invention is used at a server, comprising: in response to a page preview instruction, obtaining corresponding activity information, calling a preset generation model, generating and displaying display information based on the activity information; receiving a preview request sent by a terminal, obtaining activity information of the preview request, and triggering a page jump event based on the activity information; wherein the preview request is generated after the terminal parses the display information; in response to the page jump event being triggered, obtaining page data of a preview page associated with the activity information, and sending the page data to the terminal, so that the terminal renders the preview page; receiving abnormal information of the preview page, executing an adjustment program based on the abnormal information, and adjusting the page data of the preset page.

[0006] In one embodiment, triggering a page jump event based on the activity information includes: obtaining a display mode in the preview request; in response to the display mode being a preset mode, generating a corresponding page jump address based on the activity information, so as to trigger a page jump event based on the page jump address.

[0007] In another embodiment, an adjustment program is executed based on the exception information to adjust the page data of the preset page, including: obtaining an exception identifier and an adjustment parameter in the exception information, querying an adjustment program corresponding to the exception identifier, replacing the adjustment parameter with the adjustment program to execute the replaced adjustment program to adjust the page data of the preset page.

[0008] In another embodiment, the adjustment parameters are replaced into the adjustment program to execute the replaced adjustment program, including: obtaining an input parameter table of the adjustment program, the input parameter table including parameter identifiers and corresponding parameter values; determining the adjustment parameter identifiers in the input parameter table based on the adjustment parameters to replace the corresponding parameter values ​​with the parameter values ​​in the adjustment parameters to obtain an updated input parameter table; and executing the adjustment program based on the updated input parameter table.

[0009] In another embodiment, obtaining page data of a preview page associated with the activity information includes: obtaining a publishing status and an activity page set corresponding to the activity information, determining a preview page to be published from the activity page set based on the publishing status, and obtaining page data of the preview page to be published.

[0010] In another embodiment, calling a preset generation model to generate display information based on the activity information includes: obtaining verification data, calling a preset generation model to generate display information based on the activity information and the verification data; triggering a page jump event based on the activity information, including: obtaining the verification data in the preview request to execute a preset verification procedure; in response to the verification result being successful, triggering a page jump event based on the activity information.

[0011] To achieve the above objective, according to another aspect of an embodiment of the present invention, a method for processing page data is provided.

[0012] A method for processing page data according to an embodiment of the present invention is used in a terminal, comprising: calling a preset shooting device to obtain display information displayed by a server; calling a preset method to parse the display information to obtain activity information in the display information, generating a preview request based on the activity information and sending it to the server; receiving page data sent by the server, rendering the page data, obtaining a preview page and displaying it.

[0013] To achieve the above objective, according to another aspect of an embodiment of the present invention, a device for processing page data is provided.

[0014] A device for processing page data according to an embodiment of the present invention is arranged at a server, and includes: a display unit, which is used to respond to a page preview instruction, obtain corresponding activity information, call a preset generation model, and generate and display display information based on the activity information; a trigger unit, which is used to receive a preview request sent by a terminal, obtain activity information of the preview request, and trigger a page jump event based on the activity information; wherein the preview request is generated after the terminal parses the display information; a sending unit, which is used to respond to the page jump event being triggered, obtain page data of a preview page associated with the activity information, and send the page data to the terminal, so that the terminal renders the preview page; and an adjustment unit, which is used to receive exception information of the preview page, and execute an adjustment program based on the exception information to adjust the page data of the preset page.

[0015] In one embodiment, the trigger unit is specifically used to: obtain a display mode in the preview request; in response to the display mode being a preset mode, generate a corresponding page jump address based on the activity information, so as to trigger a page jump event based on the page jump address.

[0016] In another embodiment, the adjustment unit is specifically used to: obtain the exception identifier and adjustment parameters in the exception information, query the adjustment program corresponding to the exception identifier, replace the adjustment parameters into the adjustment program to execute the replaced adjustment program, and adjust the page data of the preset page.

[0017] In another embodiment, the adjustment unit is specifically used to: obtain an input parameter table of the adjustment program, the input parameter table including parameter identifiers and corresponding parameter values; determine the adjustment parameter identifiers in the input parameter table based on the adjustment parameters to replace the corresponding parameter values ​​with the parameter values ​​in the adjustment parameters to obtain an updated input parameter table; and execute the adjustment program based on the updated input parameter table.

[0018] In another embodiment, the adjustment unit is specifically used to: obtain the publishing status and activity page set corresponding to the activity information, determine the preview page to be published from the activity page set based on the publishing status, and obtain page data of the preview page to be published.

[0019] In another embodiment, the display unit is specifically used to: obtain verification data, call a preset generation model to generate display information based on the activity information and the verification data; the trigger unit is specifically used to: obtain the verification data in the preview request to execute a preset verification procedure; in response to the verification result being successful, trigger a page jump event based on the activity information.

[0020] To achieve the above objective, according to another aspect of an embodiment of the present invention, a device for processing page data is provided.

[0021] A device for processing page data according to an embodiment of the present invention is arranged in a terminal, and includes: an acquisition unit, used to call a preset shooting device to acquire display information displayed by a server; a parsing unit, used to call a preset method to parse the display information to obtain activity information in the display information, generate a preview request based on the activity information and send it to the server; a preview unit, used to receive page data sent by the server, render the page data, obtain a preview page and display it.

[0022] To achieve the above objective, according to another aspect of an embodiment of the present invention, an electronic device is provided.

[0023] An electronic device according to an embodiment of the present invention includes: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the method for page data processing provided by the embodiment of the present invention.

[0024] To achieve the above objective, according to another aspect of an embodiment of the present invention, a computer readable medium is provided.

[0025] A computer-readable medium according to an embodiment of the present invention stores a computer program, and when the program is executed by a processor, the method for processing page data provided by the embodiment of the present invention is implemented.

[0026] To achieve the above objective, according to another aspect of an embodiment of the present invention, a computer program product is provided.

[0027] A computer program product according to an embodiment of the present invention includes a computer program, and when the program is executed by a processor, the method for processing page data provided by the embodiment of the present invention is implemented.

[0028] An embodiment of the above invention has the following advantages or beneficial effects: In the embodiment of the present invention, in response to the page preview instruction, display information that can be displayed can be generated based on the activity information to be previewed, and the terminal can obtain interactive information from the display information to generate a preview request and send it to the server; after receiving the preview request, the server can obtain the page data of the associated preview page based on the activity information therein and send it to the terminal for display preview, so that the display abnormality of the preview page in the terminal can be determined to facilitate adjustment of the page data. In the embodiment of the present invention, when the server needs to preview the page design, the activity information can be transmitted to the terminal through the display information, and the terminal requests the page preview through the activity information. The server can send the preview page to the terminal according to the terminal request, so that the terminal renders the preview page, and checks the abnormality in the preview page so that the server can adjust the preview page. In this way, through the interaction between the terminal and the server, the page involved in the server can be previewed in the terminal and the abnormality in the preview page can be adjusted in time, avoiding the problem that the display effect of the PC-side designed page in the terminal cannot meet the demand, thereby affecting the business processing of the activity.

[0029] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention. Figure 1 is a schematic diagram of a main process of a method for processing page data according to an embodiment of the present invention; Figure 2 is a schematic diagram of another main flow of a method for processing page data according to an embodiment of the present invention; Figure 3 is a schematic diagram of another main flow of a method for processing page data according to an embodiment of the present invention; Figure 4 is a schematic diagram of another main flow of a method for processing page data according to an embodiment of the present invention; Figure 5 is a schematic diagram of main units of an apparatus for page data processing according to an embodiment of the present invention; Figure 6 is another schematic diagram of main units of the apparatus for page data processing according to an embodiment of the present invention; Figure 7 is an exemplary system architecture diagram to which embodiments of the present invention may be applied; Figure 8 It is a schematic diagram of the structure of a computer system suitable for implementing the embodiment of the present invention. DETAILED DESCRIPTION

[0031] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0032] It should be pointed out that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict. The acquisition, transmission, storage, use, and processing of data in the technical solution of this application are in compliance with the relevant provisions of national laws and regulations. In the embodiments of this application, some existing solutions in the industry such as certain software, components, and models may be mentioned, which should be considered as exemplary. Their purpose is only to illustrate the feasibility of the implementation of the technical solution of this application, but it does not mean that the applicant has or will necessarily use the solution.

[0033] The embodiment of the present invention provides a page data processing system, which can be used in the scenario of designing and previewing an active page. Specifically, the page data processing system may include a terminal and a server, the terminal and the server can interact with each other, the server can be used to design and modify the active page, the terminal can be used to obtain the page data of the active page from the server to preview the active page, so that the server can adjust and modify the active page based on the effect of the page preview in the terminal.

[0034] The embodiment of the present invention provides a method for processing page data, which can be executed by a server in a page data processing system architecture, such as Figure 1 As shown, the method includes the following steps.

[0035] S101: In response to a page preview instruction, corresponding activity information is acquired, and a preset generation model is called to generate and display information based on the activity information.

[0036] The page preview instruction may be input from an external system, indicating that the relevant pages of the activity need to be previewed so as to adjust the preview page through the preview effect. Therefore, the page preview instruction may include activity information, indicating that the page of the activity is previewed. The activity information may specifically be parameters such as an activity identifier.

[0037] In order to facilitate the terminal to obtain preview information, in an embodiment of the present invention, a generation model can be preset to generate and display display information based on the activity information, so that the terminal can obtain the activity information through the display information. The algorithm of the generation model can be set based on the requirements for generating display information. For example, the display information can be specifically a QR code, and the generation model is an algorithm that can generate a QR code.

[0038] Specifically, in order to ensure the security of the preview page, the embodiment of the present invention can also obtain verification data, and then generate display information based on the activity information and the verification data by generating a model. The verification data can be self-generated, which can be specifically a token, and the generation method can be unlimited.

[0039] It should be noted that, in the embodiment of the present invention, the server may include a display device to display the display information, and the terminal may obtain the display information by scanning or the like.

[0040] S102: receiving a preview request sent by a terminal, obtaining activity information of the preview request, and triggering a page jump event based on the activity information.

[0041] The preview request is generated after the terminal parses the display information. After the terminal obtains the display information, it can call the preset parsing method to process the display information to obtain the activity information therein, so as to generate a preview request based on the activity information and send it to the server. After the server receives the preview request sent by the terminal, it can obtain the activity information of the preview request, that is, determine the activity to be previewed, so it can trigger a page jump event based on the activity information. The page jump event can be pre-configured to jump to the preview page corresponding to the activity information.

[0042] Specifically, since different devices or scenarios require different display modes, such as when an activity is displayed differently on a client and a PC, different display modes can be set in the embodiment of the present invention, and pages corresponding to the display modes can be developed. Therefore, in this step, after receiving a preview request, the display mode in the preview request can be obtained first; in response to the display mode being a preset model, a corresponding page jump address is generated based on the activity information, so as to trigger a page jump event based on the page jump address.

[0043] In the embodiment of the present invention, the display mode may include a client mode and a PC mode. The preset mode may be a client mode, that is, the client is set in the terminal, and the page preview is performed through the client in the terminal. In this step, the activity information may be carried in the page jump address to trigger a page jump event based on the page jump address.

[0044] It should be noted that, in an embodiment of the present invention, when verification data is included in the display information, the preview request sent by the terminal will also include verification data. Therefore, in this step, the verification data in the preview request can be obtained first to execute a preset verification procedure to obtain a verification result; if the verification result is successful, a page jump event can be triggered based on the activity information; if the verification result is unsuccessful, the preview operation can be stopped.

[0045] In some implementations, the preview request may further include user information. In this step, after receiving the preview request sent by the terminal, the user information may be verified to determine whether the user has preview permission. If the user has permission, the subsequent process may be executed. If it is determined that the user does not have preview permission, the preview may be stopped.

[0046] S103: In response to the page jump event being triggered, obtaining page data of the preview page associated with the activity information, and sending the page data to the terminal so that the terminal renders the preview page.

[0047] Among them, after the page jump event is triggered, it can jump to the location where the page data of the preview page is stored according to the address information, so that the page data of the preview page associated with the activity information can be obtained, and then sent to the terminal, so that the terminal can render the preview page to facilitate viewing of abnormalities in the page.

[0048] In one embodiment, since preview is usually used for unpublished content, in this step, the publishing status and activity page set corresponding to the activity information can be first obtained, and then the preview page to be published is determined from the activity page set based on the publishing status, and the page data of the preview page to be published is obtained. The publishing status is to be published, which indicates that the page needs to be previewed, so the page data of these preview pages to be published can be obtained and sent to the terminal.

[0049] It should be noted that, in the embodiment of the present invention, the page data may include data required for rendering the page, so that the page data can be rendered and displayed in the terminal after being sent to the terminal.

[0050] S104: receiving abnormal information of the preview page, and executing an adjustment program based on the abnormal information to adjust page data of the preset page.

[0051] The abnormal information indicates that the preview page does not meet the activity requirements after being displayed on the terminal. After receiving the abnormal information, the preview page can be adjusted based on the abnormal information. In the embodiment of the present invention, an adjustment program for each information in the page can be preset to determine and execute the adjustment program through the abnormal information, thereby adjusting the preview page.

[0052] Specifically, in the embodiment of the present invention, the adjustment program can be a program that generates information in the page, and the information in the page is generated by running the adjustment program. Therefore, in this step, the parameters that need to be adjusted in the adjustment program can be replaced based on the abnormal information to obtain a new adjustment program, and then the adjusted preview page can be obtained by running the new adjustment program. Therefore, the adjustment of the page data in this step can be executed as follows: obtaining the abnormal identification and adjustment parameters in the abnormal information, querying the adjustment program corresponding to the abnormal identification, replacing the adjustment parameters into the adjustment program, executing the replaced adjustment program, and adjusting the page data of the preset page.

[0053] For example, for adjusting the font size of the preview page, the exception information may include the font adjustment and the adjusted font size, so the corresponding adjustment program can be determined through the exception information of the font adjustment, and then the parameters representing the font are replaced with the adjusted font size in the exception information and executed to obtain the adjusted preview page.

[0054] In one embodiment, the adjustment program can be run by inputting parameters, so this step can adjust the input parameters through abnormal information. Specifically, it can be performed as follows: obtaining an input parameter table of the adjustment program, the input parameter table including parameter identifiers and corresponding parameter values; confirming the adjustment parameter identifier in the input parameter table based on the adjustment parameter, replacing the corresponding parameter value with the parameter value in the adjustment parameter, and obtaining an updated input parameter table; executing the adjustment program based on the updated input parameter table.

[0055] The input parameter table of the adjustment program is adjusted through the abnormal information, and then the updated input parameter table is input into the adjustment program and run, so that the adjusted preview page can be obtained.

[0056] It should be noted that, in the embodiment of the present invention, the abnormal information may be sent by the terminal or may be input to the server by the user through the server display device.

[0057] In an embodiment of the present invention, when a page design needs to be previewed on the server side, activity information can be transmitted to the terminal by displaying information, and the server side can send the preview page to the terminal according to the terminal request, so that the terminal can render the preview page and check the abnormalities in the preview page so that the server side can adjust the preview page. In this way, through the interaction between the terminal and the server, the pages involved in the server side can be previewed in the terminal and the abnormalities in the preview page can be adjusted in time, avoiding the problem that the display effect of the PC-designed page in the terminal cannot meet the requirements, thereby affecting the business processing of the activity.

[0058] The embodiment of the present invention provides another method for processing page data, which can be executed by a terminal in a page data processing system architecture, such as Figure 2 As shown, the method includes the following steps.

[0059] S201: calling a preset shooting device to obtain display information displayed by the server.

[0060] The terminal device may scan the display information by calling a shooting device to obtain the display information. The shooting device may be a camera.

[0061] S202: calling a preset method to parse the display information to obtain activity information in the display information, generating a preview request based on the activity information, and sending the preview request to the server.

[0062] Among them, the terminal can pre-set a method for parsing the display information, and the display information can be parsed by calling the method to obtain the content in the display information, such as activity information. The activity information indicates the activity that needs to be previewed, so a preview request including the activity information can be generated to request a page preview.

[0063] It should be noted that the display information may also include verification information, and the terminal may carry the verification information in the preview request to send it to the server, so that the server can perform the verification process through the verification information. In addition, the preview request may also include user information so that the server can verify the user's preview authority.

[0064] S203: receiving the page data sent by the server, rendering the page data, obtaining a preview page, and displaying it.

[0065] After the terminal sends the preview request, if the server determines that the preview can be performed, the page data of the preview page can be sent to the terminal, and the terminal can render the page data to generate and display the preview page.

[0066] In the embodiment of the present invention, after the terminal displays the preview page, the abnormal information in the preview page can be sent to the server through the terminal to adjust the preview page. The abnormal information can include the parameters that need to be adjusted and the specific values ​​of the adjusted parameters.

[0067] In the embodiment of the present invention, the terminal obtains activity information by displaying information and generates a preview request to perform page preview, so that the server can send the preview page to the terminal. The terminal renders the preview page to facilitate viewing of abnormalities in the preview page so that the server can adjust the preview page. In this way, through the interaction between the terminal and the server, the pages involved in the server can be previewed in the terminal and abnormalities in the preview page can be adjusted in time, avoiding the problem that the display effect of the PC-designed page in the terminal cannot meet the requirements, thereby affecting the business processing of the activity.

[0068] Combine the following Figure 1The embodiment shown in the figure specifically describes the method for processing page data in the embodiment of the present invention. Figure 3 As shown, the method includes the following steps.

[0069] S301: In response to a page preview instruction, obtain corresponding activity information.

[0070] S302: Acquire verification data, call a preset generation model to generate and display display information based on the activity information and the verification data.

[0071] S303: Receive a preview request sent by the terminal, and obtain a display mode in the preview request.

[0072] S304: In response to the display mode being the preset mode, generating a corresponding page jump address based on the activity information, so as to trigger a page jump event based on the page jump address.

[0073] S305: In response to the page jump event being triggered, obtaining page data of the preview page associated with the activity information.

[0074] S306: Send the page data to the terminal so that the terminal renders the preview page.

[0075] S307: receiving abnormal information of the preview page, and executing an adjustment program based on the abnormal information to adjust page data of the preset page.

[0076] It should be noted that the data processing principle in the embodiment of the present invention is the same as Figure 1 The corresponding data processing principles in the illustrated embodiments are the same and will not be described in detail here.

[0077] Combine the following Figure 1 and Figure 2 The embodiment shown in the figure specifically describes the method for processing page data in the embodiment of the present invention. Figure 4 As shown, the method includes the following steps.

[0078] S401: The server side obtains corresponding activity information and verification data in response to the page preview instruction, and calls a preset generation model to generate and display display information based on the activity information and verification data.

[0079] S402: The terminal calls a preset photographing device to scan the display information displayed by the server.

[0080] S403: The terminal calls a preset method to parse the display information to obtain the activity information and verification data in the display information, so as to generate a preview request and send it to the server.

[0081] S404: The server obtains verification data in the preview request to execute a preset verification procedure; in response to a successful verification result, a page jump event is triggered based on the activity information.

[0082] S405: The server obtains page data of the preview page associated with the activity information, and sends the page data to the terminal.

[0083] S406: The terminal receives the page data sent by the server, renders the page data, obtains a preview page, and displays it.

[0084] S407: The terminal determines abnormal information according to the pre-set page and sends it to the server.

[0085] S408: The server receives abnormal information of the preview page, and executes an adjustment program based on the abnormal information to adjust page data of the preset page.

[0086] It should be noted that the data processing principle in the embodiment of the present invention is the same as Figure 1 and Figure 2 The corresponding data processing principles in the illustrated embodiments are the same and will not be described in detail here.

[0087] In order to solve the problems existing in the prior art, an embodiment of the present invention provides a device 500 for processing page data, which is arranged at a server end, such as Figure 5 As shown, the device 500 includes: a display unit 501, which is used to respond to a page preview instruction, obtain corresponding activity information, call a preset production model, and generate and display display information based on the activity information; a trigger unit 502, which is used to receive a preview request sent by a terminal, obtain activity information of the preview request, and trigger a page jump event based on the activity information; wherein the preview request is obtained after the terminal parses the display information; a sending unit 503, which is used to respond to the page jump event being triggered, obtain page data of a preview page associated with the activity information, and send the page data to the terminal, so that the terminal renders the preview page; an adjustment unit 504, which is used to receive exception information of the preview page, and execute an adjustment program based on the exception information to adjust the page data of the preset page.

[0088] It should be understood that the manner of implementing the embodiments of the present invention is different from the Figure 1 The method of the illustrated embodiment is the same and will not be repeated here.

[0089] In one embodiment, the trigger unit 502 is specifically used to: obtain the display mode in the preview request; in response to the display mode being a preset mode, generate a corresponding page jump address based on the activity information, so as to trigger a page jump event based on the page jump address.

[0090] In another embodiment, the adjustment unit 502 is specifically used to: obtain the exception identifier and adjustment parameters in the exception information, query the adjustment program corresponding to the exception identifier, replace the adjustment parameters into the adjustment program to execute the replaced adjustment program, and adjust the page data of the preset page.

[0091] In another embodiment, the adjustment unit 504 is specifically used to: obtain an input parameter table of the adjustment program, the input parameter table including a parameter identifier and a corresponding parameter value; determine the adjustment parameter identifier in the input parameter table based on the adjustment parameter to replace the corresponding parameter value with the parameter value in the adjustment parameter to obtain an updated input parameter table; and execute the adjustment program based on the updated input parameter table.

[0092] In another embodiment, the adjustment unit 504 is specifically used to: obtain the publishing status and activity page set corresponding to the activity information, determine the preview page to be published from the activity page set based on the publishing status, and obtain page data of the preview page to be published.

[0093] In another embodiment, the display unit 501 is specifically used to: obtain verification data, call a preset generation model to generate display information based on the activity information and the verification data; the trigger unit 502 is specifically used to: obtain the verification data in the preview request to execute a preset verification procedure; in response to the verification result being successful, trigger a page jump event based on the activity information.

[0094] It should be understood that the manner of implementing the embodiments of the present invention is different from the Figure 1 , 3 , and the method of the embodiment shown in 4 is the same and will not be repeated here.

[0095] In an embodiment of the present invention, when a page design needs to be previewed on the server side, activity information can be transmitted to the terminal by displaying information, and the server side can send the preview page to the terminal according to the terminal request, so that the terminal can render the preview page and check the abnormalities in the preview page so that the server side can adjust the preview page. In this way, through the interaction between the terminal and the server, the pages involved in the server side can be previewed in the terminal and the abnormalities in the preview page can be adjusted in time, avoiding the problem that the display effect of the PC-designed page in the terminal cannot meet the requirements, thereby affecting the business processing of the activity.

[0096] In order to solve the problems existing in the prior art, an embodiment of the present invention provides a device 600 for processing page data, which is arranged in a terminal, such as Figure 6As shown, the device 600 includes: an acquisition unit 601, used to call a preset shooting device to obtain display information displayed by the server; a parsing unit 602, used to call a preset method to parse the display information to obtain activity information in the display information, generate a preview request based on the activity information and send it to the server; a preview unit 603, used to receive page data sent by the server, render the page data, obtain a preview page and display it.

[0097] It should be understood that the manner of implementing the embodiments of the present invention is different from the Figure 2 , 4 The method of the illustrated embodiment is the same and will not be repeated here.

[0098] In the embodiment of the present invention, the terminal obtains activity information by displaying information and generates a preview request to perform page preview, so that the server can send the preview page to the terminal. The terminal renders the preview page to facilitate viewing of abnormalities in the preview page so that the server can adjust the preview page. In this way, through the interaction between the terminal and the server, the pages involved in the server can be previewed in the terminal and abnormalities in the preview page can be adjusted in time, avoiding the problem that the display effect of the PC-designed page in the terminal cannot meet the requirements, thereby affecting the business processing of the activity.

[0099] According to an embodiment of the present invention, the embodiment of the present invention further provides an electronic device and a readable storage medium.

[0100] The electronic device of an embodiment of the present invention includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the one processor, and the instructions are executed by the at least one processor so that the at least one processor executes the method for page data processing provided by the embodiment of the present invention.

[0101] Figure 7 An exemplary system architecture 700 is shown to which the method or apparatus for page data processing according to the embodiment of the present invention may be applied.

[0102] like Figure 7 As shown, system architecture 700 may include terminal devices 701, 702, 703, network 704 and server 705. Network 704 is used to provide a medium for communication links between terminal devices 701, 702, 703 and server 705. Network 704 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0103] The user can use the terminal devices 701, 702, 703 to interact with the server 705 through the network 704 to receive or send messages, etc. Various client applications can be installed on the terminal devices 701, 702, 703.

[0104] The terminal devices 701 , 702 , and 703 may be, but are not limited to, smart phones, tablet computers, laptop computers, and desktop computers, etc.

[0105] The server 705 may be a server that provides various services. The server may analyze and process the received data such as the product information query request, and feed back the processing result (such as product information - just an example) to the terminal device.

[0106] It should be noted that the method for processing page data provided in the embodiment of the present invention is generally executed by the server 705 , and accordingly, the device for processing page data is generally disposed in the server 705 .

[0107] It should be understood that Figure 7 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0108] Reference below Figure 8 , which shows a schematic diagram of the structure of a computer system 800 suitable for implementing an embodiment of the present invention. Figure 8 The computer system shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0109] like Figure 8 As shown, the computer system 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage part 808 to a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the system 800 are also stored. The CPU 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0110] The following components are connected to the I / O interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed, so that a computer program read therefrom is installed into the storage section 808 as needed.

[0111] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 809, and / or installed from the removable medium 811. When the computer program is executed by the central processing unit (CPU) 801, the above-mentioned functions defined in the system of the present invention are executed.

[0112] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0113] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a unit, a program segment, or a part of a code, and the above-mentioned unit, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0114] The units involved in the embodiments of the present invention may be implemented by software or hardware. The units described may also be set in a processor. For example, they may be described as: a processor includes a display unit, a trigger unit, a sending unit, and an adjustment unit. The names of these units do not, in some cases, constitute limitations on the units themselves. For example, a display unit may also be described as a "unit for display function."

[0115] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device executes the method for processing page data provided by the present invention.

[0116] As another aspect, the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the method for processing page data provided by an embodiment of the present invention.

[0117] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for processing page data, characterized in that: For the server, including: In response to the page preview instruction, corresponding activity information is acquired, and a preset generation model is called to generate and display display information based on the activity information; Receiving a preview request sent by a terminal, acquiring activity information of the preview request, and triggering a page jump event based on the activity information; wherein the preview request is generated by the terminal after parsing the display information; In response to the page jump event being triggered, acquiring page data of a preview page associated with the activity information, and sending the page data to the terminal so that the terminal renders the preview page; Receive abnormal information of the preview page, execute an adjustment program based on the abnormal information, and adjust the page data of the preset page.

2. The method according to claim 1, characterized in that: Triggering a page jump event based on the activity information includes: Obtaining the display mode in the preview request; In response to the display mode being a preset mode, a corresponding page jump address is generated based on the activity information, so as to trigger a page jump event based on the page jump address.

3. The method according to claim 1, characterized in that Executing an adjustment program based on the abnormal information to adjust page data of the preset page includes: The abnormality mark and adjustment parameter in the abnormality information are obtained, the adjustment program corresponding to the abnormality mark is searched, the adjustment parameter is replaced into the adjustment program, and the replaced adjustment program is executed to adjust the page data of the preset page.

4. The method according to claim 3, characterized in that Replacing the adjustment parameter with the adjustment program to execute the replaced adjustment program includes: Obtaining an input parameter table of the adjustment program, wherein the input parameter table includes parameter identifiers and corresponding parameter values; Determine the adjustment parameter identifier in the input parameter table based on the adjustment parameter, so as to replace the corresponding parameter value with the parameter value in the adjustment parameter to obtain an updated input parameter table; An adjustment procedure is performed based on the updated input parameter table.

5. The method according to claim 1, characterized in that Obtaining page data of the preview page associated with the activity information, including: The publishing status and the activity page set corresponding to the activity information are obtained, a preview page to be published is determined from the activity page set based on the publishing status, and page data of the preview page to be published is obtained.

6. The method according to claim 1, characterized in that Calling a preset generation model to generate display information based on the activity information includes: Acquire verification data, and call a preset generation model to generate display information based on the activity information and the verification data; Triggering a page jump event based on the activity information includes: Obtaining verification data in the preview request to execute a preset verification procedure; In response to the verification result being successful, a page jump event is triggered based on the activity information.

7. A method for processing page data, characterized in that: For terminals, including: Calling a preset camera to obtain display information displayed by the server; Calling a preset method to parse the display information to obtain activity information in the display information, generating a preview request based on the activity information and sending the preview request to the server; The page data sent by the server is received to render the page data, obtain a preview page and display it.

8. A device for processing page data, characterized in that: Set on the server side, including: A display unit, configured to obtain corresponding activity information in response to a page preview instruction, and call a preset generation model to generate and display display information based on the activity information; A triggering unit, configured to receive a preview request sent by a terminal, obtain activity information of the preview request, and trigger a page jump event based on the activity information; wherein the preview request is generated after the terminal parses the display information; a sending unit, configured to, in response to the page jump event being triggered, obtain page data of a preview page associated with the activity information, and send the page data to the terminal so that the terminal renders the preview page; The adjustment unit is used to receive the abnormal information of the preview page, so as to execute an adjustment program based on the abnormal information to adjust the page data of the preset page.

9. A device for processing page data, characterized in that: Set in the terminal, including: An acquisition unit, used to call a preset shooting device to acquire display information displayed by the server; A parsing unit, configured to call a preset method to parse the display information to obtain activity information in the display information, generate a preview request based on the activity information, and send the preview request to the server; The preview unit is used to receive the page data sent by the server, render the page data, obtain the preview page and display it.

10. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.

11. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

12. A computer program product, comprising a computer program, characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Data processing method and apparatus, device, computer-readable storage medium, and computer program product

    WO2026129897A1