CN107239530A - Label search method, device, system and computer-readable recording medium - Google Patents
Label search method, device, system and computer-readable recording medium Download PDFInfo
- Publication number
- CN107239530A CN107239530A CN201710396475.0A CN201710396475A CN107239530A CN 107239530 A CN107239530 A CN 107239530A CN 201710396475 A CN201710396475 A CN 201710396475A CN 107239530 A CN107239530 A CN 107239530A
- Authority
- CN
- China
- Prior art keywords
- label
- retrieval
- data
- module
- client
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
Abstract
The invention discloses a kind of label search method, device, system and computer-readable recording medium, belong to communication technical field.This method includes:Receive the instruction of the label of retrieval first of user's input;First label is retrieved in client data area, to judge whether the historical data of first label;If so, then showing the historical data of first label.When label search method, device, system and the computer-readable recording medium of the present invention avoids user's repeated retrieval, repeatedly submit and ask to server, the unnecessary loss of server bandwidth is reduced, server concurrency is improved, more preferable Consumer's Experience is brought to user.
Description
Technical field
The present invention relates to communication technical field, more particularly to label search method, device, system and computer-readable storage
Medium.
Background technology
With the popularization of internet, the living standard of people is increasingly improved, and increasingly likes browsing news in various websites
Media information, also includes many media articles write from media people among these.From media this industries also increasingly by enterprise
Valued.Many enterprises all can specially build a station point (such as:News media center) provide media article from media for these.It is this
Website is due to the particularity of its property, so can't have the searching system of complexity as shopping website, typically by
Label goes retrieval, and usual this kind of label is all the product of enterprise, goes to associate the information above website by label.Text in website
Chapter, photograph album, video collection etc. are bound with label, and related data can be easily retrieved very much by label in website.
However, as the people for accessing website increases, the number of times increase of retrieval, even by label search, particularly phase
With or multiple users compared for the retrieval repeatedly of identical hot information, this to server bring it is very big than should not pressure.
It is most directly perceived to embody, it is exactly the cost of server bandwidth, and database IO can have certain pressure, gently then make recall precision
Low, feedback is slow, heavy then cause the light machine of server out of service.
Increase number of servers is most directly perceived, produces effects and also can be said to be considerable, still, and the cost that this opposite band is come is also higher.From
Code and server layer surface analysis are it can be found that when each user search, if accessing database every time, increase database
Input and output (I/O), the request at customer in response end every time all occupies the server bandwidth of larger proportion.Database
IO and server bandwidth are two critically important factors of limiting concurrent bottleneck and influence recall precision, therefore, it is necessary to
Propose a kind of label search method, device, system and computer-readable recording medium, it is to avoid the occurrence of above-mentioned.
The content of the invention
It is a primary object of the present invention to propose a kind of label search method, device, system and computer-readable storage medium
Matter, it is intended to solve repeatedly to retrieve time for being brought to server and loss economically in the prior art, and recall precision compared with
Low problem.
To achieve the above object, a kind of label search method that the present invention is provided, applied to client, methods described includes
Step:
Receive the instruction of the label of retrieval first of user's input;
First label is retrieved in client data area, to judge whether the history number of first label
According to;
If so, then showing the historical data of first label.
Alternatively, methods described also includes:
When retrieving first label in the client data area, the historical data in the absence of first label is judged
When, retrieval request is sent to server, the retrieval request includes retrieving the instruction of first label;
According to the retrieval request, the first retrieval number corresponding with first label that the server is sent is received
According to;
Show the first retrieval data.
Alternatively, methods described also includes:
The first cleaning cycle corresponding with first label is set;
When reaching first cleaning cycle, delete corresponding with first label the in the client data area
One retrieval data.
Alternatively, methods described also includes:
Receive the instruction of the label of retrieval second of user's input;
Judge whether include first label in second label, if so, then display includes first label pair
The the first retrieval data answered, if it is not, then showing the second retrieval data corresponding with second label;
Or,
Judge whether the meaning of one's words of second label is identical or similar with the meaning of one's words of first label, if so, then
Display the first retrieval data corresponding with first label, if it is not, then showing the second retrieval corresponding with second label
Data.
In addition, to achieve the above object, the present invention also proposes a kind of label search device, applied to client, the dress
Put including:
First receiving module, the instruction of the label of retrieval first for receiving user's input;
Judge module, for retrieving first label in client data area, to judge whether described first
The historical data of label;
Display module, for when the judge module judges to have the historical data of first label, display to be described
The historical data of first label.
Alternatively, described device also includes:
Sending module, for retrieving first label in the client data area, when the judge module judges not
When there is the historical data of first label, retrieval request is sent to server, the retrieval request includes retrieving described the
The instruction of one label;
Second receiving module is sending with first label for according to the retrieval request, receiving the server
Corresponding first retrieval data.
Alternatively, described device also includes:
Setup module, for setting the first cleaning cycle corresponding with first label;
Removing module, for when reaching first cleaning cycle, is deleted in the client data area with described the
The corresponding first retrieval data of one label.
Alternatively, first receiving module, is additionally operable to receive the instruction of the label of retrieval second of user's input;
The judge module, is additionally operable to judge in second label whether include first label, if so, then described
Display module show comprising first label it is corresponding first retrieval data, if it is not, then the display module show with it is described
The corresponding second retrieval data of second label;
Or,
The judge module, is additionally operable to judge whether the meaning of one's words of second label is identical with the meaning of one's words of first label
Or it is similar, if so, then the display module shows the first retrieval data corresponding with first label, if it is not, then institute
State display module and show the second retrieval data corresponding with second label.
In addition, to achieve the above object, the present invention also proposes a kind of label search system, it is characterised in that the system
The server being communicatively coupled including client and with the client, the client is filled including above-mentioned label search
Put.
In addition, to achieve the above object, the present invention also proposes a kind of computer-readable recording medium, it is characterised in that institute
The label search program that is stored with computer-readable recording medium is stated, is realized when the label search program is executed by processor
The step of stating label search method.
Label search method proposed by the present invention, device, system and computer-readable recording medium, it is defeated by receiving user
The instruction of the label of retrieval first entered, retrieves first label, and deposited in client data area in client data area
In the historical data of first label, show the historical data of the first label, it is to avoid during user's repeated retrieval, repeatedly to
Server submits request, and the unnecessary loss of reduction server bandwidth improves server concurrency, more preferable use is brought to user
Experience at family.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for realizing the optional mobile terminal of each embodiment one of the invention;
Fig. 2 is the communications network system schematic diagram of mobile terminal as shown in Figure 1;
The schematic flow sheet for the label search method that Fig. 3 provides for first embodiment of the invention;
Another schematic flow sheet for the label search method that Fig. 4 provides for first embodiment of the invention;
The schematic flow sheet for the label search method that Fig. 5 provides for second embodiment of the invention;
The schematic flow sheet for the label search method that Fig. 6 provides for third embodiment of the invention;
Fig. 7 is client display interface schematic diagram;
The module diagram for the label search device that Fig. 8 provides for fourth embodiment of the invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only
Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can be mixed
Ground is used.
Client in the present invention is installed in terminal, and terminal can be implemented in a variety of manners.For example, being retouched in the present invention
The terminal stated can include such as mobile phone, tablet personal computer, notebook computer, palm PC, personal digital assistant (Personal
Digital Assistant, PDA), portable media player (Portable Media Player, PMP), guider,
The mobile terminals such as wearable device, Intelligent bracelet, pedometer, and the fixed terminal such as numeral TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of realization each embodiment of the invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit
108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts,
Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, up data are sent into base station.Generally, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user's transmitting-receiving electricity by WiFi module 102
Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need
To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 1 00
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or
The voice data stored in memory 109 is converted into audio signal and is output as sound.Moreover, audio output unit 103
The audio output related to the specific function that mobile terminal 1 00 is performed can also be provided (for example, call signal receives sound, disappeared
Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042,1041 pairs of graphics processor is in video acquisition mode
Or the view data progress of the static images or video obtained in image capture mode by image capture apparatus (such as camera)
Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after being handled through graphics processor 1041 can be deposited
Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can
To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound
The noise produced during frequency signal or interference.
Mobile terminal 1 00 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 1 00 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can be wrapped
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it
(such as user is using any suitable objects such as finger, stylus or annex on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can be wrapped
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, with preprocessor 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be input and the output function that mobile terminal is realized as two independent parts, but in certain embodiments, can
By contact panel 1071 and the input that is integrated and realizing mobile terminal of display panel 1061 and output function, not do specifically herein
Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 1 00 or can be with
For transmitting data between mobile terminal 1 00 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, application program (the such as sound that storing program area can be needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as according to mobile phone
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, it can also include non-easy
The property lost memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by operation or performs and is stored in software program and/or module in memory 109, and calls and be stored in storage
Data in device 109, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;It is preferred that, processor 110 can integrated application processor and modulatedemodulate mediate
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 1 00 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 1 00 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system that the mobile terminal of the present invention is based on is entered below
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
Unite as the LTE system of universal mobile communications technology, UE (User Equipment, use of the LTE system including communicating connection successively
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
There is provided carrying and connection management for the control node of signaling between EPC203.HSS2032 is all to manage for providing some registers
Such as function of attaching position register (not shown) etc, and some are preserved about the use such as service features, data rate
The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the inventive method is proposed.
Fig. 3 is refer to, first embodiment of the invention provides a kind of label search method, applied to client, methods described
Including step:
Step 301, the instruction of the label of retrieval first of user's input is received.
Specifically, the search field for receiving user in client inputs search instruction.More specifically, searching in the present embodiment
Rope field can be the input frame etc. in the input frame or dictionary for search for website (such as Baidu, 360).Input side
Formula can be touch command, can also be by the instruction of input through keyboard.As user, input needs inspection in search field accordingly
During keyword (such as the first label) of rope, and when being instructed by pressing the carriage return on touch command or input keyboard, send inspection
Suo Zhiling, so as to receive the search instruction.
Further, the instruction of the first label of search can also be phonetic order.
Further, local client data area includes at least one label and history corresponding with each label
Data.
Step 302, first label is retrieved in client data area, to judge whether first label
Historical data.If so, into step 303, if it is not, then entering step 304.
Specifically, the content of the first label is first parsed from search instruction, and according to the content of the first label, local
Client data is retrieved in area, to search whether to include the historical data of the first label in local client data area,
If so, into step 303, if it is not, then entering step 304.
Step 303, the historical data of the first label is shown.
Specifically, if local client data area includes the historical data of the first label, illustrate the search instruction it
Before, warp-wise server is transmitted across including the search instruction of the first label, then repeatedly need not send out identical search instruction
Server is given, but can directly transfer the retrieval result that last server is sent, and directly displays the historical data.
Further, when local client data area includes the historical data of the first label, then without using movement
Network or wireless network, make whole search procedure more convenient, fast, are also user's saving network flow.
Further, step 302 can also be replaced by following steps:Judge in searched page with the presence or absence of the described first mark
The hiding data block of label, if so, then step 303 can be replaced by following steps:Display data corresponding with first label
Block simultaneously hides other data blocks.
Step 304, retrieval request is sent to server, the retrieval request includes retrieving the instruction of first label.
Specifically, if there is no the historical data of the first label in local client data area, illustrate the search instruction it
Before, it is not transmitted across including the search instruction of the first label to server, then sends retrieval request, the retrieval request to server
Instruction including retrieving the first label.
Further, the process for sending retrieval request to server can use prior art, and the present embodiment is herein no longer
Repeat.
Step 305, according to the retrieval request, the server is received sending with first label corresponding first
Retrieve data.
Specifically, after server is finished according to retrieval request retrieval, it is corresponding with the first label that the reception server is sent
First retrieval data.
Further, after the first retrieval data are received, the first retrieval data are preserved to local client data
Qu Zhong, during in order to be retrieved again to the first label in the future, the first retrieval data turn into historical data.
Further, receive first retrieve data after, can also be by the first retrieval data deposit data block and with the
The one tag identifier data block so as to submit next time request before judged.
Step 306, the first retrieval data are shown.
Further, Fig. 4 is refer to, as to further improvement of this embodiment, label search method also includes:
Step 401, the first cleaning cycle corresponding with the first label is set.
Specifically, set in client data area and retrieve corresponding first cleaning cycle of data with the first label, first.
Or, the first cleaning cycle is identified within the data block, and mark is used as using the first label.
Step 402, when reaching the first cleaning cycle, the first inspection corresponding with the first label in client data area is deleted
Rope data.
Specifically, when reaching the first cleaning cycle, then it is automatically deleted corresponding with the first label in client data area
First retrieval data.In other embodiments, the data block for being identified with the first label can also be automatically deleted.
Further, step 402 can be carried out before step 301, can also be carried out after step 302, can also
Carry out after step 306, the present embodiment not concrete restriction realization order.
In order that those skilled in the art more fully understand the present invention, with label search side of three examples to the present embodiment
Method is illustrated:
Example one:
Step 1.1, the Checking label A of user's input instruction was received January 1;
Step 1.2, the Checking label A in client data area, and judge the historical data in the absence of label A;
Step 1.3, Checking label A request is sent to server;
Step 1.4, the data for the label A that the reception server is sent;
Step 1.5, display label A result.
Step 1.6, the data of label A are hidden in the form of data block, and data A cleaning cycle was set for one week (7
My god).
Example two:
Step 2.1, the Checking label A of user's input instruction was received January 5;
Step 2.2, the Checking label A in client data area, and there is the historical data of label A in judgement;
Step 2.3, display label A result.
Example three:
Step 3.1, the cleaning cycle for reaching label A January 8, deletes the data block of label A;
Step 3.2, the Checking label A of user's input instruction was received January 10;
Step 3.3, the Checking label A in client data area, and judge the historical data in the absence of label A;
Step 3.4, Checking label A request is sent to server;
Step 3.5, the data for the label A that the reception server is sent;
Step 3.6, display label A result.
The label search method of the present embodiment, by receiving the instruction for the label of retrieval first that user inputs, in client
When first label is retrieved in data field, and there is in client data area the historical data of first label, display
The historical data of first label.When avoiding user's repeated retrieval, repeatedly submit and ask to server, reduction server bandwidth is not
Necessary loss, improves server concurrency, more preferable Consumer's Experience is brought to user.
Fig. 5 is refer to, second embodiment of the invention further provides for a kind of label search method, and methods described includes:
Step 501, the instruction of the label of retrieval first of user's input is received.
Step 502, first label is retrieved in client data area, to judge whether first label
Historical data.If so, into step 503, if it is not, then entering step 504.
Step 503, the historical data of the first label is shown.
Step 504, retrieval request is sent to server, the retrieval request includes retrieving the instruction of first label.
Step 505, according to the retrieval request, the server is received sending with first label corresponding first
Retrieve data.
Step 506, the first retrieval data are shown.
Above-mentioned steps 501-506 content is identical with the content of the step 301-306 in first embodiment, for identical
Content, the present embodiment will not be repeated here.
Step 507, the instruction of the label of retrieval second of user's input is received.
Step 508, judge whether include first label in second label, if so, then enter step 509, if
It is no, then into step 510.
Specifically, according to the content of the second label, it is necessary to first judge whether the second label is identical with the first label or wraps
Include the content of the first label.Exemplarily, the first label is label A, if the second label is label A, the second label and first
Label is identical;If the second label is label A B, the second label includes the first label;If the second label is label C D, second
Label does not include the first label.
Step 509, display includes the corresponding first retrieval data of first label.
Specifically, step 509 point is two kinds of situations:
Situation one, when the second label is identical with the first label, then it is the first retrieval data that retrieval result, which is shown,.
Situation two, when the second label and the first label are differed, is then shown the result for including the first retrieval data,
Selectively show the corresponding retrieval result of the remaining keyword of the second label.
Step 510, the second retrieval data corresponding with second label are shown.
Specifically, when the second label is different from the first label, then shown and the second mark according to step 501-506 process
Sign corresponding second retrieval data.
The label search method of the present embodiment, receives the instruction of the label of retrieval second of user's input, when in the second label
During including the first label, then display includes the corresponding first retrieval data of first label, if not including, display and second
The corresponding second retrieval data of label.Historical data is determined by label substance, it is to avoid user for the data retrieved,
When initiating retrieval request again, without request server, the unnecessary bandwidth cost of server is reduced, meanwhile, directly in response to
The request of user, does not postpone, displaying result much sooner, is that user brings more preferable usage experience.
Fig. 6 is refer to, third embodiment of the invention further provides for a kind of label search method, and methods described includes:
Step 601, the instruction of the label of retrieval first of user's input is received.
Step 602, first label is retrieved in client data area, to judge whether first label
Historical data.If so, into step 603, if it is not, then entering step 604.
Step 603, the historical data of the first label is shown.
Step 604, retrieval request is sent to server, the retrieval request includes retrieving the instruction of first label.
Step 605, according to the retrieval request, the server is received sending with first label corresponding first
Retrieve data.
Step 606, the first retrieval data are shown.
Above-mentioned steps 601-606 content is identical with the content of the step 301-306 in first embodiment, for identical
Content, the present embodiment will not be repeated here.
Step 607, the instruction of the label of retrieval second of user's input is received.
Step 608, judge whether the meaning of one's words of the second label is identical or similar with the meaning of one's words of the first label, if so, then
Into step 609, if it is not, then entering step 610.
Specifically, in practical application scene, many situations are, although the content of the second label and the first label is interior
Hold it is different, but the second label and the first label to be retrieved it is substantially identical, if then can be substantially identical with automatic decision
Content, then into step 609.It can also be prompted the user whether on the display page to search the content of the first label, if so, then
Into step 609, if it is not, then entering step 610.
Step 609, the first retrieval data corresponding with first label are shown.
Step 610, the second retrieval data corresponding with second label are shown.
As shown in fig. 7, when user is in input label A in searching for field, the meaning of one's words for judging label A and the mark retrieved before
The meaning of one's words for signing B is identical, then display label B retrieval data, and " what you to be searched is label B while display the prompt box”
The label search method of the present embodiment, receives the instruction of the label of retrieval second of user's input, when the second label
When the meaning of one's words is identical or similar with the meaning of one's words of first label, then the first retrieval data corresponding with the first label are shown,
If differing also not similar, display the second retrieval data corresponding with the second label.History number is determined by label substance
According to, it is to avoid user when initiating retrieval request again, without request server, reduces service for the data retrieved
The unnecessary bandwidth cost of device, meanwhile, directly in response to the request of user, do not postpone, displaying result much sooner, is user
Bring more preferable usage experience.
Fig. 8 is refer to, fourth embodiment of the invention further provides for a kind of label search device, applied to client, institute
Stating device includes:
First receiving module 810, the instruction of the label of retrieval first for receiving user's input.
Specifically, the first receiving module 810 receives user and inputs search instruction in the search field of client.More specifically
Search field in ground, the present embodiment can be search for website (such as Baidu, 360) input frame or dictionary in
Input frame etc..Input mode can be touch command, can also be by the instruction of input through keyboard.When user searches for accordingly
When input needs keyword (such as the first label) retrieved in field, and by pressing time on touch command or input keyboard
When car is instructed, search instruction is sent, so as to receive the search instruction.
Further, the instruction of the first label of search can also be phonetic order.
Further, local client data area includes at least one label and history corresponding with each label
Data.
Judge module 820, for retrieving first label in client data area, to judge whether described
The historical data of one label.If so, triggering.
Specifically, the content of the first label is first parsed from search instruction, and according to the content of the first label, local
Client data is retrieved in area, and judge module 820 searches whether to include the first label in local client data area
Historical data.
Display module 830, for when judge module 820 judges to have the historical data of first label, then showing
The historical data of first label.
Specifically, if local client data area includes the historical data of the first label, illustrate the search instruction it
Before, warp-wise server is transmitted across including the search instruction of the first label, then repeatedly need not send out identical search instruction
Server is given, but display module 830 directly transfers the retrieval result that last server is sent, and directly display the history
Data.
Further, when local client data area includes the historical data of the first label, then without using movement
Network or wireless network, make whole search procedure more convenient, fast, are also user's saving network flow.
Further, judge module 320 can be also used for judging in searched page with the presence or absence of the hidden of first label
Data block is hidden, if so, then display module 330 is additionally operable to display data block corresponding with first label and hides other data
Block.
Sending module 840, for judging when judge module 820 during the historical data in the absence of first label, to clothes
Business device sends retrieval request, and the retrieval request includes retrieving the instruction of first label.
Specifically, if there is no the historical data of the first label in local client data area, illustrate the search instruction it
Before, it is not transmitted across including the search instruction of the first label to server, then sending module 840 sends retrieval to server and asked
Ask, the retrieval request includes the instruction of the first label of retrieval.
Further, the process that sending module 840 sends retrieval request to server can use prior art, this implementation
Example will not be repeated here.
Second receiving module 850, is additionally operable to according to the retrieval request, receive that the server sends with described first
The corresponding first retrieval data of label.
Specifically, server according to retrieval request retrieval finish after, the reception server of the second receiving module 850 send with
The corresponding first retrieval data of first label.
Further, the second receiving module 850 receive first retrieve data after, by this first retrieval data preserve to
In local client data area, during in order to be retrieved again to the first label in the future, the first retrieval data turn into history number
According to.
Further, after the second receiving module 850 receives the first retrieval data, the first retrieval data can also be deposited
Enter data block and with the first tag identifier data block so as to submit next time request before judged.
Display module 840, is additionally operable to display the first retrieval data.
Further, the label search device of the present embodiment also includes:
Setup module 860, for setting the first cleaning cycle corresponding with the first label.
Specifically, setup module 860 is set and the first label, the first retrieval data corresponding the in client data area
One cleaning cycle.Or, the first cleaning cycle is identified within the data block, and mark is used as using the first label.
Removing module 870, for when reaching the first cleaning cycle, deleting corresponding with the first label in client data area
First retrieval data.
Specifically, when reaching the first cleaning cycle, then removing module 870 is automatically deleted in client data area and first
The corresponding first retrieval data of label.In other embodiments, removing module 870, which can also be automatically deleted, is identified with the first label
Data block.
In order that those skilled in the art more fully understand the present invention, the label search of the present embodiment is filled with three examples
The course of work put is illustrated:
Example one:
Step 1.1, the first receiving module 810 received the Checking label A of user's input instruction January 1;
Step 1.2, the Checking label A in client data area of judge module 820, and judge the history in the absence of label A
Data;
Step 1.3, sending module 840 sends Checking label A request to server;
Step 1.4, the data for the label A that the reception server of the second receiving module 850 is sent;
Step 1.5, the display label A of display module 830 result.
Step 1.6, setup module 860 hides the data of label A in the form of data block, and sets data A cleaning week
Phase is one week (7 days).
Example two:
Step 2.1, the first receiving module 810 received the Checking label A of user's input instruction January 5;
Step 2.2, the Checking label A in client data area of judge module 820, and there is the history number of label A in judgement
According to;
Step 2.3, the display label A of display module 830 result.
Example three:
Step 3.1, the cleaning cycle that removing module 870 reached label A January 8, deletes the data block of label A;
Step 3.2, the first receiving module 810 received the Checking label A of user's input instruction January 10;
Step 3.3, the Checking label A in client data area of judge module 820, and judge the history in the absence of label A
Data;
Step 3.4, sending module 840 sends Checking label A request to server;
Step 3.5, the data for the label A that the reception server of the second receiving module 850 is sent;
Step 3.6, the display label A of display module 830 result.
Further, when the first receiving module 810 receives the instruction of the label of retrieval second of user's input, judge module
820, it is additionally operable to judge in second label whether include first label, if so, then the display of display module 830 includes institute
The corresponding first retrieval data of the first label are stated, if it is not, the then display of display module 830 the second inspection corresponding with second label
Rope data.
Specifically, the content of the second label received according to the first receiving module 810, judge module 820 needs first to judge
Whether the second label identical with the first label or content that include the first label.Exemplarily, the first label is label A, if
Second label is label A, then the second label is identical with the first label;If the second label is label A B, the second label includes the
One label;If the second label is label C D, the second label does not include the first label.
When the display of display module 830 retrieves data comprising first label corresponding first, a point following two situations are entered
Row display:
Situation one, when the second label is identical with the first label, then it is first that retrieval result, which is shown, in display module 830
Retrieve data.
Situation two, when the second label and the first label are differed, then display module 830 is shown comprising the first retrieval
The result of data, selectively shows the corresponding retrieval result of the remaining keyword of the second label.
Further, judge module 820, are additionally operable to judge whether the meaning of one's words of the second label is identical with the meaning of one's words of the first label
Or it is similar, if so, the then display of display module 830 the first retrieval data corresponding with first label, if it is not, then showing
The display of module 830 the second retrieval data corresponding with second label.
As shown in fig. 7, when user is in input label A in searching for field, the meaning of one's words for judging label A and the mark retrieved before
The meaning of one's words for signing B is identical, then display label B retrieval data, and " what you to be searched is label B while display the prompt box”
The label search device of the present embodiment, the label of retrieval first that user inputs is received by the first receiving module 810
Instruction, judge module 820 retrieves first label in client data area, and exists in client data area described
During the historical data of the first label, display module 830 shows the historical data of the first label.When avoiding user's repeated retrieval,
Repeatedly submit and ask to server, the unnecessary loss of reduction server bandwidth improves server concurrency, brought more to user
Good Consumer's Experience.
Fifth embodiment of the invention further provides for a kind of label search system, including client and is led to client
Believe the server of connection, the client includes label search device as described above.
Sixth embodiment of the invention further provides for a kind of computer-readable recording medium, the computer-readable storage medium
Be stored with label search program in matter, and the label search program realizes label search side as described above when being executed by processor
Method.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and
And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal (can be mobile phone, computer, service
Device, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot
Form, these are belonged within the protection of the present invention.
Claims (10)
1. a kind of label search method, it is characterised in that applied to client, methods described includes step:
Receive the instruction of the label of retrieval first of user's input;
First label is retrieved in client data area, to judge whether the historical data of first label;
If so, then showing the historical data of first label.
2. label search method according to claim 1, it is characterised in that methods described also includes:
When retrieving first label in the client data area, when judging the historical data in the absence of first label,
Retrieval request is sent to server, the retrieval request includes retrieving the instruction of first label;
According to the retrieval request, the first retrieval data corresponding with first label that the server is sent are received;
Show the first retrieval data.
3. label search method according to claim 2, it is characterised in that methods described also includes:
The first cleaning cycle corresponding with first label is set;
When reaching first cleaning cycle, the first inspection corresponding with first label in the client data area is deleted
Rope data.
4. label search method according to claim 1, it is characterised in that methods described also includes:
Receive the instruction of the label of retrieval second of user's input;
Judge whether include first label in second label, if so, then display is corresponding comprising first label
First retrieval data, if it is not, then showing the second retrieval data corresponding with second label;
Or,
Judge whether the meaning of one's words of second label is identical or similar with the meaning of one's words of first label, if so, then showing
The first retrieval data corresponding with first label, if it is not, then showing the second retrieval data corresponding with second label.
5. a kind of label search device, it is characterised in that applied to client, described device includes:
First receiving module, the instruction of the label of retrieval first for receiving user's input;
Judge module, for retrieving first label in client data area, to judge whether first label
Historical data;
Display module, for when the judge module judges to have the historical data of first label, showing described first
The historical data of label.
6. label search device according to claim 5, it is characterised in that described device also includes:
Sending module, for retrieving first label in the client data area, when the judge module judges to be not present
During the historical data of first label, retrieval request is sent to server, the retrieval request includes retrieving first mark
The instruction of label;
Second receiving module, for according to the retrieval request, receiving the corresponding with first label of the server transmission
First retrieval data.
7. label search device according to claim 6, it is characterised in that described device also includes:
Setup module, for setting the first cleaning cycle corresponding with first label;
Removing module, for when reaching first cleaning cycle, with the described first mark in the deletion client data area
Sign corresponding first retrieval data.
8. label search device according to claim 5, it is characterised in that first receiving module, is additionally operable to receive
The instruction of the label of retrieval second of user's input;
The judge module, is additionally operable to judge in second label whether include first label, if so, the then display
Module is shown comprising the corresponding first retrieval data of first label, if it is not, then the display module is shown and described second
The corresponding second retrieval data of label;
Or,
The judge module, be additionally operable to judge second label the meaning of one's words it is whether identical with the meaning of one's words of first label or
It is similar, if so, then the display module shows the first retrieval data corresponding with first label, if it is not, then described aobvious
Show that module shows the second retrieval data corresponding with second label.
9. a kind of label search system, it is characterised in that the system includes client and communicated with the client
The server of connection, the client includes the label search device as described in claim any one of 5-8.
10. a kind of computer-readable recording medium, it is characterised in that the label that is stored with the computer-readable recording medium is examined
Suo Chengxu, realizes the label search side as described in claim any one of 1-4 when the label search program is executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710396475.0A CN107239530A (en) | 2017-05-31 | 2017-05-31 | Label search method, device, system and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710396475.0A CN107239530A (en) | 2017-05-31 | 2017-05-31 | Label search method, device, system and computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107239530A true CN107239530A (en) | 2017-10-10 |
Family
ID=59985683
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710396475.0A Pending CN107239530A (en) | 2017-05-31 | 2017-05-31 | Label search method, device, system and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107239530A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111177541A (en) * | 2019-12-20 | 2020-05-19 | 上海淇玥信息技术有限公司 | Data analysis method and device based on user tag generation time, server and storage medium |
CN111274463A (en) * | 2020-02-26 | 2020-06-12 | 上海云鱼智能科技有限公司 | Information display method and device based on IM contact person grouping setting and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105095424A (en) * | 2015-07-17 | 2015-11-25 | 四川久远银海软件股份有限公司 | Method for realizing high-concurrency retrieval of medicine in hospital HIS system |
CN105653198A (en) * | 2014-11-13 | 2016-06-08 | 杭州迪普科技有限公司 | Data processing method and device |
CN106254529A (en) * | 2016-09-20 | 2016-12-21 | 郑州云海信息技术有限公司 | A kind of client-side data cache method and apparatus |
CN106294365A (en) * | 2015-05-15 | 2017-01-04 | 阿里巴巴集团控股有限公司 | The page data processing method of a kind of single page web application and equipment |
CN106649585A (en) * | 2016-11-18 | 2017-05-10 | 福建中金在线信息科技有限公司 | Retrieval method and device |
-
2017
- 2017-05-31 CN CN201710396475.0A patent/CN107239530A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105653198A (en) * | 2014-11-13 | 2016-06-08 | 杭州迪普科技有限公司 | Data processing method and device |
CN106294365A (en) * | 2015-05-15 | 2017-01-04 | 阿里巴巴集团控股有限公司 | The page data processing method of a kind of single page web application and equipment |
CN105095424A (en) * | 2015-07-17 | 2015-11-25 | 四川久远银海软件股份有限公司 | Method for realizing high-concurrency retrieval of medicine in hospital HIS system |
CN106254529A (en) * | 2016-09-20 | 2016-12-21 | 郑州云海信息技术有限公司 | A kind of client-side data cache method and apparatus |
CN106649585A (en) * | 2016-11-18 | 2017-05-10 | 福建中金在线信息科技有限公司 | Retrieval method and device |
Non-Patent Citations (1)
Title |
---|
JESS CHADWICK 等: "《ASP.NET MVC 4 WEB编程》", 31 July 2013, 《华中科技大学出版社》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111177541A (en) * | 2019-12-20 | 2020-05-19 | 上海淇玥信息技术有限公司 | Data analysis method and device based on user tag generation time, server and storage medium |
CN111177541B (en) * | 2019-12-20 | 2023-08-22 | 上海淇玥信息技术有限公司 | Data analysis method and device based on user tag generation time |
CN111274463A (en) * | 2020-02-26 | 2020-06-12 | 上海云鱼智能科技有限公司 | Information display method and device based on IM contact person grouping setting and storage medium |
CN111274463B (en) * | 2020-02-26 | 2023-11-28 | 上海云鱼智能科技有限公司 | Information display method, device and storage medium based on IM contact person grouping setting |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107341212A (en) | A kind of buffering updating method and equipment | |
CN107688607A (en) | The method and mobile terminal of a kind of database access, computer-readable recording medium | |
CN107193889A (en) | Ad blocking method, terminal and computer-readable recording medium | |
CN107329682A (en) | Edge exchange method and mobile terminal | |
CN107038245A (en) | Page switching method, mobile terminal and storage medium | |
CN109725866A (en) | Application interface display methods, terminal and computer readable storage medium | |
CN107181700A (en) | Control method, mobile terminal and the storage medium of application program for mobile terminal | |
CN107229390A (en) | A kind of desktop icons aligning method, mobile terminal and computer-readable recording medium | |
CN107729103A (en) | A kind of method for switching theme, mobile terminal and computer-readable storage medium | |
CN107181865A (en) | Processing method, terminal and the computer-readable recording medium of unread short messages | |
CN107239567A (en) | A kind of recognition methods of object scene, equipment and computer-readable recording medium | |
CN107229410A (en) | Interactive operation method, mobile terminal and computer-readable recording medium | |
CN107426304A (en) | Method, system and the proxy server of interactive media resource | |
CN107239193A (en) | A kind of contact person's adding method, mobile terminal and computer-readable recording medium | |
CN109241079A (en) | Method, mobile terminal and the computer storage medium of problem precise search | |
CN107135086A (en) | One kind broadcast method for pushing and equipment, computer-readable recording medium | |
CN109299039A (en) | A kind of file management method, equipment and computer readable storage medium | |
CN108897846A (en) | Information search method, equipment and computer readable storage medium | |
CN107133350A (en) | Data-updating method, mobile terminal and storage medium based on search engine | |
CN107506468A (en) | Application program searching method, terminal, server, computer-readable recording medium | |
CN107608727A (en) | A kind of display methods of application program, mobile terminal and storage medium | |
CN107566608A (en) | A kind of system air navigation aid, equipment and computer-readable recording medium | |
CN107391593A (en) | A kind of document handling method, mobile terminal and computer-readable recording medium | |
CN107103082A (en) | Data processing method, client and computer-readable recording medium | |
CN107239530A (en) | Label search method, device, system and computer-readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171010 |