CN113486275A - Information display method and device, computer readable storage medium and processor - Google Patents

Information display method and device, computer readable storage medium and processor Download PDF

Info

Publication number
CN113486275A
CN113486275A CN202110853413.4A CN202110853413A CN113486275A CN 113486275 A CN113486275 A CN 113486275A CN 202110853413 A CN202110853413 A CN 202110853413A CN 113486275 A CN113486275 A CN 113486275A
Authority
CN
China
Prior art keywords
configuration
accessed
preference
state configuration
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110853413.4A
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.)
Hillstone Networks Co Ltd
Original Assignee
Hillstone Networks 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 Hillstone Networks Co Ltd filed Critical Hillstone Networks Co Ltd
Priority to CN202110853413.4A priority Critical patent/CN113486275A/en
Publication of CN113486275A publication Critical patent/CN113486275A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9027Trees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results

Abstract

The invention discloses an information display method, an information display device, a computer readable storage medium and a processor. Wherein, the method comprises the following steps: acquiring an access instruction of an object to be accessed, wherein the access instruction at least comprises user information; responding to the access instruction, and acquiring preference configuration data corresponding to the user information from the server, wherein the server is pre-configured with the preference configuration data corresponding to a plurality of user information, and the preference configuration data records preference state configuration corresponding to each state configuration item in the object to be accessed through the state configuration node; replacing the default state configuration of the corresponding state configuration item in the object to be accessed by the preference state configuration recorded by the state configuration node; rendering the object to be accessed based on the preference state configuration; and displaying the rendered object to be accessed. The invention solves the technical problem that the user personalized configuration can not be realized based on the server side.

Description

Information display method and device, computer readable storage medium and processor
Technical Field
The invention relates to the field of information display, in particular to an information display method, an information display device, a computer readable storage medium and a processor.
Background
With the development of front-end technology, html (hypertext markup language) page display is more and more diversified, and various rich components are layered endlessly. However, in the using process, due to the difference of the operation, the equipment environment and the using habit of the customer, the customer has different requirements for page display, and if the requirements of some simple self-defined pages of the customer can be met, the customer experience can be greatly improved. Particularly, the user can find some options concerned by the user more quickly and easily for some operating habits and other problems of some pages.
As an example of one prior art, a similar technique may support adjustments for column order and display hiding, and storing data in a local cache. On the basis of not cleaning the cache, when entering the page next time, the adjusted columns can be automatically displayed.
After the client adjusts the column order and display hiding, the column data can be stored as a string in a local localstorage or cookie. When the page is entered next time, if the localstorage or the cookie is not cleared, the data read by the server side are hidden, displayed, adjusted and displayed according to the column sequence.
Fig. 1 is a schematic diagram of modifying front-end table column data based on a local storage in the prior art, as shown in fig. 1, the steps between a server and the local storage are as follows:
and S1, acquiring the first header data of the first table of the server side through local storage.
And S2, acquiring the character string of the first header data according to the first header data.
And S3, storing the character string in a local storage.
And S4, acquiring the character strings stored in the local storage.
And S5, acquiring the first local data according to the character string.
And S6, adding the page configuration item of the input box in front of the first local data acquisition name.
And S7, configuring the serial number of the column in the page configuration item, and acquiring the second local data according to the serial number.
S8, storing the second local data in the local data as second header data.
S9, the first header data is replaced with the second header data in the local storage, and a second table in the local storage is generated.
However, the solution shown in fig. 1 has the following drawbacks:
1) the operation can be only carried out according to the column sequence and the display hiding, and the contents such as other column states and the like cannot be modified.
2) The data cache is stored locally, and if the local environment of the client changes (browser or equipment is replaced, or cache data is cleaned), the data is easily lost.
3) The method aims at the client side, cannot aim at the client, different clients are on the same client side, the stored data are the same, and the differentiation processing cannot be carried out aiming at different clients
4) The operation can be performed only through a table, corresponding configuration items are not provided, and other components are not supported.
5) Different schemes cannot be saved at different clients (such as tablet, mobile phone and computer).
As another prior art example, using a table component, column order and explicit and implicit information is configured in the background and hidden and sequential information is displayed and saved in the foreground. After entering the page, the user can request from the background every time and then display the page, so that the customized effect is achieved.
Where a form component is used on a page, the corresponding js is referenced and the tab is added. In the using process of the client, the operation can be carried out by dragging or displaying and hiding the corresponding column, and the information is stored in the database after the operation is finished. And after the corresponding user enters the page next time, requesting data, if the data exist, displaying the list according to the information existing in the database, and if the data do not exist, displaying the list according to the default.
However, this technique has the following disadvantages:
1) bind requests to components and fail if a component is replaced or another framework component is used.
2) Operations can only be performed for column order and display hiding, and are not supported for other components and pages.
3) The operation can be performed only through a table, and a corresponding configuration item is not provided.
In the prior art, the personalized configuration of the user is stored in the user terminal, so that the user cannot be displayed according to the personalized configuration of the user after replacing the user terminal.
Aiming at the problem that the user personalized configuration cannot be realized based on the server side, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides an information display method, an information display device, a computer readable storage medium and a processor, which at least solve the technical problem that personalized configuration of a user cannot be realized based on a server.
According to an aspect of an embodiment of the present invention, there is provided an information display method including: acquiring an access instruction of an object to be accessed, wherein the access instruction at least comprises user information; responding to the access instruction, and acquiring preference configuration data corresponding to the user information from a server, wherein the server is pre-configured with the preference configuration data corresponding to a plurality of user information, and the preference configuration data records preference state configuration corresponding to each state configuration item in the object to be accessed through a state configuration node; replacing the default state configuration of the corresponding state configuration item in the object to be accessed based on the preference state configuration recorded by the state configuration node; rendering the object to be accessed based on the preference state configuration; and displaying the rendered object to be accessed.
Optionally, the structure of the preference configuration data is a tree data structure, where the tree data structure at least includes: the default value data node is used for storing default state configuration corresponding to the general state configuration item; the user-defined data node is used for storing preference state configuration corresponding to the user-defined state configuration item; and the view private data node is used for storing the specified state configuration corresponding to the preset state configuration item.
Optionally, after obtaining the access instruction of the object to be accessed, the method further includes: judging whether the object to be accessed supports user-defined configuration; rendering the object to be accessed based on the default state configuration under the condition that the object to be accessed does not support the custom configuration; and acquiring the preference configuration data under the condition that the object to be accessed supports custom configuration.
Optionally, after obtaining the preference configuration data corresponding to the user information from the server, the method further includes: and under the condition that the user information is not stored in the server, rendering the object to be accessed based on the default state configuration.
Optionally, rendering the object to be accessed based on the preference status configuration comprises: detecting whether a preset state configuration item exists in the object to be accessed; and under the condition that the preset state configuration item exists in the object to be accessed, rendering the object to be accessed based on the specified state configuration corresponding to the preset state configuration item.
According to another aspect of the embodiments of the present invention, there is also provided an information display apparatus including: the device comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring an access instruction of an object to be accessed, and the access instruction at least comprises user information; a second obtaining unit, configured to respond to the access instruction, obtain preference configuration data corresponding to the user information from a server, where the server is configured with preference configuration data corresponding to multiple user information in advance, and the preference configuration data records, through a state configuration node, preference state configurations corresponding to state configuration items in the object to be accessed; the replacing unit is used for replacing the default state configuration of the corresponding state configuration item in the object to be accessed based on the preference state configuration recorded by the state configuration node; a first rendering unit, configured to render the object to be accessed based on the preference status configuration; and the display unit is used for displaying the rendered object to be accessed.
Optionally, the structure of the preference configuration data is a tree data structure, where the tree data structure at least includes: the default value data node is used for storing default state configuration corresponding to the general state configuration item; the user-defined data node is used for storing preference state configuration corresponding to the user-defined state configuration item; and the view private data node is used for storing the specified state configuration corresponding to the preset state configuration item.
Optionally, the apparatus further comprises: the device comprises a judging unit, a processing unit and a processing unit, wherein the judging unit is used for judging whether an object to be accessed supports custom configuration or not after an access instruction of the object to be accessed is acquired; the second rendering unit is used for rendering the object to be accessed based on the default state configuration under the condition that the object to be accessed does not support the custom configuration; and the third acquisition unit is used for acquiring the preference configuration data under the condition that the object to be accessed supports custom configuration.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, where the computer-readable storage medium includes a stored program, and when the program runs, the apparatus on which the computer-readable storage medium is located is controlled to execute the above-mentioned information display method.
According to still another aspect of the embodiments of the present invention, there is further provided a processor, where the processor is configured to execute a program, where the program executes the information display method when running.
In the embodiment of the invention, an access instruction of an object to be accessed is obtained, wherein the access instruction at least comprises user information; responding to the access instruction, and acquiring preference configuration data corresponding to the user information from the server, wherein the server is pre-configured with the preference configuration data corresponding to a plurality of user information, and the preference configuration data records preference state configuration corresponding to each state configuration item in the object to be accessed through the state configuration node; replacing the default state configuration of the corresponding state configuration item in the object to be accessed by the preference state configuration recorded by the state configuration node; rendering the object to be accessed based on the preference state configuration; the rendered object to be accessed is displayed, so that the preference configuration data of the user is stored in the server, even if the user changes the access terminal, the user information can still select the corresponding preference configuration data to render the object to be accessed, the technical effect of realizing user personalized configuration based on the server is achieved, and the technical problem that the user personalized configuration cannot be realized based on the server is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a diagram illustrating a prior art method for modifying front-end table column data based on local storage;
FIG. 2 is a flow chart of an information display method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a rendering process according to an embodiment of the invention;
fig. 4 is a schematic diagram of an information display apparatus according to an 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 derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present 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.
In accordance with an embodiment of the present invention, there is provided an information display method embodiment, it is noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
Fig. 2 is a flowchart of an information display method according to an embodiment of the present invention, as shown in fig. 2, the method including the steps of:
step S202, obtaining an access instruction of an object to be accessed, wherein the access instruction at least comprises user information;
step S204, responding to the access instruction, and acquiring preference configuration data corresponding to the user information from the server, wherein the server is pre-configured with the preference configuration data corresponding to a plurality of user information, and the preference configuration data records preference state configuration corresponding to each state configuration item in the object to be accessed through the state configuration node;
step S206, replacing the default state configuration of the corresponding state configuration item in the object to be accessed based on the preference state configuration recorded by the state configuration node;
step S208, rendering the object to be accessed based on the preference state configuration;
and step S210, displaying the rendered object to be accessed.
In the embodiment of the invention, an access instruction of an object to be accessed is obtained, wherein the access instruction at least comprises user information; responding to the access instruction, and acquiring preference configuration data corresponding to the user information from the server, wherein the server is pre-configured with the preference configuration data corresponding to a plurality of user information, and the preference configuration data records preference state configuration corresponding to each state configuration item in the object to be accessed through the state configuration node; replacing the default state configuration of the corresponding state configuration item in the object to be accessed by the preference state configuration recorded by the state configuration node; rendering the object to be accessed based on the preference state configuration; the rendered object to be accessed is displayed, so that the preference configuration data of the user is stored in the server, even if the user changes the access terminal, the user information can still select the corresponding preference configuration data to render the object to be accessed, the technical effect of realizing user personalized configuration based on the server is achieved, and the technical problem that the user personalized configuration cannot be realized based on the server is solved.
In the above step S202, the user information may be a user ID; the object to be accessed may be a page.
In the above step S204, the preference configuration data supports and is not limited to changing general status attributes such as color, font, width and height, additional style, and the like.
As an alternative embodiment, the structure of the preference configuration data is a tree data structure, and the tree data structure at least includes: the default value data node is used for storing default state configuration corresponding to the general state configuration item; the user-defined data node is used for storing preference state configuration corresponding to the user-defined state configuration item; and the view private data node is used for storing the specified state configuration corresponding to the preset state configuration item.
In the above embodiment of the present invention, the preference configuration data is stored by a tree data structure, and nodes of the tree data structure are: the system comprises a default value data node, a user-defined data node and a view private data node, wherein the default value data node stores default state configuration corresponding to a general state configuration item; the user-defined data node stores preference state configuration corresponding to the user-defined state configuration item; the view private data node stores the designated state configuration corresponding to the preset state configuration item, so that the object to be accessed can be rendered according to the default state configuration, the object to be accessed can be rendered according to the preference state configuration, and the object to be accessed can be rendered according to the designated state configuration, and the technical scheme of rendering the object to be accessed based on different requirements is realized.
As an optional embodiment, after obtaining the access instruction of the object to be accessed, the method further includes: judging whether the object to be accessed supports the user-defined configuration; under the condition that the object to be accessed does not support the custom configuration, rendering the object to be accessed based on the default state configuration; and acquiring preference configuration data under the condition that the object to be accessed supports custom configuration.
In the above embodiment of the present invention, the object to be accessed may or may not support the custom configuration, and in the case that the object to be accessed supports the custom configuration, the preference configuration data may be obtained, and the object to be accessed is rendered based on the preference state configuration recorded by the preference configuration data; under the condition that the object to be accessed does not support the custom configuration, the object to be accessed is rendered based on the default state configuration, and the object to be accessed of different types is rendered according to different strategies.
As an optional embodiment, after obtaining the preference configuration data corresponding to the user information from the server, the method further includes: and under the condition that the server side does not store the user information, rendering the object to be accessed based on the default state configuration.
In the embodiment of the invention, the server stores the user information, the user information stored in the server can obtain the preference state configuration according to the preference configuration data corresponding to the user information to render the object to be accessed, and the service renders the object to be accessed based on the default state configuration under the condition that the server does not store the user information.
As an alternative embodiment, the rendering the object to be accessed based on the preference status configuration includes: detecting whether a preset state configuration item exists in an object to be accessed; and under the condition that a preset state configuration item exists in the object to be accessed, rendering the object to be accessed based on the appointed state configuration corresponding to the preset state configuration item.
In the above embodiment of the present invention, the preset state configuration item is a private configuration that does not allow the user to perform personalized configuration in the object to be accessed, and further, in the process of rendering the object to be accessed, the object to be accessed may be rendered based on the specified state configuration corresponding to the preset state configuration item.
The invention also provides a preferred embodiment, which provides a technical scheme for storing the user preference based on the server side.
The universal method for setting the user preference, provided by the invention, specifies that the state in the page is stored in the server, and can apply the configuration in all pages of the system, thereby meeting the requirements of different customers on the page style; general state attributes such as color, font, width and height, additional style and the like are supported and not limited to be changed; support for restoring the default state; and providing an interface to store all state data to a specified user, so that different users can select different page styles to store the data in the server.
In order to solve the defects in the prior art, the invention provides a new general scheme to realize that:
1) after entering the page, the user can select to set own preference and adjust the attribute of the current system according to own use habit.
2) After the user selects and sets the preference, the user enters a user preference configuration page, all the attributes (including width, height, visibility, font, color, background and some data stored in custom support) which support configuration and the current values thereof are listed, and the customization of the attributes can be completed by modifying the corresponding values. And after the adjustment is finished, storing the current configuration data to the server according to the user.
3) Re-entering the system, firstly obtaining preference configuration data of the current user from the server, and if no preference data configured by the user exists, directly loading the page; and if the configured preference data is acquired, replacing the state value in the system preferentially before page rendering, rendering and loading the page. If in a multi-page system, the load page also needs to be rendered according to the configuration data after the page switching.
4) In the scheme, a general tree data structure is used, which may be in xml, json or any other data format with a tree structure, and a document takes the json format as an example (see a configuration data format) to store preference settings, where the set includes the following nodes:
a) and the user node is used for storing the user ID.
b) And the view node is used for storing all preference data of the user, comprises three nodes of a default value (namely a default value data node), user-defined data (namely a user-defined data node) and view private data (namely a view private data node), and the data formats of the three nodes are all objects.
1. The default value nodes (i.e. default value data nodes) are used to store the default state configuration of the system,
2. the user-defined data node is used to store the user's state configuration,
3. the view private data is mainly used for storing state data in a specified page, and must carry id of the specified page, and other fields are any state attributes supporting configuration.
5) The same method can be called in different systems to realize the storage or application of the user configuration preference data only by establishing the one-to-one correspondence between the state values in the system and the corresponding fields in the data structure, so that the style can be unified by using the same configuration data (in an importing mode and the like) among a plurality of different systems.
6) The interface provides two methods of obtaining configuration and setting configuration. If the configuration is applied to the system, storing the data under a userDef node object under the viewData; if the configuration applies to the current page, the data is saved under the viewID node under the viewData. After the configuration data is obtained, firstly, the ID of the current view is used for removing the match of the view ID node, whether the ID configuration exists or not is judged, and if the ID configuration does not exist, the configuration is directly obtained from the userDef node to render an interface. The configuration of the page can be saved by calling the uniform interface in any interface of the system.
7) Examples of invoking requests to obtain configuration, save configuration, and delete configuration are shown in the interface request examples section.
8) In addition to the generic settings, in different pages, the state options are supported for configuration only for the current page. And the current page ID, the user ID and the configuration data are stored together (the data loading matched with the page ID is preferentially selected), so that the configuration of the general state and the private state of the page (such as column state information in a list of a certain page) can be stored.
9) If the current user preference settings are no longer needed or the current user is deleted, the configuration data for the current user may be deleted synchronously. See the delete configuration section in the example of an interface request.
Fig. 3 is a schematic diagram of a rendering process according to an embodiment of the present invention, as shown in fig. 3, including the following steps:
in step S301, a page is accessed.
Step S302, determine whether the current page supports the custom configuration, if not, execute step S303, and if so, execute step S304.
Step S303, direct display.
Step S304, load the user-defined configuration information requested by the current user (i.e. obtain the preference configuration data corresponding to the user information).
In step S305, it is determined whether there is a configuration (i.e., whether there is preference configuration data), if not, step S306 is executed, and if so, step S307 is executed.
And step S306, configuring the rendering page according to the default state.
In step S307, it is determined whether the page private configuration exists (i.e., whether the preset status configuration item exists in the object to be accessed is detected), if not, step S308 is executed, and if so, step S309 is executed.
In step S308, the page is rendered according to the system general configuration (i.e. the page is rendered based on the default state configuration).
In step S309, the page is rendered in a page private configuration (i.e., the rendered page is configured based on the specified state).
Optionally, the configuration data is exemplified as follows:
Figure BDA0003183207480000091
Figure BDA0003183207480000101
optionally, the interface request is exemplified as follows:
a) obtaining the configuration
Figure BDA0003183207480000102
Figure BDA0003183207480000111
b) Setting custom data
Figure BDA0003183207480000112
Figure BDA0003183207480000121
c) Delete user-defined data example
Figure BDA0003183207480000122
Figure BDA0003183207480000131
The embodiment of the invention supports the saving of the general state of the page besides the existing table component; the number of self-defined configurations supported is increased, the self-defined configurations are more flexible, and any attribute which can be stored in any page can be stored, such as width, height, font, background, color, current value, self-defined attribute and the like; the highly customized scheme meets different requirements of customers on the page, and can freely adjust the display items of the page and the states of the display items and the like on any interface; in addition to support for state, current configuration values may also be stored for the next operation.
The embodiment of the invention is suitable for all Web management systems, and a client can perform custom configuration on any state in a page in the process of managing the system. Because the user ID is bound with the client, the user-defined information can be obtained no matter the client logs in at any other place. And in addition, the method can be displayed according to different configuration schemes at different clients, so that great convenience is brought to the use of the clients, and the sample extraction of the users is improved.
For the multi-user system, different users can set different page styles to be displayed or different page states to be stored when entering the system. Different styles are set by different users according to own preferences to load the page.
According to the embodiment of the invention, the display mode of the data in the page can be defined according to the use habit of the client, so that the use requirement of the client is met, and the user experience is improved; the requirements of a client multi-platform management system are met, and different contents are displayed under different platforms; the same user can use the same custom data display mode in different places to meet the cross-client requirements of the client.
Optionally, the flexible page information saving mode provided by the invention can save the state attribute (such as any custom attribute of width, height, font, color, style, and the like) of the page to the server according to the user. The method is suitable for any page system, and can flexibly set the state data which needs to be stored to the client.
Optionally, the method for storing the user options is applicable to different systems, and the storage of the page preference can be completed only by acquiring or setting the configuration items according to the specified data structure. So that the user can import data into different systems to set a uniform style.
Optionally, according to the technical scheme provided by the invention, visual configuration and management can be performed on the user-defined configuration information, and one-key recovery of default configuration information is supported.
According to still another embodiment of the present invention, there is also provided a storage medium including a stored program, wherein the program executes the information display method of any one of the above.
According to another embodiment of the present invention, there is also provided a processor for executing a program, where the program executes the information display method according to any one of the above methods.
According to an embodiment of the present invention, there is also provided an embodiment of an information display apparatus, and it should be noted that the information display apparatus may be configured to execute the information display method in the embodiment of the present invention, and the information display method in the embodiment of the present invention may be executed in the information display apparatus.
Fig. 4 is a schematic diagram of an information display apparatus according to an embodiment of the present invention, and as shown in fig. 4, the apparatus may include: a first obtaining unit 40, configured to obtain an access instruction of an object to be accessed, where the access instruction at least includes user information; a second obtaining unit 42, configured to, in response to the access instruction, obtain preference configuration data corresponding to the user information from the server, where the server is configured with the preference configuration data corresponding to a plurality of user information in advance, and the preference configuration data records, through the state configuration node, preference state configurations corresponding to each state configuration item in the object to be accessed; a replacing unit 44, configured to replace a default state configuration of a corresponding state configuration item in the object to be accessed based on the preference state configuration recorded by the state configuration node; a first rendering unit 46 configured to render the object to be accessed based on the preference status configuration; and the display unit 48 is used for displaying the rendered objects to be accessed.
It should be noted that the first obtaining unit 40 in this embodiment may be configured to execute step S202 in this embodiment, the second obtaining unit 42 in this embodiment may be configured to execute step S204 in this embodiment, the replacing unit 44 in this embodiment may be configured to execute step S206 in this embodiment, the first rendering unit 46 in this embodiment may be configured to execute step S208 in this embodiment, and the display unit 48 in this embodiment may be configured to execute step S210 in this embodiment. The modules are the same as the corresponding steps in the realized examples and application scenarios, but are not limited to the disclosure of the above embodiments.
In the embodiment of the invention, an access instruction of an object to be accessed is obtained, wherein the access instruction at least comprises user information; responding to the access instruction, and acquiring preference configuration data corresponding to the user information from the server, wherein the server is pre-configured with the preference configuration data corresponding to a plurality of user information, and the preference configuration data records preference state configuration corresponding to each state configuration item in the object to be accessed through the state configuration node; replacing the default state configuration of the corresponding state configuration item in the object to be accessed by the preference state configuration recorded by the state configuration node; rendering the object to be accessed based on the preference state configuration; the rendered object to be accessed is displayed, so that the preference configuration data of the user is stored in the server, even if the user changes the access terminal, the user information can still select the corresponding preference configuration data to render the object to be accessed, the technical effect of realizing user personalized configuration based on the server is achieved, and the technical problem that the user personalized configuration cannot be realized based on the server is solved.
As an alternative embodiment, the structure of the preference configuration data is a tree data structure, and the tree data structure at least includes: the default value data node is used for storing default state configuration corresponding to the general state configuration item; the user-defined data node is used for storing preference state configuration corresponding to the user-defined state configuration item; and the view private data node is used for storing the specified state configuration corresponding to the preset state configuration item.
As an alternative embodiment, the apparatus further comprises: the judging unit is used for judging whether the object to be accessed supports the custom configuration after the access instruction of the object to be accessed is acquired; the second rendering unit is used for rendering the object to be accessed based on the default state configuration under the condition that the object to be accessed does not support the custom configuration; and the third acquisition unit is used for acquiring the preference configuration data under the condition that the object to be accessed supports the custom configuration.
As an alternative embodiment, the apparatus further comprises: and the third rendering unit is used for rendering the object to be accessed based on the default state configuration under the condition that the server side does not store the user information after the preference configuration data corresponding to the user information is acquired from the server side.
As an alternative embodiment, the first rendering unit includes: the detection module is used for detecting whether a preset state configuration item exists in the object to be accessed; and the rendering module is used for rendering the object to be accessed based on the specified state configuration corresponding to the preset state configuration item under the condition that the preset state configuration item exists in the object to be accessed.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. An information display method, comprising:
acquiring an access instruction of an object to be accessed, wherein the access instruction at least comprises user information;
responding to the access instruction, and acquiring preference configuration data corresponding to the user information from a server, wherein the server is pre-configured with the preference configuration data corresponding to a plurality of user information, and the preference configuration data records preference state configuration corresponding to each state configuration item in the object to be accessed through a state configuration node;
replacing the default state configuration of the corresponding state configuration item in the object to be accessed based on the preference state configuration recorded by the state configuration node;
rendering the object to be accessed based on the preference state configuration;
and displaying the rendered object to be accessed.
2. The method of claim 1, wherein the structure of the preference configuration data is a tree data structure, and wherein the tree data structure comprises at least:
the default value data node is used for storing default state configuration corresponding to the general state configuration item;
the user-defined data node is used for storing preference state configuration corresponding to the user-defined state configuration item;
and the view private data node is used for storing the specified state configuration corresponding to the preset state configuration item.
3. The method of claim 1, wherein after obtaining the access instruction of the object to be accessed, the method further comprises:
judging whether the object to be accessed supports user-defined configuration;
rendering the object to be accessed based on the default state configuration under the condition that the object to be accessed does not support the custom configuration;
and acquiring the preference configuration data under the condition that the object to be accessed supports custom configuration.
4. The method according to claim 1, wherein after obtaining the preference configuration data corresponding to the user information from the server, the method further comprises:
and under the condition that the user information is not stored in the server, rendering the object to be accessed based on the default state configuration.
5. The method of claim 1, wherein rendering the object to be accessed based on the preference state configuration comprises:
detecting whether a preset state configuration item exists in the object to be accessed;
and under the condition that the preset state configuration item exists in the object to be accessed, rendering the object to be accessed based on the specified state configuration corresponding to the preset state configuration item.
6. An information display device characterized by comprising:
the device comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring an access instruction of an object to be accessed, and the access instruction at least comprises user information;
a second obtaining unit, configured to respond to the access instruction, obtain preference configuration data corresponding to the user information from a server, where the server is configured with preference configuration data corresponding to multiple user information in advance, and the preference configuration data records, through a state configuration node, preference state configurations corresponding to state configuration items in the object to be accessed;
the replacing unit is used for replacing the default state configuration of the corresponding state configuration item in the object to be accessed based on the preference state configuration recorded by the state configuration node;
a first rendering unit, configured to render the object to be accessed based on the preference status configuration;
and the display unit is used for displaying the rendered object to be accessed.
7. The apparatus of claim 6, wherein the structure of the preference configuration data is a tree data structure, and wherein the tree data structure comprises at least:
the default value data node is used for storing default state configuration corresponding to the general state configuration item;
the user-defined data node is used for storing preference state configuration corresponding to the user-defined state configuration item;
and the view private data node is used for storing the specified state configuration corresponding to the preset state configuration item.
8. The apparatus of claim 6, further comprising:
the device comprises a judging unit, a processing unit and a processing unit, wherein the judging unit is used for judging whether an object to be accessed supports custom configuration or not after an access instruction of the object to be accessed is acquired;
the second rendering unit is used for rendering the object to be accessed based on the default state configuration under the condition that the object to be accessed does not support the custom configuration;
and the third acquisition unit is used for acquiring the preference configuration data under the condition that the object to be accessed supports custom configuration.
9. A computer-readable storage medium, comprising a stored program, wherein when the program runs, the computer-readable storage medium controls an apparatus to execute the information display method according to any one of claims 1 to 5.
10. A processor, characterized in that the processor is configured to run a program, wherein the program is configured to execute the information display method according to any one of claims 1 to 5 when running.
CN202110853413.4A 2021-07-27 2021-07-27 Information display method and device, computer readable storage medium and processor Pending CN113486275A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110853413.4A CN113486275A (en) 2021-07-27 2021-07-27 Information display method and device, computer readable storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110853413.4A CN113486275A (en) 2021-07-27 2021-07-27 Information display method and device, computer readable storage medium and processor

Publications (1)

Publication Number Publication Date
CN113486275A true CN113486275A (en) 2021-10-08

Family

ID=77944176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110853413.4A Pending CN113486275A (en) 2021-07-27 2021-07-27 Information display method and device, computer readable storage medium and processor

Country Status (1)

Country Link
CN (1) CN113486275A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114629812A (en) * 2022-03-28 2022-06-14 中国电子科技集团公司第三十八研究所 Cluster visualization system and method based on autonomous controllable platform
CN115145455A (en) * 2022-06-07 2022-10-04 北京达佳互联信息技术有限公司 Data interaction method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6105066A (en) * 1998-05-05 2000-08-15 International Business Machines Corp. Client-server system with central application management and using fully qualified class names of object-oriented applications for determining permanent server storage locations for application configuration information
CN104731833A (en) * 2013-12-24 2015-06-24 中兴通讯股份有限公司 Web layout method and device
CN107391114A (en) * 2017-06-27 2017-11-24 阿里巴巴集团控股有限公司 The page visualizes rendering intent and device
CN107908399A (en) * 2017-11-14 2018-04-13 山东浪潮通软信息科技有限公司 A kind of page development method and device
CN108153788A (en) * 2016-12-02 2018-06-12 阿里巴巴集团控股有限公司 Page info individualized process method, apparatus and system
CN112580315A (en) * 2020-12-14 2021-03-30 深圳市金证前海金融科技有限公司 Webpage table display method and device, terminal equipment and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6105066A (en) * 1998-05-05 2000-08-15 International Business Machines Corp. Client-server system with central application management and using fully qualified class names of object-oriented applications for determining permanent server storage locations for application configuration information
CN104731833A (en) * 2013-12-24 2015-06-24 中兴通讯股份有限公司 Web layout method and device
CN108153788A (en) * 2016-12-02 2018-06-12 阿里巴巴集团控股有限公司 Page info individualized process method, apparatus and system
CN107391114A (en) * 2017-06-27 2017-11-24 阿里巴巴集团控股有限公司 The page visualizes rendering intent and device
CN107908399A (en) * 2017-11-14 2018-04-13 山东浪潮通软信息科技有限公司 A kind of page development method and device
CN112580315A (en) * 2020-12-14 2021-03-30 深圳市金证前海金融科技有限公司 Webpage table display method and device, terminal equipment and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114629812A (en) * 2022-03-28 2022-06-14 中国电子科技集团公司第三十八研究所 Cluster visualization system and method based on autonomous controllable platform
CN115145455A (en) * 2022-06-07 2022-10-04 北京达佳互联信息技术有限公司 Data interaction method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US10726195B2 (en) Filtered stylesheets
US10521486B2 (en) Method and apparatus for using proxies to interact with webpage analytics
US9612715B2 (en) Real-time preview of uniform resource identifier addressable dynamic content
US20070240041A1 (en) Methods and apparatus for generating an aggregated cascading style sheet
CN113486275A (en) Information display method and device, computer readable storage medium and processor
US20060225094A1 (en) Enabling customization and personalization of views in content aggregation frameworks
CN101383842B (en) System and method for displaying network information by computer background screen
CN108073828B (en) Webpage tamper-proofing method, device and system
CN104820589B (en) A kind of method and its device of dynamic adaptation webpage
CN104021016B (en) Method and browser for loading browser plug-in icons
US20140033018A1 (en) Method and system for automatically generating social network site page based on electronic document content
CN110245069A (en) The methods of exhibiting and device of the test method and device of page versions, the page
CN104426925A (en) Webpage resource obtaining method and apparatus
CN109426541A (en) A kind of method and apparatus that the page changes skin
US20230334113A1 (en) Image processing method and apparatus, and computer readable storage medium
CN110609965A (en) Page display method and device and storage medium
CN104025083A (en) Method and apparatus for providing web pages
CN104899212B (en) Web page display method, server and system
CN112114928A (en) Display page processing method and device
KR101994933B1 (en) Apparatus, method and computer program for providing Web Browser
CN115964591A (en) Page multi-screen display method, device, equipment and storage medium
CN108304118B (en) Screenshot method and device
JP2010134512A (en) Adapter device and customization method using the same
CN112507257A (en) Webpage display method, device, equipment and storage medium
CN113656094B (en) Attribute information processing method and device

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