CN103914541B - The method and device of information search - Google Patents

The method and device of information search Download PDF

Info

Publication number
CN103914541B
CN103914541B CN201410133498.9A CN201410133498A CN103914541B CN 103914541 B CN103914541 B CN 103914541B CN 201410133498 A CN201410133498 A CN 201410133498A CN 103914541 B CN103914541 B CN 103914541B
Authority
CN
China
Prior art keywords
term
ciphertext
searched
information
keyword
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.)
Active
Application number
CN201410133498.9A
Other languages
Chinese (zh)
Other versions
CN103914541A (en
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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410133498.9A priority Critical patent/CN103914541B/en
Publication of CN103914541A publication Critical patent/CN103914541A/en
Application granted granted Critical
Publication of CN103914541B publication Critical patent/CN103914541B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Abstract

The disclosure is directed to a kind of method and device of information search, for making notification message carry more information.Methods described includes:Obtain the term ciphertext of term to be searched;The term ciphertext is matched with the keyword ciphertext in default index;When there is the keyword ciphertext that the match is successful, the corresponding search information of keyword ciphertext that the match is successful is searched in the index;Send the search information.

Description

The method and device of information search
Technical field
This disclosure relates to communicate and computer disposal field, more particularly to information search method and device.
Background technology
Magnanimity information in internet makes user obtain information extremely convenient.And in order to break region barrier, Yong Huke So that personal information is uploaded into internet, anywhere such user can obtain the letter of oneself by accessing internet Breath.The acquisition process of information be unable to do without search procedure.
The inventor of the disclosure has found, in correlation technique, and being set up between the information and information in internet has index, according to The keyword of user's input, is the information that user searches needs by the index.Search for while facilitate, bring information uneasy Full the problem of, the personal information uploaded especially for user, security is particularly important, it would be highly desirable to solve this problem.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of method and device of information search.
According to the first aspect of the embodiment of the present disclosure there is provided a kind of method of information search, including:
Obtain the term ciphertext of term to be searched;
The term ciphertext is matched with the keyword ciphertext in default index;
When there is the keyword ciphertext that the match is successful, the keyword ciphertext that the match is successful is searched in the index Corresponding search information;
Send the search information.
The technical scheme provided by this disclosed embodiment can include the following benefits:Pass through ciphertext in the present embodiment Form storage index, improves the security of index.Scanned for by term ciphertext and keyword ciphertext, improve search The security of process, and need not be decrypted in search procedure, search efficiency is had little to no effect.
The term ciphertext for obtaining term to be searched, including:
Directly obtain the term ciphertext of term to be searched;Or
Obtain term to be searched;The term is encrypted, term ciphertext is obtained.
The technical scheme provided by this disclosed embodiment can include the following benefits:In the present embodiment if obtain It is term ciphertext, then is directly scanned for using term ciphertext;If what is obtained is term, the term is entered Row encryption, obtains term ciphertext, then scans for, and supports a variety of implementations.
Before the term ciphertext for obtaining term to be searched, methods described also includes:For different user configurings not Same encryption key.
The technical scheme provided by this disclosed embodiment can include the following benefits:It is different use in the present embodiment Family configures different encryption keys, can further improve the security of index storage and search procedure.
Store encryption key different with the physical equipment of the index.
The technical scheme provided by this disclosed embodiment can include the following benefits:By encryption key in the present embodiment Different physical equipments is arrived with the index storage, the security of index storage and search procedure is can further improve.
The corresponding term ciphertext section of the identical characters of same position is identical in different terms, wherein the one of term Individual one term ciphertext section of character correspondence.
The technical scheme provided by this disclosed embodiment can include the following benefits:It is real by encrypting in the present embodiment The corresponding term ciphertext section of the identical characters of same position is identical in existing different term, can so support the mould of term Paste search, i.e., match multiple keyword ciphertexts by the corresponding term ciphertext section of a character of term.
The term ciphertext is that acquisition is encrypted to term by default sectional encryption algorithm so that different Term in same position identical characters corresponding term ciphertext section it is identical;Or
The term ciphertext is by being obtained after being encrypted respectively to each character in the term so that different Term in same position identical characters corresponding term ciphertext section it is identical.
The technical scheme provided by this disclosed embodiment can include the following benefits:The present embodiment can by once or Repeatedly encryption realizes that the corresponding term ciphertext section of the identical characters for obtaining same position in different terms is identical.
According to the second aspect of the embodiment of the present disclosure there is provided a kind of device of information search, including:
Acquisition module, the term ciphertext of term to be searched for obtaining;
Matching module, for the term ciphertext to be matched with the keyword ciphertext in default index;
Enquiry module, for when there is the keyword ciphertext that the match is successful, described match into be searched in the index The corresponding search information of keyword ciphertext of work(;
Sending module, for sending the search information.
The acquisition module includes:
First acquisition unit, the term ciphertext of term to be searched for directly obtaining;
Or
Second acquisition unit, the term to be searched for obtaining;
Ciphering unit, for the term to be encrypted, obtains term ciphertext.
Described device also includes:Configuration module, for for the different encryption key of different user configurings.
Store encryption key different with the physical equipment of the index.
The corresponding term ciphertext section of the identical characters of same position is identical in different terms, wherein the one of term Individual one term ciphertext section of character correspondence.
The term ciphertext is that acquisition is encrypted to term by default sectional encryption algorithm so that different Term in same position identical characters corresponding term ciphertext section it is identical;Or
The term ciphertext is by being obtained after being encrypted respectively to each character in the term so that different Term in same position identical characters corresponding term ciphertext section it is identical.
According to the third aspect of the embodiment of the present disclosure there is provided a kind of device of information search, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Obtain the term ciphertext of term to be searched;
The term ciphertext is matched with the keyword ciphertext in default index;
When there is the keyword ciphertext that the match is successful, the keyword ciphertext that the match is successful is searched in the index Corresponding search information;
Send the search information.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the present invention Example, and for explaining principle of the invention together with specification.
Fig. 1 is a kind of flow chart of the method for information search according to an exemplary embodiment.
Fig. 2 is a kind of schematic diagram of search information according to an exemplary embodiment.
Fig. 3 is a kind of schematic diagram of inverted list according to an exemplary embodiment.
Fig. 4 is a kind of keyword according to an exemplary embodiment and the schematic diagram of keyword ciphertext.
Fig. 5 A are a kind of schematic diagrames of index according to an exemplary embodiment.
Fig. 5 B are a kind of flow charts of the method for information search according to an exemplary embodiment.
Fig. 6 is a kind of schematic diagram of index according to an exemplary embodiment.
Fig. 7 is a kind of flow chart of the method for information search according to an exemplary embodiment.
Fig. 8 is a kind of flow chart of the method for information search according to an exemplary embodiment.
Fig. 9 is a kind of schematic diagram of the device of information search according to an exemplary embodiment.
Figure 10 is a kind of schematic diagram of acquisition module according to an exemplary embodiment.
Figure 11 is a kind of schematic diagram of the device of information search according to an exemplary embodiment.
Figure 12 is a kind of block diagram of device according to an exemplary embodiment.
Figure 13 is a kind of block diagram of device according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the present invention.
Fig. 1 is a kind of flow chart of the method for information search according to an exemplary embodiment, as shown in figure 1, bag Include following steps:
In a step 101, the term ciphertext of term to be searched is obtained.
In a step 102, the term ciphertext is matched with the keyword ciphertext in default index.
In step 103, when there is the keyword ciphertext that the match is successful, the match is successful described in lookup in the index The corresponding search information of keyword ciphertext.
At step 104, the search information is sent.
Stored and indexed by the form of ciphertext in the present embodiment, improve the security of index.By term ciphertext and Keyword ciphertext is scanned for, and improves the security of search procedure, and need not be decrypted in search procedure, and search is imitated Rate has little to no effect.
In a step 101, there are a variety of implementations, such as mode A1 and mode A2.Mode A1, directly obtains inspection to be searched The term ciphertext of rope word.Mode A2, obtains term to be searched;The term is encrypted, term is obtained close Text.If what is obtained is term ciphertext, directly scanned for using term ciphertext;If what is obtained is term, The term is encrypted, term ciphertext is obtained, then scans for;The present embodiment supports a variety of implementations.
The present embodiment can be realized by terminal, either realized from server or realized with terminal and server.
Mode B1, is realized by terminal.Terminal obtains term to be searched;The term is encrypted, examined Rope word ciphertext;The term ciphertext is matched with the keyword ciphertext in default index;Have what the match is successful During keyword ciphertext, the corresponding search information of keyword ciphertext that the match is successful is searched in the index;Send described Information is searched for, the process for sending search information is exactly the process that search information is exported to user.Mode B1 is primarily adapted for use in user The information being locally stored in search terminal.
Mode B2, is realized by server.Server obtains term to be searched;The term is encrypted, obtained To term ciphertext;The term ciphertext is matched with the keyword ciphertext in default index;Matched into existing During the keyword ciphertext of work(, the corresponding search information of keyword ciphertext that the match is successful is searched in the index;To end End sends the search information.Mode B2 is primarily adapted for use in the information in user's searching for Internet.
Mode B3, is realized with terminal and server.Terminal obtains term to be searched;The term is carried out Encryption, obtains term ciphertext;Term ciphertext is sent to server, the peace of transmission can be increased by the transmission of encrypted test mode Quan Xing;Server is matched the term ciphertext with the keyword ciphertext in default index;Existing, the match is successful Keyword ciphertext when, the corresponding search information of keyword ciphertext that the match is successful is searched in the index;To terminal Send the search information.Mode B3 is primarily adapted for use in the information in user's searching for Internet, both can be the public affairs in internet Co-information, can also user oneself upload personal information.
The present embodiment is scanned for based on index, so needing to pre-establish index, it is keyword ciphertext with searching to index The index of rope information.Keyword ciphertext after keyword is encrypted by obtaining.
By taking the personal information that user uploads as an example, the personal information that user uploads is the reality in search information, personal information Meaning word is keyword.Wherein, sincere word includes title and verb etc., not including auxiliary word, pronoun and conjunction etc..Lead in the present embodiment Cross and index is set up to the mode that search information carries out inverted list, other manner is also applied for the present embodiment.
For example, with reference to shown in Fig. 2, search information 1 is " millet Science and Technology Ltd. ", and search information 2 is " millet mobile phone ". Participle is carried out to search information.Obtained after participle:The word segmentation result for searching for information 1 is millet, science and technology, limited, company, search letter The word segmentation result of breath 2 is millet, mobile phone.The word obtained after participle as keyword.Inverted list is set up according to word segmentation result, then fallen Arrange table shown in Figure 3.Inverted list includes keyword and corresponding search information.Further keyword is encrypted, obtained Keyword ciphertext, the keyword in inverted list is replaced with keyword ciphertext, completes to set up index.AES in the present embodiment Can be MD5, SHA, HMAC, RSA, RC4 and AES etc., other AESs are also applied for the present embodiment.
For example, the ciphertext that millet, science and technology, limited, company, mobile phone are obtained after encryption is shown in Figure 4.According to key As shown in Figure 5A, wherein Message1 represents to search for information 1 index that word ciphertext is set up, and Message2 represents to search for information 2.
In one embodiment, in order to improve security, search information can be encrypted, then index is close for keyword Index of the text to search information ciphertext., it is necessary to which search information ciphertext is decrypted in search procedure, obtain searching for information.
In one embodiment, encryption and decryption processes are all realized by encryption key, in order to improve security, can Think the different encryption key of different user configurings.Different users includes user and the difference of different terminals in the present embodiment The user of user name.The ciphertext obtained after so the identical word of different user can be encrypted is different, can improve from word Frequency probability analysis cracks the difficulty of encryption, improves security.The present embodiment be particularly suitable for use in personal information set up index and Search for the process of personal information.In order to further improve security, storage encryption key is different with the physical equipment of the index, While obtaining encryption key and index when preventing from accessing a physical equipment, cause the dangerous of index.
In order to support to search for generally in the present embodiment, different terms(Equivalent to keyword)Middle same position it is identical The corresponding term ciphertext section of character(Equivalent to keyword ciphertext section)It is identical, wherein one inspection of character correspondence of term Rope word ciphertext section.The corresponding term ciphertext section of multiple characters of term is together in series in order, and it is close to obtain term Text.For example, the initial character of " mobile phone " and " wrist-watch " is " hand ", then the prefix of " mobile phone " and " wrist-watch " corresponding keyword ciphertext It is identical, it is " hand " corresponding keyword ciphertext section.
Keyword can be encrypted by one or many in the present embodiment, realize same position in different terms The corresponding term ciphertext section of identical characters is identical.
For example, acquisition is encrypted to term by default sectional encryption algorithm so that in different terms The corresponding term ciphertext section of identical characters of same position is identical.Wherein sectional encryption algorithm is can be in one-time pad encryption process Middle realization generates the AES of term ciphertext section, such as RC4 algorithms to each character in keyword respectively.
And for example, by obtaining after being encrypted respectively to each character in the term so that in different terms The corresponding term ciphertext section of identical characters of same position is identical.For example, keyword " mobile phone " is encrypted, then to character " hand " carries out one-time pad encryption, obtains ciphertext section " 7D96EFAE ";And one-time pad encryption is carried out to character " machine ", obtain ciphertext section “FE09F6BD”;The ciphertext section obtained after encrypting twice obtains the keyword ciphertext of keyword " mobile phone " after connecting in order “7D96EFAEFE09F6BD”。
Set up after index, just information search can be carried out based on index.Search is discussed in detail below by several embodiments The process of realization.
Fig. 5 B are a kind of flow charts of the method for information search according to an exemplary embodiment, as shown in figure 5, should The method of information search can be realized by terminal, be comprised the following steps:
In step 501, the term to be searched of input is obtained.For example, user needs to search for contact in address list People's information, then have input AA name.Terminal obtains " AA " of user's input.
In step 502, the term is encrypted, obtains term ciphertext.For example, " AA " is encrypted, Obtain " DE147DKW12SQ ".
In step 503, the term ciphertext is matched with the keyword ciphertext in default index.For example, Terminal is previously stored with keyword ciphertext to the index of search information.Keyword ciphertext have " 1125SEW47SWE ", " AE184WEF47EF " and " DE147DKW12SQ ", corresponding keyword is respectively " BB ", " CC " and " AA ".It is then that term is close Literary " DE147DKW12SQ " is matched with " 1125SEW47SWE ", " AE184WEF47EF " and " DE147DKW12SQ " respectively, If the match is successful, continue step 504, otherwise continue step 506.
In step 504, the corresponding search information of keyword ciphertext that the match is successful is searched in the index.Example Such as, terminal is previously stored with keyword ciphertext to the index of search information.Index is as shown in fig. 6, can find " DE147DKW12SQ " corresponding search information " YYYY "." YYYY " can include AA telephone number, Business Name and mailbox Etc. information.
In step 505, the search information found is exported.For example, terminal shows " YYYY " found.
In step 506, the prompt message without Query Result is exported.Or other search letter that output fuzzy matching is arrived Breath.
For example, terminal is previously stored with keyword ciphertext to the index of search information.Keyword ciphertext has " 1125SEW47SWE ", " DE147DEF47EF " and " DE147DKW12SQ ", corresponding keyword be respectively " BB ", " AC " and “AA”.During user inputs character " A ", terminal-pair " A " is encrypted, and obtains " DE147D ", and keyword is carried out using " DE147D " The matching of ciphertext, can match " DE147DEF47EF " and " DE147DKW12SQ ", can further export " DE147DEF47EF " " the corresponding search information of DE147DKW12SQ.When user inputs character " A " again, i.e., user have input " AA ", and terminal can be with Whole term " AA " is encrypted, latter character " A " can also be encrypted, can obtain term ciphertext " DE147DKW12SQ ", the matching of keyword ciphertext is carried out using " DE147DKW12SQ ", can be matched " DE147DKW12SQ " " DE147DKW12SQ " corresponding search information can further be exported.
The present embodiment describes search procedure, terminal storage keyword ciphertext and search information so that terminal inner is searched for as an example Index, it is ensured that the security of index, protect the personal information of user.And need not be to keyword in search procedure Ciphertext is decrypted, and ciphertext is usually to be made up of numeral and letter, can there is higher search efficiency.
Fig. 7 is a kind of flow chart of the method for information search according to an exemplary embodiment, as shown in fig. 7, should The method of information search can be realized by server, be comprised the following steps:
In step 701, the term to be searched that receiving terminal is sent.For example, user needs the communication in cloud platform Associated person information is searched in record, then have input AA name.Terminal is sent to server after obtaining " AA " of user's input.Clothes Business device obtains term " AA ".
In a step 702, the term is encrypted, obtains term ciphertext.For example, " AA " is encrypted, Obtain " DE147DKW12SQ ".
In step 703, the term ciphertext is matched with the keyword ciphertext in default index.If matching Success, then continue step 704, otherwise continues step 706.For example, server is previously stored with keyword ciphertext to search information Index.
In step 704, the corresponding search information of keyword ciphertext that the match is successful is searched in the index.Example Such as, server is previously stored with keyword ciphertext to the index of search information.Index is as shown in fig. 6, can find " DE147DKW12SQ " corresponding search information " YYYY "." YYYY " can include AA telephone number, Business Name and mailbox Etc. information.
In step 705, the search information found is returned to terminal.For example, terminal shows " YYYY " found.
In step 706, the prompt message without Query Result is returned to terminal.Or arrived to terminal return fuzzy matching Other search information.
Term is obtained by server in the present embodiment, and is encrypted and searches for matching.If user's search is public Co-information, then server can be encrypted using public encryption key, then search for public information index, and then search for To public information, and feed back to user.If user's search is personal information, in User logs in, server can obtain use The user name at family, and the corresponding encryption key of the user name is determined, term is encrypted.Then the rope of personal information is searched for Draw, and the personal information searched is fed back into user.
Fig. 8 is a kind of flow chart of the method for information search according to an exemplary embodiment, as shown in fig. 7, should The method of information search can be realized by terminal and server, be comprised the following steps:
In step 801, terminal obtains the term to be searched of input.For example, user needs the communication in cloud platform Associated person information is searched in record, then have input AA name.Terminal is sent to server after obtaining " AA " of user's input.Clothes Business device obtains term " AA ".
Terminal can determine encryption key corresponding with user name according to user name during User logs in, then carry out step 802。
In step 802, term described in terminal-pair is encrypted, and obtains term ciphertext, is sent to server.Example Such as, " AA " is encrypted, obtained " DE147DKW12SQ ".
In step 803, server is matched the term ciphertext with the keyword ciphertext in default index. If the match is successful, continue step 804, otherwise continue step 806.For example, server is previously stored with keyword ciphertext to searching The index of rope information.
In step 804, server searches the corresponding search of keyword ciphertext that the match is successful in the index Information.For example, server is previously stored with keyword ciphertext to the index of search information.Index is as shown in fig. 6, can find " DE147DKW12SQ " corresponding search information " YYYY "." YYYY " can include AA telephone number, Business Name and mailbox Etc. information.
In step 805, server returns to the search information found to terminal.For example, terminal shows what is found “YYYY”。
In step 806, server returns to the prompt message without Query Result to terminal.Or returned to terminal fuzzy The other search information matched.
It is encrypted in the present embodiment by terminal-pair term, the term ciphertext obtained after being encrypted to server transport, The security of term transmission can be improved.Server is scanned for according to the term ciphertext received, and the search that is particularly suitable for use in is used The personal information at family, because terminal may employ the encryption that encryption key corresponding with user is carried out.Server will be searched Search feedback of the information to terminal.If search information is the search information ciphertext after encryption, server can believe search Cipher Feedback is ceased to terminal, and search information ciphertext is decrypted according to encryption key by terminal;Or server is according to user Search information ciphertext is decrypted corresponding encryption key, and the search information obtained after decryption is sent into terminal.Former Mode can improve the security of search information transfer;Latter approach can mitigate the load of terminal.
The implementation process of search information is understood by above description, the process can be realized by device, below to the device Internal structure and function be introduced.
Fig. 9 is a kind of schematic device of information search according to an exemplary embodiment.Reference picture 9, the device Including acquisition module 901, matching module 902, enquiry module 903 and sending module 904.
Acquisition module 901 is used for the term ciphertext for obtaining term to be searched.
Matching module 902 is used to be matched the term ciphertext with the keyword ciphertext in default index.
Enquiry module 903 is used to, when there is the keyword ciphertext that the match is successful, the matching is searched in the index The corresponding search information of successful keyword ciphertext.
Sending module 904 is used to send the search information.If described device is terminal device, sending module 904 Display module into terminal device(This is not shown)Send the search information.Sent if described device is server Module 904 sends the search information to terminal device.
In one embodiment, shown in Figure 10, the acquisition module 901 includes:First acquisition unit 9011, and/ Or, including:Second acquisition unit 9012 and ciphering unit 9013.
First acquisition unit 9011 is used for the term ciphertext for directly obtaining term to be searched.
Second acquisition unit 9012 is used to obtain term to be searched.
Ciphering unit 9013 is used to the term is encrypted, and obtains term ciphertext.
If during index is set up, ciphering unit 9013 is also encrypted to search information, then described device Also include deciphering module, for the search information that enquiry module 903 is found to be decrypted, then sent out by sending module 904 Give other modules or equipment.
In one embodiment, shown in Figure 11, described device also includes:Configuration module 905, for for different use Family configures different encryption keys.
In one embodiment, storage encryption key is different with the physical equipment of the index.
In one embodiment, the corresponding term ciphertext section phase of the identical characters of same position in different terms Together, one term ciphertext section of the character correspondence of wherein term.
In one embodiment, the term ciphertext is that term is encrypted by default sectional encryption algorithm Obtain so that the corresponding term ciphertext section of the identical characters of same position is identical in different terms;Or, the inspection Rope word ciphertext is by being obtained after being encrypted respectively to each character in the term so that identical in different terms The corresponding term ciphertext section of identical characters of position is identical.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 12 is a kind of block diagram of device 1200 for information search according to an exemplary embodiment.For example, Device 1200 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Reference picture 12, device 1200 can include following one or more assemblies:Processing assembly 1202, memory 1204, Power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, input/output(I/O)Interface 1212, sensor cluster 1214, and communication component 1216.
The integrated operation of the usual control device 1200 of processing assembly 1202, such as with display, call, data communication, The camera operation operation associated with record operation.Processing assembly 1202 can include one or more processors 1220 to perform Instruction, to complete all or part of step of above-mentioned method.In addition, processing assembly 1202 can include one or more moulds Block, is easy to the interaction between processing assembly 1202 and other assemblies.For example, processing component 1202 can include multi-media module, To facilitate the interaction between multimedia groupware 1208 and processing assembly 1202.
Memory 1204 is configured as storing various types of data supporting the operation in equipment 1200.These data Example includes the instruction of any application program or method for being used to operate on device 1200, contact data, telephone book data, Message, picture, video etc..Memory 1204 can by any kind of volatibility or non-volatile memory device or they Combination realization, such as static RAM(SRAM), Electrically Erasable Read Only Memory(EEPROM), it is erasable can Program read-only memory(EPROM), programmable read only memory(PROM), read-only storage(ROM), magnetic memory, flash memory Reservoir, disk or CD.
Electric power assembly 1206 provides electric power for the various assemblies of device 1200.Electric power assembly 1206 can include power management System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 1200.
Multimedia groupware 1208 is included in the screen of one output interface of offer between described device 1200 and user. In some embodiments, screen can include liquid crystal display(LCD)And touch panel(TP).If screen includes touch panel, Screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch and passed Sensor is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or slip be dynamic The border of work, but also the detection duration related to the touch or slide and pressure.In certain embodiments, it is many Media component 1208 includes a front camera and/or rear camera.When equipment 1200 is in operator scheme, mould is such as shot When formula or video mode, front camera and/or rear camera can receive the multi-medium data of outside.Each preposition shooting Head and rear camera can be a fixed optical lens systems or with focusing and optical zoom capabilities.
Audio-frequency assembly 1210 is configured as output and/or input audio signal.For example, audio-frequency assembly 1210 includes a wheat Gram wind(MIC), when device 1200 is in operator scheme, when such as call model, logging mode and speech recognition mode, microphone quilt It is configured to receive external audio signal.The audio signal received can be further stored in memory 1204 or via communication Component 1216 is sent.In certain embodiments, audio-frequency assembly 1210 also includes a loudspeaker, for exports audio signal.
I/O interfaces 1212 are that interface, above-mentioned peripheral interface module are provided between processing assembly 1202 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor cluster 1214 includes one or more sensors, and the state for providing various aspects for device 1200 is commented Estimate.For example, sensor cluster 1214 can detect opening/closed mode of equipment 1200, the relative positioning of component, such as institute Display and keypad that component is device 1200 are stated, sensor cluster 1214 can be with detection means 1200 or device 1200 The position of one component changes, the existence or non-existence that user contacts with device 1200, the orientation of device 1200 or acceleration/deceleration with The temperature change of device 1200.Sensor cluster 1214 can include proximity transducer, be configured in not any thing The presence of object nearby is detected during reason contact.Sensor cluster 1214 can also include optical sensor, and such as CMOS or ccd image are passed Sensor, for being used in imaging applications.In certain embodiments, the sensor cluster 1214 can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress The wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof can be accessed by putting 1200.It is exemplary at one In embodiment, communication component 1216 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1216 also includes near-field communication(NFC)Module, to promote short distance Communication.For example, radio frequency identification can be based in NFC module(RFID)Technology, Infrared Data Association(IrDA)Technology, ultra wide band (UWB)Technology, bluetooth(BT)Technology and other technologies are realized.
In the exemplary embodiment, device 1200 can be by one or more application specific integrated circuits(ASIC), numeral Signal processor(DSP), digital signal processing appts(DSPD), PLD(PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realize, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 1204 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 1220 of device 1200.Example Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory(RAM), it is CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of device of information search, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Obtain the term ciphertext of term to be searched;
The term ciphertext is matched with the keyword ciphertext in default index;
When there is the keyword ciphertext that the match is successful, the keyword ciphertext that the match is successful is searched in the index Corresponding search information;
Send the search information.
The processor can be additionally configured to:
The term ciphertext for obtaining term to be searched, including:
Directly obtain the term ciphertext of term to be searched;Or
Obtain term to be searched;The term is encrypted, term ciphertext is obtained.
The processor can be additionally configured to:
Before the term ciphertext for obtaining term to be searched, methods described also includes:For different user configurings not Same encryption key.
The processor can be additionally configured to:
Store encryption key different with the physical equipment of the index.
The processor can be additionally configured to:
The corresponding term ciphertext section of the identical characters of same position is identical in different terms, wherein the one of term Individual one term ciphertext section of character correspondence.
The processor can be additionally configured to:
The term ciphertext is that acquisition is encrypted to term by default sectional encryption algorithm so that different Term in same position identical characters corresponding term ciphertext section it is identical;Or
The term ciphertext is by being obtained after being encrypted respectively to each character in the term so that different Term in same position identical characters corresponding term ciphertext section it is identical.
Figure 13 is the structural representation of server in the embodiment of the present invention.The server 1300 can be different because of configuration or performance And produce than larger difference, one or more central processing units can be included(Central processing units, CPU)1322(For example, one or more processors)With memory 1332, one or more storage application programs 1342 or the storage medium 1330 of data 1344(Such as one or more mass memory units).Wherein, memory 1332 Can be of short duration storage or persistently storage with storage medium 1330.Be stored in storage medium 1330 program can include one or More than one module(Diagram is not marked), each module can be including operating to the series of instructions in server.Further Ground, central processing unit 1322 be could be arranged to communicate with storage medium 1330, and storage medium 1330 is performed on server 1300 In series of instructions operation.
Server 1300 can also include one or more power supplys 1326, one or more wired or wireless nets Network interface 1350, one or more input/output interfaces 1358, one or more keyboards 1356, and/or, one or More than one operating system 1341, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM Etc..
A kind of device of information search, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Obtain the term ciphertext of term to be searched;
The term ciphertext is matched with the keyword ciphertext in default index;
When there is the keyword ciphertext that the match is successful, the keyword ciphertext that the match is successful is searched in the index Corresponding search information;
Send the search information.
The processor can be additionally configured to:
The term ciphertext for obtaining term to be searched, including:
Directly obtain the term ciphertext of term to be searched;Or
Obtain term to be searched;The term is encrypted, term ciphertext is obtained.
The processor can be additionally configured to:
Before the term ciphertext for obtaining term to be searched, methods described also includes:For different user configurings not Same encryption key.
The processor can be additionally configured to:
Store encryption key different with the physical equipment of the index.
The processor can be additionally configured to:
The corresponding term ciphertext section of the identical characters of same position is identical in different terms, wherein the one of term Individual one term ciphertext section of character correspondence.
The processor can be additionally configured to:
The term ciphertext is that acquisition is encrypted to term by default sectional encryption algorithm so that different Term in same position identical characters corresponding term ciphertext section it is identical;Or
The term ciphertext is by being obtained after being encrypted respectively to each character in the term so that different Term in same position identical characters corresponding term ciphertext section it is identical.
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device is performed so that mobile terminal is able to carry out a kind of method of information search, and methods described includes:
Obtain the term ciphertext of term to be searched;
The term ciphertext is matched with the keyword ciphertext in default index;
When there is the keyword ciphertext that the match is successful, the keyword ciphertext that the match is successful is searched in the index Corresponding search information;
Send the search information.
Instruction in the storage medium can also include:
The term ciphertext for obtaining term to be searched, including:
Directly obtain the term ciphertext of term to be searched;Or
Obtain term to be searched;The term is encrypted, term ciphertext is obtained.
The processor can be additionally configured to:
Before the term ciphertext for obtaining term to be searched, methods described also includes:For different user configurings not Same encryption key.
The processor can be additionally configured to:
Store encryption key different with the physical equipment of the index.
The processor can be additionally configured to:
The corresponding term ciphertext section of the identical characters of same position is identical in different terms, wherein the one of term Individual one term ciphertext section of character correspondence.
The processor can be additionally configured to:
The term ciphertext is that acquisition is encrypted to term by default sectional encryption algorithm so that different Term in same position identical characters corresponding term ciphertext section it is identical;Or
The term ciphertext is by being obtained after being encrypted respectively to each character in the term so that different Term in same position identical characters corresponding term ciphertext section it is identical.
Those skilled in the art will readily occur to its of the present invention after considering specification and putting into practice invention disclosed herein Its embodiment.The application be intended to the present invention any modification, purposes or adaptations, these modifications, purposes or Person's adaptations follow the general principle of the present invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (9)

1. a kind of method of information search, it is characterised in that including:
Obtain the term ciphertext of term to be searched;
The term ciphertext is matched with the keyword ciphertext in default index;
When there is the keyword ciphertext that the match is successful, the keyword ciphertext that the match is successful the correspondence is searched in the index Search information;
Send the search information;
When in the absence of the keyword ciphertext that the match is successful, the prompt message without Query Result is sent, or send mould Paste the other search information matched;
The term ciphertext for obtaining term to be searched, including:
Directly obtain the term ciphertext of term to be searched;
Before the term ciphertext for obtaining term to be searched, methods described also includes:It is different for different user configurings Encryption key, the term ciphertext can be that acquisition is encrypted to term by default sectional encryption algorithm, make The corresponding term ciphertext section of identical characters for obtaining same position in different terms is identical, wherein, the sectional encryption is calculated Method is that can realize to generate each character in the term respectively adding for term ciphertext section during one-time pad encryption Close algorithm.
2. the method for information search according to claim 1, it is characterised in that the thing of storage encryption key and the index Manage equipment different.
3. the method for information search according to claim 1 or 2, it is characterised in that same position in different terms Identical characters corresponding term ciphertext section it is identical, wherein one term ciphertext section of the character correspondence of term.
4. the method for information search according to claim 3, it is characterised in that the term ciphertext can also be it is logical Cross what is obtained after being encrypted respectively to each character in the term so that the same word of same position in different terms Accord with corresponding term ciphertext section identical.
5. a kind of device of information search, it is characterised in that including:
Acquisition module, the term ciphertext of term to be searched for obtaining;
Matching module, for the term ciphertext to be matched with the keyword ciphertext in default index;
Enquiry module, for when there is the keyword ciphertext that the match is successful, being searched in the index, described the match is successful The corresponding search information of keyword ciphertext;
Sending module, for sending the search information;
Described device is additionally operable to:
When in the absence of the keyword ciphertext that the match is successful, the prompt message without Query Result is sent, or send mould Paste the other search information matched;
The acquisition module includes:
First acquisition unit, the term ciphertext of term to be searched for directly obtaining;
Described device also includes:Configuration module, for for the different encryption key of different user configurings, the term ciphertext It can be that acquisition is encrypted to term by default sectional encryption algorithm so that same position in different terms Identical characters corresponding term ciphertext section it is identical, wherein, the sectional encryption algorithm is can be during one-time pad encryption Realize the AES for generating term ciphertext section respectively to each character in the term.
6. the device of information search according to claim 5, it is characterised in that the thing of storage encryption key and the index Manage equipment different.
7. the device of the information search according to claim 5 or 6, it is characterised in that same position in different terms Identical characters corresponding term ciphertext section it is identical, wherein one term ciphertext section of the character correspondence of term.
8. the device of information search according to claim 7, it is characterised in that the term ciphertext is by default Acquisition is encrypted to term in sectional encryption algorithm so that the identical characters of same position are corresponding in different terms Term ciphertext section is identical;Or
The term ciphertext is by being obtained after being encrypted respectively to each character in the term so that different inspections The corresponding term ciphertext section of the identical characters of same position is identical in rope word.
9. a kind of device of information search, it is characterised in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Obtain the term ciphertext of term to be searched;
The term ciphertext is matched with the keyword ciphertext in default index;
When there is the keyword ciphertext that the match is successful, the keyword ciphertext that the match is successful the correspondence is searched in the index Search information;
Send the search information;
When in the absence of the keyword ciphertext that the match is successful, the prompt message without Query Result is sent, or send mould Paste the other search information matched;
The term ciphertext for obtaining term to be searched, including:
Directly obtain the term ciphertext of term to be searched;
Before the term ciphertext for obtaining term to be searched, the processor is additionally configured to:For different user configurings Different encryption keys, the term ciphertext can term be encrypted acquisition by default sectional encryption algorithm So that the corresponding term ciphertext section of the identical characters of same position is identical in different terms, wherein, the segmentation adds Close algorithm generates term ciphertext section to each character in the term respectively for that can be realized during one-time pad encryption AES.
CN201410133498.9A 2014-04-03 2014-04-03 The method and device of information search Active CN103914541B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410133498.9A CN103914541B (en) 2014-04-03 2014-04-03 The method and device of information search

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410133498.9A CN103914541B (en) 2014-04-03 2014-04-03 The method and device of information search

Publications (2)

Publication Number Publication Date
CN103914541A CN103914541A (en) 2014-07-09
CN103914541B true CN103914541B (en) 2017-08-01

Family

ID=51040221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410133498.9A Active CN103914541B (en) 2014-04-03 2014-04-03 The method and device of information search

Country Status (1)

Country Link
CN (1) CN103914541B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967516B (en) * 2015-07-24 2018-04-24 四川理工学院 Multi-user's encryption data may compare encryption method and encryption data comparative approach
CN106713116B (en) * 2016-06-17 2018-09-28 腾讯科技(深圳)有限公司 Information processing method, apparatus and system
CN108595974B (en) * 2018-05-07 2021-04-20 襄阳市尚贤信息科技有限公司 Quick verification system for electronic product code
CN108829774A (en) * 2018-05-30 2018-11-16 东南大学 A kind of cloud storage ciphertext full-text search method using dual key
CN110618999A (en) * 2019-08-01 2019-12-27 平安科技(深圳)有限公司 Data query method and device, computer storage medium and electronic equipment
CN111489155B (en) * 2020-03-11 2024-04-09 华控清交信息科技(北京)有限公司 Data processing method and device for data processing
CN112906376B (en) * 2021-03-24 2023-07-11 北京林业大学 Self-adaptive matching user English learning text pushing system and method
CN113204794B (en) * 2021-07-02 2021-10-15 深圳市深圳通有限公司 Transaction record safe storage method, device, equipment and storage medium
CN114756886B (en) * 2022-06-13 2022-08-16 华控清交信息科技(北京)有限公司 Method and device for inquiring hiding trace

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118580A (en) * 2006-07-31 2008-02-06 中国科学院微电子研究所 Digital products content protective system and method
CN101635823A (en) * 2009-08-27 2010-01-27 中兴通讯股份有限公司 Method and system of terminal for encrypting videoconference data
CN102056157A (en) * 2009-11-04 2011-05-11 大唐移动通信设备有限公司 Method, system and device for determining keys and ciphertexts

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588365A (en) * 2004-08-02 2005-03-02 中国科学院计算机网络信息中心 Ciphertext global search technology
CN101739400B (en) * 2008-11-11 2014-08-13 日电(中国)有限公司 Method and device for generating indexes and retrieval method and device
CN101937464B (en) * 2010-09-13 2012-01-25 武汉达梦数据库有限公司 Ciphertext search method based on word-for-word indexing
CN102780556B (en) * 2011-05-09 2015-03-18 北大方正集团有限公司 Method and device for encrypting and decrypting digital content section by section
CN103414726A (en) * 2013-08-22 2013-11-27 天脉聚源(北京)传媒科技有限公司 Method and device for transmitting multimedia resources

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118580A (en) * 2006-07-31 2008-02-06 中国科学院微电子研究所 Digital products content protective system and method
CN101635823A (en) * 2009-08-27 2010-01-27 中兴通讯股份有限公司 Method and system of terminal for encrypting videoconference data
CN102056157A (en) * 2009-11-04 2011-05-11 大唐移动通信设备有限公司 Method, system and device for determining keys and ciphertexts

Also Published As

Publication number Publication date
CN103914541A (en) 2014-07-09

Similar Documents

Publication Publication Date Title
CN103914541B (en) The method and device of information search
CN104125055B (en) Encryption and decryption method and electronic equipment
CN103916233B (en) A kind of information ciphering method and device
US9594919B2 (en) System and method for executing file by using biometric information
WO2016011744A1 (en) Method and apparatus for performing verification by using verification code
CN103914634A (en) Image encryption method, image encryption device and electronic device
WO2017020630A1 (en) Method, apparatus and system for processing order information
CN105260673A (en) Short message reading method and apparatus
CN105307137A (en) Short message reading method and device
EP3038334B1 (en) Method and device for replying to a call
WO2016115889A1 (en) Method and system for controlling encryption of information and analyzing information as well as terminal
CN107784089B (en) Multimedia data storage method, processing method and mobile terminal
CN104168277A (en) File security maintaining method and device
CN104318177A (en) Protection method and protection device for data of terminal equipment
CN103914520A (en) Data query method, terminal equipment and server
CN105472583A (en) Message processing method and apparatus
CN106372517A (en) File encryption method, file decryption method, file encryption device and equipment
US10009834B2 (en) Apparatus and method for accessing electronic device having hot spot function
CN105282162B (en) The processing method and processing device of account management business
WO2021068895A1 (en) Screen capturing method and terminal device thereof
CN104182697A (en) File encryption method and device
CN105551047A (en) Picture content detecting method and device
CN105303120A (en) Short message reading method and apparatus
CN110781488B (en) Password prompting method and terminal equipment
CN107147636A (en) E-mail transmission method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant