CN115237467A - Page view configuration method and device, computer equipment and storage medium - Google Patents

Page view configuration method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN115237467A
CN115237467A CN202210957528.2A CN202210957528A CN115237467A CN 115237467 A CN115237467 A CN 115237467A CN 202210957528 A CN202210957528 A CN 202210957528A CN 115237467 A CN115237467 A CN 115237467A
Authority
CN
China
Prior art keywords
information
target page
page view
view
basic data
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
CN202210957528.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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN202210957528.2A priority Critical patent/CN115237467A/en
Publication of CN115237467A publication Critical patent/CN115237467A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation

Abstract

The application relates to the field of big data, and the configuration of a page view is realized by using a storage process of a database. Specifically disclosed are a page view configuration method, a page view configuration device, computer equipment and a storage medium, wherein the method comprises the following steps: determining a storage process corresponding to the target page information according to the data query instruction of the first terminal equipment; calling a storage process through a control layer to acquire configuration information deployed in a database and basic data information associated with the configuration information; determining a target page view according to the configuration information and the basic data information based on the view layer; and sending the target page view to the first terminal device for display. By acquiring the configuration information and the basic data information deployed in the database based on the storage process, the change of the target page view is realized by adjusting the configuration information and the basic data information deployed in the database, and the efficiency of page view configuration can be improved. The method can be applied to cloud servers of big data and artificial intelligence platform cloud computing services.

Description

Page view configuration method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of big data technologies, and in particular, to a page view configuration method and apparatus, a computer device, and a storage medium.
Background
The daily customized tool product at the web end often needs to display information such as words, graphs, images and videos, the development process of the common product requirements such as the display of the words, the graphs, the images and the videos belongs to a view layer, the view layer usually needs business logic calculation, and the bottom layer source of the logic calculation is data; some content changes usually involve only small changes, such as page view updates that do not involve layout changes, and the page view can be changed only by modifying the service code deployment, thereby increasing the number of releases and lacking flexibility.
Disclosure of Invention
The embodiment of the application provides a page view configuration method and device, a computer device and a storage medium, which can improve the efficiency of page view configuration and reduce the workload of developers when the page views are changed.
In a first aspect, the present application provides a page view configuration method, which is used for a server, where the server deploys a control layer and a view layer, and the method includes:
acquiring a data query instruction sent by first terminal equipment;
determining target page information and a storage process corresponding to the target page information according to the data query instruction;
calling a storage process corresponding to the target page information through the control layer, and acquiring configuration information deployed in a database and basic data information associated with the configuration information based on the storage process;
determining a target page view according to the configuration information and the basic data information based on the view layer;
and sending the target page view to the first terminal equipment, wherein the target page view is used for displaying on the first terminal equipment.
In a second aspect, the present application provides a page view configuration apparatus, including:
the instruction acquisition module is used for acquiring a data query instruction sent by the first terminal equipment;
the process determining module is used for determining target page information and a storage process corresponding to the target page information according to the data query instruction;
the process calling module is used for calling a storage process corresponding to the target page information through a control layer, and acquiring configuration information deployed in a database and basic data information associated with the configuration information based on the storage process;
the view determining module is used for determining a target page view according to the configuration information and the basic data information based on a view layer;
and the sending module is used for sending the target page view to the first terminal equipment, and the target page view is used for displaying on the first terminal equipment.
In a third aspect, the present application provides a computer device comprising a memory and a processor; the memory is used for storing a computer program; the processor is configured to execute the computer program and implement the steps of the above-mentioned page view configuration method when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, where a computer program is stored, and if the computer program is executed by a processor, the steps of the above-mentioned page view configuration method are implemented.
The application discloses a page view configuration method, a device, equipment and a storage medium, wherein the method is used for a server, the server deploys a control layer and a view layer, and the method comprises the following steps: acquiring a data query instruction sent by first terminal equipment; determining target page information and a storage process corresponding to the target page information according to the data query instruction; calling a storage process corresponding to the target page information through a control layer, and acquiring configuration information deployed in a database and basic data information associated with the configuration information based on the storage process; determining a target page view according to the configuration information and the basic data information based on the view layer; and sending the target page view to the first terminal equipment, wherein the target page view is used for displaying on the first terminal equipment. By acquiring the configuration information and the basic data information deployed in the database based on the storage process, the change of the target page view is realized conveniently by adjusting the configuration information and the basic data information deployed in the database, the efficiency of page view configuration is improved, and the workload of developers is reduced when the page view is changed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a page view configuration method according to an embodiment of the present application;
FIG. 2 is a diagram illustrating an application scenario of a page view configuration method according to an embodiment;
FIG. 3 is a diagram of a destination page view in one embodiment;
FIG. 4 is a diagram illustrating a page view of a change destination in the prior art;
FIG. 5 is a diagram illustrating a modified target page view in an embodiment of the present application;
FIG. 6 is a diagram illustrating obtaining configuration information and base data information based on a stored procedure, according to an embodiment;
fig. 7 is a schematic structural diagram of a page view configuration apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation. In addition, although the division of the functional blocks is made in the device diagram, in some cases, it may be divided in blocks different from those in the device diagram.
The embodiment of the application provides a page view configuration method, a page view configuration device, page view configuration equipment and a storage medium. Fig. 1 is a schematic flowchart of a page view configuration method provided by an embodiment of the present application, and fig. 2 is a schematic diagram of an application scenario of the page view configuration method in an embodiment.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments and features of the embodiments described below can be combined with each other without conflict.
The page view configuration method is used for generating a target page view according to preset data, where the target page view is used for displaying on a first terminal device, and the target page view is, for example, a web page, but is not limited to this.
For example, the page view configuration method is used for the server, and of course, may be used for the second terminal device. The server can be an independent server, a server cluster, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, content Delivery Network (CDN), big data and an artificial intelligence platform; the server is, for example, a web server (or may be referred to as a web server). The first terminal device and the second terminal device can be electronic devices such as a mobile phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant and a wearable device. However, for the sake of understanding, the following embodiments will be mainly described in detail with respect to a page view configuration method applied to a server.
In some embodiments, the target page view may be a big data analytics page, such as the report shown in FIG. 3. The layout of the report is generally fixed, as shown in fig. 3, the layout format of the report generally includes a query area (where query conditions, such as service attribution and index keywords, can be input) and a report display area, where the report display area is further divided into a header (such as a container ID and an index name), a display data column (each data corresponding to the header, and the container ID may be ID-1 to ID-1046), and a page turning (which can facilitate positioning of data displayed in the currently displayed data column). The query area is preset with pull-down single selection query and search term query, so that a user can conveniently specify data to be queried, and a query result can be displayed in the report display area.
Fig. 4 is a schematic flow diagram illustrating a process of performing page view change in the prior art, which shows that a complete product is accessed by a user and needs to be deployed and released, and if a demand changes or a business logic changes, the page view content often needs to be redeployed to update the page view content. Specifically, when changing a page view, a compiled and packaged control layer (control) and view layer (view) need to be deployed on a web server, and a database table for indicating required data needs to be deployed on a database (database, DB); the user may access the page view via the browser of the first terminal device. The inventor of the present application finds that even some content changes in the manner shown in fig. 4 often involve only some minor changes, such as changes in computational logic of certain data, changes in image display size, and changes in text content, such as changes in page views that do not involve layout changes, the page views can be changed by modifying business codes and relocating control layers and view layers, thereby increasing publishing times and lacking flexibility.
Aiming at the discovery, the inventor of the application improves the page view configuration method so as to improve the efficiency of page view configuration and reduce the workload of developers when the page view is changed.
As shown in FIG. 5, a server, such as a web server, deploys control and view layers, and a database deploys stored procedures. The Stored Procedure (Stored Procedure) is a set of SQL statements for completing a specific function, the SQL statements need to be compiled and then executed, the compiled SQL statements are deployed in a database, and a user calls to execute the corresponding SQL statements by specifying the name of the Stored Procedure and giving parameters (if the Stored Procedure has parameters).
The stored procedures may be programmable functions, created and stored in a database, and may consist of SQL statements and control structures. Storing procedures can be useful when it is desirable to perform the same function on different applications or platforms, or to encapsulate a particular function. The stored procedures in the database can be viewed as an emulation of the object-oriented approach in programming that allows for controlling the manner in which data is accessed. The storage process can be written by control statements, so that the method has strong flexibility and can finish complex judgment and complex operation.
Referring to fig. 1, the page view configuration method according to the embodiment of the present disclosure includes the following steps S110 to S150.
Step S110, a data query instruction sent by the first terminal device is obtained.
Referring to fig. 3, the first terminal device displays a target page view, generates the data query instruction according to a query condition input by a user in a query area of the target page view, and sends the generated data query instruction to the server.
And step S120, determining target page information and a storage process corresponding to the target page information according to the data query instruction.
Illustratively, the target page information includes, but is not limited to, at least one of: the attribute of the target page view to be displayed, the attribute of the data in the target page view to be displayed and the data volume. The storage process corresponding to the target page information determined according to the data query instruction may be determined based on a correspondence between the target page information and the storage process.
Step S130, a storage process corresponding to the target page information is called through the control layer, and configuration information deployed in a database and basic data information related to the configuration information are obtained based on the storage process.
As shown in fig. 5, the database section is also disposed with a configurable table and a non-configurable table. Wherein the configurable table is used for storing the configuration information, and the non-configurable table is used for storing the basic data information. In some embodiments, the configurable table may be referred to as a first configuration table and the non-configurable table may be referred to as a second configuration table.
In some embodiments, a storage process corresponding to the target page information is called through the control layer, and the configuration information deployed in the database and the basic data information associated with the configuration information are acquired based on the storage process.
Referring to fig. 3 in conjunction with fig. 6, the web server may determine a storage procedure to be called according to the target page information, the control layer deployed on the web server calls the storage procedure corresponding to the target page information, and acquires the required configuration information and the basic data information associated with the configuration information based on the storage procedure.
Referring to fig. 6, basic data information in the non-configurable table is used to indicate basic data, and corresponding basic data can be obtained according to the basic data information; for example, the base data includes, but is not limited to, at least one of: text, graphics, images, video; the basic data information includes, for example, at least one of: data identification of the basic data and the position of the basic data; the data identifier of the basic data is, for example, the data number data _ num, and the location of the basic data is, for example, the network address image _ url of the basic data. For example, as shown in fig. 3, the basic data includes a drop-down list selection query box, a search term query box, and a query button in the query area, and may further include a header text, a page turning button, a drop-down list selection setting box (setting the number of data displayed on each page), and a skip page turning box in the report display area.
Illustratively, the configuration information in the configurable table includes display logic of the basic data, for example, the display logic is used to describe which columns are displayed in the header of the report, column width information of the columns is displayed, whether the header displays a corresponding image (icon), whether prompt text information is displayed, image size, and the like. As shown in fig. 3, the configuration information includes the pull-down menu query content in the query area, the search term in the search term query box, and may further include the attribute of the header display column in the report display area, and the logic of displaying data. Referring to fig. 6, the configuration information includes a width (image _ wid) of the query area, and may further include a drop-down menu query content for the user to select.
By acquiring the configuration information and the basic data information deployed in the database based on the storage process, since the storage process is pre-compiled, the efficiency of acquiring the configuration information and the basic data information can be improved.
Illustratively, the storage process obtains configuration information corresponding to the storage process from the configurable table, and obtains basic data information corresponding to the information identifier from the non-configurable table according to the information identifier of the configuration information.
The information identifier of the configuration information includes, for example, a number (id) of the configuration information, for example, referring to fig. 6, the storage process obtains the configuration information corresponding to the storage process in the configurable table, such as the configuration information whose id is 1; the storing process may obtain the base data information of the same id in the non-configurable table.
The method comprises the steps that the business logic needing to be configured is split into a configurable table and an unconfigured table corresponding to a storage process, and when the business logic needing to be configured is executed, configuration information is obtained from the configurable table through the storage process and basic data information in the unconfigured table is inquired in an associated mode; the configurable business logic can be realized by a storage process correlation query configurable table and a non-configurable table. The modification of the business logic through the storage process is also more convenient and easy to release, so that the updating of the contents of views such as reports can be configured. In the development design of the customization requirement, view updating can be realized through configuration without frequent edition sending.
In some embodiments, referring to fig. 5, the service logic that does not need to be configured, for example, the service logic that does not need to be changed frequently, may be implemented by a control layer deployed by a web server, acquiring data required by a view layer from a non-configurable table, or data combined by some logical operations (addition, subtraction, multiplication, division, and the like). Illustratively, the control layer and the view layer are used as a front-end application program and are compiled and packaged into a web server, the control layer of the front-end application program fetches data required by the view layer from a non-configurable surface or returns data processed by some logic operations (addition, subtraction, multiplication, division and the like) to the view layer to generate a target page view, and therefore a user can directly access the target page view through a browser.
Step S140, based on the view layer, according to the configuration information and the basic data information, determining a target page view, wherein the target page view is used for displaying on a terminal device.
In some embodiments, the determining, based on the view layer and according to the configuration information and the basic data information, a target page view includes: the control layer acquires basic data from the database according to the basic data information; and determining a target page view according to the basic data and the display logic of the basic data in the configuration information based on the view layer. For example, in some embodiments, a control layer deployed on a web server transmits the configuration information and basic data indicated by the basic data information to the view layer, so as to obtain a target page view generated by the view layer according to the configuration information and the basic data.
For example, the view layer may generate the target page view according to display logic of basic data in the configuration information, such as an indicated image display size, text content, and the like.
In some embodiments, the method further comprises: acquiring a first database deployment instruction sent by a second terminal device, and adjusting the configuration information deployed in the database according to the first database deployment instruction, wherein the adjustment comprises at least one of the following: add, delete, modify, replace.
Illustratively, when the target page view needs to be changed, for example, when a view that does not involve layout change needs to be changed, such as a change in the size of a picture display, a change in the content of text, and the like, configuration information may be adjusted at the second terminal device, and the adjusted configuration information and/or the adjusted content of the configuration information may be transmitted to the database for deployment; the control layer can obtain the adjusted configuration information through a storage process, and change the target page view based on the view layer.
It can be understood that the embodiment of the application can realize the change of the target page view under the condition that the control layer and the view layer are not required to be redeployed, and realize the decoupling of the storage processes of the control layer, the view layer and the real control data change of at least part of service logic. As described in the report function area, the logic of the configurable part of the query area and the configurable part of the display area is implemented in the storage process, and only the corresponding storage process needs to be modified without issuing a front-end application, and only the modified configurable table and/or the non-configurable table needs to be deployed in the database to complete the change. The frequency of releasing front-end application can be reduced, and the number of times of releasing edition is reduced.
In some embodiments, the control layer may obtain data processed based on data calculation logic (addition, subtraction, multiplication, division, and the like) corresponding to the storage process and return the data to the view layer, and the view layer may further determine a target page view according to the data processed by the control layer. Illustratively, the method further comprises: and calculating the basic data in the database based on the data calculation logic corresponding to the storage process, and sending the calculated data to the view layer. Determining a target page view according to the configuration information and the basic data information based on the view layer, including: and determining a target page view according to the configuration information, the basic data information and the data after calculation processing based on the view layer.
Illustratively, the method further comprises: acquiring a second database deployment instruction sent by a second terminal device, and adjusting data calculation logic corresponding to the storage process according to the second database deployment instruction, wherein the adjustment includes at least one of the following: add, delete, modify, replace. The data calculation logic is used for calculating basic data corresponding to the basic data information.
By adjusting the data computation logic corresponding to the storage process, the change of the computation logic of the data in the target page view can be realized. Only the corresponding storage process is required to be modified without releasing the front-end application, and only the adjusted configurable table and/or the non-configurable table are required to be deployed in the database to complete the change. The frequency of releasing front-end application can be reduced, and the number of times of releasing edition is reduced.
After the stored procedure is created or adjusted, the stored procedure can be called in the program for many times without rewriting SQL statements of the stored procedure; moreover, the database professional can modify the storage process to change the target page view, such as changing the calculation logic of certain data, changing the display size of a picture, changing the content of characters and the like, and updating the view which does not relate to layout change.
Step S150, the target page view is sent to the first terminal device, and the target page view is used for displaying on the first terminal device.
In some embodiments, the data query instruction sent by the first terminal device includes: and the first terminal equipment generates a data query instruction according to the query operation of the user on the target page view. That is, the query result can be updated according to the query operation of the user.
The web server determines the target page information and a storage process corresponding to the target page information according to the data query instruction; therefore, the web server can call a storage process corresponding to the target page information through the control layer, obtain the configuration information deployed in the database and the basic data information associated with the configuration information based on the storage process, and determine a target page view based on the view layer according to the configuration information and the basic data information, wherein the target page view is used for displaying on the terminal equipment.
The page view configuration method provided by the embodiment of the application comprises the steps of obtaining a data query instruction sent by first terminal equipment; determining target page information and a storage process corresponding to the target page information according to the data query instruction; calling a storage process corresponding to the target page information through the control layer, and acquiring configuration information deployed in a database and basic data information associated with the configuration information based on the storage process; determining a target page view according to the configuration information and the basic data information based on the view layer; and sending the target page view to the first terminal equipment, wherein the target page view is used for displaying on the first terminal equipment. By acquiring the configuration information and the basic data information deployed in the database based on the storage process, the efficiency of acquiring the configuration information and the basic data information can be improved because the storage process is pre-compiled; and the change of the target page view can be realized conveniently by adjusting the configuration information and the basic data information which are deployed in the database, for example, the change of the target page view can be realized under the condition that a control layer and a view layer are not required to be re-deployed, the efficiency of the page view configuration can be improved, the workload of developers during the page view change can be reduced, the frequency of front-end application release can be reduced, and the release times can be reduced.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a page view configuration apparatus according to an embodiment of the present application. Optionally, the page view configuration apparatus may be configured in a server, and configured to execute the steps of the page view configuration method.
As shown in fig. 7, the page view configuration apparatus includes:
an instruction obtaining module 110, configured to obtain a data query instruction sent by a first terminal device;
a process determining module 120, configured to determine, according to the data query instruction, target page information and a storage process corresponding to the target page information;
a process calling module 130, configured to call, through a control layer, a storage process corresponding to the target page information, and obtain, based on the storage process, configuration information deployed in a database and basic data information associated with the configuration information;
the view determining module 140 is configured to determine a target page view according to the configuration information and the basic data information based on a view layer;
a sending module 150, configured to send the target page view to the first terminal device, where the target page view is used for displaying on the first terminal device.
In some embodiments, the database is deployed with a configurable table for storing the configuration information and a non-configurable table for storing the base data information.
The process calling module is used for calling a storage process corresponding to the target page information through the control layer, and acquiring corresponding configuration information in the configurable table and corresponding basic data information in the non-configurable table based on the storage process.
Illustratively, the storing process obtains basic data information corresponding to the information identifier in the non-configurable table according to the information identifier of the configuration information.
In some embodiments, the apparatus further comprises: the first deployment module is configured to acquire a first database deployment instruction sent by a second terminal device, and adjust the configuration information deployed in the database according to the first database deployment instruction, where the adjustment includes at least one of: add, delete, modify, replace.
In some embodiments, the configuration information includes display logic of the base data; the view determination module includes:
and the basic data acquisition sub-module is used for acquiring basic data from the database according to the basic data information. The basic data information includes at least one of: data identification of the basic data and the position of the basic data; the base data includes at least one of: text, graphics, images, video;
and the view determining submodule is used for determining a target page view according to the basic data and the display logic of the basic data based on the view layer.
In some embodiments, the apparatus further comprises: and the data processing module is used for calculating and processing the basic data in the database based on the data calculation logic corresponding to the storage process and sending the calculated and processed data to the view layer.
The view determining module is used for determining a target page view according to the configuration information, the basic data information and the data after calculation processing based on the view layer.
In some embodiments, the apparatus further comprises: a second deployment module, configured to obtain a second database deployment instruction sent by a second terminal device, and adjust, according to the second database deployment instruction, a data calculation logic corresponding to the storage process, where the adjustment includes at least one of: add, delete, modify, replace.
It should be noted that, for convenience and simplicity of description, specific working processes of the above-described apparatus and each module and unit may refer to corresponding processes in the foregoing method embodiments, and details are not described herein again.
The methods, apparatus, and devices of the present application are operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
For example, the method and apparatus described above may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 8.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present disclosure. The computer device may be a server or a terminal.
Referring to fig. 8, the computer device includes a processor, a memory, and a network interface connected through a system bus, wherein the memory may include a nonvolatile storage medium and an internal memory.
The non-volatile storage medium may store an operating system and a computer program. The computer program comprises program instructions which, when executed, cause a processor to perform the steps of any of the methods of page view configuration.
The processor is used to provide computing and control capabilities to support the operation of the entire computer device.
The internal memory provides an environment for the execution of a computer program on a non-volatile storage medium, which when executed by the processor, causes the processor to perform any of the page view configuration methods.
The network interface is used for network communication, such as sending assigned tasks and the like. Those skilled in the art will appreciate that the configuration of the computer apparatus is merely a block diagram of a portion of the configuration associated with aspects of the present application and is not intended to limit the computer apparatus to which aspects of the present application may be applied, and that a particular computer apparatus may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
It should be understood that the Processor may be a Central Processing Unit (CPU), and the Processor may be other general purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein, in one embodiment, the processor is configured to execute a computer program stored in the memory to implement the steps of:
acquiring a data query instruction sent by first terminal equipment;
determining target page information and a storage process corresponding to the target page information according to the data query instruction;
calling a storage process corresponding to the target page information through a control layer, and acquiring configuration information deployed in a database and basic data information associated with the configuration information based on the storage process;
determining a target page view according to the configuration information and the basic data information based on a view layer;
and sending the target page view to the first terminal equipment, wherein the target page view is used for displaying on the first terminal equipment.
In some embodiments, the database is deployed with a configurable table for storing the configuration information and a non-configurable table for storing the base data information.
The processor is configured to, when the control layer calls a storage process corresponding to the target page information, and the configuration information deployed in the database and the basic data information associated with the configuration information are acquired based on the storage process, perform:
and calling a storage process corresponding to the target page information through the control layer, and acquiring corresponding configuration information in the configurable table and corresponding basic data information in the non-configurable table based on the storage process.
Illustratively, the storing process obtains basic data information corresponding to the information identifier in the non-configurable table according to the information identifier of the configuration information.
Illustratively, the processor is further configured to implement: acquiring a first database deployment instruction sent by a second terminal device, and adjusting the configuration information deployed in the database according to the first database deployment instruction, wherein the adjustment comprises at least one of the following: add, delete, modify, replace.
Illustratively, the configuration information includes display logic of the underlying data; the processor is configured to, when determining a target page view according to the configuration information and the basic data information based on the view layer,:
acquiring basic data from the database according to the basic data information, wherein the basic data information comprises at least one of the following: a data identification of the base data, a location of the base data; the base data includes at least one of: text, graphics, images, video; and
and determining a target page view according to the basic data and the display logic of the basic data based on the view layer.
Illustratively, the processor is further configured to implement:
and calculating the basic data in the database based on the data calculation logic corresponding to the storage process, and sending the data after calculation to the view layer.
For example, when the processor determines a target page view according to the configuration information and the basic data information based on the view layer, the processor is configured to: and determining a target page view according to the configuration information, the basic data information and the data after calculation processing based on the view layer.
Illustratively, the processor is further configured to implement: acquiring a second database deployment instruction sent by a second terminal device, and adjusting data calculation logic corresponding to the storage process according to the second database deployment instruction, wherein the adjustment includes at least one of the following: add, delete, modify, replace.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application, such as:
a computer-readable storage medium, where a computer program is stored, where the computer program includes program instructions, and the processor executes the program instructions to implement any one of the page view configuration methods provided in this application embodiment.
The computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiment, for example, a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the computer device.
While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A page view configuration method is used for a server, the server deploys a control layer and a view layer, and the method comprises the following steps:
acquiring a data query instruction sent by first terminal equipment;
determining target page information and a storage process corresponding to the target page information according to the data query instruction;
calling a storage process corresponding to the target page information through the control layer, and acquiring configuration information deployed in a database and basic data information associated with the configuration information based on the storage process;
determining a target page view according to the configuration information and the basic data information based on the view layer;
and sending the target page view to the first terminal equipment, wherein the target page view is used for displaying on the first terminal equipment.
2. The page view configuration method of claim 1, wherein said database is deployed with a configurable table and an unconfigureable table, said configurable table being used for storing said configuration information, said unconfigureable table being used for storing said basic data information;
the calling a storage process corresponding to the target page information through the control layer, and acquiring configuration information deployed in a database and basic data information associated with the configuration information based on the storage process include:
and calling a storage process corresponding to the target page information through the control layer, and acquiring corresponding configuration information in the configurable table and corresponding basic data information in the non-configurable table based on the storage process.
3. The page view configuration method according to claim 2, wherein said storing step obtains basic data information corresponding to said information identifier in said non-configurable table according to said information identifier of said configuration information.
4. The page view configuration method of claim 1, wherein said method further comprises:
acquiring a first database deployment instruction sent by a second terminal device, and adjusting the configuration information deployed in the database according to the first database deployment instruction, wherein the adjustment comprises at least one of the following: add, delete, modify, replace.
5. The page view configuration method of any of claims 1-4, wherein said configuration information comprises display logic of underlying data, said underlying data comprising at least one of: text, graphics, images, video; determining a target page view according to the configuration information and the basic data information based on the view layer, including:
acquiring basic data from the database according to the basic data information; the base data information includes at least one of: a data identification of the base data, a location of the base data;
and determining a target page view according to the basic data and the display logic of the basic data based on the view layer.
6. The page view configuration method of any of claims 1-4, wherein said method further comprises:
calculating basic data in the database based on data calculation logic corresponding to the storage process, and sending the calculated data to the view layer;
the determining a target page view according to the configuration information and the basic data information based on the view layer includes:
and determining a target page view according to the configuration information, the basic data information and the data after calculation processing based on the view layer.
7. The page view configuration method of claim 6, said method further comprising:
acquiring a second database deployment instruction sent by a second terminal device, and adjusting data calculation logic corresponding to the storage process according to the second database deployment instruction, wherein the adjustment includes at least one of the following: add, delete, modify, replace.
8. A page view configuration apparatus, comprising:
the instruction acquisition module is used for acquiring a data query instruction sent by the first terminal equipment;
the process determining module is used for determining target page information and a storage process corresponding to the target page information according to the data query instruction;
the process calling module is used for calling a storage process corresponding to the target page information through a control layer and acquiring configuration information deployed in a database and basic data information associated with the configuration information based on the storage process;
the view determining module is used for determining a target page view according to the configuration information and the basic data information based on a view layer;
and the sending module is used for sending the target page view to the first terminal equipment, and the target page view is used for displaying on the first terminal equipment.
9. A computer device, wherein the computer device comprises a memory and a processor;
the memory is used for storing a computer program;
the processor for executing the computer program and implementing the steps of the page view configuration method according to any of claims 1-7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored, which, if executed by a processor, carries out the steps of the page view configuration method according to any one of claims 1 to 7.
CN202210957528.2A 2022-08-10 2022-08-10 Page view configuration method and device, computer equipment and storage medium Pending CN115237467A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210957528.2A CN115237467A (en) 2022-08-10 2022-08-10 Page view configuration method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210957528.2A CN115237467A (en) 2022-08-10 2022-08-10 Page view configuration method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115237467A true CN115237467A (en) 2022-10-25

Family

ID=83679105

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210957528.2A Pending CN115237467A (en) 2022-08-10 2022-08-10 Page view configuration method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115237467A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116301869A (en) * 2023-05-17 2023-06-23 建信金融科技有限责任公司 Front-end page configuration management and control system, method, device, medium and program product

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116301869A (en) * 2023-05-17 2023-06-23 建信金融科技有限责任公司 Front-end page configuration management and control system, method, device, medium and program product
CN116301869B (en) * 2023-05-17 2023-08-15 建信金融科技有限责任公司 Front-end page configuration management and control system, method, equipment and medium

Similar Documents

Publication Publication Date Title
US10990644B2 (en) Systems and methods for contextual vocabularies and customer segmentation
US11706331B2 (en) Information processing method and apparatus, storage medium, and electronic device
US11681655B2 (en) Method and apparatus for opening file, and electronic device
CN109445783B (en) Method and device for constructing dynamic configuration application driven by service
EP3945436A1 (en) Methods, apparatuses, and devices for generating digital document of title
CN111667199A (en) Workflow construction method and device, computer equipment and storage medium
CN114385940A (en) Data visualization method, device, equipment and medium
CN111367518A (en) Page layout method and device, computing equipment and computer storage medium
CN115237467A (en) Page view configuration method and device, computer equipment and storage medium
CN116775916A (en) Multimedia content playing method, device, equipment and storage medium
CN110333859B (en) Page creation method, page creation device, electronic device and computer readable storage medium
CN113900755B (en) Alarm page processing method and device, computer equipment and readable storage medium
US20230385363A1 (en) Web site preview generation based on web site type
US20190250896A1 (en) System and method for developing software applications of wearable devices
CN112988810B (en) Information searching method, device and equipment
US11210119B2 (en) Method and device for displaying interface, electronic equipment, server, and storage medium
CN111709843A (en) Client portrait generation method and device and electronic equipment
CN114265658B (en) Page display method, device and equipment
CN114461960B (en) Page generation method, page display method and page display device
CN113918499B (en) Open interface generation method, network device and computer readable storage medium
CN114217885A (en) Data processing method, device and storage medium
CN114943048A (en) Webpage loading method, webpage loading device, electronic equipment and storage medium
CN114237589A (en) Skeleton screen generation method and device, terminal device and storage medium
CN114237624A (en) Go language-based error processing method, device, equipment, medium and product
CN115509634A (en) Input method configuration method, character input method, device and medium

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