CN114625458A - Page data processing method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN114625458A
CN114625458A CN202210143016.2A CN202210143016A CN114625458A CN 114625458 A CN114625458 A CN 114625458A CN 202210143016 A CN202210143016 A CN 202210143016A CN 114625458 A CN114625458 A CN 114625458A
Authority
CN
China
Prior art keywords
data
page
configuration
personalized
unified
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210143016.2A
Other languages
Chinese (zh)
Inventor
李晓刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202210143016.2A priority Critical patent/CN114625458A/en
Publication of CN114625458A publication Critical patent/CN114625458A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a page data processing method and device, electronic equipment and a storage medium, and relates to the technical field of data processing. One embodiment of the method comprises: acquiring an identifier of a client to inquire a service type of the client and determine corresponding display configuration data and a data processing program; calling a preset first component library, and generating a uniform page display component according to uniform configuration data in the display configuration data; calling a second component library, and generating a personalized page display component according to personalized configuration data in the display configuration data; sending the uniform page display component and the personalized page display component to a client to render to obtain a target page; and receiving target data input by the client based on the target page, and calling a data processing program to process the target data. The implementation method can solve the problem that the service processing efficiency is reduced because the user-oriented unified page is developed and cannot meet the individual requirements of each service.

Description

Page data processing method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and an apparatus for processing page data, an electronic device, and a storage medium.
Background
In the fields of finance and the like, various services need to be user-oriented, so that system user-oriented page development is generally uniformly carried out, so that a user can input data through a page, and the system can process the data input by the user. Due to the wide service range, the page development can integrate the requirements of the main project and then develop a uniform page facing the user, but the mode can easily cause that the personalized requirements of each service cannot be met, thereby causing the reduction of the service processing efficiency.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for processing page data, an electronic device, and a storage medium, which can solve the problem that a unified page for a user is developed, and personalized requirements of each service cannot be met, so that service processing efficiency is reduced.
To achieve the above object, according to an aspect of an embodiment of the present invention, a method for processing page data is provided.
The page data processing method of the embodiment of the invention comprises the following steps: responding to a page access request of a client, acquiring an identifier of the client to inquire a service type of the client and determine corresponding display configuration data and a data processing program; calling a preset first component library, and generating a uniform page display component according to uniform configuration data in the display configuration data; calling a second component library, and generating a personalized page display component according to personalized configuration data in the display configuration data; sending the uniform page display component and the personalized page display component to the client to render a target page; and receiving target data input by the client based on the target page, and calling the data processing program to process the target data.
In one embodiment, invoking the data handler to process the target data comprises:
calling the data processing program to screen first data corresponding to the uniform page display component and second data corresponding to the personalized page display component from the target data;
and establishing and storing an association relation between the first data and the second data.
In yet another embodiment, the filtering the first data corresponding to the unified page display component and the second data corresponding to the personalized page display component includes:
acquiring a parameter value of an attribute parameter corresponding to the target data to judge whether the parameter value meets a configuration verification condition;
if so, screening first data corresponding to the unified page display component and second data corresponding to the personalized page display component; and if not, sending a data exception message to the client.
In yet another embodiment, the attribute parameters include one or more of data display location, data length, data type.
In another embodiment, before said responding to the page access request of the client, further comprising:
receiving personalized configuration information, and identifying personalized configuration data and data processing configuration information in the personalized configuration information;
acquiring unified configuration data to establish an association relationship between the unified configuration data and personalized configuration data;
acquiring unified data processing configuration information to embed the data processing configuration information into the unified data processing configuration information to obtain a data processing program.
In another embodiment, before the receiving the personalized configuration information, the method further includes:
responding to a personalized page configuration request, and acquiring a service type in the page configuration request to inquire a corresponding page data configuration template;
and sending the page data configuration template to display the page data configuration template, and further inputting the personalized configuration information based on the page data configuration template.
In another embodiment, obtaining the unified configuration data and establishing the association relationship between the unified configuration data and the personalized configuration data includes:
constructing first JSON data corresponding to the same configuration information data;
and acquiring second JSON data corresponding to the unified configuration data to establish an incidence relation between the first JSON data and the second JSON data.
In yet another embodiment, embedding the data processing configuration information into the unified data processing configuration information results in a data processing program comprising:
and constructing a corresponding script based on the data processing configuration information, and embedding the script into the unified data processing configuration information to obtain a data processing program.
To achieve the above object, according to another aspect of the embodiments of the present invention, there is provided a page data processing apparatus.
The page data processing device of the embodiment of the invention comprises: the determining unit is used for responding to a page access request of a client, acquiring an identifier of the client, inquiring a service type of the client, and determining corresponding display configuration data and a data processing program; the generating unit is used for calling a preset first component library and generating a uniform page display component according to uniform configuration data in the display configuration data; calling a second component library, and generating a personalized page display component according to personalized configuration data in the display configuration data; the sending unit is used for sending the unified page display component and the personalized page display component to the client so as to render a target page; and the processing unit is used for receiving target data input by the client based on the target page and calling the data processing program to process the target data.
In an embodiment, the processing unit is specifically configured to:
calling the data processing program to screen first data corresponding to the uniform page display component and second data corresponding to the personalized page display component from the target data;
and establishing and storing an association relation between the first data and the second data.
In another embodiment, the processing unit is specifically configured to:
acquiring a parameter value of an attribute parameter corresponding to the target data to judge whether the parameter value meets a configuration verification condition;
if so, screening first data corresponding to the unified page display component and second data corresponding to the personalized page display component; and if not, sending a data exception message to the client.
In yet another embodiment the property parameters comprise one or more of data display location, data length, data type.
In yet another embodiment, the apparatus further comprises:
the identification unit is used for receiving personalized configuration information and identifying personalized configuration data and data processing configuration information in the personalized configuration information;
the establishing unit is used for acquiring the uniform configuration data so as to establish the incidence relation between the uniform configuration data and the personalized configuration data;
and the embedding unit is used for acquiring the unified data processing configuration information so as to embed the data processing configuration information into the unified data processing configuration information to obtain a data processing program.
In yet another embodiment, the apparatus further comprises:
the system comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for responding to a personalized page configuration request, acquiring the service type in the page configuration request and inquiring a corresponding page data configuration template;
the obtaining unit is further configured to send the page data configuration template to display the page data configuration template, and further input the personalized configuration information based on the page data configuration template.
In another embodiment, the establishing unit is specifically configured to:
constructing first JSON data corresponding to the same configuration information data;
and acquiring second JSON data corresponding to the unified configuration data to establish an incidence relation between the first JSON data and the second JSON data.
In a further embodiment, the embedding unit is specifically configured to:
and constructing a corresponding script based on the data processing configuration information, and embedding the script into the unified data processing configuration information to obtain a data processing program.
To achieve the above object, according to still another aspect of an embodiment of the present invention, there is provided an electronic apparatus.
An electronic device according to an embodiment of the present invention includes: one or more processors; the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors realize the page data processing method provided by the embodiment of the invention.
To achieve the above object, according to still another aspect of an embodiment of the present invention, there is provided a computer-readable medium.
A computer-readable medium of an embodiment of the present invention stores thereon a computer program, and when the computer program is executed by a processor, the computer program implements a processing method of page data provided by an embodiment of the present invention.
To achieve the above object, according to still another aspect of an embodiment of the present invention, there is provided a computer program product.
The computer program product of the embodiment of the present invention includes a computer program, and when the computer program is executed by a processor, the method for processing page data provided by the embodiment of the present invention is implemented.
One embodiment of the above invention has the following advantages or benefits: in the embodiment of the invention, for the page access request, the corresponding display configuration data and the corresponding data processing program can be determined based on the business type of the client; the display configuration data comprises uniform configuration data and personalized configuration data, so that a uniform page display component and a personalized page display component can be generated through a corresponding component library, the client side renders the page, the rendered page comprises uniformly developed page data, and the personalized page data corresponding to the service type is also included, so that the personalized requirements of the user can be met, and the target data input by the client side based on the target page can be received and then processed through a data processing program. In this way, in the embodiment of the present invention, the unified configuration data and the personalized configuration data are configured in advance, so that the unified page display component and the personalized page display component can be generated, and the rendered target page includes both the unified page data and the personalized page data corresponding to the service type, so that the personalized requirements of the service can be satisfied, and the processing efficiency of the service data can be improved.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
fig. 1 is a schematic diagram of a main flow of a page data processing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of another main flow of a page data processing method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the main units of a page data processing apparatus according to an embodiment of the present invention;
FIG. 4 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;
FIG. 5 is a schematic block diagram of a computer system suitable for use in implementing embodiments of the present invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. According to the technical scheme, the data acquisition, storage, use, processing and the like meet relevant regulations of national laws and regulations.
An embodiment of the present invention provides a method for processing page data, where the method is executable by a system for processing page data, and as shown in fig. 1, the method includes:
s101: and responding to a page access request of the client, acquiring the identifier of the client to inquire the service type of the client, and determining corresponding display configuration data and a data processing program.
The client can be a terminal facing the user, and the corresponding service types of the client are different, so that the corresponding display pages are different. In the embodiment of the present invention, in order to meet the requirements of different service types on page content, corresponding configuration information is configured for different service types, which specifically includes display configuration data and a data processing program, where the display configuration data is used to generate a user-oriented target page, and the data processing program is used to process data input by a user through the target page. In addition, in order to accurately determine the page accessed by the client, a corresponding relationship between the client identifier and the service type is established in advance, so that personalized content required to be included in the client display page is determined. In this step, after the identifier of the client is obtained, the corresponding service type may be queried based on the identifier, and then the display configuration data and the data processing program corresponding to the service type may be determined.
S102: calling a preset first component library, and generating a uniform page display component according to uniform configuration data in the display configuration data; and calling the second component library, and generating a personalized page display component according to the personalized configuration data in the display configuration data.
The first component library is used for generating uniformly developed page content in a target page, the components in the second component library are used for generating personalized page content in the target page, and the first component library and the second component library are configured in advance. In this step, the display configuration data includes the unified configuration data and the personalized configuration data, so that the unified configuration data can be matched with the components in the first component library by calling the first component library to generate a unified page display component, and the personalized configuration data can be matched with the components in the second component library by calling the second component library to generate a personalized page display component.
S103: and sending the uniform page display component and the personalized page display component to the client to render and obtain the target page.
The client side can perform page rendering based on the unified page display component and the personalized page display component, and therefore the target page is obtained. Specifically, the target page rendering may include page architecture rendering, and display of initialized default data for parameters in the page.
S104: and receiving target data input by the client based on the target page, and calling a data processing program to process the target data.
After the target page is displayed on the client, the user can input target data to be processed based on the content displayed on the page, the client sends the target data input by the user to the processing system, and after the processing system receives the target data, the processing system can call a corresponding data processing program to process the target data.
Specifically, the step of calling the data processing program to process the target data may be executed as: calling a data processing program to screen first data corresponding to the uniform page display component and second data corresponding to the personalized page display component from the target data; and establishing and storing an association relation between the first data and the second data.
The target data is input based on the target page, so that the target data can comprise first data corresponding to the uniform page display component and second data corresponding to the personalized page display component, the first data and the second data need to be stored after data processing, and in order to ensure the accuracy of data storage, the association relationship between the first data and the second data needs to be established and stored, so that operations such as query of the subsequent data are facilitated.
It should be noted that, in the embodiment of the present invention, the processing of the target data may further include checking the target data, so the step of screening the first data and the second data may be performed as: acquiring a parameter value of an attribute parameter corresponding to target data to judge whether the parameter value meets a configuration check condition; if so, screening first data corresponding to the unified page display component and second data corresponding to the personalized page display component; if not, sending a data exception message to the client.
The target data is verified, usually the attribute parameters of the target data are verified, so that the parameter values of the attribute parameters corresponding to the target data can be obtained to judge whether the parameter values meet configuration verification conditions; if yes, determining that the target data passes verification, and further performing screening of first data corresponding to the unified page display component and second data corresponding to the personalized page display component; and if not, sending a data exception message to the client to prompt the user that the data input is wrong.
In this embodiment of the present invention, the attribute parameters may include one or more items of a data display position, a data length, and a data type, and the preset condition corresponding to each item of attribute parameters may be configured in advance.
In the embodiment of the invention, the uniform configuration data and the personalized configuration data are configured in advance, so that a uniform page display component and a personalized page display component can be generated, and the rendered target page comprises both the uniform page data and the personalized page data corresponding to the service type, thereby meeting the personalized requirements of the service and improving the processing efficiency of the service data.
In the embodiment of the present invention, before step S101 is executed, personalized configuration is generally required. The following describes, in detail, a personalized configuration method in an embodiment of the present invention with reference to the embodiment shown in fig. 1, and as shown in fig. 2, the method includes:
s201: and receiving the personalized configuration information, and identifying personalized configuration data and data processing configuration information in the personalized configuration information.
The personalized configuration information comprises personalized configuration data and data processing configuration information, the personalized configuration data is used for configuring the personalized page content in the target page, and the data processing configuration information is used for processing data input based on the personalized page content.
The personalized configuration can be triggered by a page configuration request, the page configuration request can be triggered automatically, and the page configuration request can also be sent by an external device. The page configuration request includes a service type to indicate which personalized page configuration is performed, that is, a corresponding page data configuration template is queried. The personalized configuration information may be entered via a page data configuration template. In the embodiment of the invention, the page data configuration template can be preset so as to facilitate the user to input the personalized configuration information, different service types correspond to different personalized configuration information, and the page data configuration template inquired in the step can be sent to the configuration equipment so as to facilitate the display of the page data configuration template, so that the personalized configuration information is input based on the page data configuration template.
It should be noted that the page data configuration template may include a custom field configuration to configure personalized fields, that is, personalized fields corresponding to some service types and attribute parameters of the fields may be created based on uniform page content. The attribute parameters of the fields can be stored in metadata of a JSON structure and stored to a corresponding server, and meanwhile, the data storage structure and logic are expanded.
S202: and acquiring the unified configuration data to establish an association relationship between the unified configuration data and the personalized configuration data.
Because the personalized page content is personalized configuration performed on the basis of the uniform configuration page, uniform configuration data needs to be acquired in the step to establish an association relationship between the uniform configuration data and the personalized configuration data, so that the completed display configuration data can be inquired when the target page is generated.
Specifically, in this step, the unified configuration information data may be stored through the JSON structure, that is, first JSON data corresponding to the unified configuration information data is constructed, and then second JSON data corresponding to the unified configuration data is obtained, so as to establish an association relationship between the first JSON data and the second JSON data.
S203: and acquiring the unified data processing configuration information to embed the data processing configuration information into the unified data processing configuration information to obtain a data processing program.
Specifically, after receiving the unified data processing configuration information in this step, a corresponding script may be first constructed based on the script language, and then the script is embedded into the unified data processing configuration information to obtain a data processing program, so as to maintain data consistency.
In the embodiment of the invention, the uniform configuration data and the personalized configuration data are configured in advance, so that a uniform page display component and a personalized page display component can be generated, and the rendered target page comprises both the uniform page data and the personalized page data corresponding to the service type, thereby meeting the personalized requirements of the service and improving the processing efficiency of the service data.
In order to solve the problems in the prior art, an embodiment of the present invention provides an apparatus 300 for processing page data, as shown in fig. 3, the apparatus 300 includes:
a determining unit 301, configured to, in response to a page access request of a client, obtain an identifier of the client, to query a service type to which the client belongs, and determine corresponding display configuration data and a data processing program;
the generating unit 302 is configured to invoke a preset first component library, and generate a unified page display component according to unified configuration data in the display configuration data; calling a second component library, and generating a personalized page display component according to personalized configuration data in the display configuration data;
a sending unit 303, configured to send the unified page display component and the personalized page display component to the client, so as to render a target page;
a processing unit 304, configured to receive target data input by the client based on the target page, and invoke the data processing program to process the target data.
It should be understood that the manner of implementing the embodiment of the present invention is the same as the manner of implementing the embodiment shown in fig. 1, and the description thereof is omitted.
In one embodiment, invoking the data handler to process the target data comprises:
calling the data processing program to screen first data corresponding to the uniform page display component and second data corresponding to the personalized page display component from the target data;
and establishing and storing the incidence relation between the first data and the second data.
In yet another embodiment, the filtering the first data corresponding to the unified page display component and the second data corresponding to the personalized page display component includes:
acquiring a parameter value of an attribute parameter corresponding to the target data to judge whether the parameter value meets a configuration verification condition;
if so, screening first data corresponding to the unified page display component and second data corresponding to the personalized page display component; and if not, sending a data exception message to the client.
In yet another embodiment, the attribute parameters include one or more of data display location, data length, data type.
In another embodiment, before the responding to the page access request of the client, the method further comprises:
receiving personalized configuration information, and identifying personalized configuration data and data processing configuration information in the personalized configuration information;
acquiring unified configuration data to establish an association relationship between the unified configuration data and personalized configuration data;
acquiring unified data processing configuration information to embed the data processing configuration information into the unified data processing configuration information to obtain a data processing program.
In yet another embodiment, before the receiving the personalized configuration information, the method further includes:
responding to a personalized page configuration request, acquiring a service type in the page configuration request to inquire a corresponding page data configuration template;
and sending the page data configuration template to display the page data configuration template, and further inputting the personalized configuration information based on the page data configuration template.
In another embodiment, obtaining the unified configuration data and establishing the association relationship between the unified configuration data and the personalized configuration data includes:
constructing first JSON data corresponding to the same configuration information data;
and acquiring second JSON data corresponding to the unified configuration data to establish an incidence relation between the first JSON data and the second JSON data.
In yet another embodiment, embedding the data processing configuration information into the unified data processing configuration information results in a data processing program comprising:
and constructing a corresponding script based on the data processing configuration information, and embedding the script into the unified data processing configuration information to obtain a data processing program.
It should be understood that the embodiment of the present invention is implemented in the same manner as the embodiment shown in fig. 1 and 2, and is not described herein again.
In the embodiment of the invention, the uniform configuration data and the personalized configuration data are configured in advance, so that a uniform page display component and a personalized page display component can be generated, and the rendered target page comprises both the uniform page data and the personalized page data corresponding to the service type, thereby meeting the personalized requirements of the service and improving the processing efficiency of the service data.
According to an embodiment of the present invention, an electronic device and a readable storage medium are also provided.
The electronic device of the embodiment of the invention comprises: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the processor, and the instructions are executed by the at least one processor to cause the at least one processor to execute the processing method of the page data provided by the embodiment of the invention.
Fig. 4 shows an exemplary system architecture 400 of a page data processing method or a page data processing apparatus to which an embodiment of the present invention can be applied.
As shown in fig. 4, the system architecture 400 may include terminal devices 401, 402, 403, a network 404, and a server 405. The network 404 serves as a medium for providing communication links between the terminal devices 401, 402, 403 and the server 405. Network 404 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use terminal devices 401, 402, 403 to interact with a server 405 over a network 404 to receive or send messages or the like. Various client applications may be installed on the terminal devices 401, 402, 403.
The terminal devices 401, 402, 403 may be, but are not limited to, smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 405 may be a server that provides various services, and the server may analyze and process data such as a received product information query request, and feed back a processing result (for example, product information — just an example) to the terminal device.
It should be noted that the processing method of the page data provided by the embodiment of the present invention is generally executed by the server 405, and accordingly, the processing device of the page data is generally disposed in the server 405.
It should be understood that the number of terminal devices, networks, and servers in fig. 4 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 5, a block diagram of a computer system 500 suitable for use in implementing embodiments of the present invention is shown. The computer system illustrated in FIG. 5 is only an example and should not impose any limitations on the scope of use or functionality of embodiments of the invention.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU)501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 501.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a unit, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a determination unit, a generation unit, a transmission unit, and a processing unit. Where the names of these units do not in some cases constitute a limitation of the unit itself, for example, a determination unit may also be described as a "unit determining a function".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to perform the method for processing page data provided by the present invention.
As another aspect, the present invention further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the method for processing page data provided by the embodiment of the present invention.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (15)

1. A method for processing page data is characterized by comprising the following steps:
responding to a page access request of a client, acquiring an identifier of the client to inquire a service type of the client and determine corresponding display configuration data and a data processing program;
calling a preset first component library, and generating a uniform page display component according to uniform configuration data in the display configuration data; calling a second component library, and generating a personalized page display component according to personalized configuration data in the display configuration data;
sending the uniform page display component and the personalized page display component to the client to render a target page;
and receiving target data input by the client based on the target page, and calling the data processing program to process the target data.
2. The method of claim 1, wherein invoking the data handler to process the target data comprises:
calling the data processing program to screen first data corresponding to the uniform page display component and second data corresponding to the personalized page display component from the target data;
and establishing and storing an association relation between the first data and the second data.
3. The method of claim 2, wherein filtering the first data corresponding to the unified page display component and the second data corresponding to the personalized page display component comprises:
acquiring a parameter value of an attribute parameter corresponding to the target data to judge whether the parameter value meets a configuration verification condition;
if so, screening first data corresponding to the unified page display component and second data corresponding to the personalized page display component; and if not, sending a data exception message to the client.
4. The method of claim 3, wherein the attribute parameters comprise one or more of data display location, data length, and data type.
5. The method of claim 1, further comprising, prior to the responding to the client's page access request:
receiving personalized configuration information, and identifying personalized configuration data and data processing configuration information in the personalized configuration information;
acquiring unified configuration data to establish an association relationship between the unified configuration data and personalized configuration data;
acquiring unified data processing configuration information to embed the data processing configuration information into the unified data processing configuration information to obtain a data processing program.
6. The method of claim 5, further comprising, prior to said receiving personalized configuration information:
responding to a personalized page configuration request, and acquiring a service type in the page configuration request to inquire a corresponding page data configuration template;
and sending the page data configuration template to display the page data configuration template, and further inputting the personalized configuration information based on the page data configuration template.
7. The method of claim 5, wherein obtaining unified configuration data and establishing an association between the unified configuration data and personalized configuration data comprises:
constructing first JSON data corresponding to the uniform configuration information data;
and acquiring second JSON data corresponding to the unified configuration data to establish an incidence relation between the first JSON data and the second JSON data.
8. The method of claim 5, wherein embedding the unified data processing configuration information into the unified data processing configuration information results in a data processing program comprising:
and constructing a corresponding script based on the data processing configuration information, and embedding the script into the unified data processing configuration information to obtain a data processing program.
9. An apparatus for processing page data, comprising:
the determining unit is used for responding to a page access request of a client, acquiring an identifier of the client, inquiring a service type of the client, and determining corresponding display configuration data and a data processing program;
the generating unit is used for calling a preset first component library and generating a uniform page display component according to uniform configuration data in the display configuration data; calling a second component library, and generating a personalized page display component according to personalized configuration data in the display configuration data;
the sending unit is used for sending the unified page display component and the personalized page display component to the client so as to render a target page;
and the processing unit is used for receiving target data input by the client based on the target page and calling the data processing program to process the target data.
10. The apparatus according to claim 9, wherein the processing unit is specifically configured to:
calling the data processing program to screen first data corresponding to the unified page display component and second data corresponding to the personalized page display component from the target data;
and establishing and storing an association relation between the first data and the second data.
11. The apparatus according to claim 10, wherein the processing unit is specifically configured to:
acquiring a parameter value of an attribute parameter corresponding to the target data to judge whether the parameter value meets a configuration verification condition;
if so, screening first data corresponding to the unified page display component and second data corresponding to the personalized page display component; and if not, sending a data exception message to the client.
12. The apparatus of claim 9, further comprising:
the identification unit is used for receiving personalized configuration information and identifying personalized configuration data and data processing configuration information in the personalized configuration information;
the establishing unit is used for acquiring unified configuration data so as to establish an incidence relation between the unified configuration data and the personalized configuration data;
and the embedding unit is used for acquiring the unified data processing configuration information so as to embed the data processing configuration information into the unified data processing configuration information to obtain a data processing program.
13. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-8.
14. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-8.
15. A computer program product comprising a computer program, characterized in that the program realizes the method according to any of claims 1-8 when executed by a processor.
CN202210143016.2A 2022-02-16 2022-02-16 Page data processing method and device, electronic equipment and storage medium Pending CN114625458A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210143016.2A CN114625458A (en) 2022-02-16 2022-02-16 Page data processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210143016.2A CN114625458A (en) 2022-02-16 2022-02-16 Page data processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114625458A true CN114625458A (en) 2022-06-14

Family

ID=81898048

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210143016.2A Pending CN114625458A (en) 2022-02-16 2022-02-16 Page data processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114625458A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115640447A (en) * 2022-12-07 2023-01-24 百融至信(北京)科技有限公司 Data query method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115640447A (en) * 2022-12-07 2023-01-24 百融至信(北京)科技有限公司 Data query method and device

Similar Documents

Publication Publication Date Title
CN109684188B (en) Test method and device
CN111722947A (en) Service calling method and system
CN109766148B (en) Method and apparatus for processing interface method calls
CN110706093A (en) Accounting processing method and device
CN107273226B (en) Method and device for integrating components in android system and calling integrated components
WO2017143747A1 (en) Network request method and system for network terminal
CN114675820A (en) Service arrangement data processing method and device, electronic equipment and storage medium
CN108733527B (en) System, method and apparatus for testing server functionality
CN114625458A (en) Page data processing method and device, electronic equipment and storage medium
CN112433713A (en) Application program design graph processing method and device
CN111414154A (en) Method and device for front-end development, electronic equipment and storage medium
CN112947919A (en) Method and device for constructing service model and processing service request
CN111124523A (en) Method and apparatus for initializing applications
CN114722108A (en) Customer service data processing method and device, electronic equipment and storage medium
CN113779122A (en) Method and apparatus for exporting data
CN112579428A (en) Interface testing method and device, electronic equipment and storage medium
CN112261072A (en) Service calling method, device, equipment and storage medium
CN109376023B (en) Method and equipment for generating calling information and issuing return code group
CN114721609A (en) Method and device for printing file, electronic equipment and computer readable medium
CN114281697A (en) Test data generation method and device
CN115630836A (en) Service processing method and device, electronic equipment and storage medium
CN113779078A (en) Cache data acquisition method and device
CN115146202A (en) Page form generation method and device
CN113779468A (en) Method and device for processing page interface data
CN116737662A (en) Method, device, electronic equipment and storage medium for processing business data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination