Summary of the invention
In order to solve the above-mentioned technical problems, the present invention provides the management method and device of a kind of webpage configuration information, energy
Enough improve the ease for use of web page contents.
In order to reach the object of the invention, the present invention provides a kind of management methods of webpage configuration information, comprising:
When receiving adjustment request of the user to the list of web displaying, the user is obtained to the attribute of the list
The operation behavior of information;
According to the moral conduct behavior, the user is recorded to the adjustment configuration result of the attribute information of list;
When detecting that the user requests to show the list of the webpage again, the user is obtained to the list
The adjustment configuration result of attribute;
According to the adjustment configuration result, the list information of the webpage is shown.
In one exemplary embodiment, the operation behavior include it is following at least one:
To one in list or the adjustment behavior of the height of at least two rows;
Adjustment behavior to the width that one in list or at least two arrange;
The adjustment behavior hiding to the content of one in list or at least two rows;
The adjustment behavior that the content that one in list or at least two arrange is hidden;
The adjustment behavior that the content of one in list or at least two rows are shown;
The adjustment behavior that the content that one in list or at least two arrange is hidden.
It is in one exemplary embodiment, described to record the user to the adjustment configuration result of the attribute information of list,
Include:
Obtain the adjustment configuration result of the identity information of the user, the identification information of list and attribute information;
The corresponding of the adjustment configuration result of the identity information of the user, the identification information of list and attribute information is established to close
System.
It is in one exemplary embodiment, described to record the user to the adjustment configuration result of the attribute information of list,
Include:
A target storage space is selected from the memory space of the client used by a user;
The adjustment configuration result of the attribute information of the list is stored in the target storage space.
It is in one exemplary embodiment, described to obtain the user to the adjustment configuration result of the attribute of the list,
Include:
Obtain the identity information of the user and the identification information of list to be shown;
According to the identification information of the identity information of the user and the list to be shown, judge whether to be stored with described
Adjustment configuration result of the user to the attribute of the list;
If so, then reading the identity information of the user and the corresponding target of identification information of the list to be shown
Adjust configuration result.
In order to reach the object of the invention, the present invention provides a kind of managing devices of webpage configuration information, comprising:
First obtains module, for obtaining the use when receiving adjustment request of the user to the list of web displaying
Operation behavior of the family to the attribute information of the list;
Logging modle, for recording the user and being configured to the adjustment of the attribute information of list according to the moral conduct behavior
As a result;
Second obtains module, for obtaining institute when detecting that the user requests to show the list of the webpage again
User is stated to the adjustment configuration result of the attribute of the list;
Display module, for showing the list information of the webpage according to the adjustment configuration result.
In one exemplary embodiment, the described first operation behavior for obtaining that module obtains includes following at least one
It is a:
To one in list or the adjustment behavior of the height of at least two rows;
Adjustment behavior to the width that one in list or at least two arrange;
The adjustment behavior hiding to the content of one in list or at least two rows;
The adjustment behavior that the content that one in list or at least two arrange is hidden;
The adjustment behavior that the content of one in list or at least two rows are shown;
The adjustment behavior that the content that one in list or at least two arrange is hidden.
In one exemplary embodiment, the logging modle includes:
First acquisition unit, for obtaining the identity information, the identification information of list and the tune of attribute information of the user
Whole configuration result;
Unit is established, the adjustment for establishing the identity information of the user, the identification information and attribute information of list is matched
Set the corresponding relationship of result.
In one exemplary embodiment, the logging modle includes:
Selecting unit, for selecting a target storage empty from the memory space of the client used by a user
Between;
Storage unit, the adjustment configuration result of the attribute information for storing the list in the target storage space.
In one exemplary embodiment, the second acquisition module includes:
Second acquisition unit, for obtaining the identity information of the user and the identification information of list to be shown;
Judging unit, for according to the identity information of the user and the identification information of the list to be shown, judgement
Whether the user is stored with to the adjustment configuration result of the attribute of the list;
Reading unit, for if so, then reading the identity information of the user and the mark of the list to be shown
The corresponding target adjustment configuration result of information.
Embodiment provided by the invention, when receiving adjustment request of the user to the list of web displaying, described in acquisition
User records the user to the attribute of list according to the moral conduct behavior to the operation behavior of the attribute information of the list
The adjustment configuration result of information obtains the user when detecting that the user requests to show the list of the webpage again
The list information of the webpage is shown further according to the adjustment configuration result to the adjustment configuration result of the attribute of the list,
It solves and enters the ease of use issues that this function still needs to adjustment the next time after the adjustment of list Column Properties, enhance the easy-to-use of product
Property, improve product competitiveness.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right
Specifically noted structure is achieved and obtained in claim and attached drawing.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention
Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application
Feature can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions
It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable
Sequence executes shown or described step.
Fig. 1 is the flow chart of the management method of webpage configuration information provided by the invention.Method shown in Fig. 1 includes:
Step 101, when receiving adjustment request of the user to the list of web displaying, obtain the user to the column
The operation behavior of the attribute information of table;
In this step, if there is list to need to show in the webpage, corresponding list is configured for the webpage and adjusts function
Can, allow that the attribute information of list is modified and configured;
In one exemplary embodiment, the operation behavior include it is following at least one:
To one in list or the adjustment behavior of the height of at least two rows;
Adjustment behavior to the width that one in list or at least two arrange;
The adjustment behavior hiding to the content of one in list or at least two rows;
The adjustment behavior that the content that one in list or at least two arrange is hidden;
The adjustment behavior that the content of one in list or at least two rows are shown;
The adjustment behavior that the content that one in list or at least two arrange is hidden.
Step 102, according to the moral conduct behavior, record the user to the adjustment configuration result of the attribute information of list;
In this step, the object of record user adjustment and the result of adjustment;For example, being carried out to the first row and the second row
The high adjustment of row, then record the first row and the high information of the second row row adjusted.For the ease of record, in recording process,
Only changed information is recorded, for unchanged information without record.
Step 103, when detecting that the user requests to show the list of the webpage again, obtain the user to institute
State the adjustment configuration result of the attribute of list;
In this step, it requests the trigger condition of display can be again and logs into the webpage again, alternatively, for a long time
Refresh again when the page is updated and shows the webpage.
By obtaining the adjustment configuration result of user, the available configuration information for meeting user and showing needs;
Step 104, according to the adjustment configuration result, show the list information of the webpage.
In this step, the configuration information needed using user's display is met, carries out the display of list information in webpage, can
The matching degree of demand is shown to promote display content and user, is reduced the manual operation adjustment operation of user, is promoted user experience.
Embodiment of the method provided by the invention is obtained when receiving adjustment request of the user to the list of web displaying
The user records the user to list according to the moral conduct behavior to the operation behavior of the attribute information of the list
The adjustment configuration result of attribute information, when detecting that the user requests to show the list of the webpage again, described in acquisition
User shows the list of the webpage further according to the adjustment configuration result to the adjustment configuration result of the attribute of the list
Information solves and enters the ease of use issues that this function still needs to adjustment the next time after the adjustment of list Column Properties, enhances product
Ease for use improves product competitiveness.
Method provided by the invention is described further below:
It is in one exemplary embodiment, described to record the user to the adjustment configuration result of the attribute information of list,
Include:
Obtain the adjustment configuration result of the identity information of the user, the identification information of list and attribute information;
The corresponding of the adjustment configuration result of the identity information of the user, the identification information of list and attribute information is established to close
System.
In the present example embodiment, user A has carried out hiding operation to third column when reading web page listings 1;Pass through
The identity of acquisition and List Identification can determine operation side's information and object to be operated information, then obtain adjustment configuration knot
Fruit can determine operative configuration result;By above three information, the display demand of user can be positioned faster, after convenient
It is continuous to use.
It is in one exemplary embodiment, described to record the user to the adjustment configuration result of the attribute information of list,
Include:
A target storage space is selected from the memory space of the client used by a user;
The adjustment configuration result of the attribute information of the list is stored in the target storage space.
In the present example embodiment, by being stored locally selecting a memory space, on the one hand facilitate next time
Quick reading, on the other hand, the modification of above- mentioned information is the demand that user customer side is shown, without uploading to clothes in time
Business device end, to reduce server-side processes pressure.
It is in one exemplary embodiment, described to obtain the user to the adjustment configuration result of the attribute of the list,
Include:
Obtain the identity information of the user and the identification information of list to be shown;
According to the identification information of the identity information of the user and the list to be shown, judge whether to be stored with described
Adjustment configuration result of the user to the attribute of the list;
If so, then reading the identity information of the user and the corresponding target of identification information of the list to be shown
Adjust configuration result.
In the present example embodiment, by obtaining operation side's information and object to be operated information, to obtain corresponding tune
Whole configuration result, configuration information needed for searching user carry out list display according to configuration information needed for user to realize
Purpose.
The above method is illustrated with application example provided by the invention below:
Application Example of the present invention provides a kind of method that Column Properties are arranged and locally save.This method comprises:
By the way that for list configuration unique identification values all in website, the list attribute set is saved in local
LocalStorage first obtains list Column Properties in next list initialization, then according to these from localStorage
The attribute kept carries out initialization list again
The method that application example of the present invention provides, implementation process are as follows:
1) user enters a certain listing function, according to personal business demand, carries out column width dragging, column are hidden, column are shown
Afterwards, Column Properties save button is clicked;
2) list unique identification value and Column Properties are obtained, localStorage.set (" unique identification value ", Column Properties are passed through
Object) it is saved in local;
3) user's next time enters this listing function, and acquisition Column Properties information, acquisition modes are first
LocalStorage.get (" unique identification value ");
4) initialization of list is carried out according to the Column Properties information got, to realize the effect after last time preservation.
The list Column Properties set are saved in local localStorage by the method that application example of the present invention provides,
And the local list Column Properties information kept is obtained before initialization list, it is carried out just according to these attributes kept
Beginningization list;After the adjustment of list Column Properties, entering this function next time, there is still a need for the ease of use issues readjusted, enhancings
The ease for use of product improves product competitiveness.
Fig. 2 is the structure chart of the managing device of webpage configuration information provided by the invention.Fig. 2 shown device includes:
First obtains module 201, for when receiving adjustment request of the user to the list of web displaying, described in acquisition
Operation behavior of the user to the attribute information of the list;
Logging modle 202, for recording the user and matching to the adjustment of the attribute information of list according to the moral conduct behavior
Set result;
Second obtains module 203, for obtaining when detecting that the user requests to show the list of the webpage again
Adjustment configuration result of the user to the attribute of the list;
Display module 204, for showing the list information of the webpage according to the adjustment configuration result.
In one exemplary embodiment, it is described first obtain module 201 obtain the operation behavior include such as down toward
It is one few:
To one in list or the adjustment behavior of the height of at least two rows;
Adjustment behavior to the width that one in list or at least two arrange;
The adjustment behavior hiding to the content of one in list or at least two rows;
The adjustment behavior that the content that one in list or at least two arrange is hidden;
The adjustment behavior that the content of one in list or at least two rows are shown;
The adjustment behavior that the content that one in list or at least two arrange is hidden.
In one exemplary embodiment, the logging modle 202 includes:
First acquisition unit, for obtaining the identity information, the identification information of list and the tune of attribute information of the user
Whole configuration result;
Unit is established, the adjustment for establishing the identity information of the user, the identification information and attribute information of list is matched
Set the corresponding relationship of result.
In one exemplary embodiment, the logging modle 202 includes:
Selecting unit, for selecting a target storage empty from the memory space of the client used by a user
Between;
Storage unit, the adjustment configuration result of the attribute information for storing the list in the target storage space.
In one exemplary embodiment, the second acquisition module 203 includes:
Second acquisition unit, for obtaining the identity information of the user and the identification information of list to be shown;
Judging unit, for according to the identity information of the user and the identification information of the list to be shown, judgement
Whether the user is stored with to the adjustment configuration result of the attribute of the list;
Reading unit, for if so, then reading the identity information of the user and the mark of the list to be shown
The corresponding target adjustment configuration result of information.
Installation practice provided by the invention is obtained when receiving adjustment request of the user to the list of web displaying
The user records the user to list according to the moral conduct behavior to the operation behavior of the attribute information of the list
The adjustment configuration result of attribute information, when detecting that the user requests to show the list of the webpage again, described in acquisition
User shows the list of the webpage further according to the adjustment configuration result to the adjustment configuration result of the attribute of the list
Information solves and enters the ease of use issues that this function still needs to adjustment the next time after the adjustment of list Column Properties, enhances product
Ease for use improves product competitiveness.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove
Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment,
Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one
Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain groups
Part or all components may be implemented as by processor, such as the software that digital signal processor or microprocessor execute, or by
It is embodied as hardware, or is implemented as integrated circuit, such as specific integrated circuit.Such software can be distributed in computer-readable
On medium, computer-readable medium may include computer storage medium (or non-transitory medium) and communication media (or temporarily
Property medium).As known to a person of ordinary skill in the art, term computer storage medium is included in for storing information (such as
Computer readable instructions, data structure, program module or other data) any method or technique in the volatibility implemented and non-
Volatibility, removable and nonremovable medium.Computer storage medium include but is not limited to RAM, ROM, EEPROM, flash memory or its
His memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic holder, tape, disk storage or other
Magnetic memory apparatus or any other medium that can be used for storing desired information and can be accessed by a computer.This
Outside, known to a person of ordinary skill in the art to be, communication media generally comprises computer readable instructions, data structure, program mould
Other data in the modulated data signal of block or such as carrier wave or other transmission mechanisms etc, and may include any information
Delivery media.