Data processing method and device, storage medium and program product

By differentiating field types in data processing requests, the web activity page is dynamically rendered, solving the problems of low development efficiency and insufficient flexibility in existing technologies, and realizing efficient and flexible web activity page generation.

CN121387280APending Publication Date: 2026-01-23CHINA CONSTRUCTION BANK +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511530559.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-24
Publication Date
2026-01-23

AI Technical Summary

Technical Problem

In existing technologies, the development of web activity pages requires front-end and back-end collaboration, resulting in low development efficiency, insufficient flexibility, and difficulty in meeting highly customized needs.

Method used

By using default and non-default type fields in the data processing request, the first tag data and the second tag data are determined, and the web activity page is dynamically rendered. By utilizing a low-code platform and a front-end and back-end separation architecture, dynamic component loading and rendering of data are achieved.

Benefits of technology

It improves the processing efficiency and flexibility of online event pages, reduces the coupling between the front-end and back-end, and meets users' customization needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121387280A_ABST
    Figure CN121387280A_ABST
Patent Text Reader

Abstract

The invention provides a data processing method and device, a storage medium and a program product. Relates to the technical field of data processing. The method comprises the steps that a data processing request is obtained, the data processing request comprises at least one piece of first data, the first data comprises at least one first field and at least one second field, the field type of the first field is a default type, and the field type of the second field is a non-default type; according to the data processing request, a target data set is determined, the target data set comprises first label data and second label data, the data type of the first label data is a universal type, and the type of the second label data is a non-universal type; obtaining a first page, and rendering the first page according to the target data set to obtain a target page; and sending the target page to a preset device, or displaying the target page. And the efficiency and the flexibility of processing the network activity page are improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data processing, and in particular to a data processing method, device, storage medium and program product. BACKGROUND

[0002] With the rapid growth of the demand for Internet marketing activities, enterprises need to frequently develop and online H5 activity pages to meet the needs of promotion, holiday and other scenarios.

[0003] In actual application process, a set of program code is developed for each activity page, and interface data for each H5 activity is used in the interaction interface between the front end and the back end. In the above process, code writing is relied on, and the front end and the back end need to cooperate to develop interfaces and maintain a large amount of code, resulting in low development efficiency and insufficient flexibility, which is difficult to meet the highly customized activity needs. SUMMARY

[0004] The embodiments of the present application provide a data processing method, device, storage medium and program product to improve the flexibility of processing network activity pages.

[0005] In a first aspect, the embodiments of the present application provide a data processing method, comprising:

[0006] Obtaining a data processing request, the data processing request comprising at least one first data, the first data comprising at least one first field and at least one second field, the field type of the first field being a default type, and the field type of the second field being a non-default type;

[0007] According to the data processing request, determining a target data set, the target data set comprising first label data and second label data, the data type of the first label data being a general type, and the type of the second label data being a non-general type;

[0008] Obtaining a first page and performing rendering processing on the first page according to the target data set to obtain a target page;

[0009] Sending the target page to a preset device, or displaying the target page.

[0010] In a possible implementation, according to the data processing request, the target data is determined, comprising:

[0011] Obtaining a preset rule, the preset rule comprising at least a version related rule, a format related rule, and a type related rule;

[0012] According to the preset rule, performing verification processing on the at least one first data to obtain a verification result;

[0013] If the check result is a check pass, at least one first label data is determined according to the at least one first field, and at least one second label data is determined according to the at least one second field;

[0014] The target data set includes the at least one first label data and the at least one second label data.

[0015] In a possible implementation, the at least one first label data is determined according to the at least one first field, including:

[0016] According to the identification type of each first field, at least one first intermediate set is determined, and the identification types of the first fields in the first intermediate set are the same;

[0017] For any one first intermediate set, information types corresponding to the first fields in the first intermediate set are determined;

[0018] According to the information types corresponding to the first fields in the first intermediate set, field information corresponding to the first fields is obtained in a preset storage area;

[0019] The first label data is determined according to the field information corresponding to the first fields in the first intermediate set.

[0020] In a possible implementation, the data processing request further includes field information of the second fields; the at least one second label data is determined according to the at least one second field, including:

[0021] According to the identification type of each second field, at least one second intermediate set is determined, and the identification types of the second fields in the second intermediate set are the same;

[0022] For any one second intermediate set, field information corresponding to the second fields is obtained;

[0023] The second label data is determined according to the field information corresponding to the second fields in the second intermediate set.

[0024] In a possible implementation, the first page is rendered and processed according to the target data set to obtain a target page, including:

[0025] At least one first component corresponding to the at least one first label data is obtained and loaded in a preset storage area;

[0026] At least one second component is dynamically loaded according to the at least one second label data;

[0027] The first page is rendered and processed according to the at least one first component to obtain a first intermediate page, and the first intermediate page includes at least one first label page corresponding to the at least one first label data.

[0028] According to at least one second component, the first page is rendered to obtain a second intermediate page, and the second intermediate page includes at least one second label page corresponding to at least one second label data;

[0029] The target page includes at least one first label page and at least one second label page.

[0030] In a possible implementation, the method further includes:

[0031] In response to the switching instruction, at least one candidate component is determined;

[0032] At least one candidate component is obtained and loaded in a preset storage area, or at least one candidate component is dynamically loaded.

[0033] In a possible implementation, the data processing request includes:

[0034] A preset file is obtained, and the preset file includes at least one initial data;

[0035] In response to the update request, at least one initial data to be updated is obtained in the preset file;

[0036] According to the update request, at least one first data is obtained by updating the at least one initial data to be updated.

[0037] In a second aspect, an embodiment of the present application provides a data processing apparatus, including:

[0038] The obtaining module is configured to obtain a data processing request, and the data processing request includes at least one first data, the first data includes at least one first field and at least one second field, the field type of the first field is a default type, and the field type of the second field is a non-default type;

[0039] The determining module is configured to determine a target data set according to the data processing request, and the target data set includes first label data and second label data, the data type of the first label data is a general type, and the type of the second label data is a non-general type;

[0040] The processing module is configured to obtain a first page, and render the first page according to the target data set to obtain a target page;

[0041] The sending module is configured to send the target page to a preset device, or display the target page.

[0042] In a possible implementation, the determining module is specifically configured to:

[0043] The preset rules at least include a version-related rule, a format-related rule, and a type-related rule;

[0044] The at least one first data is checked according to the preset rules to obtain a checking result;

[0045] If the checking result is a checking pass, at least one first tag data is determined according to the at least one first field, and at least one second tag data is determined according to the at least one second field;

[0046] The target data set includes the at least one first tag data and the at least one second tag data.

[0047] In a possible implementation, the determining module is specifically configured to:

[0048] At least one first intermediate set is determined according to the identification type of each first field, and the identification types of the first fields in the first intermediate set are the same;

[0049] For any one first intermediate set, information types corresponding to the first fields in the first intermediate set are determined;

[0050] According to the information types corresponding to the first fields in the first intermediate set, field information corresponding to the first fields is obtained in a preset storage area;

[0051] The first tag data includes the field information corresponding to the first fields in the first intermediate set.

[0052] In a possible implementation, the determining module is specifically configured to:

[0053] At least one second intermediate set is determined according to the identification type of each second field, and the identification types of the second fields in the second intermediate set are the same;

[0054] For any one second intermediate set, field information corresponding to the second fields is obtained;

[0055] The second tag data includes the field information corresponding to the second fields in the second intermediate set.

[0056] In a possible implementation, the processing module is specifically configured to:

[0057] At least one first component corresponding to the at least one first tag data is obtained and loaded in a preset storage area;

[0058] At least one second component is dynamically loaded according to the at least one second tag data;

[0059] According to at least one first component, the first page is rendered to obtain a first intermediate page, the first intermediate page including at least one first label page corresponding to at least one first label data;

[0060] According to at least one second component, the first page is rendered to obtain a second intermediate page, the second intermediate page including at least one second label page corresponding to at least one second label data;

[0061] The target page includes the at least one first label page and the at least one second label page.

[0062] In a possible implementation, the processing module is further configured to:

[0063] In response to the switching instruction, at least one candidate component is determined;

[0064] The at least one candidate component is obtained and loaded in a preset storage area, or the at least one candidate component is dynamically loaded.

[0065] In a possible implementation, the obtaining module is specifically configured to:

[0066] A preset file is obtained, the preset file including at least one initial data;

[0067] In response to an update request, at least one initial data to be updated is obtained from the preset file;

[0068] According to the update request, the at least one initial data to be updated is updated to obtain at least one first data.

[0069] In a third aspect, an embodiment of the present application provides a data processing device, including: a memory, a processor;

[0070] The memory stores computer execution instructions;

[0071] The processor executes the computer execution instructions stored in the memory, so that the processor executes the first aspect and / or various possible implementation manners of the first aspect.

[0072] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, the computer readable storage medium storing computer execution instructions, the computer execution instructions being executed by a processor to implement the first aspect and / or various possible implementation manners of the first aspect.

[0073] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, the computer program being executed by a processor to implement the first aspect and / or various possible implementation manners of the first aspect.

[0074] The data processing method, device, storage medium and program product provided by the embodiment of the application determine first label data and second label data through at least one field of a default type and a field of a non-default type in a data processing request. The general type of label page is obtained by processing the first label data. The non-general type of label page is obtained by processing the second label data. The network activity page (i.e., the target page) is further obtained. The target page is obtained by determining the target data and dynamically rendering. The first label data is related data of the basic information of the network activity page, which can be repeatedly used when the target page is generated each time. The second label page is dynamically loaded through the second label data, which meets the customized needs of the user. The technical problems of low efficiency and low flexibility in processing the network activity page are solved. BRIEF DESCRIPTION OF DRAWINGS

[0075] The accompanying drawings, which are incorporated herein and form part of the specification, illustrate embodiments consistent with the present application and, together with the description, further serve to explain the principles of the application.

[0076] Figure 1 The scene schematic diagram of the application scenario provided by the application;

[0077] Figure 2 The flowchart of the data processing provided by the application Figure One ;

[0078] Figure 3 The process schematic diagram of obtaining the data processing request provided by the embodiment of the application;

[0079] Figure 4A The schematic diagram of the target page provided by the embodiment of the application;

[0080] Figure 4B The schematic diagram of another target page provided by the embodiment of the application;

[0081] Figure 4C The schematic diagram of another target page provided by the embodiment of the application;

[0082] Figure 5 The flowchart of the data processing provided by the application Figure Two ;

[0083] Figure 6 The process schematic diagram of the data processing provided by the embodiment of the application;

[0084] Figure 7 The structure schematic diagram of the data processing device provided by the application;

[0085] Figure 8 The structure schematic diagram of the data processing device provided by the application.

[0086] The specific embodiments of the present application have been shown and described in the above drawings, and will be described in more detail in the following. These drawings and written descriptions are not intended to limit the scope of the concept of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0087] The exemplary embodiments will be described in detail herein with reference to the accompanying drawings. In the following description, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments are not representative of all embodiments consistent with the present application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the present application, as detailed in the appended claims.

[0088] In the technical solution of the present application, the collection, storage, use, processing, transmission, provision and disclosure of information such as financial data or user data comply with relevant laws and regulations and do not violate public order and good customs.

[0089] It should be noted that in the embodiments of the present application, some existing industry solutions such as software, components, models, etc. may be mentioned, which should be considered as exemplary, and the purpose is only to illustrate the feasibility of the implementation of the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0090] First, the terms involved in the present application are explained:

[0091] 1. Low-code development platform

[0092] Structure and mechanism:

[0093] The low-code platform allows users to quickly build applications through configuration rather than coding by visualizing drag-and-drop components (such as navigation bar, carousel, form, etc.) and pre-set logic modules. Its core includes:

[0094] Component library: pre-preset reusable UI components and business logic modules.

[0095] Visual editor: generate page layout and interaction logic through drag-and-drop and parameter configuration.

[0096] Backend integration: data storage and business logic processing through Application Programming Interface (API) or database connection.

[0097] 2. Front-end and back-end separation architecture

[0098] Structure and mechanism:

[0099] Frontend: Responsible for user interface and interaction logic (such as Vue.js, React), communicating with the backend through API.

[0100] Backend: Provides interfaces, handles business logic, and stores data.

[0101] Data transmission: JSON is used as the standard format and is transmitted via HTTP / HTTPS protocol.

[0102] 3. Application of JSON data format in API

[0103] Structure and mechanism:

[0104] Key-value pair structure: a lightweight data format that supports nested objects and arrays.

[0105] Serialization / deserialization: The front-end and back-end use a JSON parsing library to perform data conversion.

[0106] Standardized interfaces: Define a unified data structure to ensure compatibility between the front-end and back-end.

[0107] Figure 1 A schematic diagram of the application scenario provided in this application, such as... Figure 1 As shown, this includes electronic device 101. Electronic device 101 can be a terminal device, server, etc. The terminal device can be a mobile phone, tablet computer, computer, etc. After determining the activity name, background image, and start date of the H5 activity, the user can write code through electronic device 101 based on the relevant information of the H5 activity. Electronic device 101 runs the code to obtain the activity page of the H5 activity and promotes it to users through the activity page.

[0108] Based on the above scenarios, it can be seen that in the existing technology, relying on writing the entire code requires front-end and back-end collaboration to develop interfaces and maintain a large amount of code, resulting in low efficiency and low flexibility in processing online activity pages.

[0109] The data processing method provided in the application determines first label data and second label data through at least one field of a default type and a field of a non-default type in a data processing request. A general type of label page is obtained by processing the first label data. A non-general type of label page is obtained by processing the second label data. A network activity page (i.e., a target page) is further obtained. Since the front end of the data processing device acquires the data processing request and determines target data to dynamically render the target page according to the data processing request, the first label data is related data of basic information of the network activity page, which can be repeatedly used each time the target page is generated. The second label page is dynamically loaded through the second label data to meet the customized needs of users. The technical problems of low efficiency and low flexibility in processing the network activity page are solved.

[0110] The technical solutions of the application and how the technical solutions solve the above technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described again in some embodiments. The embodiments of the application will be described below with reference to the drawings.

[0111] Figure 2 Flowchart of data processing provided in the application Figure One As shown in Figure 2 , the method comprises:

[0112] S201, acquiring a data processing request.

[0113] The execution subject of the embodiments of the application can be a data processing device or a data processing apparatus arranged in the data processing device. The data processing apparatus can be implemented by software or by a combination of software and hardware. The data processing device can be an electronic device.

[0114] The first data comprises at least one first field and at least one second field, the field type of the first field is a default type, and the field type of the second field is a non-default type.

[0115] The default type can be a first field processed in a historical period or basic information in the target page. For example, the field of the default type can be a field corresponding to an activity name, an activity date, an activity number, etc. in the target page.

[0116] The non-default type can be a field customized by a user according to actual scenes and needs. For example, the non-default type can be a customized field or a field exclusive to the target page.

[0117] The format of the first data can be a JASO format.

[0118] The data processing request can be obtained by obtaining a preset file, the preset file including at least one initial data; in response to an update request, obtaining at least one initial data to be updated in the preset file; and performing update processing on the at least one initial data to be updated according to the update request to obtain at least one first data.

[0119] The preset file can be in JASON format. The field type of the at least one initial data is a default type. For example, the preset file can be a template.json configuration file.

[0120] The update request can be generated by a packaging tool and uploaded to a backend. The update request can be a dist file.

[0121] The user can determine at least one first field of the default type and at least one second field to be updated in the preset file. The data processing device generates an update request in response to the user's operation. The data processing device determines the corresponding at least one initial data in the preset file according to the update request and performs update processing on the at least one initial data to obtain at least one first data. The field of the default type can be obtained in the data processing device according to the field identifier input by the user, and the field of a non-default type can be determined according to the specific field input by the user.

[0122] The process of obtaining the data processing request will be described below. Figure 3 Figure 3 The process of obtaining the data processing request provided by the embodiments of the present application is shown in the following figure. Please refer to Figure 3 , including interface 301~interface 302. The interface 301~interface 302 can be a page provided by the data processing device. Please refer to interface 301, the user can click the icon of the corresponding application in the main page of the data processing device. The terminal device displays an operation page in response to the user's click operation. The operation page includes a first data corresponding drop-down selection menu, at least one field corresponding drop-down selection menu, and a text input box. The first data corresponding drop-down selection menu includes at least one preset file option.

[0123] ​Please refer to interface 302. The user selects data A from the dropdown menu corresponding to the first data, selects field A1 (default type) from the dropdown menu corresponding to field 1, selects field A2 (default type) from the dropdown menu corresponding to field 2, and selects field A3 (non-default type) from the dropdown menu corresponding to field 3, then clicks the OK icon. Fields A1 and A2 can be obtained from a preset file, while field A3 can be obtained from an update request. The data processing device responds to the user's input selection and generates a data processing request. The data processing request includes the first data A, which includes fields A1 to A3. Specifically, the first field is field A1 and field A3, and the second field is field A3.

[0124] First, the data is managed through a preset file. After a user modifies the preset file, an update request is generated using a packaging tool and uploaded to the backend to achieve hot updates of the configuration data.

[0125] S202. Determine the target data set based on the data processing request.

[0126] The target dataset includes first-label data and second-label data. The data type of the first-label data is a general type, while the data type of the second-label data is a non-general type.

[0127] General-type tag data can correspond to basic settings-related tabs on the target page. Non-general-type tag data can correspond to customized tabs on the target page.

[0128] The target data set can be determined according to the data processing request in the following way: obtain preset rules, which include at least version-related rules, format-related rules, and type-related rules; perform validation processing on at least one first data according to the preset rules to obtain a validation result; if the validation result is successful, determine at least one first tag data according to at least one first field, and determine at least one second tag data according to at least one second field; the target data set is determined to include at least one first tag data and at least one second tag data.

[0129] The preset rules define the rules for the interaction of primary data within the data processing device. Based on these preset rules, a rule engine can validate at least one piece of primary data to obtain a validation result. If the validation passes, the primary data is determined to meet the rules for interaction within the data processing device. The front end of the data processing device can then obtain at least one piece of primary data from the back end, thereby determining the target data set.

[0130] The preset rules can be the default rules in the rule engine or user-defined rules; this application does not impose any restrictions.

[0131] For any one first data, the first data can be matched with the version-related rules through the rule engine to obtain a first matching result. The first data can be matched with the format-related rules through the rule engine to obtain a second matching result. The first data can be matched with the type-related rules through the rule engine to obtain a third matching result. If the first matching result, the second matching result, and the third matching result are all matched, it is determined that the verification result is verified. If there is a first matching result, or a second matching result, or a third matching result is not matched, it is determined that the verification result is not verified.

[0132] In the embodiment of the application, the preset rule defines the front-end and back-end interaction rules in the data processing device, reducing the complexity of interface development.

[0133] Optionally, when performing the verification processing, the first data can also be subjected to security verification processing, avoiding the first data from being attacked, leaked, and the like, and improving the security of the front-end and back-end data interaction in the data processing device.

[0134] If the verification is verified, at least one first label data can be determined according to at least one first field of the default type, to determine the related information of the basic settings in the target page. At least one second label data can be determined according to at least one first field of the non-default type, to determine the related information of the customization in the target page.

[0135] For example, assuming that the data A shown in the above example, the field A1 is the field corresponding to the activity name, the object, and the activity date, the field A2 is the field corresponding to the activity background image and the activity rule, and the field A3 is the field corresponding to the user type and the prize. The data processing device obtains the preset rule, and the preset rule at least includes the version rule A1, the version rule A2, the format rule A3, and the type rule A4. The data processing device matches the data A with the version rule A1 and the version rule A2 in sequence through the rule engine, and obtains the first matching result as matched. The data processing device matches the data A with the format rule A3 through the rule engine, and obtains the second matching result as matched. The data processing device matches the data A with the type rule A4 through the rule engine, and obtains the third matching result as matched. Therefore, the data processing device determines that the verification result is verified.

[0136] The front end of the data processing device can acquire data A of the back end, and determine first label data as data A1 according to field A1, data A1 including an activity name, a belonging object, and an activity date. Determine first label data as data A2 according to field A2, data A2 including an activity background image and an activity rule. Determine first label data as data A3 according to field A3, data A3 including a user type and a prize.

[0137] In the embodiment of the application, the first label data can reuse the label data corresponding to the basic setting related information in the historical period. The second label data can be flexibly configured to customize the label data. The flexibility of setting the network activity page is improved.

[0138] S203, acquire the first page, and render the first page according to the target data set to obtain a target page.

[0139] The first page can include at least one blank tab. According to the first label data, a corresponding first component is acquired from a preset storage area, and the first page is rendered by the first component. And the second component is dynamically loaded according to the second label data, and the first page is rendered by the second component to obtain the target page.

[0140] The preset storage area can be a back-end database arranged in the data processing device. The user can modify the first data through the JSON file without code change, which improves the development efficiency.

[0141] For example, according to the example shown in the above, it is determined that data A1 includes an activity name, a belonging object, and an activity date, data A2 includes an activity background image and an activity rule, and data A3 includes a user type and a prize. The data processing device acquires component A1 corresponding to data A1 and component A2 corresponding to data A2 in the preset storage area. The data processing device dynamically loads component A3 corresponding to data A3. The data processing device acquires the first page, and renders the first page by component A1, component A3 and component A3 to obtain the target page.

[0142] S204, send the target page to a preset device, or display the target page.

[0143] The preset device can be a terminal device used by the user.

[0144] Next, combined with FIG. 4- Figure 4C The target page is described. Figure 4A A schematic diagram of a target page provided by the embodiment of the application is shown in FIG. 4. Figure 4A, including interface 401. The interface 401 can be an interface provided by a preset device, and the interface 401 is a tab page A1 in a target page. The tab page A1 is a page corresponding to the component A1 shown in the above example, and the tab page A1 includes an activity name, a belonging object, and an activity date.

[0145] Figure 4B Another schematic diagram of a target page provided by an embodiment of the present application is shown in FIG. 4B. Figure 4B , including interface 402. The interface 402 can be an interface provided by a preset device, and the interface 402 is a tab page A2 in a target page. The tab page A2 is a page corresponding to the component A2 shown in the above example, and the tab page A2 includes an activity background image and an activity rule.

[0146] Figure 4C Another schematic diagram of a target page provided by an embodiment of the present application is shown in FIG. 4C. Figure 4C , including interface 403. The interface 403 can be an interface provided by a preset device, and the interface 403 is a tab page A3 in a target page. The tab page A3 is a page corresponding to the component A3 shown in the above example, and the tab page A3 includes an activity user type and a prize.

[0147] The data processing method provided by the embodiment of the present application, the front end of the data processing device acquires a data processing request, and determines a target page by dynamically rendering target data through the data processing request. And the first tab data is related data of the basic information of the network activity page, which can be repeatedly used every time the target page is generated. The second tab page is dynamically loaded through the second tab data, which meets the customization needs of the user. The efficiency and flexibility of processing the network activity page are improved.

[0148] Figure 5 The flowchart of the data processing provided by the present application is shown in FIG. 5. Figure Two As shown in FIG. 5, the embodiment is based on the embodiment of the present application, and the process of data processing is described in detail. The method comprises the following steps. Figure 5 Figure 2 S501, acquiring a data processing request.

[0149] Optionally, the first data can further include a version number field, and the back end of the data processing device can manage configuration data of different versions according to the version number field, and support the rollback operation of the configuration data. The flexibility of data management is improved.

[0150] S502, acquiring a preset rule.

[0151] S502, acquiring a preset rule.

[0152] It should be noted that the execution process of S501-S502 can refer to S201-S202, which will not be described here.

[0153] ​S503, performing a check processing on the at least one first data according to a preset rule to obtain a check result.

[0154] For example, it is assumed that the first data is data B, and the data B includes a field B1, a field B2, a field B3, and a field B4. Each field can be specifically as shown in Table 1:

[0155] Table 1

[0156]

[0157] The front end of the data processing device performs a check processing on the data B according to a preset rule, and obtains a check result that the check passes.

[0158] If the check result is that the check does not pass, a prompt information is generated, and the prompt information is displayed or sent to a preset device. The prompt information is used to indicate that the check on the first data does not pass.

[0159] Optionally, if the check result is that the check passes, the front end of the data processing device obtains the at least one first data from the back-end database. When obtaining the at least one first data, the HTTPS protocol can be used to transmit the at least one data to prevent a man-in-the-middle attack. A digital signature can also be added to the at least one first data, and the back end verifies the validity of the signature to prevent data tampering.

[0160] S504, if the check result is that the check passes, determining at least one first label data according to the at least one first field.

[0161] The at least one first label data can be determined according to the at least one first field in the following manner: determining at least one first intermediate set according to an identification type of each first field in the at least one first field, the identification types of the first fields in the first intermediate set being the same; determining an information type corresponding to each first field in the first intermediate set for any one first intermediate set; obtaining field information corresponding to each first field in the first intermediate set from a preset storage area according to the information type corresponding to each first field; and determining that the first label data includes the field information corresponding to each first field in the first intermediate set.

[0162] The first intermediate set corresponds to one label page in a target page. That is, each first field in the first intermediate set displays the field information corresponding to each first field.

[0163] Since the types of the fields in the first intermediate set are default types, the data processing device can directly obtain the field information corresponding to each first field from the preset storage area.

[0164] For example, according to the table 1, it is determined that the at least one first field includes the field B1 and the field B2. Since the identification types of the field B1 and the field B2 are the same, it is determined that the first intermediate set includes the field B1 and the field B2. For the field B1, the data processing device obtains, in the preset storage area, the field information corresponding to the activity name as the name B, and the field information corresponding to the activity date as the date B1-date B2. For the field B2, the data processing device obtains, in the preset storage area, the field information corresponding to the activity rule as the rule B. Therefore, the data processing device determines that the first label data B1 includes the name B, the date B1-date B2, and the rule B.

[0165] S505, determining at least one second label data according to the at least one second field.

[0166] The data processing request further includes the field information of each second field.

[0167] The at least one second label data can be determined according to the at least one second field in the following manner: determining at least one second intermediate set according to the identification type of each second field, the identification types of the second fields in the second intermediate set being the same; obtaining the field information corresponding to each second field for any one second intermediate set; and determining that the second label data includes the field information corresponding to each second field in the second intermediate set.

[0168] The second intermediate set corresponds to one label page in the target page. That is, one label page displays the field information corresponding to each second field in the second intermediate set.

[0169] Since the types of the fields in the first intermediate set are non-default types, the data processing device needs to obtain the field information corresponding to each second field in the data processing request determined by the user.

[0170] For example, according to the above Table 1, it is determined that the at least one second field includes field B3 and field B4. Since the identification types of field B3 and field B4 are the same, it can be determined that the second intermediate set includes field B3 and field B4. For field B3, the data processing device obtains, in the data processing request, the field information corresponding to the user types as user type B1, user type B2, and user type B3. For field B4, the data processing device obtains, in the preset storage area, the field information of the products corresponding to the user types as that the product corresponding to user type B1 is product B1 and product B2, the product corresponding to user type B2 is product B2, and the product corresponding to user type B3 is product B2 and product B3. Therefore, the data processing device determines that the second label data B2 includes user type B1; user type B2; user type B3; the product corresponding to user type B1 is product B1 and product B2; the product corresponding to user type B2 is product B2; and the product corresponding to user type B3 is product B2 and product B3.

[0171] S506, determining that the target data set includes at least one first label data and at least one second label data.

[0172] For example, according to the above example, it is determined that the target data set includes first label data B1 and second label data B2. The first label data B1 includes name B; date B1-date B2; rule B. The second label data B2 includes user type B1; user type B2; user type B3; the product corresponding to user type B1 is product B1 and product B2; the product corresponding to user type B2 is product B2; and the product corresponding to user type B3 is product B2 and product B3.

[0173] S507, obtaining a first page.

[0174] The first page includes at least one blank label page.

[0175] S508, rendering the first page according to the target data set to obtain a target page.

[0176] The first page can be rendered according to the target data set to obtain a target page in the following manner: at least one first component corresponding to at least one first label data is obtained and loaded in a preset storage area; at least one second component is dynamically loaded according to at least one second label data; the first page is rendered to obtain a first intermediate page according to the at least one first component, the first intermediate page including at least one first label page corresponding to the at least one first label data; the first page is rendered to obtain a second intermediate page according to the at least one second component, the second intermediate page including at least one second label page corresponding to the at least one second label data; and it is determined that the target page includes the at least one first label page and the at least one second label page.

[0177] The component can be a Vue component. The field information of each field can be loaded into an information type corresponding to the corresponding component to render the first page.

[0178] The target page can be loaded and rendered by using a dynamic component technology. The dynamic component technology supports flexible combination of general and customized templates to meet diversified activity requirements. Default values (i.e., field information of the first field) are passed from the back end to avoid configuration errors caused by manual input of the user.

[0179] For example, according to the example described above, the data processing device obtains and loads a first component B1 corresponding to a first label data B1 in a preset storage area. The data processing device renders the first page according to the component B1 to obtain a first intermediate page as a label page B1. The data processing device dynamically loads a second component B2 corresponding to a second label data B2. The data processing device renders the first page according to the component B2 to obtain a second intermediate page as a label page B2. The target page includes the label page B1 and the label page B2. The label page B1 includes an activity name: name B, an activity date: date B1-date B2, and an activity rule: rule B. The label page B2 includes user types: user type B1, user type B2, and user type B3. The products corresponding to the user types are product B1 and product B2 for the user type B1, product B2 for the user type B2, and product B2 and product B3 for the user type B3.

[0180] Optionally, the data processing device can cache frequently used first components (such as a "basic setting component") to avoid repeated rendering.

[0181] The processing module corresponding to the rendering process supports a responsive layout to adapt to display requirements of different data processing devices, including mobile terminals and personal computers (PCs).

[0182] Optionally, the data processing device can determine at least one candidate component in response to the switching instruction; acquire and load the at least one candidate component in the preset storage area, or dynamically load the at least one candidate component.

[0183] The switching instruction can be set by the user in real time or triggered periodically, and the application does not make any limitation. If the switching instruction indicates switching the first component, the front end of the data processing device acquires and loads the first component in the preset storage area. If the switching instruction indicates switching the second component, the front end of the data processing device dynamically loads the second component.

[0184] In the embodiment of the application, the dynamic component technology adopts a lazy loading strategy, and only loads the corresponding component when the user switches the tab page, so as to reduce the initial loading time of the front end.

[0185] S509, send the target page to the preset device, or display the target page.

[0186] For example, the data processing device can display the target page shown in the above example.

[0187] The data processing method provided in the embodiment of the application, the front end of the data processing device acquires the data processing request, and determines the target data by the data processing request to dynamically render the target page. The first tab data is related data of the basic information of the network activity page, which can be repeatedly used every time the target page is generated. The second tab data is used to dynamically load the second tab page, which meets the customization needs of the user. The efficiency and flexibility of processing the network activity page are improved. The front end of the data processing device obtains the target page through the first data, and the back end of the data processing device independently maintains the data, which reduces the coupling degree of the front end and the back end.

[0188] On the basis of any one of the above embodiments, the following will be described in combination with Figure 6 The process of data processing is exemplified.

[0189] Figure 6 The process of data processing provided in the embodiment of the application is shown in the figure. Please refer to Figure 6The data processing device 601 can be an electronic device. The data processing device 601 is provided with a preset storage area and a processing module, and the preset storage area can be arranged in the back-end database of the data processing device 601. The user can determine at least one first field of a default type and at least one second field to be updated in the preset file stored in the data processing device 601. The data processing device 601 generates an update request in response to the operation of the user. The data processing device 601 determines at least one initial data corresponding to the preset file according to the update request, and updates the at least one initial data to obtain first data C. The fields of the data C can be as shown in Table 1:

[0190] Table 2

[0191]

[0192] The front end of the data processing device 601 performs verification processing on the data C according to a preset rule, and obtains a verification result of passing the verification. According to Table 2, the front end of the data processing device 601 determines that the at least one first field includes field C1 and field C2. Since the identification types of field C1 and field C2 are the same, it can be determined that the first intermediate set includes field C1 and field C2. For field C1, the front end of the data processing device 601 obtains field information corresponding to the name C and field information corresponding to the date C1~date C2 in the preset storage area. For field C2, the front end of the data processing device 601 obtains field information corresponding to the rule C in the preset storage area. Therefore, the front end of the data processing device 601 determines that the first label data C1 includes the name C; the date C1~date C2; and the rule C.

[0193] According to Table 2, the front end of the data processing device 601 determines that the second field is field B3. Since there is only one second field, the front end of the data processing device 601 obtains field information corresponding to the user type C1 and user type C2 in the data processing request. Therefore, the front end of the data processing device 601 determines that the second label data C2 includes the user type C1; and the user type C2. In summary, the front end of the data processing device 601 determines that the target data set includes the first label data C1 and the second label data C2. The first label data C1 includes the name C; the date C1~date C2; and the rule C. The second label data C2 includes the user type C1; and the user type C2.

[0194] The rendering processing module of the data processing device 601 acquires the first page, and acquires and loads the first component C1 corresponding to the first label data C1 in a preset storage area. The rendering processing module of the data processing device 601 performs rendering processing on the first page according to the component C1, and obtains the first intermediate page as a label page C1. The rendering processing module of the data processing device 601 dynamically loads the second component C2 corresponding to the second label data C2. The rendering processing module of the data processing device 601 performs rendering processing on the first page according to the component C2, and obtains the second intermediate page as a label page C2. The rendering processing module of the data processing device 601 determines that the target page includes the label page C1 and the label page C2. The label page C1 includes the activity name: name C, the activity date: date C1~date C2, and the activity rule: rule C. The label page C2 includes the user type: user type C1 and user type C2. The data processing device 601 can directly display the target page.

[0195] The data processing process provided by the embodiment of the application is that the front end of the data processing device acquires a data processing request, and determines target data to dynamically render a target page according to the data processing request. The first label data is related data of basic information of a network activity page, and can be repeatedly used each time the target page is generated. The second label data is used to dynamically load a second label page, so as to meet the customization demand of the user. The efficiency and flexibility of processing the network activity page are improved. The front end of the data processing device obtains the target page through the first data, and the back end of the data processing device independently maintains data, so as to reduce the coupling degree of the front end and the back end.

[0196] Figure 7 The structure diagram of the data processing device provided by the application is shown in FIG. 7. Figure 7 As shown in FIG. 7, the data processing device 70 provided by the embodiment of the application includes:

[0197] The acquisition module 701 is configured to acquire a data processing request, and the data processing request includes at least one first data. The first data includes at least one first field and at least one second field. The field type of the first field is a default type, and the field type of the second field is a non-default type.

[0198] The determination module 702 is configured to determine a target data set according to the data processing request. The target data set includes first label data and second label data. The data type of the first label data is a general type, and the type of the second label data is a non-general type.

[0199] The processing module 703 is configured to acquire a first page, and perform rendering processing on the first page according to the target data set to obtain a target page.

[0200] The sending module 704 is configured to send the target page to a preset device, or display the target page.

[0201] In a possible implementation, the determining module 702 is specifically configured to:

[0202] obtain a preset rule, the preset rule at least including a version-related rule, a format-related rule, and a type-related rule;

[0203] perform a check processing on the at least one first data according to the preset rule, to obtain a check result;

[0204] if the check result is a check pass, determine at least one first tag data according to the at least one first field, and determine at least one second tag data according to the at least one second field;

[0205] the target data set includes the at least one first tag data and the at least one second tag data.

[0206] In a possible implementation, the determining module 702 is specifically configured to:

[0207] determine at least one first intermediate set according to an identification type of each first field, the identification types of the first fields in the first intermediate set being the same;

[0208] for any one first intermediate set, determine information types corresponding to the first fields in the first intermediate set;

[0209] obtain field information corresponding to the first fields in the first intermediate set in a preset storage area according to the information types corresponding to the first fields;

[0210] the first tag data includes the field information corresponding to the first fields in the first intermediate set.

[0211] In a possible implementation, the determining module 702 is specifically configured to:

[0212] determine at least one second intermediate set according to an identification type of each second field, the identification types of the second fields in the second intermediate set being the same;

[0213] for any one second intermediate set, obtain field information corresponding to the second fields;

[0214] the second tag data includes the field information corresponding to the second fields in the second intermediate set.

[0215] In a possible implementation, the processing module 703 is specifically configured to:

[0216] obtain and load at least one first component corresponding to the at least one first tag data in a preset storage area;

[0217] According to the at least one second component, the first page is rendered to obtain a second intermediate page, the second intermediate page including at least one second label page corresponding to the at least one second label data.

[0218] According to the at least one first component, the first page is rendered to obtain a first intermediate page, the first intermediate page including at least one first label page corresponding to the at least one first label data.

[0219] According to the at least one second component, the first page is rendered to obtain a second intermediate page, the second intermediate page including at least one second label page corresponding to the at least one second label data.

[0220] The target page includes the at least one first label page and the at least one second label page.

[0221] In a possible implementation, the processing module 703 is further configured to:

[0222] In response to the switching instruction, determine at least one candidate component;

[0223] In the preset storage area, obtain and load the at least one candidate component, or dynamically load the at least one candidate component.

[0224] In a possible implementation, the obtaining module 701 is specifically configured to:

[0225] Obtain a preset file, the preset file including at least one initial data;

[0226] In response to the update request, obtain at least one initial data to be updated in the preset file;

[0227] According to the update request, update the at least one initial data to be updated to obtain at least one first data.

[0228] The data processing apparatus provided in this embodiment can execute the method provided in the method embodiments, and has similar implementation principles and technical effects. Details are not described herein.

[0229] Figure 8 A structural schematic diagram of a data processing apparatus provided in this application is shown in FIG. 8. Figure 8 As shown in FIG. 8, the data processing apparatus 80 provided in this embodiment includes at least one processor 801 and a memory 802. Optionally, the data processing apparatus 80 further includes a communication component 803. The processor 801, the memory 802 and the communication component 803 are connected through a bus.

[0230] In the specific implementation process, the at least one processor 801 executes the computer execution instructions stored in the memory 802, so that the at least one processor 801 executes the method described above.

[0231] The specific implementation process of the processor 801 can refer to the method embodiments described above, which have similar implementation principles and technical effects, and thus will not be described here.

[0232] In the above embodiments, it should be understood that the processor can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the disclosed method can be directly embodied as hardware processor execution, or executed by a combination of hardware and software modules in the processor.

[0233] The memory can include a random access memory (RAM), and can also include a non-volatile memory (NVM), such as at least one disk memory.

[0234] The bus can be an industry standard architecture (ISA) bus, a peripheral component (PCI) bus, an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application does not limit to only one bus or one type of bus.

[0235] The present application also provides a computer program product, comprising a computer program, which is executed by a processor to implement the above method.

[0236] The present application also provides a computer readable storage medium, which stores computer execution instructions, and when a processor executes the computer execution instructions, the above method is implemented.

[0237] The above-mentioned readable storage medium can be realized by any type of volatile or nonvolatile storage devices or their combinations, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special purpose computer.

[0238] An exemplary readable storage medium is coupled to the processor, so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be an integral part of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in the device.

[0239] The division of units is only a logical function division, and in actual implementation, there can be another division manner, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0240] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on multiple network units. According to actual needs, part or all of the units can be selected to achieve the purpose of the embodiment scheme.

[0241] In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit.

[0242] If the functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application or the parts of the technical solutions that essentially contribute to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the embodiments of the method of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.

[0243] It can be understood by those skilled in the art that all or part of the steps of the above-mentioned method embodiments can be completed by program instruction related hardware. The aforementioned program can be stored in a computer readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk, and various media that can store program codes.

[0244] Finally, it should be noted that: those skilled in the art will easily think of other embodiments of the present application after considering the specification and practicing the application disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application that follow the general principles of the present application and include common knowledge or conventional technical means in the art that are not disclosed in the present application, and is not limited to the precise structure described above and shown in the drawings, and various modifications and changes can be made without departing from the scope thereof. The scope of the present application is only limited by the appended claims.

Claims

1. A data processing method, characterized in that, include: Obtain a data processing request, the data processing request including at least one first data, the first data including at least one first field and at least one second field, the field type of the first field being a default type, and the field type of the second field being a non-default type; Based on the data processing request, a target data set is determined, which includes first tag data and second tag data. The data type of the first tag data is a general type, and the data type of the second tag data is a non-general type. Obtain the first page, and render the first page according to the target data set to obtain the target page; Send the target page to a preset device, or display the target page.

2. The method according to claim 1, characterized in that, Based on the data processing request, the target data is determined, including: Obtain preset rules, which include at least version-related rules, format-related rules, and type-related rules; According to the preset rules, the at least one first data is verified to obtain a verification result; If the verification result is successful, then the at least one first tag data is determined based on the at least one first field, and the at least one second tag data is determined based on the at least one second field; The target data set is determined to include at least one first tag data and at least one second tag data.

3. The method according to claim 2, characterized in that, Determining the at least one first tag data based on the at least one first field includes: Based on the identifier type of each first field, at least one first intermediate set is determined, wherein the identifier types of all first fields in the first intermediate set are the same; For any given first intermediate set, determine the information type corresponding to each first field in the first intermediate set; Based on the information type corresponding to each first field in the first intermediate set, obtain the field information corresponding to each first field in the preset storage area; The first tag data is determined to include field information corresponding to each first field in the first intermediate set.

4. The method according to claim 2, characterized in that, The data processing request also includes field information for each second field; determining the at least one second tag data based on the at least one second field includes: Based on the identifier type of each second field, at least one second intermediate set is determined, wherein the identifier types of all second fields in the second intermediate set are the same; For any given second intermediate set, obtain the field information corresponding to each of the second fields; The second tag data is determined to include field information corresponding to each second field in the second intermediate set.

5. The method according to any one of claims 1-4, characterized in that, The first page is rendered based on the target data set to obtain the target page, including: Obtain and load at least one first component corresponding to the at least one first tag data in the preset storage area; Based on the at least one second tag data, dynamically load at least one second component; Based on the at least one first component, the first page is rendered to obtain a first intermediate page, wherein the first intermediate page includes at least one first tag page corresponding to the at least one first tag data; Based on the at least one second component, the first page is rendered to obtain a second intermediate page, the second intermediate page including at least one second tag page corresponding to the at least one second tag data; The target page is determined to include at least one first tab page and at least one second tab page.

6. The method according to claim 5, characterized in that, The method further includes: In response to a switching command, at least one candidate component is determined; The at least one candidate component is retrieved and loaded from the preset storage area, or the at least one candidate component is dynamically loaded.

7. The method according to any one of claims 1-6, characterized in that, Get data processing requests, including: Obtain a preset file, the preset file including the at least one initial data; In response to an update request, at least one initial data to be updated is obtained from the preset file; According to the update request, at least one initial data to be updated is updated to obtain at least one first data.

8. A data processing apparatus, characterized in that, include: The acquisition module is used to acquire a data processing request, the data processing request including at least one first data, the first data including at least one first field and at least one second field, the field type of the first field being a default type, and the field type of the second field being a non-default type; The determination module is used to determine a target data set according to the data processing request. The target data set includes first tag data and second tag data. The data type of the first tag data is a general type, and the data type of the second tag data is a non-general type. The processing module is used to obtain a first page and render the first page according to the target data set to obtain a target page; The sending module is used to send the target page to a preset device, or to display the target page.

9. A data processing device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-7.

11. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method described in any one of claims 1-7.