[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN116737151A - Form page generation method, device, equipment and storage medium - Google Patents

Form page generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN116737151A
CN116737151A CN202310711077.9A CN202310711077A CN116737151A CN 116737151 A CN116737151 A CN 116737151A CN 202310711077 A CN202310711077 A CN 202310711077A CN 116737151 A CN116737151 A CN 116737151A
Authority
CN
China
Prior art keywords
page
field data
target
generation request
database
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
CN202310711077.9A
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.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202310711077.9A priority Critical patent/CN116737151A/en
Publication of CN116737151A publication Critical patent/CN116737151A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a form page generation method, a form page generation device, form page generation equipment and a storage medium, which can be used in the financial field or other fields. The method is applied to the server and comprises the following steps: acquiring a page generation request issued by front-end equipment, wherein the page generation request is generated based on a user type logged in the upper page and an operation event of the upper page target control; analyzing the page generation request to obtain a page sequence number; acquiring target page field data from a database based on the page sequence number; generating a form page based on the target page field data, and sending the form page to the front-end equipment so as to display the form page on the front-end equipment. The dynamic generation of the form page is realized, the efficiency of the newly added page is improved, and when the page needs to be adjusted, the maintenance of the corresponding field data in the database is only needed, so that the page maintenance efficiency is improved.

Description

Form page generation method, device, equipment and storage medium
Technical Field
The present application relates to the financial field or other fields, and in particular, to a form page generating method, apparatus, device, and storage medium.
Background
Pages or web pages are an important component of an informatization system. The user may browse the information through the page, and may also collect user information or needs through the page (e.g., form page).
In the related art, a new page needs to be completed by modifying background codes, and development time is long, so that efficiency of the new page is low, and the requirement of rapid deployment of the page cannot be met.
Accordingly, there is a need to provide an efficient page generation scheme.
Disclosure of Invention
The application provides a method, a device, equipment and a storage medium for generating a form page, which are used for solving the problem of low efficiency of newly-built form pages.
In a first aspect, the present application provides a form page generating method, applied to a server, where the method includes:
acquiring a page generation request issued by front-end equipment, wherein the page generation request is generated based on a user type logged in the upper page and an operation event of the upper page target control;
analyzing the page generation request to obtain a page sequence number;
acquiring target page field data from a database based on the page sequence number;
generating a form page based on the target page field data, and sending the form page to the front-end equipment so as to display the form page on the front-end equipment.
In a second aspect, the present application provides another form page generating method, applied to a front-end device, where the method includes:
generating a page generation request based on the user type of a login upper page and an operation event of the upper page target control, wherein the page generation request carries a page serial number of a form page to be generated;
the page generation request is sent to a server side, so that the server side obtains the page serial number by analyzing the page generation request, obtains target page field data from a database based on the page serial number, and generates a form page based on the target page field data;
and receiving the form page sent by the server and displaying the form page.
In a third aspect, the present application provides a form page generating device, applied to a server, including:
the request acquisition module is used for acquiring a page generation request issued by front-end equipment, wherein the page generation request is generated based on the user type of logging in the upper page and the operation event of the upper page target control;
the serial number acquisition module is used for analyzing the page generation request to obtain a page serial number;
the page field data acquisition module is used for acquiring target page field data from a database based on the page sequence number;
and the form page generation module is used for generating a form page based on the target page field data and sending the form page to the front-end equipment so as to display the form page on the front-end equipment.
In a fourth aspect, the present application provides an electronic device comprising a processor, and a memory communicatively coupled to the processor; the memory stores computer-executable instructions; the processor executes computer-executable instructions stored in the memory to implement a form page generation method as provided in the first or second aspect of the present application.
In a fifth aspect, the present application provides a computer-readable storage medium having stored therein computer-executable instructions which, when executed by a processor, are adapted to carry out a form page generation method as provided in the first or second aspect of the application.
In a sixth aspect, the present application provides a computer program product comprising a computer program which when executed by a processor implements a form page generation method as provided in the first or second aspect of the application.
According to the form page generation method, the form page generation device, the form page generation equipment and the storage medium, aiming at an application scene of newly creating a form page on a main page, a user logging in an upper page triggers a page generation request by operating a target control of the page display end, and the request is not used based on different logged-in user types and different operation events of a target space; the server analyzes the page generation request to obtain a corresponding page sequence number, and searches page field data corresponding to the newly built page, namely target page field data, from the database through the page sequence number, and automatically builds a form page based on the target page field data, so that the efficiency of the new form page building is improved, and when the form page needs to be adjusted, the page can be realized by maintaining the page field data in the database, and the efficiency of page maintenance is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present application;
FIG. 2 is a flowchart illustrating a method for generating a form page according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for generating a form page according to another embodiment of the present application;
FIG. 4 is a diagram of a page database table according to one embodiment of the present application;
FIG. 5 is a schematic diagram of a form page generating device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a block diagram of a head-end apparatus according to an exemplary embodiment of the present application.
Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or fully authorized by each party, and the collection, use and processing of the related data need to comply with related laws and regulations and standards, and provide corresponding operation entries for the user to select authorization or rejection.
It should be noted that the form page generating method and apparatus of the present application may be used in the financial field, and may be used in any field other than the financial field, and the application field of the form page generating method and apparatus of the present application is not limited.
First, the terms related to the present application will be explained:
form page: or form web pages, for example, a personal information registration page, for the type of page that information is added, entered, or presented.
Various form pages, such as a loan application page, a personal information filling page, a credit approval page, a bank card information display page, a property detail page and the like, are required to be designed based on different services in a banking system. In order to accommodate various business needs, banking systems need to quickly provide the pages required for services, placing higher demands on the speed of form page creation and updating.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present application, as shown in fig. 1, a user opens an upper page provided by a banking system, such as a main interface of a banking application program, a home page of a banking website, a credit card approval webpage, etc., through a user terminal, and generates a URL (Uniform Resource Locator ) request after detecting a triggering event, such as a single click event or a double click event, of a target control by operating a target control, such as a single click target control, a double click target control, a touch target control, etc., displayed on the upper page. Taking 2 target controls as an example in fig. 1, different target spaces trigger different URL requests. The server searches a corresponding response message from the server based on the received URL request, sends the response message to the user terminal, creates or opens a form webpage in a browser of the user terminal after rendering through the browser of the user terminal, and collects user information, displays information to the user or provides other services through the form webpage.
The response message comprises a front-end packaging file, wherein the front-end packaging file comprises html files and data required by page loading, such as pictures, videos and the like.
By way of example, the target control may be a setup control, a transacted progress query control, an approval management control, and the like.
When more form pages are needed to be newly built and the contents are different, the efficiency is low by respectively designing and packaging the corresponding front-end packaging files for each form page.
Since form pages, especially those under the same banking system, have similar page layouts, such as using the same fonts, backgrounds, button styles, etc. Compared with the traditional form page modification or new creation mode through background modification codes, the application provides a dynamic generation method of the form page, by storing the page field data of the form page in the database, when a page generation request is received, searching the target page field data corresponding to the page from the database based on the page serial number corresponding to the request, thereby automatically generating the required form page based on the searched target page field data, having high form page generation efficiency, and some field data which can be shared by a plurality of form pages, and when designing the new form page, only providing the field data unique to the form page, and simplifying the form page design. When the content of the existing form page needs to be adjusted, only the field data corresponding to the form page stored in the database needs to be modified, so that the efficiency of page modification is improved.
Fig. 2 is a schematic flow chart of a form page generating method according to an embodiment of the present application, where the form page generating method is applied to a server, and may be executed by a device having a corresponding data processing capability, such as a form page generating device. As shown in fig. 2, the form page generation method includes the steps of:
step S201, a page generation request issued by front-end equipment is obtained, wherein the page generation request is generated based on a user type logged in the upper page and an operation event of the upper page target control.
The page generation request is a request which is issued by the front-end equipment and requests to newly establish a form page. The front-end device may be a user terminal, a bank employee's device, or other device.
The page generation request may be a URL request.
For the loan approval process, for example, the relevant banking staff member may click on the item (one of the target controls) corresponding to the client to be approved by opening the approval page (one of the upper-level pages), thereby triggering a page generation request to newly create the loan process approval page (form page) of the selected client.
Specifically, the operation event of the page generation request can be triggered based on the user type of the user logging in the upper page, so as to generate the page generation request, wherein the page generation request carries the page serial number. The page sequence number may be determined based on the user type and the operational event described above.
Taking the user as a bank employee for example, the user type may be determined based on the role of the bank employee. The operational event may include a single click event, a double click event, a touch event, and the like.
After the front-end equipment establishes connection with the server, the front-end equipment sends a page generation request which is packaged layer by layer through a transmission layer, a network layer and a data link layer to the connected server so that the server can respond to the request.
Step S202, analyzing the page generation request to obtain a page sequence number.
The page sequence number is an identification of a form page and is used for distinguishing different page sequence numbers.
Specifically, the page generation request may be parsed based on HTTP (Hyper Text Transfer Protocol ) to obtain a page sequence number.
Step S203, acquiring the target page field data from the database based on the page sequence number.
The database stores page field data corresponding to a plurality of form pages. After the page serial number of the requested form page is obtained through analysis, the page field data corresponding to the requested form page is searched from the database based on the page serial number and is recorded as target page field data.
The page field data is data required for newly creating a form page, such as a page title, text on buttons, the number of buttons, text information input in a text box, and the like.
In the database, page field data may be stored in a database table or configuration file.
Optionally, based on the page sequence number, acquiring target page field data from a database includes:
and acquiring target page field data corresponding to the form page from a page database table or a page configuration file stored in a database based on the page serial number, wherein the target field data of a plurality of form pages are stored in the page database table or the page configuration file.
Specifically, the page field data corresponding to the requested form page, namely the target page field data, can be determined and extracted from a page database table or a page configuration file stored in a database in a page serial number matching mode.
In the page database table, page field data of one form page may be stored as a column, and the identification of the column may be represented by a page sequence number. When searching the target field data, the page serial numbers of all columns of the page database table are traversed, the page serial numbers consistent with the page serial numbers in the page generation request are searched, and all data in the columns corresponding to the page serial numbers are extracted to be used as the target page field data.
And step S204, generating a form page based on the target page field data, and sending the form page to the front-end equipment so as to display the form page on the front-end equipment.
After the target page field data are obtained, generating corresponding page components based on the page field data, and obtaining the form page based on the generated page components.
In some embodiments, for the server, the generating a page component refers to generating a file or code corresponding to the page component, the generating a form page refers to generating a file or code corresponding to the form page, and the creating or opening of the form page on the browser of the front-end device is realized by rendering the file or code corresponding to the form page in the browser of the front-end device.
The front-end equipment analyzes and renders codes or files corresponding to the form pages issued by the server, so that the requested form pages are displayed on a browser of the front-end equipment, and dynamic generation of the form pages is realized.
The related personnel can perform rechecking, approval and the like based on the information displayed on the form page, such as bank card information rechecking, credit card approval, loan approval and the like.
Further, if sensitive information exists in the target page field data, such as a password, a mobile phone number, a certificate number and the like, encryption processing is needed to be carried out on the sensitive information, and a form page is generated based on the encrypted target field data.
After the code corresponding to the form page is obtained, the code may also be compiled, and the requested form page may be generated and saved.
According to the form page generation method provided by the embodiment, aiming at an application scene of a form page newly built on a main page, a user logging in an upper page triggers a page generation request by operating a target control of the page display end, and the request is not used based on different logged-in user types and different operation events of a target space; the server analyzes the page generation request to obtain a corresponding page sequence number, and searches page field data corresponding to the newly built page, namely target page field data, from the database through the page sequence number, and automatically builds a form page based on the target page field data, so that the efficiency of the new form page building is improved, and when the form page needs to be adjusted, the page can be realized by maintaining the page field data in the database, and the efficiency of page maintenance is improved.
Fig. 3 is a flowchart of a form page generating method according to another embodiment of the present application, where the step of adding a common field data obtaining and caching a form page is based on the embodiment shown in fig. 2, and as shown in fig. 3, the form page generating method according to the present application may include the following steps:
step S301, a page generation request issued by a front-end device is acquired.
Step S302, analyzing the page generation request to obtain a page sequence number.
Step S303, based on the page sequence number, acquiring target page field data corresponding to the form page from a page database table or a page configuration file stored in a database.
Step S304, the public field data is obtained from the page database table or the page configuration file stored in the database.
Wherein the common field data is page field data shared by a plurality of form pages.
Specifically, in response to a page generation request sent by the front-end device, common field data is obtained from a page database table or a page configuration file stored in a database, and the page generation request is analyzed to obtain a page serial number.
Optionally, the common field data includes page field data corresponding to page fonts, page backgrounds, button styles and page typesetting.
When the style of the form page needs to be changed, the page field data corresponding to the page typesetting in the common field data can be adjusted.
By refining the common field data of a plurality of form pages, the number of the page field data required to be configured by a designer when a new form page is built is reduced, and the efficiency of the new form page is improved.
Optionally, the common field data in the page database table or the page configuration file is stored in a first location, the target page field data corresponding to the plurality of form pages is stored in a second location, and the first location and the second location are different storage locations in the database.
In the database, the common page field is stored in a first page database table, the target page field data is stored in a second page database table, and the first page database table and the second page database table are different database tables.
The memory can be applied as required based on the data amount of the first page database table and the second page database table so as to reasonably utilize the memory of the database.
By separately storing the public field data and the private target page field data of the form page, the step of reading the public field data through the script is simplified, and the response speed of page creation is improved.
And step S305, generating a form page based on the public field data and the target page field data.
Specifically, for each field data in the public field data and the target page field data, filling in a corresponding item in a preset template code based on the read field data, and after traversing, obtaining a page code or a code file corresponding to a form page.
In some embodiments, filling of corresponding items in preset template codes can be performed in advance based on common field data to obtain initialized template codes, and further after target page field data corresponding to a form page are determined, filling of corresponding items in the initialized template codes is performed based on the target page field data to obtain page codes or code files corresponding to the form page.
In step S306, the generated form page is cached in the database.
After generating the page code or code file corresponding to the form page, the page code or code file corresponding to the form page may be cached in order to increase the speed of opening the form page next time.
Correspondingly, after acquiring a page generation request issued by front-end equipment and analyzing the page generation request to obtain a page serial number, the server side can search whether a code file corresponding to the page serial number exists in a cache; if not, executing the step S304 and the step S306 to generate and cache the code file corresponding to the form page; if the code file corresponding to the page serial number is found in the cache, the code file corresponding to the page serial number stored in the cache is directly returned to the front-end equipment so as to display the requested form page on the front-end equipment.
Through the cache of the form page, the form page can be directly generated based on the cache when the form page is accessed next time, so that the response speed of the form page generation is improved, and the user experience is improved.
Due to the limited size of the database cache, when the cache is full, the priority cache accesses the code file of the form page with high heat.
When the code file of the new form page exists and needs to be cached, whether to cache the code file of the new form page can be judged based on the access heat of the form page. If the code files with the access heat lower than that of the new form page exist in the cache, deleting the code files with the low access heat, and caching the code files of the new form page; otherwise, the code file for the new form page is not cached.
Optionally, the method further comprises:
determining and updating the access heat of each form page based on the issuing frequency of the page generation request of the form page; and updating the cached form pages based on the access heat when the cached form pages reach the upper limit number and the form pages to be cached exist.
The higher the issuing frequency, the higher the access heat of the form page, and the code files of the form page with high access heat are preferentially cached.
Specifically, when a new page generation request of a form page is detected, the issuing frequency of the page generation request of the form page is updated, and the access heat of each form page is updated based on the issuing frequency after the updating of the page generation request of the form page.
After the cached form pages reach the upper limit number, such as 100, 500 or other numbers, if the code file of the form page to be cached exists, judging whether the cached form page needs to be updated based on the access heat. If the code file with the access heat lower than that of the form page to be cached exists in the cache, deleting the code file with the lowest access heat, and caching the code file of the form page to be cached to realize updating of the cached form page; and if the code file with the access heat lower than that of the form page to be cached does not exist, not updating the cached form page.
The whole heat of the cached form page is improved through the dynamic update of the form page based on the access heat, so that the probability of the form page accessed next time in the cache is improved, and the speed of the form page access is improved.
In some embodiments, the form page may be obtained by compiling the code corresponding to the form page and caching the form page. The manner of updating the cached form page is similar to the manner of updating the code file corresponding to the form page, and will not be described in detail herein.
Step S307, sending the form page to the front-end device, so as to display the form page on the front-end device.
And packaging and sending the files corresponding to the form pages to front-end equipment, analyzing the files corresponding to the packaged form pages by the front-end equipment to obtain the files corresponding to the form pages, rendering by a browser, and opening the form pages.
Optionally, the method further comprises:
and deleting page field data corresponding to the page sequence number in the page deleting instruction from the database in response to the page deleting instruction.
When a certain service is deactivated or ended, the form page corresponding to the service needs to be deleted, and a user (such as a bank staff member) can issue a page deleting instruction through front-end equipment so as to delete the form page corresponding to the service.
After receiving the page deleting instruction, the server analyzes the page deleting instruction to obtain page serial numbers of all form pages to be deleted; and searching page field data corresponding to each form page to be deleted from the database based on the page sequence number, and deleting the page field data.
In some embodiments, the page field data is stored in a page database table of the database. The page field data corresponding to each form page to be deleted can be determined and deleted based on the page sequence number indicated in the page deletion instruction in a page sequence number matching mode, so that the corresponding form page is deleted.
By automatically deleting page field data, the automatic deletion of the form page is realized, the automation degree of the whole period of the form page is improved, and the automatic generation and the automatic deletion are realized.
Fig. 4 is a schematic diagram of a page database table provided in an embodiment of the present application, where the page database table includes a public database table and a private database table, and based on the style of a form page of a banking system, page field data shared by each form page is determined, and the public field data of each form page, such as a font style, a background, a button style, a field maximum length, etc., are obtained by sorting, and the public field data is stored in the public database table, and is applied for a memory as required. When a style of a form page needs to be changed, a common database table is updated based on the new common field data. Aiming at differentiated page field data among various form pages of a banking system, such as the number of buttons, the text, the title and the like of the buttons, private page field data corresponding to the form pages (namely target field data when a page generation request is performed) are obtained by sorting for the form pages, the private page field data corresponding to the form pages are stored in columns corresponding to corresponding page serial numbers in a private database table, one form page corresponds to one page serial number, different form pages are distinguished, and memory is allocated for the private database table according to requirements. When the content of the existing form page needs to be adjusted, such as modifying the personal information of the client, adding the acquisition item, and the like, the operation can be performed by adjusting the corresponding private page field data in the private database table, and the form page maintenance operation has low complexity.
The number of public database tables and private database tables can be 1 or more, the public database tables and the private database tables are stored in different positions in the memory, the public database tables are stored in a first position of the memory, and the private database tables are stored in a second position of the memory.
The embodiment of the application also provides another form page generation method which is applied to front-end equipment such as user terminals, equipment of bank staff and the like, and the method comprises the following steps:
generating a page generation request based on the user type of a login upper page and an operation event of the upper page target control, wherein the page generation request carries a page serial number of a form page to be generated; the page generation request is sent to a server side, so that the server side obtains the page serial number by analyzing the page generation request, obtains target page field data from a database based on the page serial number, and generates a form page based on the target page field data; and receiving the form page sent by the server and displaying the form page.
Optionally, the method further comprises:
determining a form page to be deleted; generating a page deleting instruction based on the page serial number of the form page to be deleted; and sending the page deleting instruction to a server side so that the server side deletes page field data corresponding to the page serial number in the page deleting instruction from a database based on the page deleting instruction.
The form page to be deleted may be determined based on the mapping relationship of the service and the form page, based on the service to be deleted and the mapping relationship.
The service to be deleted may be an ending service or a stopped service.
Fig. 5 is a schematic diagram of a form page generating device according to an embodiment of the present application, where the form page generating device is applied to a server, and as shown in fig. 5, the form page generating device includes: a request acquisition module 510, a sequence number acquisition module 520, a page field data acquisition module 530, and a form page generation module 540.
The request acquisition module 510 is configured to acquire a page generation request issued by a front-end device, where the page generation request is generated based on a user type of logging in the upper page and an operation event of the upper page target control; the serial number obtaining module 520 is configured to parse the page generation request to obtain a page serial number; the page field data obtaining module 530 is configured to obtain target page field data from a database based on the page sequence number; the form page generation module 540 is configured to generate a form page based on the target page field data, and send the form page to the front-end device, so as to display the form page on the front-end device.
Optionally, the page field data acquisition module 530 is specifically configured to:
and acquiring target page field data corresponding to the form page from a page database table or a page configuration file stored in a database based on the page serial number, wherein the target field data of a plurality of form pages are stored in the page database table or the page configuration file.
Optionally, the apparatus further includes:
the public field acquisition module is used for acquiring public field data from a page database table or a page configuration file stored in a database, wherein the public field data is page field data shared by a plurality of form pages.
Correspondingly, the single page generation module 540 is specifically configured to:
generating a form page based on the public field data and the target page field data, and sending the form page to the front-end equipment so as to display the form page on the front-end equipment.
Optionally, the common field data includes page field data corresponding to page fonts, page backgrounds, button styles and page typesetting.
Optionally, the common field data in the page database table or the page configuration file is stored in a first location, the target page field data corresponding to the plurality of form pages is stored in a second location, and the first location and the second location are different storage locations in the database.
Optionally, the apparatus further includes:
and the form page caching module is used for caching the generated form page in the database.
Optionally, the apparatus further includes:
the cache updating module is used for determining and updating the access heat of each form page based on the issuing frequency of the page generation request of the form page, and updating the cached form page based on the access heat when the cached form pages reach the upper limit number and form pages to be cached exist.
Optionally, the apparatus further includes:
and the form page deleting module is used for responding to the page deleting instruction and deleting page field data corresponding to the page sequence number in the page deleting instruction from the database.
The form page generating device provided by the embodiment of the application can execute the form page generating method provided by any embodiment corresponding to the fig. 2 and 3 of the application, and has the corresponding functional modules and beneficial effects of the executing method.
The embodiment of the application also provides another form page generating device which is applied to the front-end equipment, and the form page generating device comprises:
the request generation module is used for generating a page generation request based on the user type of the upper page and the operation event of the upper page target control, wherein the page generation request carries the page serial number of the form page to be generated; the request sending module is used for sending the page generation request to a server side so that the server side can obtain the page serial number by analyzing the page generation request, acquire target page field data from a database based on the page serial number and generate a form page based on the target page field data; the page display module is used for receiving the form page sent by the server and displaying the form page.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application, as shown in fig. 6, where the electronic device includes: a memory 610 and at least one processor 620.
Wherein the memory 610 stores computer-executable instructions; at least one processor 620 executes computer-executable instructions stored in the memory such that the at least one processor executes to implement the form page generation method provided by any of the embodiments of the present application.
Wherein the memory 610 and the processor 620 are coupled via a bus 630.
The relevant description may be correspondingly understood by referring to the relevant description and effects corresponding to the steps provided by the relevant embodiment of the form page generating method of the present application, and will not be repeated here.
An embodiment of the present application provides a computer-readable storage medium having stored thereon computer-executable instructions that, when executed by a processor, implement a form page generation method provided by any of the embodiments of the present application.
The computer readable storage medium may be, among other things, ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
An embodiment of the present application provides a computer program product, including a computer program, which when executed by a processor implements a form page generation method provided by any embodiment of the present application.
The processor may be an integrated circuit chip having signal processing capabilities. The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, abbreviated as CPU), a network processor (Network Processor, abbreviated as NP), and the like. The disclosed methods, steps, and logic blocks in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The front-end development device may be a computer, tablet, cell phone, or other device that may display a form page.
Fig. 7 is a block diagram of a front-end device, which may be a computer, tablet, etc., in accordance with an exemplary embodiment of the present application. As shown in fig. 7, the headend device 700 includes components that may include one or more of the following: a processing component 702, a storage component 704, a power component 706, an input/output (I/O) interface 712, and a communication component 716.
The processing component 702 generally controls overall operation of the front-end device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 702 can include one or more modules that facilitate interaction between the processing component 702 and other components.
The storage component 704 is configured to store various types of data to support operation at the front-end device 700. Examples of such data include instructions for any application or method operating on the front-end device 700, front-end project descriptions, messages, pictures, and the like. The storage component 704 can be implemented by any type or combination of volatile or nonvolatile memory devices 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 memory, flash memory, magnetic or optical disk.
The power supply component 706 provides power to the various components of the front end device 700. The power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the head-end equipment 700.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The communication component 716 is configured to facilitate communication between the headend device 700 and other devices, either wired or wireless. The headend device 700 may access a wireless network based on a communication standard, such as WiFi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication component 716 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the front-end device 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as storage component 704, comprising instructions executable by processor 720 of front-end device 700 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (13)

1. The method for generating the form page is characterized by being applied to a server, and comprises the following steps:
acquiring a page generation request issued by front-end equipment, wherein the page generation request is generated based on a user type of a login upper page and an operation event of a target control of the upper page;
analyzing the page generation request to obtain a page sequence number;
acquiring target page field data from a database based on the page sequence number;
generating a form page based on the target page field data, and sending the form page to the front-end equipment so as to display the form page on the front-end equipment.
2. The method of claim 1, wherein retrieving target page field data from a database based on the page sequence number comprises:
and acquiring target page field data corresponding to the form page from a page database table or a page configuration file stored in a database based on the page serial number, wherein the target field data of a plurality of form pages are stored in the page database table or the page configuration file.
3. The method according to claim 2, wherein the method further comprises:
acquiring common field data from a page database table or a page configuration file stored in a database, wherein the common field data is page field data shared by a plurality of form pages;
generating a form page based on the target page field data, comprising:
form pages are generated based on the common field data and the target page field data.
4. A method according to claim 3, wherein the common field data comprises page field data corresponding to page fonts, page backgrounds, button styles and page layouts.
5. A method according to claim 3, wherein the common field data is stored in a first location in a page database table or page configuration file, the target page field data corresponding to a plurality of form pages is stored in a second location, and the first location and the second location are different storage locations in the database.
6. The method according to claim 1, wherein the method further comprises:
in the database, the generated form pages are cached.
7. The method of claim 6, wherein the method further comprises:
determining and updating the access heat of each form page based on the issuing frequency of the page generation request of the form page;
and updating the cached form pages based on the access heat when the cached form pages reach the upper limit number and the form pages to be cached exist.
8. The method according to any one of claims 1-7, further comprising:
and deleting page field data corresponding to the page sequence number in the page deleting instruction from the database in response to the page deleting instruction.
9. A form page generation method, wherein the method is applied to a front-end device, and the method comprises:
generating a page generation request based on the user type of a login upper page and an operation event of the upper page target control, wherein the page generation request carries a page serial number of a form page to be generated;
the page generation request is sent to a server side, so that the server side obtains the page serial number by analyzing the page generation request, obtains target page field data from a database based on the page serial number, and generates a form page based on the target page field data;
and receiving the form page sent by the server and displaying the form page.
10. A form page generation apparatus, wherein the apparatus is applied to a server, the apparatus comprising:
the request acquisition module is used for acquiring a page generation request issued by front-end equipment, wherein the page generation request is generated based on the user type of a login upper page and an operation event of a target control of the upper page;
the serial number acquisition module is used for analyzing the page generation request to obtain a page serial number;
the page field data acquisition module is used for acquiring target page field data from a database based on the page sequence number;
and the form page generation module is used for generating a form page based on the target page field data and sending the form page to the front-end equipment so as to display the form page on the front-end equipment.
11. A form page generation apparatus, the apparatus being applied to a head-end device, the apparatus comprising:
the request generation module is used for generating a page generation request based on the user type of the upper page and the operation event of the upper page target control, wherein the page generation request carries the page serial number of the form page to be generated;
the request sending module is used for sending the page generation request to a server side so that the server side can obtain the page serial number by analyzing the page generation request, acquire target page field data from a database based on the page serial number and generate a form page based on the target page field data;
the page display module is used for receiving the form page sent by the server and displaying the form page.
12. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1 to 9.
13. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1 to 9.
CN202310711077.9A 2023-06-15 2023-06-15 Form page generation method, device, equipment and storage medium Pending CN116737151A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310711077.9A CN116737151A (en) 2023-06-15 2023-06-15 Form page generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310711077.9A CN116737151A (en) 2023-06-15 2023-06-15 Form page generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116737151A true CN116737151A (en) 2023-09-12

Family

ID=87918128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310711077.9A Pending CN116737151A (en) 2023-06-15 2023-06-15 Form page generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116737151A (en)

Similar Documents

Publication Publication Date Title
US9952848B2 (en) Dependency-aware transformation of multi-function applications for on-demand execution
US9811327B2 (en) Dependency-aware transformation of multi-function applications for on-demand execution
TWI703463B (en) Information display method, device and intelligent terminal
US10878044B2 (en) System and method for providing content recommendation service
US20070136337A1 (en) Module specification for a module to be incorporated into a container document
CN107908695A (en) Operation system operation method, device, system and readable storage medium storing program for executing
US9497260B2 (en) Communication between two web applications
CN106933991A (en) A kind of depth analysis towards intelligent terminal and user's portrait system and method
CN111026950A (en) Page access method and device, server and page access system
CN110941779A (en) Page loading method and device, storage medium and electronic equipment
CN104572837A (en) Method and device for providing authentication information on webpage
KR101637016B1 (en) Method for providing user reaction web page
WO2021189766A1 (en) Data visualization method and related device
CN113282591B (en) Authority filtering method, authority filtering device, computer equipment and storage medium
KR101070053B1 (en) Method for providing search advertisement using uniform resource locator and sysem of enabling the method
KR101241037B1 (en) Business information providing system and method for providing business information using the same
CN114647412A (en) Content display method and terminal equipment
CN110674426B (en) Webpage behavior reporting method and device
CN116737151A (en) Form page generation method, device, equipment and storage medium
KR100677759B1 (en) Method for providing search advertisement using uniform resource locator and sysem of enabling the method
KR102244668B1 (en) System and method for automatically inputting personal information using codes
RU2677563C2 (en) Information display method, terminal and server
CN111339555B (en) Data processing method, device, electronic equipment and storage medium
CN114186148A (en) Page loading method and device, electronic equipment and storage medium
KR101385689B1 (en) Apparatus and method for providing rss service

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