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

CN114995875A - Page component configuration method and device, electronic equipment and storage medium - Google Patents

Page component configuration method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114995875A
CN114995875A CN202210712301.1A CN202210712301A CN114995875A CN 114995875 A CN114995875 A CN 114995875A CN 202210712301 A CN202210712301 A CN 202210712301A CN 114995875 A CN114995875 A CN 114995875A
Authority
CN
China
Prior art keywords
component
target
configuration data
screening
page
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
CN202210712301.1A
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.)
Lianren Healthcare Big Data Technology Co Ltd
Original Assignee
Lianren Healthcare Big Data Technology 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 Lianren Healthcare Big Data Technology Co Ltd filed Critical Lianren Healthcare Big Data Technology Co Ltd
Priority to CN202210712301.1A priority Critical patent/CN114995875A/en
Publication of CN114995875A publication Critical patent/CN114995875A/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a page component configuration method, a page component configuration device, electronic equipment and a storage medium, wherein the method comprises the following steps: determining at least one limiting condition corresponding to a target user, acquiring target component configuration data and basic component configuration data based on each limiting condition, and creating a target screening item object variable based on the target component configuration data and the basic component configuration data, wherein the limiting condition comprises permission level and/or custom configuration; acquiring at least one screening component and at least one control component corresponding to the target component configuration data and the basic component configuration data based on the target screening item object variable; and determining a target page based on the screening item components and the control components. According to the technical scheme of the embodiment of the invention, the effects of improving the development efficiency and reducing the development cost are realized, and in the later code maintenance process, only the object variable needs to be maintained, so that the effects of facilitating later code maintenance and reducing the maintenance cost are achieved.

Description

Page component configuration method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of internet, in particular to a page component configuration method and device, electronic equipment and a storage medium.
Background
With the enhancement of the dependence of people on the application program on the mobile terminal, the functions provided by the application program are more and more abundant, and more data are provided, so that the screening of the data displayed on the application program page becomes an indispensable functional requirement in the process of using the application program by a user.
At present, for front-end development, different pages need to use a plurality of screening condition components for multiple times, and the problems of the components, patterns among the components, data flow direction, data combination and the like need to be concerned; for the user, the set initial screening conditions cannot guarantee that the actual scene and the personal habits of the user are completely met, and only through layer-by-layer feedback of the user, the developer re-develops, modifies, re-releases and deploys the page, and a long period is needed for perfecting the page.
Disclosure of Invention
The invention provides a page component configuration method, a page component configuration device, electronic equipment and a storage medium, which are used for achieving the effects of improving development efficiency and reducing development cost, and achieving the effects of facilitating later code maintenance and reducing maintenance cost by maintaining object variables in the later component configuration data maintenance process.
According to an aspect of the present invention, there is provided a page component configuration method, including:
determining at least one limiting condition corresponding to a target user, acquiring target component configuration data and basic component configuration data based on each limiting condition, and creating target screening item object variables based on the target component configuration data and the basic component configuration data, wherein the limiting condition comprises authority level and/or custom configuration;
acquiring at least one screening item component and at least one control component corresponding to the target component configuration data and the basic component configuration data based on the target screening item object variable, wherein the screening item component and the control component correspond to each control in the display page;
and determining a target page based on the screening item components and the control components.
According to another aspect of the present invention, there is provided a page component configuring apparatus including:
the configuration data acquisition module is used for determining at least one limiting condition corresponding to a target user, acquiring target component configuration data and basic component configuration data based on each limiting condition, and creating a target screening item object variable based on the target component configuration data and the basic component configuration data, wherein the limiting condition comprises permission level and/or custom configuration;
the component acquisition module is used for acquiring at least one screening component and at least one control component corresponding to the target component configuration data and the basic component configuration data based on the target screening item object variable, wherein the screening item component and the control component correspond to each control in the display page;
and the target page determining module is used for determining a target page based on the screening item components and the control components.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the page component configuration method of any embodiment of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the page component configuring method according to any one of the embodiments of the present invention when the computer instructions are executed.
The technical scheme of the embodiment of the invention solves the problems that the development efficiency is low, the development period is long and the like because the components and the data combination are required to be concerned when the page components are configured in the prior art, and the development cost is improved and reduced by determining at least one limiting condition corresponding to a target user, acquiring target component configuration data and basic component configuration data based on each limiting condition, creating a target screening item object variable based on the target component configuration data and the basic component configuration data, further acquiring at least one screening component and at least one control component corresponding to the target component configuration data and the basic component configuration data based on the target screening item object variable, and finally determining a target page based on each screening component and each control component, in addition, by integrating the component configuration data into the object variables, only one object variable needs to be maintained in the later component configuration data maintenance process, so that the effects of facilitating later code maintenance and reducing the maintenance cost are achieved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, 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 flowchart of a method for configuring a page component according to an embodiment of the present invention;
FIG. 2 is a flowchart of a page component configuration method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a page component configuring apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device implementing the page component configuration method according to the embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a flowchart of a page component configuration method according to an embodiment of the present invention, where the present embodiment is applicable to a case where a component in a display page is configured and maintained at a later time, and the method may be executed by a page component configuration device, where the page component configuration device may be implemented in a form of hardware and/or software, and the page component configuration device may be configured in a terminal and/or a server.
As shown in fig. 1, the method includes:
s110, determining at least one limiting condition corresponding to the target user, acquiring target component configuration data and basic component configuration data based on the limiting conditions, and creating target screening item object variables based on the target component configuration data and the basic component configuration data.
In this embodiment, the target user may be an accessing user of a target page that currently needs to perform component configuration. Optionally, the target user may be a user who accesses the target page for the first time, or may be a user who stores user information on the target page, and the like, which is not specifically limited in this embodiment. The qualification can be understood as the permission requirements set by the target page for the page component configuration. Optionally, the qualification includes a permission level and/or a custom configuration. The permission level can be understood as that when users at different levels access a target page, the filtering item components displayed on the page are different and can be divided into a high permission level, a medium permission level and a low permission level. Illustratively, the number of the screening item components corresponding to the high-permission-level user is greater than the number of the screening item components corresponding to the low-permission-level user, or the screening precision of the screening item components corresponding to the high-permission-level user is higher than that of the screening item components corresponding to the low-permission-level user. The custom configuration may be understood as whether the target page allows a user to delete, add, or modify various components displayed in the page, etc.
The target component configuration data may be data information used to represent various configuration parameters such as a page display style, a display size, and an application function of each component. It should be noted that each component corresponds to different component configuration data, and the display condition of the component in the page can be realized by modifying the component configuration data. Illustratively, the target component configuration data may be represented by a string in the form of JSON. In this embodiment, the target component configuration data is associated with the target user, that is, the target component configuration data corresponding to different users is different. The basic component configuration data may be understood as configuration data of each basic component displayed in the target page. The basic component configuration data is independent of the target user's defined conditions, i.e., the basic component configuration data obtained by each user is the same.
In this embodiment, the target filter item object variable may be understood as a block of memory space for storing the component configuration data. In practical application, a memory space may be pre-constructed, and after the component configuration data is acquired, the data is integrated and stored in the pre-constructed memory space, so as to obtain the target screening item object variable.
Optionally, acquiring target component configuration data based on each defined condition includes: determining at least one screening item corresponding to each limiting condition, and acquiring target component configuration data corresponding to each screening item from a target database; and determining basic component configuration data based on the target page initial configuration requirements.
Wherein, the filtering item can be understood as a filtering condition for the display content of the target page. In practical application, the target page screening items corresponding to the target users under different defined conditions are different. Optionally, the filter items may include a high-permission filter item, a medium-permission filter item, a low-permission filter item, and the like. Illustratively, the filter terms may include, but are not limited to, date, time, amount, and cascade, among others. The target database may be understood as a repository that is long-term located in a computer terminal for storing component configuration data. It should be noted that the component configuration data stored in the target database is stored according to a certain rule, so that the data can be organized more appropriately, maintained more conveniently, controlled more strictly, and utilized more efficiently. The target page initial configuration requirement can be understood as basic configuration parameters set by a developer when the developer develops the target page.
In specific implementation, when configuring a component displayed in a target page, first determining each limiting condition of a target user on a current page, determining each screening item corresponding to each limiting condition based on each limiting condition, extracting corresponding target component configuration data from a target database according to each determined screening item, and simultaneously determining a basic component configuration parameter corresponding to an initial configuration requirement of the current page, so that basic component configuration data can be determined based on the basic component configuration parameter.
S120, acquiring at least one screening component and at least one control component corresponding to the target component configuration data and the basic component configuration data based on the target screening item object variable.
Wherein the filter item component and the control component correspond to respective controls in the display page.
In this embodiment, the filter item component may be understood as a control displayed in the display page for implementing the filter function. By way of example, the filter item components can include, but are not limited to, drop-down boxes, input boxes, time-date selection controls, cascade selection controls, and radio/check boxes. The control component may be understood as a control displayed in the display page for implementing the interactive functionality. Illustratively, the control components may include, but are not limited to, switches, sliders, reset buttons, query buttons, and the like.
In practical application, after obtaining the target screening object variable of the storage component configuration data, in order to determine each component corresponding to the component configuration data, the target screening object variable may be processed, and each component may be obtained according to the processed data information.
Optionally, obtaining at least one screening component and at least one control component corresponding to the target component configuration data and the basic component configuration data based on the target screening item object variable includes: analyzing the target screening item object variable based on the data conversion plug-in to obtain component analysis data in a target format; and acquiring at least one screening component and at least one control component based on the component analysis data and a preset component library.
In this embodiment, the data conversion plug-in may be understood as a program written in an application program interface conforming to a certain specification, and the program is used for realizing the conversion operation of the component configuration data. The object format may be understood as a data format that the component library can recognize. Component parsing data may be understood as component configuration data that the component library may identify. The preset component library may be understood as a preset component storage space containing all components required for page configuration. Illustratively, the pre-set component library may be an vue component library that is self-packaged by a developer.
Optionally, obtaining at least one screening component and at least one control component based on the component parsing data and the preset component library includes: and generating a component searching instruction based on the component analysis data, and sending the component searching instruction to a preset component library so as to obtain each screening item component and each control component from the preset component library based on the component searching instruction.
Wherein a component lookup instruction may be understood as a piece of pre-written program code that is used to implement a component lookup operation.
Specifically, after analyzing the target screening item object variable to obtain the component analysis data, the data conversion plug-in may generate a corresponding component search instruction according to the component analysis data and send the corresponding component search instruction to the preset component library, where the instruction includes the component analysis data, and further, after receiving the component search instruction, the preset component library may search the corresponding component in the current component library according to the component analysis data included in the instruction, thereby obtaining each screening item component and each control component, and feeding back the corresponding component to the data conversion plug-in.
In a specific implementation, after a target screening item object variable is obtained, in order to determine a component corresponding to each component configuration data stored in the object variable, a data conversion plug-in may be invoked, the target screening item object variable is analyzed by the data conversion plug-in to obtain component analysis data that can be identified by a component library, and further, according to the component analysis data, all components corresponding to the component analysis data in a preset component library are read, so as to determine each screening item component and each control component corresponding to the target component configuration data and the basic component configuration data, so that a page may be configured according to each obtained component.
And S130, determining a target page based on the screening item components and the control components.
The target page can be understood as a page requiring component configuration.
In practical application, after the screening components and the control components are obtained, the screening components and the control components need to be arranged and combined in a certain form, so that the components can be displayed in corresponding areas in a page.
Optionally, determining the target page based on the screening item components and the control components includes: receiving a component combination instruction based on the component analysis plug-in, and combining each screening item component and each control component according to the component combination instruction to obtain a target page; wherein, the component combination instruction comprises each screening item component and each control component.
In this embodiment, the component parsing plug-in may be a program for implementing a component assembly operation. The component combination instruction may be understood as a piece of pre-written program code including the screening components, the control components, and a preset combination form of the components.
It should be noted that receiving the component combination instruction based on the component analysis plug-in may be implemented by monitoring through a subscriber mode that is preset by the component analysis plug-in at an exit of the data conversion plug-in, that is, when the data conversion plug-in generates the component combination instruction, the component analysis plug-in may synchronously monitor the instruction and receive the instruction.
Specifically, after obtaining the screening components and the control components, the data converter may generate a component combination instruction including a screening component combination form and a control component combination form, and send the component combination instruction to the component parser in a form of issuing a notification, and the component parser may combine the screening components and the control components in a preset combination form by parsing the instruction after receiving the instruction, thereby obtaining the target page.
On the basis of the technical scheme, the method further comprises the following steps: when a control triggering screening item configuration is detected, jumping to a screening item configuration page, and determining screening item configuration information corresponding to a target user based on the screening item configuration page; and converting the configuration data corresponding to the screening item configuration information into a variable of the object to be processed based on the data conversion plug-in, so as to update the variable of the target screening item object based on the variable of the object to be processed.
The control configured by triggering the screening option may be understood as a trigger operation caused by the time when the computer input device clicks or stays at a certain position reaches a preset time, or a trigger operation caused by a certain key or key combination in the computer input device. Illustratively, the filter configuration control may be a configuration control button displayed in the destination page. A filter configuration page may be understood as a display page containing all user-configurable filter components. The screening item configuration information can be understood as the component configuration situation after the user performs the custom configuration operation on each screening item displayed in the page. Exemplary, custom configuration operations may include, but are not limited to, adjusting the order of the screen item component displays, controlling whether one or more of the screen item components are displayed or adding custom screen item components within the business and jurisdictions, and the like.
In practical application, after performing user-defined configuration on each screening item component displayed in a page, a user determines corresponding component configuration data according to the configured screening item component, and in order to facilitate maintenance of the component configuration data, an object variable may also be pre-constructed, and the obtained component configuration data is integrated and stored in the object variable, so that an object variable to be processed can be obtained. And the structure of the object variable to be processed is the same as that of the object variable of the target screening item.
In specific implementation, when a trigger operation is detected, the terminal pops up a screening item configuration page, the page includes screening item components, so that a user can perform a custom configuration operation on each screening item component displayed in the page to obtain screening item configuration information corresponding to a target user, and determines corresponding configuration data according to the configuration information, and further, the configuration data is sent to the data conversion plug-in, so that the data conversion plug-in converts the configuration data into an object variable to be processed, the data structure of which is the same as that of the target screening item object variable, and the object variable to be processed is sent to the target screening item object variable by a subscriber mode in the data conversion plug-in through a release instruction mode to realize an update operation of the target screening item object variable.
It should be noted that, while updating the target screening item object variable, a preset database storing component configuration data is also required to be processed to update the component configuration data stored in the target database by the target user, and based on this, on the basis of the above technical solution, the method further includes: and when the server receives the data storage instruction, storing the configuration data corresponding to the object variable to be processed into the target database according to the data storage instruction.
A server is understood to be an electronic device that responds to a service request sent by a head-end. The data storage instruction may be understood as a pre-written program code, and the program code includes configuration data corresponding to the object variable to be processed and a request for performing a storage operation on the configuration data.
Specifically, after the data conversion plug-in converts the configuration data into the variables of the object to be processed, a data storage instruction may be generated according to the variables of the object to be processed and sent to the corresponding server, and after the server receives the instruction, the instruction is analyzed to obtain the configuration data corresponding to the variables of the object to be processed included in the instruction, and the obtained configuration data is stored in the target database.
The technical scheme of the embodiment of the invention solves the problems that the development efficiency is low, the development period is long and the like because the components and the data combination are required to be concerned when the page components are configured in the prior art, and the development cost is improved and reduced by determining at least one limiting condition corresponding to a target user, acquiring target component configuration data and basic component configuration data based on each limiting condition, creating a target screening item object variable based on the target component configuration data and the basic component configuration data, further acquiring at least one screening component and at least one control component corresponding to the target component configuration data and the basic component configuration data based on the target screening item object variable, and finally determining a target page based on each screening component and each control component, in addition, by integrating the component configuration data into the object variables, only one object variable needs to be maintained in the later component configuration data maintenance process, so that the effects of facilitating later code maintenance and reducing the maintenance cost are achieved.
Example two
Fig. 2 is a flowchart of a page component configuration method according to a second embodiment of the present invention. This embodiment is a preferred embodiment of the above embodiments, and as shown in fig. 2, the method includes the following steps:
1. determining whether the target page needs to have right level limitation and user-defined configuration;
2. if yes, acquiring target component configuration data from the database according to the right level and the user-defined configuration;
3. if not, determining the initial configuration requirement of the target page so as to determine basic component configuration data based on the initial configuration requirement;
4. constructing a target screening object variable based on the target component configuration data and the basic component configuration data;
5. sending the target screening item object variable to a data conversion plug-in to enable the data conversion plug-in to analyze and process the target screening item object;
6. acquiring all corresponding components from vue component libraries based on the analyzed component configuration data;
7. all the obtained components are divided into a screening item component set and a control component set and sent to a component analysis plug-in;
8. combining all screening item components and all control components based on the component analysis plug-in to obtain a target page;
9. determining whether a target page has a configuration control button, if so, executing the step 10, and if not, ending the whole process;
10. determining whether the user performs user-defined configuration on each screening item assembly, if so, executing the step 11, and if not, ending the whole process;
11. sending the configuration data of the user-defined configuration items to a data conversion plug-in;
12. converting the configuration data into object variables with the same data structure as the object variables of the target screening items based on the data conversion plug-in, and sending the object variables of the target screening items to the object variables of the target screening items for combination processing;
13. and sending a data storage request to the server, so that the server stores the configuration data carried in the request into a target database after receiving the request.
The technical scheme of the embodiment of the invention solves the problems that the development efficiency is low, the development period is long and the like because the components and the data combination are required to be concerned when the page components are configured in the prior art, and the development cost is improved and reduced by determining at least one limiting condition corresponding to a target user, acquiring target component configuration data and basic component configuration data based on each limiting condition, creating a target screening item object variable based on the target component configuration data and the basic component configuration data, further acquiring at least one screening component and at least one control component corresponding to the target component configuration data and the basic component configuration data based on the target screening item object variable, and finally determining a target page based on each screening component and each control component, in addition, by integrating the component configuration data into the object variables, only one object variable needs to be maintained in the later component configuration data maintenance process, so that the effects of facilitating later code maintenance and reducing the maintenance cost are achieved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a page component configuring apparatus according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes: a configuration data acquisition module 210, a component acquisition module 220, and a target page determination module 230.
The configuration data obtaining module 210 is configured to determine at least one limiting condition corresponding to a target user, obtain target component configuration data and basic component configuration data based on each limiting condition, and create a target filter item object variable based on the target component configuration data and the basic component configuration data, where the limiting condition includes an authority level and/or a custom configuration;
the component obtaining module 220 is configured to obtain at least one filter component and at least one control component corresponding to the target component configuration data and the basic component configuration data based on the target filter item object variable, where the filter item component and the control component correspond to each control in the display page;
and a target page determining module 230, configured to determine a target page based on the filter item components and the control components.
The technical scheme of the embodiment of the invention solves the problems that the development efficiency is low, the development period is long and the like because the components and the data combination are required to be concerned when the page components are configured in the prior art, and the development cost is improved and reduced by determining at least one limiting condition corresponding to a target user, acquiring target component configuration data and basic component configuration data based on each limiting condition, creating a target screening item object variable based on the target component configuration data and the basic component configuration data, further acquiring at least one screening component and at least one control component corresponding to the target component configuration data and the basic component configuration data based on the target screening item object variable, and finally determining a target page based on each screening component and each control component, in addition, by integrating the component configuration data into the object variables, only one object variable needs to be maintained in the later component configuration data maintenance process, so that the effects of facilitating later code maintenance and reducing the maintenance cost are achieved.
Optionally, the configuration data obtaining module 210 is further configured to determine at least one filter item corresponding to each limiting condition, and obtain target component configuration data corresponding to each filter item from the target database; and determining the basic component configuration data based on the initial configuration requirements of the target page.
Optionally, the component acquiring module 220 includes a component parsing data acquiring unit and a component determining unit.
The analysis data acquisition unit is used for analyzing the target screening item object variable based on the data conversion plug-in to obtain component analysis data in a target format; and the component determining unit is used for determining at least one screening component and at least one control component based on the component analysis data and a preset component library.
Optionally, the component determining unit is further configured to generate a component search instruction based on the component analysis data, and send the component search instruction to the preset component library, so as to obtain each screening component and each control component from the preset component library based on the component search instruction.
Optionally, the target page determining module 230 is further configured to receive a component combination instruction based on the component analysis plug-in, so as to combine each screening item component and each control component according to the component combination instruction to obtain a target page; wherein, the component combination instruction comprises each screening item component and each control component.
Optionally, the apparatus further comprises: the device comprises a configuration information determining module and an object variable updating module.
The configuration information determining module is used for jumping to a screening item configuration page when a control triggering screening item configuration is detected, and determining screening item configuration information corresponding to a target user based on the screening item configuration page; the object variable updating module is used for converting the configuration data corresponding to the screening item configuration information into object variables to be processed based on the data conversion plug-in so as to update the target screening item object variables based on the object variables to be processed; and the structure of the object variable to be processed is the same as that of the object variable of the target screening item.
Optionally, the apparatus further comprises: and the configuration data storage module is used for storing the configuration data corresponding to the object variables of the target screening items into the target database according to the data storage instruction when the server receives the data storage instruction.
The page component configuration device provided by the embodiment of the invention can execute the page component configuration method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
FIG. 4 shows a schematic block diagram of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM)12, a Random Access Memory (RAM)13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM)12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. Processor 11 performs the various methods and processes described above, such as the page component configuration method.
In some embodiments, the page component configuration method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the page component configuration method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the page component configuration method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user may provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A page component configuration method, comprising:
determining at least one limiting condition corresponding to a target user, acquiring target component configuration data and basic component configuration data based on each limiting condition, and creating a target screening item object variable based on the target component configuration data and the basic component configuration data, wherein the limiting condition comprises a permission level and/or a custom configuration;
acquiring at least one screening component and at least one control component corresponding to the target component configuration data and the basic component configuration data based on the target screening item object variable, wherein the screening component and the control component correspond to each control in a display page;
a target page is determined based on each of the sifting component and each of the control components.
2. The method of claim 1, wherein said obtaining target component configuration data based on each of said defined conditions comprises:
determining at least one screening item corresponding to each of the defined conditions, and acquiring target component configuration data corresponding to each of the screening items from a target database;
and the number of the first and second groups,
determining the basic component configuration data based on the target page initial configuration requirements.
3. The method of claim 1, wherein said retrieving at least one filter component and at least one control component corresponding to the target component configuration data and the base component configuration data based on the target filter item object variables comprises:
analyzing the object variable of the target screening item based on a data conversion plug-in to obtain component analysis data in a target format;
and acquiring at least one screening component and at least one control component based on the component analysis data and a preset component library.
4. The method of claim 3, wherein obtaining at least one filter component and at least one control component based on the component parsing data and a library of preset components comprises:
and generating a component searching instruction based on the component analysis data, and sending the component searching instruction to the preset component library so as to obtain each screening component and each control component from the preset component library based on the component searching instruction.
5. The method of claim 1, wherein determining a target page based on each of the sifting component and each of the controlling component comprises:
receiving a component combination instruction based on a component analysis plug-in, and combining each screening component and each control component according to the component combination instruction to obtain a target page;
wherein, each screening component and each control component are included in the component combination instruction.
6. The method of claim 1, further comprising:
when a control triggering screening item configuration is detected, jumping to a screening item configuration page, and determining screening item configuration information corresponding to the target user based on the screening item configuration page;
converting the configuration data corresponding to the screening configuration information into object variables to be processed based on a data conversion plug-in;
and updating the target screening item object variable based on the object variable to be processed.
And the structure of the object variable to be processed is the same as that of the object variable of the target screening item.
7. The method of claim 6, further comprising:
and when a server receives a data storage instruction, storing the configuration data corresponding to the target screening object variable into a target database according to the data storage instruction.
8. A page component configuring apparatus, comprising:
the configuration data acquisition module is used for determining at least one limiting condition corresponding to a target user, acquiring target component configuration data and basic component configuration data based on each limiting condition, and creating a target screening item object variable based on the target component configuration data and the basic component configuration data, wherein the limiting condition comprises an authority level and/or a custom configuration;
the component acquisition module is used for acquiring at least one screening component and at least one control component corresponding to the target component configuration data and the basic component configuration data based on the target screening item object variable, wherein the screening component and the control component correspond to each control in a display page;
and the target page determining module is used for determining a target page based on each screening component and each control component.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the page component configuration method of any of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a processor to perform the page component configuration method of any one of claims 1 to 9 when executed.
CN202210712301.1A 2022-06-22 2022-06-22 Page component configuration method and device, electronic equipment and storage medium Pending CN114995875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210712301.1A CN114995875A (en) 2022-06-22 2022-06-22 Page component configuration method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210712301.1A CN114995875A (en) 2022-06-22 2022-06-22 Page component configuration method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114995875A true CN114995875A (en) 2022-09-02

Family

ID=83037158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210712301.1A Pending CN114995875A (en) 2022-06-22 2022-06-22 Page component configuration method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114995875A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116700725A (en) * 2023-08-04 2023-09-05 太平金融科技服务(上海)有限公司 Page generation method, page generation device, computer device, storage medium and program product

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116700725A (en) * 2023-08-04 2023-09-05 太平金融科技服务(上海)有限公司 Page generation method, page generation device, computer device, storage medium and program product
CN116700725B (en) * 2023-08-04 2023-10-31 太平金融科技服务(上海)有限公司 Page generation method, page generation device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US20170300819A1 (en) Time-Series Prediction Apparatus and Time-Series Prediction Method
CN110309113A (en) Log analytic method, system and equipment
CN113656533A (en) Tree control processing method and device and electronic equipment
CN114995875A (en) Page component configuration method and device, electronic equipment and storage medium
CN112328225A (en) Page operation method and operation system thereof
CN115080271A (en) Event data processing method and device, electronic equipment and storage medium
CN115169316A (en) Data processing template generation method and device, electronic equipment and storage medium
CN115469849A (en) Service processing system, method, electronic device and storage medium
CN115454971A (en) Data migration method and device, electronic equipment and storage medium
CN115329150A (en) Method and device for generating search condition tree, electronic equipment and storage medium
CN113391870A (en) Page jump method and device, electronic equipment and readable storage medium
CN113138760A (en) Page generation method and device, electronic equipment and medium
CN112100362A (en) Document format recommendation model training method and device and electronic equipment
CN115202538B (en) Menu configuration method and device, electronic equipment and storage medium
CN113705822A (en) Automatic modeling method, system, computing device and storage medium
CN115292179A (en) Test data generation method and device, electronic equipment and storage medium
CN115629690A (en) Method, device, equipment and storage medium for generating FIO working file
CN115658988A (en) Chart configuration method and device, electronic equipment and storage medium
CN115408395A (en) Data processing method and device, electronic equipment and storage medium
CN115951921A (en) Service processing method, device and storage medium
CN117608734A (en) Page generation method, device, equipment and storage medium
CN115269081A (en) Display method, device, system, equipment and medium for popup page
CN117421082A (en) Control display control method and device, electronic equipment and storage medium
CN114564491A (en) Data query method, device, equipment, medium, product and query assembly
CN113325997A (en) Data sampling method and device and computer readable storage 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