CN106649470A - Table search state storage method - Google Patents

Table search state storage method Download PDF

Info

Publication number
CN106649470A
CN106649470A CN201610857809.5A CN201610857809A CN106649470A CN 106649470 A CN106649470 A CN 106649470A CN 201610857809 A CN201610857809 A CN 201610857809A CN 106649470 A CN106649470 A CN 106649470A
Authority
CN
China
Prior art keywords
search
global variable
keyword
search keyword
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610857809.5A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201610857809.5A priority Critical patent/CN106649470A/en
Publication of CN106649470A publication Critical patent/CN106649470A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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/951Indexing; Web crawling techniques

Abstract

The invention discloses a table search state storage method and belongs to the technical field of computer front ends. The table search state storage method comprises the steps of self-defining a global variable; storing a search keyword in the global variable during execution of table search operation; clicking a hyperlink in a table to perform page jump for viewing related information in the table; after an interface before jump is accessed again, judging whether user operation is return/backing operation or not; if the user operation is the return/backing operation, reading the stored search keyword from the global variable, and after table initialization is finished, automatically filling a search box with the search keyword and executing search operation to reach an interface as same as the interface before the page jump; or otherwise, deleting the originally stored search keyword of a page. According to the table search state storage method, the search workload of a user can be reduced to the maximum extent, the working efficiency is improved, and good user experience is provided; and the method has very high promotion and application values.

Description

A kind of method for preserving table search state
Technical field
The present invention relates to computer front-end technology field, specifically provides a kind of method of preservation table search state.
Background technology
It is convenient and swift that computer has the advantages that information memory capacity is big, user obtains information, by more and more people's Favor.With the further development of social economy, performance requirements more and more higher of the user to computer, accordingly to meter The requirement of the data-handling capacity of calculation machine it is also proposed higher requirement, and to adapt to the development in epoch, big data technology is corresponding Grow up, attracted the concern of more and more people.Big data necessarily cannot be processed with the computer of separate unit, it is necessary to be adopted Distributed structure/architecture, therefore cloud computing adaptable therewith grows up.With big data, the development of cloud computing, cloud platform is also got over Come more.There is the information in many cloud platform projects to show in table form.Due to show information number it is excessively huge, User needs to carry out table search by keyword to search for oneself sense when a certain bar information or a certain category information is checked The information of interest.When user is when current page is redirected and is returned, it is found that the result of search originally has disappeared, Yong Hu Search result interfaces clickthrough is redirected downwards, is often again to show whole notes when needing to return again to search result interfaces Record, it is desirable to which the information checked is not easy to find again, it is necessary to perform once search for again.The workload of user is not only increased, is reduced Operating efficiency, and can cause bad Consumer's Experience, it is further improved.
The content of the invention
The technical assignment of the present invention is for above-mentioned problem, there is provided a kind of farthest to reduce searching for user Rope workload, improves operating efficiency, there is provided the method for the preservation table search state of good Consumer's Experience.
For achieving the above object, the invention provides following technical scheme:
A kind of method for preserving table search state, a self-defined global variable is complete at this in executive table search operation Search keyword is preserved in office's variable, the hyperlink clicked in form carries out the relevant information that page jump is checked in form, when It is again introduced into redirecting after front interface, the operation to user carries out determining whether return/back operation, if return/retreat behaviour Make then from the search keyword of reading and saving in the global variable, automatically filling should in search box after the completion of table initialization Search keyword simultaneously performs search operation, reaches and identical interface before page jump, otherwise deletes original page for preserving Search keyword;The method of the preservation table search state is concretely comprised the following steps:
S1:A self-defined global variable, the type of the global variable is object types;
S2:During user's executive table search operation, search keyword is preserved in global variable;
S3:The hyperlink clicked in form carries out page jump, the details of a certain record checked in form;
S4:It is again introduced into redirecting after front interface, the operation to user carries out determining whether return/back operation;
S5:If return/back operation, the search keyword of reading and saving, fills automatically in search box from global variable The search keyword simultaneously performs search operation;
S6:Otherwise delete the search keyword of the page of preservation.
The global variable example is as follows:
{
“page_main”:" cloud computing,
“page_cluster”:" external program "
……
}
User can be made when search result interfaces are returned, without carrying out again previously by the method for the preservation table search state Search operation, by being stored in global variable in search keyword by easily returned search result interfaces, carry High user searches for the speed of information, there is provided good Consumer's Experience.
Preferably, to guarantee that the keyword for preserving is the page tabular in step S2, by the index conduct of the page Key, search keyword is value, and the index of the different pages is unique, can effectively ensure the accuracy of Search Results.
If preferably, user's replacing search keyword carries out secondary or multiple search in step S2, updating global change The search keyword preserved in amount.
Compared with prior art, the method for preservation table search state of the invention has beneficial effect following prominent: By the present invention preservation table search state method, it is possible to use family return search result interfaces when, without carrying out again Previous search operation, by being stored in global variable in search keyword by easily returned Search Results circle Face, can farthest reduce the search work amount of user, improve operating efficiency, there is provided good Consumer's Experience.
Description of the drawings
Fig. 1 is the schematic flow sheet of the method for preservation table search state of the present invention.
Specific embodiment
Below in conjunction with drawings and Examples, the method for the preservation table search state of the present invention is made further specifically It is bright.
Embodiment
As shown in figure 1, the method for the preservation table search state of the present invention, by a self-defined global variable, is holding When relevant information is checked in the operation of row table search, search keyword is preserved in the global variable, click on the hyperlink in form Carry out the relevant information that page jump is checked in form.Secondary or multiple search is carried out as user has changed search keyword, then Update the search keyword preserved in global variable.After having checked that relevant information is again introduced into redirecting front interface, to user's Operation carries out determining whether return/back operation.If return/back operation is then searched from reading and saving in the global variable Rope keyword, fills in search box the search keyword and performs search operation automatically after the completion of table initialization, reaches Checking for relevant information is carried out with identical interface before page jump, the search for otherwise deleting the original page for preserving is crucial Word.The method of the preservation table search state is concretely comprised the following steps:
S1:A self-defined global variable, the type of the global variable is object types.
The global variable example is as follows:
{
“page_main”:" cloud computing,
“page_cluster”:" external program "
……
}。
S2:During user's executive table search operation, search keyword is preserved in global variable.If user has changed search Keyword carries out secondary or multiple search, then update the search keyword preserved in global variable.
To guarantee that the keyword for preserving is the page tabular, by the index of the page as key, search keyword is Value, the index of the different pages is unique.
S3:The hyperlink clicked in form carries out page jump, the details of a certain record checked in form.
S4:It is again introduced into redirecting after front interface, the operation to user carries out determining whether return/back operation.
S5:If return/back operation, the search keyword of reading and saving from global variable, in search box automatically Fill the search keyword and perform search operation.
S6:Otherwise delete the search keyword of the page of preservation.
Embodiment described above, the simply present invention more preferably specific embodiment, those skilled in the art is at this The usual variations and alternatives carried out in the range of inventive technique scheme all should be comprising within the scope of the present invention.

Claims (3)

1. it is a kind of preserve table search state method, it is characterised in that:A self-defined global variable, in executive table search Search keyword is preserved in the global variable during operation, the hyperlink in form is clicked on and is carried out page jump and check in form Relevant information, after being again introduced into redirecting front interface, the operation to user carries out determining whether return/back operation, if Return/back operation then from the search keyword of reading and saving in the global variable, in search box after the completion of table initialization In fill the search keyword automatically and perform search operation, reach and identical interface before page jump;Otherwise delete original The search keyword of the page for preserving;The method of the preservation table search state is concretely comprised the following steps:
S1:A self-defined global variable, the type of the global variable is object types;
S2:During user's executive table search operation, search keyword is preserved in global variable;
S3:The hyperlink clicked in form carries out page jump, the details of a certain record checked in form;
S4:It is again introduced into redirecting after front interface, the operation to user carries out determining whether return/back operation;
S5:If return/back operation, the search keyword of reading and saving, fills automatically in search box from global variable The search keyword simultaneously performs search operation;
S6:Otherwise delete the search keyword of the page of preservation.
2. it is according to claim 1 preserve table search state method, it is characterised in that:It is to guarantee to preserve in step S2 Keyword be the page tabular, by the index of the page as key, search keyword is value, the index of the different pages It is unique.
3. it is according to claim 1 and 2 preserve table search state method, it is characterised in that:If user in step S2 Changing search keyword carries out secondary or multiple search, then update the search keyword preserved in global variable.
CN201610857809.5A 2016-09-28 2016-09-28 Table search state storage method Pending CN106649470A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610857809.5A CN106649470A (en) 2016-09-28 2016-09-28 Table search state storage method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610857809.5A CN106649470A (en) 2016-09-28 2016-09-28 Table search state storage method

Publications (1)

Publication Number Publication Date
CN106649470A true CN106649470A (en) 2017-05-10

Family

ID=58853272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610857809.5A Pending CN106649470A (en) 2016-09-28 2016-09-28 Table search state storage method

Country Status (1)

Country Link
CN (1) CN106649470A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020049699A1 (en) * 1998-05-08 2002-04-25 Takashi Yano Document information management system
CN1987862A (en) * 2005-12-22 2007-06-27 国际商业机器公司 Method for analyzing state transition in web page
CN101266623A (en) * 2008-05-09 2008-09-17 杭州华三通信技术有限公司 Page jump method and system
CN104346397A (en) * 2013-08-06 2015-02-11 中国银联股份有限公司 Switchover method and system based on asynchronous request page
CN104881431A (en) * 2015-04-23 2015-09-02 百度在线网络技术(北京)有限公司 Method and device for acquiring search result pages in computer device
CN105159669A (en) * 2015-08-13 2015-12-16 浪潮(北京)电子信息产业有限公司 Method and system for orderly processing multiple Ajax data sources
CN105447089A (en) * 2015-11-06 2016-03-30 百度在线网络技术(北京)有限公司 Search result page display method and apparatus
CN105450460A (en) * 2014-06-03 2016-03-30 北京奇虎科技有限公司 Network operation recording method and system
CN105573733A (en) * 2014-10-16 2016-05-11 腾讯科技(深圳)有限公司 Communication method for browser and web front end and web front end and system
CN105786894A (en) * 2014-12-22 2016-07-20 广州市动景计算机科技有限公司 Page display method and page display equipment
CN105930536A (en) * 2016-06-21 2016-09-07 北京小米移动软件有限公司 Method and device for creating indexes and method and device for jumping pages

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020049699A1 (en) * 1998-05-08 2002-04-25 Takashi Yano Document information management system
CN1987862A (en) * 2005-12-22 2007-06-27 国际商业机器公司 Method for analyzing state transition in web page
CN101266623A (en) * 2008-05-09 2008-09-17 杭州华三通信技术有限公司 Page jump method and system
CN104346397A (en) * 2013-08-06 2015-02-11 中国银联股份有限公司 Switchover method and system based on asynchronous request page
CN105450460A (en) * 2014-06-03 2016-03-30 北京奇虎科技有限公司 Network operation recording method and system
CN105573733A (en) * 2014-10-16 2016-05-11 腾讯科技(深圳)有限公司 Communication method for browser and web front end and web front end and system
CN105786894A (en) * 2014-12-22 2016-07-20 广州市动景计算机科技有限公司 Page display method and page display equipment
CN104881431A (en) * 2015-04-23 2015-09-02 百度在线网络技术(北京)有限公司 Method and device for acquiring search result pages in computer device
CN105159669A (en) * 2015-08-13 2015-12-16 浪潮(北京)电子信息产业有限公司 Method and system for orderly processing multiple Ajax data sources
CN105447089A (en) * 2015-11-06 2016-03-30 百度在线网络技术(北京)有限公司 Search result page display method and apparatus
CN105930536A (en) * 2016-06-21 2016-09-07 北京小米移动软件有限公司 Method and device for creating indexes and method and device for jumping pages

Similar Documents

Publication Publication Date Title
US8356154B2 (en) Storage system, data relocation method thereof, and recording medium that records data relocation program
CN106897322B (en) A kind of access method and device of database and file system
JP2013506189A5 (en)
US20150356072A1 (en) Method and Apparatus of Matching Text Information and Pushing a Business Object
CN102682108B (en) Row and line mixed database storage method
CN104021161B (en) A kind of clustering storage method and device
TWI640880B (en) Method and device for providing recommended words
US8843507B2 (en) Serving multiple search indexes
CN107943952B (en) Method for realizing full-text retrieval based on Spark framework
CN101923568A (en) Method for increasing and canceling elements of Bloom filter and Bloom filter
US10698916B1 (en) Data preparation context navigation
CN105159971B (en) A kind of cloud platform data retrieval method
CN103914483A (en) File storage method and device and file reading method and device
CN107577436A (en) A kind of date storage method and device
CN104317899A (en) Big-data analyzing and processing system and access method
CN105653647A (en) Information acquisition method and system of SQL (Structured Query Language) statement
US20110179013A1 (en) Search Log Online Analytic Processing
CN106844541A (en) A kind of on-line analytical processing method and device
CN104361113A (en) OLAP (On-Line Analytical Processing) query optimization method in memory and flesh memory hybrid storage mode
CN101739429A (en) Method for optimizing cluster search results and device thereof
CN102982095B (en) A kind of body automatic creation system based on thesaurus and method thereof
CN108536692A (en) A kind of generation method of executive plan, device and database server
CN105243099A (en) Large data real-time storage method based on translation document
CN106776810A (en) The data handling system and method for a kind of big data
CN107203640B (en) Method and system for establishing physical model through database operation record

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170510