CN117608454A - Page display method, page display device, electronic equipment and storage medium - Google Patents

Page display method, page display device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117608454A
CN117608454A CN202311788147.7A CN202311788147A CN117608454A CN 117608454 A CN117608454 A CN 117608454A CN 202311788147 A CN202311788147 A CN 202311788147A CN 117608454 A CN117608454 A CN 117608454A
Authority
CN
China
Prior art keywords
control
configuration information
page
content
display
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
CN202311788147.7A
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.)
Ningbo Sanxing Smart Electric Co Ltd
Original Assignee
Ningbo Sanxing Smart Electric 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 Ningbo Sanxing Smart Electric Co Ltd filed Critical Ningbo Sanxing Smart Electric Co Ltd
Priority to CN202311788147.7A priority Critical patent/CN117608454A/en
Publication of CN117608454A publication Critical patent/CN117608454A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the invention provides a page display method, a device, electronic equipment and a storage medium, and relates to the technical field of page display, wherein the method comprises the following steps: according to the selection operation of a user on the current page of the application program, the configuration information of the next-level control corresponding to the target control is obtained from a pre-stored page display configuration file, the target control is not the last-level control, and according to the configuration information of the next-level control corresponding to the target control, the target page of the application program is displayed.

Description

Page display method, page display device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of page display, in particular to a page display method, a page display device, electronic equipment and a storage medium.
Background
With the continuous penetration of intelligence and informatization in various fields, the power system is also undergoing a deep revolution. The power acquisition module terminal is used as an important component of the power system, and the performance and the function of the power acquisition module terminal directly influence the operation efficiency and the quality of the power system. And according to the personalized requirements of the local parties in each region on the electricity acquisition terminal, customizing page display content and configurable parameters. The method for improving the usability and maintainability of the page display of the electricity acquisition terminal is a problem to be solved at present.
The development cost and the maintenance cost of the page display in the prior art are high.
Disclosure of Invention
The invention solves the problem that the development cost and the maintenance cost of page display in the prior art are high.
In order to solve the problems, the invention adopts the following technical scheme:
in a first aspect, the present invention provides a page display method, the method including:
according to the selection operation of a user on a current page of an application program on a target control, acquiring configuration information of a control of a next level corresponding to the target control from a pre-stored page display configuration file; the page display configuration file records configuration information of all controls in the application program and hierarchical relations among the controls; the target control is not the control of the last hierarchy;
displaying a target page of the application program according to configuration information of a control of the next level corresponding to the target control; the target page comprises a control of the next level corresponding to the target control.
The embodiment of the invention provides a page display method, a device, electronic equipment and a storage medium, wherein the method comprises the following steps: according to the selection operation of a user on the current page of the application program, the configuration information of the next-level control corresponding to the target control is obtained from a pre-stored page display configuration file, the page display configuration file records the configuration information of all the controls in the application program and the hierarchical relation among the controls, the target control is not the last-level control, the target page of the application program is displayed according to the configuration information of the next-level control corresponding to the target control, the target page comprises the next-level control corresponding to the target control, and because the page display of the application program is realized according to the configuration information of the controls in the same level in the page display configuration file, the maintenance of each page in the application program can be realized through the maintenance of the hierarchical relation among the controls in the page display configuration file and the configuration information of the controls, so that the development cost and the maintenance cost are reduced.
In an alternative embodiment, the configuration information of each control includes a control type and display content configuration information; and displaying the target page of the application program according to the configuration information of the control of the next level corresponding to the target control, including:
acquiring content to be displayed according to the control type and the display content configuration information in the configuration information of the control of the next level;
and displaying the content to be displayed so as to display a target page of the application program.
According to the control type and the display content configuration information in the configuration information of the control of the next level, the content to be displayed can be obtained, and the content to be displayed is displayed, so that the maintenance of the display content of the application program is more convenient.
In an alternative embodiment, the controls include a catalog control and a non-catalog control, the display content configuration information of the catalog control includes title content, and the display content configuration information of the non-catalog control includes content identification; and acquiring the content to be displayed according to the control type and the display content configuration information in the configuration information of the control of the next level, wherein the method comprises the following steps:
when the control type corresponding to the control of the next level is a directory type, determining the title content in the display content configuration information as the content to be displayed;
and when the control type corresponding to the control of the next level is not the catalog type, acquiring corresponding target content according to the content identifier in the display content configuration information, and determining the target content as the content to be displayed.
In the invention, the target content is determined to be the content to be displayed, and the content to be displayed corresponds to the content identifiers one by one, so that the content to be displayed can be determined through the content identifiers in the configuration information of the corresponding control, the on-site operation and maintenance display data of a user can be facilitated, and the maintenance cost can be reduced.
In an alternative embodiment, the configuration information of each control further includes effect configuration information; the displaying the content to be displayed, thereby displaying a target page of the application program, includes:
and displaying the content to be displayed according to the effect configuration information in the configuration information of the control of the next level, so as to display the target page of the application program.
According to the method and the device for displaying the content to be displayed, the content to be displayed can be displayed according to the effect configuration information in the configuration information of the control, the display effect of the content to be displayed can be determined by determining the effect configuration information in the configuration information of the corresponding control, special requirements of local parties in various areas can be quickly adapted, and maintenance cost can be reduced.
In an alternative embodiment, the method further comprises:
when the application program is initialized, configuration information of a control of a first level is obtained from the page display configuration file;
displaying an initial page of the application program according to the configuration information of the control of the first level; the initial page includes controls of the first level.
In the invention, when initializing, the initial page of the application program is displayed only according to the configuration information of the control of the first level, and the effect of the electronic equipment on the display interface of the application program according to the page display configuration file can be rapidly verified.
In an alternative embodiment, the method further comprises:
and obtaining a modified page display configuration file according to configuration information of at least one control in the page display configuration file and/or modification confirmation operation of hierarchical relations among the controls by a user.
In the invention, the modification of the directory hierarchy displayed by the application program only needs to modify the hierarchical relation among the controls in the page display configuration file, thereby realizing lower development cost and maintenance cost of page display. The modification of the display content of a single page displayed by the application program only needs to modify the configuration information of the corresponding control in the configuration file, so that the user can conveniently operate and maintain the display data on site.
In a second aspect, the present invention provides a page display device, the device comprising:
the configuration information acquisition module is used for acquiring the configuration information of the control of the next level corresponding to the target control from a pre-stored page display configuration file according to the selection operation of the user on the current page of the application program; the page display configuration file records configuration information of all controls in the application program and hierarchical relations among the controls; the target control is not the control of the last hierarchy;
the display module is used for displaying a target page of the application program according to the configuration information of the control of the next level corresponding to the target control; the target page comprises a control of the next level corresponding to the target control.
In an alternative embodiment, the configuration information of each control includes a control type and display content configuration information;
the display module is also used for obtaining the content to be displayed according to the control type and the display content configuration information in the configuration information of the control of the next level; and displaying the content to be displayed so as to display a target page of the application program.
In the present invention, the technical effects of the page display device described in the second aspect may refer to the technical effects of the page display method described in any possible implementation manner of the first aspect, which are not described herein again.
In a third aspect, the present invention provides an electronic device comprising a processor and a memory, the memory storing a computer program executable by the processor to implement the page display method according to any of the preceding embodiments.
In a fourth aspect, the present invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a page display method as in any of the preceding embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a schematic flow chart of a page display method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a display page according to an embodiment of the present invention;
FIG. 3 illustrates a schematic diagram of the hierarchical relationship between controls provided by embodiments of the present invention;
FIG. 4 is another schematic diagram of a display page according to an embodiment of the present invention;
FIG. 5 shows a further schematic diagram of a display page provided by an embodiment of the present invention;
fig. 6 is a schematic flow chart of another page display method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a display page according to an embodiment of the present invention;
FIG. 8 is another schematic diagram of a display page provided by an embodiment of the present invention;
FIG. 9 is a block diagram of a page display device according to an embodiment of the present invention;
fig. 10 shows a block schematic diagram of an electronic device according to an embodiment of the present invention.
Icon: 100-an electronic device; 200-page display means; 210-a configuration information acquisition module; 220-a display module; 110-memory; a 120-processor; 130-a communication module.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It is noted that relational terms such as "first" and "second", and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
Referring to fig. 1, fig. 1 shows a flow chart of a page display method according to an embodiment of the invention. The page display method can be applied to electronic equipment, and the specific flow of the embodiment is described below by taking the electronic equipment as an example. The following describes the flow shown in fig. 1 in detail, and the page display method specifically includes the following steps:
step S110: according to the selection operation of a user on the current page of the application program on the target control, obtaining configuration information of a control of the next level corresponding to the target control from a pre-stored page display configuration file; the page display configuration file records configuration information of all controls in the application program and hierarchical relations among the controls; the target control is not the last hierarchical control.
In some implementations, the electronic device may be an electrical acquisition terminal. And the electronic equipment responds to the selection operation to determine the level of the target control, searches the configuration information of the control of the next level corresponding to the target control in the level relation among the controls recorded in the page display configuration file according to the level of the target control, and obtains the configuration information of the control of the next level corresponding to the target control. The page display configuration file may be a JSON file, JSON (JavaScript Object Notation) is a lightweight data exchange format, and the JSON file is a file of a simple data structure and an object stored in the JSON format. Configuration information of all controls in the application program and hierarchical relations among the controls can be recorded in the JSON file.
It can be understood that the target control is not the last level control, and if the target control is the last level control, the configuration information of the next level control corresponding to the target control cannot be obtained.
For example, referring to fig. 2, a user performs a selection operation on a current page (page 31) of an application program, and in response to the selection operation, the electronic device determines that the target control (control 312) is in a second layer, as shown in fig. 3, searches configuration information of a control (control 3121) in a next layer corresponding to the target control (control 312) in a hierarchical relationship between the controls recorded in the page display configuration file, and obtains configuration information of a control (control 3121) in a next layer corresponding to the target control (control 312).
In some embodiments, the electronic device may be provided with an up button, a down button, a left button, a right button, and a determination button, and the user may move the cursor of the current page through the up button, the down button, the left button, and the right button, and when the cursor moves to the target control, select the target control by pressing the determination button.
In some embodiments, the electronic device may be provided with a touch screen, and the user may perform a selection operation on the target control by clicking a corresponding position of the target control in the touch screen. The specific manner in which the user performs the selection operation on the target control is not limited herein.
Step S120: displaying a target page of the application program according to configuration information of a control of the next level corresponding to the target control; the target page comprises a control of the next level corresponding to the target control.
In some embodiments, the electronic device obtains configuration information of a control of a next level corresponding to the target control, and displays a target page of the application program according to the configuration information of the control of the next level corresponding to the target control.
In some embodiments, the number of the controls of the next level corresponding to the target control may be one or multiple, which is not limited herein. If the number of the controls of the next level corresponding to the target control is one, the number of the controls displayed on the target page is also one; if the number of the controls of the next level corresponding to the target control is multiple, the number of the controls displayed on the target page is also multiple.
For example, referring to fig. 2 and 3, the next level of controls corresponding to the target control (control 311) includes a control 3111 and a control 3112, and the target page (page 32) of the application is displayed according to the configuration information of the controls 3111 and 3112, as shown in fig. 4.
In some embodiments, a cancel button is provided on the electronic device, when a user presses the cancel button on a current page of the application program, a cancel instruction is generated, the electronic device determines a level where a target control on the current page is located, and according to the level where the target control is located, configuration information of a control of a previous level corresponding to the target control is searched in a level relation among the controls recorded in the page display configuration file, and configuration information of the control of the previous level corresponding to the target control is obtained.
For example, referring to fig. 3, when the user presses the cancel button on the current page (page 31) of the application program, a cancel instruction is generated, the electronic device determines that the level of the target control (control 311 and control 312) on the current page (page 31) is the second level, as shown in fig. 3, searches the configuration information of the control (control 310) of the upper level corresponding to the target control (control 311 and control 312) in the level relation between the controls recorded in the page display configuration file, obtains the configuration information of the control (control 310) of the upper level corresponding to the target control (control 211 and control 312), and displays the page 33 of the application program according to the configuration information of the control 310, as shown in fig. 5.
According to the page display method provided by the embodiment of the invention, according to the selection operation of the user on the current page of the application program, the configuration information of the next-level control corresponding to the target control is obtained from the pre-stored page display configuration file, the page display configuration file records the configuration information of all the controls in the application program and the hierarchical relation among the controls, the target control is not the last-level control, the target page of the application program is displayed according to the configuration information of the next-level control corresponding to the target control, the target page comprises the next-level control corresponding to the target control, and because the page display of the application program is realized according to the configuration information of the controls in the same level in the page display configuration file, the maintenance of each page in the application program can be realized by maintaining the hierarchical relation among the controls and the configuration information of the controls in the page display configuration file, so that the development cost and the maintenance cost are reduced.
In some embodiments, the configuration information of each control recorded in the page display configuration file includes a control type and display content configuration information, referring to fig. 6, step S120 specifically further includes the following steps:
step S121: and acquiring the content to be displayed according to the control type and the display content configuration information in the configuration information of the control of the next level.
In some implementations, the controls include a catalog control, the display content configuration information of which includes title content, and a non-catalog control, the display content configuration information of which includes a content identification. The control types may include a catalog type, a static display type, a dynamic display type, a setting type, and the like, which are not limited herein.
In one embodiment, when the control type corresponding to the control of the next level is a directory type, the title content in the display content configuration information is determined as the content to be displayed. It should be noted that, the control type corresponding to the control of the next level is a directory type, and the control of the next level is a directory control.
For example, configuration information of the control of the next hierarchy is as follows:
title content: "schedule management view",
control type: "directory type".
And the control type corresponding to the control of the next level is described as a catalog type, and the scheduling management view is determined as the content to be displayed.
In another embodiment, the electronic device stores a correspondence between the content identifier and the content, and when the control type corresponding to the control of the next level is not the directory type, obtains the corresponding target content according to the content identifier in the display content configuration information, and determines the target content as the content to be displayed. It should be noted that, the control type corresponding to the control of the next level is not used for representing that the control of the next level is a non-directory control for the directory type.
For example, configuration information of the control of the next hierarchy is as follows:
content identification: "1000001",
control type: "dynamic wheel display type".
And the control type corresponding to the control of the next level is a non-directory type, the content corresponding to 1000001 is determined to be target content, and the target content is determined to be the content to be displayed.
In some embodiments, the content identifiers may correspond to the calling functions one by one, the electronic device may determine the corresponding calling function according to the content identifiers in the configuration information of the control, call the content in the application program through the calling function, obtain the target content, and determine the target content as the content to be displayed. The content identification may be determined based on the type of the corresponding calling function. For example, the content identifier is 1xxxx, and the type of the calling function corresponding to 1xxxx is a custom type; the content identification is 2xx, and the type of the calling function corresponding to the 2xx is a display type. The content identifier may be configured according to the actual use situation of the user, which is not limited herein.
Step S122: and displaying the content to be displayed, thereby displaying the target page of the application program.
In some embodiments, the configuration information of each control is recorded in the display page configuration file further includes effect configuration information, and the electronic device may display the content to be displayed according to the effect configuration information in the configuration information of the control of the next level, so as to display the target page of the application program.
In some embodiments, the effect configuration information may include font size configuration information, alignment mode configuration information, and line feed mode configuration information, and the like, which are not limited herein. Specifically, the font size configuration information may include a specific font size, a small font, a medium font, a large font, and the like; the configuration information for its manner may include left alignment, right alignment, centering, etc.
For example, configuration information of the control of the next hierarchy is as follows:
content identification: "1000001",
control type: "dynamic wheel display type",
effect configuration information: "left aligned".
The electronic device may obtain the corresponding target content according to the content identifier 1000001, determine the target content as the content to be displayed, align the content to be displayed to the left, and display the content to be displayed after the left alignment, so as to display a target page (page 34) of the application program, as shown in fig. 7.
According to the page display method provided by the embodiment of the invention, the electronic equipment can determine the content to be displayed corresponding to each control according to the display content configuration information, display the content to be displayed corresponding to each control, and acquire the corresponding target content according to the content identification in the display content configuration information when the control type corresponding to the control of the next level is not the catalog type, and determine the target content as the content to be displayed, wherein the content to be displayed corresponds to the content identification one by one, so that the content to be displayed can be determined through the content identification in the configuration information of the control, the user can conveniently operate and maintain the display data on site, and the maintenance cost can be reduced. The electronic equipment can display the content to be displayed according to the effect configuration information in the configuration information of the control, the display effect of the content to be displayed can be determined through the effect configuration information in the configuration information of the control, the special requirements of local parties in various areas can be quickly adapted, and the maintenance cost can be reduced.
In some embodiments, configuration information of a control of a first level is obtained from a page display configuration file when an application program is initialized; displaying an initial page of the application program according to configuration information of the control of the first level; the initial page includes a first level of controls.
For example, referring to fig. 5, the first level of control is 310, and according to configuration information of the control 310, an initial page after the initialization of the application program is completed is shown in fig. 5.
In some implementations, a plurality of applications may be installed in an electronic device, each application having a corresponding page display profile. When the electronic device is initialized, an initial page of each application program can be displayed according to configuration information of a first-level control in a page display configuration file corresponding to each application program, as shown in fig. 8, the page displayed by the electronic device comprises an initial page of a system, an initial page of dialing and an initial page of centralized reading, wherein the control 30A is the first-level control in the page display configuration file corresponding to the system; the control 30B is a control of a first level in the page display configuration file corresponding to dialing; control 30C is the first level control in the centralized meter reading corresponding page display configuration file.
In some embodiments, the modified page display profile is obtained according to a user modification confirmation operation on configuration information of at least one control in the page display profile and/or a hierarchical relationship between the controls.
In some embodiments, the user may modify the directory hierarchy displayed in the application program by modifying the hierarchical relationship between the controls in the page display configuration file, and the electronic device obtains the modified page display configuration file according to a modification confirmation operation of the user on the hierarchical relationship between the controls in the page display configuration file.
In some embodiments, the user may change the display content of a display interface in the application program, by modifying the configuration information corresponding to the control on the display interface in the page display configuration file, and the electronic device obtains the modified page display configuration file according to the modification confirmation operation of the user on the configuration information of the change control in the page display configuration file.
In some embodiments, the user may change the configuration information of at least one control and the hierarchical relationship between the controls at the same time, and the electronic device obtains the modified page display configuration file according to the modification confirmation operation of the user on the configuration information of at least one control in the page display configuration file and the hierarchical relationship between the controls.
According to the page display method provided by the embodiment of the invention, the modification of the directory hierarchy of the application program display is only needed to modify the hierarchical relation among the controls in the page display configuration file, so that the development cost and the maintenance cost of the page display are lower. The modification of the display content of a single page displayed by the application program only needs to modify the configuration information of the corresponding control in the configuration file, so that the user can conveniently operate and maintain the display data on site.
In order to perform the respective steps of the above embodiments and the various possible ways, an implementation of a page display device is given below. Further, referring to fig. 9, a functional block diagram of a page display device according to an embodiment of the invention is shown. It should be noted that, the basic principle and the technical effects of the page display device provided in this embodiment are the same as those of the foregoing embodiments, and for brevity, reference may be made to the corresponding contents of the foregoing embodiments. The page display device 200 includes: a configuration information acquisition module 210 and a display module 220, wherein:
the configuration information obtaining module 210 is configured to obtain, according to a selection operation of a user on a current page of an application program on a target control, configuration information of a control of a next level corresponding to the target control from a pre-stored page display configuration file; the page display configuration file records configuration information of all controls in the application program and hierarchical relations among the controls; the target control is not the control of the last hierarchy;
the display module 220 is configured to display a target page of the application program according to configuration information of a control of a next level corresponding to the target control; the target page comprises a control of the next level corresponding to the target control.
Further, the configuration information of each control comprises a control type and display content configuration information; the display module is specifically further used for obtaining the content to be displayed according to the control type and the display content configuration information in the configuration information of the control of the next level; and displaying the content to be displayed, thereby displaying the target page of the application program.
Further, the control comprises a catalog control and a non-catalog control, the display content configuration information of the catalog control comprises title content, and the display content configuration information of the non-catalog control comprises content identification; the display module is specifically further configured to determine the title content in the display content configuration information as the content to be displayed when the control type corresponding to the control of the next level is a directory type; and when the control type corresponding to the control of the next level is not the catalog type, acquiring corresponding target content according to the content identifier in the display content configuration information, and determining the target content as the content to be displayed.
Further, the configuration information of each control further comprises effect configuration information; the display module is specifically further configured to display the content to be displayed according to effect configuration information in the configuration information of the control of the next level, so as to display a target page of the application program.
Further, the page display device 200 further includes: initializing a module, wherein:
the initialization module is used for acquiring configuration information of the first-level control from the page display configuration file when the application program is initialized; displaying an initial page of the application program according to configuration information of the control of the first level; the initial page includes a first level of controls.
Further, the page display device 200 further includes: an update module, wherein:
and the updating module is used for obtaining the modified page display configuration file according to the configuration information of at least one control in the page display configuration file and/or the modification confirmation operation of the hierarchical relationship among the controls by the user.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus and modules described above may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
In several embodiments provided by the present invention, the coupling of the modules to each other may be electrical, mechanical, or other.
In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
Fig. 10 is a block diagram of an electronic device 100 according to an embodiment of the invention. The electronic device 100 includes a memory 110, a processor 120, and a communication module 130. The memory 110, the processor 120, and the communication module 130 are electrically connected directly or indirectly to each other to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
Wherein the memory 110 is used for storing programs or data. The Memory 110 may be, but is not limited to, random access Memory (Random Access Memory, RAM), read Only Memory (ROM), programmable Read Only Memory (Programmable Read-Only Memory, PROM), erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.
The processor 120 is used to read/write data or programs stored in the memory and perform corresponding functions. For example, the page display method disclosed in the above embodiments can be implemented when a computer program stored in the memory 110 is executed by the processor 120.
The communication module 130 is used for establishing a communication connection between the electronic device 100 and a server through a network, and for transceiving data through the network.
It should be understood that the structure shown in fig. 10 is merely a schematic diagram of an electronic device, and that the electronic device may also include more or fewer components than those shown in fig. 10. The components shown in fig. 10 may be implemented in hardware, software, or a combination thereof.
The embodiment of the invention also provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and the computer program can be executed by a processor to realize the page display method described in the embodiment of the method.
The computer readable storage medium may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium comprises a non-volatile computer readable medium (non-transitory computer-readable storage medium). The computer readable storage medium has storage space for program code to perform any of the method steps described above. The program code can be read from or written to one or more computer program products. The program code may be compressed, for example, in a suitable form.
In the several embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, of the flowcharts and block diagrams in the figures that illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored on a computer readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method of the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. 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 method of displaying a page, the method comprising:
according to the selection operation of a user on a current page of an application program on a target control, acquiring configuration information of a control of a next level corresponding to the target control from a pre-stored page display configuration file; the page display configuration file records configuration information of all controls in the application program and hierarchical relations among the controls; the target control is not the control of the last hierarchy;
displaying a target page of the application program according to configuration information of a control of the next level corresponding to the target control; the target page comprises a control of the next level corresponding to the target control.
2. The method of claim 1, wherein the configuration information for each control comprises a control type and display content configuration information; and displaying the target page of the application program according to the configuration information of the control of the next level corresponding to the target control, including:
acquiring content to be displayed according to the control type and the display content configuration information in the configuration information of the control of the next level;
and displaying the content to be displayed so as to display a target page of the application program.
3. The method of claim 2, wherein the controls comprise a catalog control and a non-catalog control, wherein the display content configuration information of the catalog control comprises title content and wherein the display content configuration information of the non-catalog control comprises a content identification; and acquiring the content to be displayed according to the control type and the display content configuration information in the configuration information of the control of the next level, wherein the method comprises the following steps:
when the control type corresponding to the control of the next level is a directory type, determining the title content in the display content configuration information as the content to be displayed;
and when the control type corresponding to the control of the next level is not the catalog type, acquiring corresponding target content according to the content identifier in the display content configuration information, and determining the target content as the content to be displayed.
4. The method of claim 2, wherein the configuration information for each control further comprises effect configuration information; the displaying the content to be displayed, thereby displaying a target page of the application program, includes:
and displaying the content to be displayed according to the effect configuration information in the configuration information of the control of the next level, so as to display the target page of the application program.
5. The method according to claim 1, wherein the method further comprises:
when the application program is initialized, configuration information of a control of a first level is obtained from the page display configuration file;
displaying an initial page of the application program according to the configuration information of the control of the first level; the initial page includes controls of the first level.
6. The method according to claim 1, wherein the method further comprises:
and obtaining a modified page display configuration file according to configuration information of at least one control in the page display configuration file and/or modification confirmation operation of hierarchical relations among the controls by a user.
7. A page display device, the device comprising:
the configuration information acquisition module is used for acquiring the configuration information of the control of the next level corresponding to the target control from a pre-stored page display configuration file according to the selection operation of the user on the current page of the application program; the page display configuration file records configuration information of all controls in the application program and hierarchical relations among the controls; the target control is not the control of the last hierarchy;
the display module is used for displaying a target page of the application program according to the configuration information of the control of the next level corresponding to the target control; the target page comprises a control of the next level corresponding to the target control.
8. The apparatus of claim 7, wherein the configuration information for each control comprises a control type and display content configuration information;
the display module is also used for obtaining the content to be displayed according to the control type and the display content configuration information in the configuration information of the control of the next level; and displaying the content to be displayed so as to display a target page of the application program.
9. An electronic device comprising a processor and a memory, the memory storing a computer program executable by the processor to implement the page display method of any of claims 1-6.
10. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements the page display method according to any of claims 1-6.
CN202311788147.7A 2023-12-22 2023-12-22 Page display method, page display device, electronic equipment and storage medium Pending CN117608454A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311788147.7A CN117608454A (en) 2023-12-22 2023-12-22 Page display method, page display device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311788147.7A CN117608454A (en) 2023-12-22 2023-12-22 Page display method, page display device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117608454A true CN117608454A (en) 2024-02-27

Family

ID=89956307

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311788147.7A Pending CN117608454A (en) 2023-12-22 2023-12-22 Page display method, page display device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117608454A (en)

Similar Documents

Publication Publication Date Title
CN107861655B (en) Control matching method and device, computer equipment and storage medium
CN106919427A (en) A kind of method to set up, setting device and electronic equipment
CN104142788A (en) Terminal application sharing method and intelligent terminal
CN108363684A (en) List creation method, device and server
CN103412748A (en) Display control method, device and system for user interface of embedded platform
CN105915615A (en) Method for displaying application information in mobile equipment and device thereof
CN102945122B (en) For mobile terminal provides method and the client of adaptive read interface
CN108874808A (en) A kind of page elements interlock method, device and server
CN106535002B (en) Desktop starter template layout updating method and device
CN111597112B (en) Automatic test method and device and electronic equipment
CN107169005B (en) POI recommendation method, device, equipment and computer readable storage medium
CN111562870A (en) Map point location icon expansion processing method and device
CN106020616B (en) Method and device for updating desktop quick link icon
CN117608454A (en) Page display method, page display device, electronic equipment and storage medium
CN110457408B (en) Personalized map downloading method, device, equipment and storage medium
CN111949180A (en) Icon arrangement method and device, storage medium and electronic equipment
CN113377473A (en) Task creation method and device, electronic equipment and computer readable storage medium
CN115373564A (en) Function shortcut key self-defining method and device, software function control method and terminal
CN112558853B (en) Session message processing method and device, electronic device and storage medium
CN111415054B (en) Equipment monitoring management method and system
CN106991180B (en) A kind of document display method and mobile terminal
CN111340705A (en) Application method, device and system of jigsaw software
CN112579082A (en) Interactive state data establishing method and device, storage medium and electronic equipment
JP2009003696A (en) Display control system, information processing apparatus, display control program, display management apparatus, and program
CN104898931A (en) Control display method and device based on continuous gradient operation

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