CN103914541A - Information search method and device - Google Patents

Information search method and device Download PDF

Info

Publication number
CN103914541A
CN103914541A CN201410133498.9A CN201410133498A CN103914541A CN 103914541 A CN103914541 A CN 103914541A CN 201410133498 A CN201410133498 A CN 201410133498A CN 103914541 A CN103914541 A CN 103914541A
Authority
CN
China
Prior art keywords
term
ciphertext
search
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.)
Granted
Application number
CN201410133498.9A
Other languages
Chinese (zh)
Other versions
CN103914541B (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.)
Beijing Xiaomi Technology Co Ltd
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

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

The invention relates to an information search method and device and aims to enable a notification message to carry more information. The method includes: acquiring search word ciphertext of search words to be searched for; matching the search word ciphertext with preset keyword ciphertext in an index; when the keyword ciphertext which is matched successfully exists, searching the index for search information corresponding to the keyword ciphertext which is matched successfully; transmitting the search information.

Description

The method of information search and device
Technical field
The disclosure relates to communication and computing machine process field, relates in particular to method and the device of information search.
Background technology
Magnanimity information in internet makes user's obtaining information very convenient.And in order to break region barrier, user can upload to internet by personal information, user can obtain by access internet the information of oneself anywhere like this.The acquisition process of information be unable to do without search procedure.
Inventor of the present disclosure finds, in correlation technique, between the information in internet and information, sets up and has index, and according to the keyword of user's input, be that the information needing is arrived in user search by this index.Search simultaneously, brings the unsafe problem of information easily, the personal information of especially uploading for user, and security is particularly important, this problem urgently to be resolved hurrily.
Summary of the invention
For overcoming the problem existing in correlation technique, the disclosure provides a kind of method and device of information search.
According to the first aspect of disclosure embodiment, a kind of method of information search is provided, comprising:
Obtain the term ciphertext of term to be searched;
Described term ciphertext is mated with the keyword ciphertext in default index;
In the time there is the keyword ciphertext that the match is successful, in described index, search described search information corresponding to keyword ciphertext that the match is successful;
Send described search information.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: in the present embodiment, pass through the form storage index of ciphertext, the security that has improved index.Search for by term ciphertext and keyword ciphertext, improved the security of search procedure, and in search procedure, do not need deciphering, search efficiency is not almost affected.
The term ciphertext of described acquisition term to be searched, comprising:
Directly obtain the term ciphertext of term to be searched; Or
Obtain term to be searched; Described term is encrypted, obtains term ciphertext.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: if in the present embodiment obtain be term ciphertext, directly utilize term ciphertext to search for; If what obtain is term, described term is encrypted, obtain term ciphertext, then search for, support multiple implementation.
Before obtaining the term ciphertext of term to be searched, described method also comprises: for different users configures different encryption keys.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: in the present embodiment, configure different encryption keys for different users, can further improve the security of index stores and search procedure.
The physical equipment of storage encryption key and described index is different.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: in the present embodiment, encryption key and described index stores are arrived to different physical equipments, can further improve the security of index stores and search procedure.
In different terms, term ciphertext section corresponding to the identical characters of same position is identical, wherein term corresponding term ciphertext section of character.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: in the present embodiment, realize term ciphertext section corresponding to the identical characters of same position in different terms by encryption identical, can support like this searching for generally of term, mate multiple keyword ciphertexts by term ciphertext section corresponding to a character of term.
Described term ciphertext is, by default sectional encryption algorithm, term is encrypted to acquisition, makes term ciphertext section corresponding to the identical characters of same position in different terms identical; Or
Described term ciphertext is to obtain after the each character in described term is encrypted respectively, makes term ciphertext section corresponding to the identical characters of same position in different terms identical.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the present embodiment can be encrypted and be realized that to obtain term ciphertext section corresponding to the identical characters of same position in different terms identical by one or many.
According to the second aspect of disclosure embodiment, a kind of device of information search is provided, comprising:
Acquisition module, for obtaining the term ciphertext of term to be searched;
Matching module, for mating described term ciphertext with the keyword ciphertext of default index;
Enquiry module in the time there is the keyword ciphertext that the match is successful, is searched described search information corresponding to keyword ciphertext that the match is successful in described index;
Sending module, for sending described search information.
Described acquisition module comprises:
The first acquiring unit, for directly obtaining the term ciphertext of term to be searched;
Or
Second acquisition unit, for obtaining term to be searched;
Ciphering unit, for described term is encrypted, obtains term ciphertext.
Described device also comprises: configuration module, is used to different users to configure different encryption keys.
The physical equipment of storage encryption key and described index is different.
In different terms, term ciphertext section corresponding to the identical characters of same position is identical, wherein term corresponding term ciphertext section of character.
Described term ciphertext is, by default sectional encryption algorithm, term is encrypted to acquisition, makes term ciphertext section corresponding to the identical characters of same position in different terms identical; Or
Described term ciphertext is to obtain after the each character in described term is encrypted respectively, makes term ciphertext section corresponding to the identical characters of same position in different terms identical.
According to the third aspect of disclosure embodiment, a kind of device of information search is provided, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the term ciphertext of term to be searched;
Described term ciphertext is mated with the keyword ciphertext in default index;
In the time there is the keyword ciphertext that the match is successful, in described index, search described search information corresponding to keyword ciphertext that the match is successful;
Send described search information.
Should be understood that, it is only exemplary and explanatory that above general description and details are hereinafter described, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing is herein merged in instructions and forms the part of this instructions, shows embodiment according to the invention, and is used from and explains principle of the present invention with instructions one.
Fig. 1 is according to the process flow diagram of the method for a kind of information search shown in an exemplary embodiment.
Fig. 2 is according to a kind of schematic diagram of searching for information shown in an exemplary embodiment.
Fig. 3 is according to the schematic diagram of a kind of inverted list shown in an exemplary embodiment.
Fig. 4 is according to the schematic diagram of a kind of keyword shown in an exemplary embodiment and keyword ciphertext.
Fig. 5 A is according to the schematic diagram of a kind of index shown in an exemplary embodiment.
Fig. 5 B is according to the process flow diagram of the method for a kind of information search shown in an exemplary embodiment.
Fig. 6 is according to the schematic diagram of a kind of index shown in an exemplary embodiment.
Fig. 7 is according to the process flow diagram of the method for a kind of information search shown in an exemplary embodiment.
Fig. 8 is according to the process flow diagram of the method for a kind of information search shown in an exemplary embodiment.
Fig. 9 is according to the schematic diagram of the device of a kind of information search shown in an exemplary embodiment.
Figure 10 is according to the schematic diagram of a kind of acquisition module shown in an exemplary embodiment.
Figure 11 is according to the schematic diagram of the device of a kind of information search shown in an exemplary embodiment.
Figure 12 is according to the block diagram of a kind of device shown in an exemplary embodiment.
Figure 13 is according to the block diagram of a kind of device shown in an exemplary embodiment.
Embodiment
Here will at length describe exemplary embodiment, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless separately there is expression, the same numbers in different accompanying drawings represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they are only and the example of apparatus and method as consistent in some aspects that described in detail in appended claims, of the present invention.
Fig. 1 is according to the process flow diagram of the method for a kind of information search shown in an exemplary embodiment, as shown in Figure 1, comprises the following steps:
In step 101, obtain the term ciphertext of term to be searched.
In step 102, described term ciphertext is mated with the keyword ciphertext in default index.
In step 103, in the time there is the keyword ciphertext that the match is successful, in described index, search described search information corresponding to keyword ciphertext that the match is successful.
In step 104, send described search information.
In the present embodiment, pass through the form storage index of ciphertext, the security that has improved index.Search for by term ciphertext and keyword ciphertext, improved the security of search procedure, and in search procedure, do not need deciphering, search efficiency is not almost affected.
In step 101, there is multiple implementation, as mode A1 and mode A2.Mode A1, directly obtains the term ciphertext of term to be searched.Mode A2, obtains term to be searched; Described term is encrypted, obtains term ciphertext.If what obtain is term ciphertext, directly utilize term ciphertext to search for; If what obtain is term, described term is encrypted, obtain term ciphertext, then search for; The present embodiment is supported multiple implementation.
The present embodiment can be realized by terminal, or is realized by server, or is coordinated and realized by terminal and server.
Mode B1, is realized by terminal.Terminal obtains term to be searched; Described term is encrypted, obtains term ciphertext; Described term ciphertext is mated with the keyword ciphertext in default index; In the time there is the keyword ciphertext that the match is successful, in described index, search described search information corresponding to keyword ciphertext that the match is successful; Send described search information, the process that sends search information is exactly to export the process of search information to user.Mode B1 is mainly applicable to user at the local canned data of search terminal.
Mode B2, is realized by server.Server obtains term to be searched; Described term is encrypted, obtains term ciphertext; Described term ciphertext is mated with the keyword ciphertext in default index; In the time there is the keyword ciphertext that the match is successful, in described index, search described search information corresponding to keyword ciphertext that the match is successful; Send described search information to terminal.Mode B2 is mainly applicable to the information in user search internet.
Mode B3, is coordinated and is realized by terminal and server.Terminal obtains term to be searched; Described term is encrypted, obtains term ciphertext; Term ciphertext is sent to server, can increase the security of transmission by the transmission of encrypted test mode; Server mates described term ciphertext with the keyword ciphertext in default index; In the time there is the keyword ciphertext that the match is successful, in described index, search described search information corresponding to keyword ciphertext that the match is successful; Send described search information to terminal.Mode B3 is mainly applicable to the information in user search internet, can be both the public information in internet, the personal information of also can user oneself uploading.
The present embodiment is to search for based on index, so need to set up in advance index, index is the index of keyword ciphertext and search information.Keyword ciphertext obtains after keyword is encrypted.
The personal information of uploading take user is example, and the personal information that user uploads is search information, and the sincere word in personal information is keyword.Wherein, sincere word comprises title and verb etc., does not comprise auxiliary word, pronoun and conjunction etc.In the present embodiment, set up index by the mode of search information being carried out to inverted list, alternate manner is also applicable to the present embodiment.
For example, shown in Figure 2, search information 1 is " millet Science and Technology Ltd. ", and search information 2 is " millet mobile phone ".Search information is carried out to participle.After participle, obtain: the word segmentation result of search information 1 is millet, science and technology, limited, company, and the word segmentation result of search information 2 is millet, mobile phone.The word obtaining after participle is keyword.Set up inverted list according to word segmentation result, inverted list is shown in Figure 3.Inverted list comprises keyword and corresponding search information.Further keyword is encrypted, obtains keyword ciphertext, replace the keyword in inverted list by keyword ciphertext, complete and set up index.Cryptographic algorithm in the present embodiment can be MD5, SHA, HMAC, RSA, RC4 and AES etc., and other cryptographic algorithm is also applicable to the present embodiment.
For example, the ciphertext that millet, science and technology, limited, company, mobile phone obtain after encrypting is shown in Figure 4.As shown in Figure 5A, wherein Message1 represents search information 1 to the index of setting up according to keyword ciphertext, and Message2 represents search information 2.
In one embodiment, in order to improve security, can be encrypted search information, index is the index of keyword ciphertext to search information ciphertext.In search procedure, need to be decrypted search information ciphertext, obtain search information.
In one embodiment, encryption and decryption process all realizes by encryption key, in order to improve security, can configure different encryption keys for different users.In the present embodiment, different users comprises the user of different terminals and the user of different user name.The ciphertext difference obtaining after can being encrypted the identical word of different user like this, can improve the difficulty that cracks encryption from word frequency probability analysis, has improved security.The present embodiment is specially adapted to personal information to set up the process of index and search personal information.In order further to improve security, the physical equipment of storage encryption key and described index is different, obtains encryption key and index while preventing from accessing a physical equipment simultaneously, causes the dangerous of index.
In the present embodiment, search for generally in order to support, in different term (being equivalent to keyword), term ciphertext section (being equivalent to keyword ciphertext section) corresponding to the identical characters of same position is identical, wherein term corresponding term ciphertext section of character.Term ciphertext section corresponding multiple characters of term is together in series in order and can obtains term ciphertext.For example, the initial character of " mobile phone " and " wrist-watch " is " hand ", and the prefix of the keyword ciphertext that " mobile phone " is corresponding with " wrist-watch " is identical, is the keyword ciphertext section that " hand " is corresponding.
In the present embodiment, can encrypt keyword by one or many, realize term ciphertext section corresponding to the identical characters of same position in different terms identical.
For example, by default sectional encryption algorithm, term is encrypted to acquisition, makes term ciphertext section corresponding to the identical characters of same position in different terms identical.Wherein sectional encryption algorithm is in a ciphering process, to realize the cryptographic algorithm that the each character in keyword is generated respectively to term ciphertext section, as RC4 algorithm etc.
And for example, by what obtain after the each character in described term is encrypted respectively, make term ciphertext section corresponding to the identical characters of same position in different terms identical.For example, keyword " mobile phone " is encrypted, character " hand " is once encrypted, obtain ciphertext section " 7D96EFAE "; And character " machine " is once encrypted, obtain ciphertext section " FE09F6BD "; After being connected in order, the ciphertext section obtaining after twice encryption obtains the keyword ciphertext " 7D96EFAEFE09F6BD " of keyword " mobile phone ".
Set up after index, just can carry out information search based on index.Introduce in detail below by several embodiment the process that search realizes.
Fig. 5 B is according to the process flow diagram of the method for a kind of information search shown in an exemplary embodiment, and as shown in Figure 5, the method for this information search can be realized by terminal, comprises the following steps:
In step 501, obtain the term to be searched of input.For example, user need to be in address list searching for contact persons information, inputted the name of AA.Terminal has obtained " AA " of user's input.
In step 502, described term is encrypted, obtain term ciphertext.For example, " AA " is encrypted, obtains " DE147DKW12SQ ".
In step 503, described term ciphertext is mated with the keyword ciphertext in default index.For example, the pre-stored index that has keyword ciphertext to arrive search information of terminal.Keyword ciphertext has " 1125SEW47SWE ", " AE184WEF47EF " and " DE147DKW12SQ ", and corresponding keyword is respectively " BB ", " CC " and " AA ".Term ciphertext " DE147DKW12SQ " is mated with " 1125SEW47SWE ", " AE184WEF47EF " and " DE147DKW12SQ " respectively, if the match is successful, continue step 504, otherwise continue step 506.
In step 504, in described index, search described search information corresponding to keyword ciphertext that the match is successful.For example, the pre-stored index that has keyword ciphertext to arrive search information of terminal.Index as shown in Figure 6, can find the search information " YYYY " that " DE147DKW12SQ " is corresponding." YYYY " can comprise the information such as telephone number, Business Name and the mailbox of AA.
In step 505, the search information that output finds.For example, terminal shows " YYYY " that find.
In step 506, output does not have the information of Query Result.Or other search information that output fuzzy matching is arrived.
For example, the pre-stored index that has keyword ciphertext to arrive search information of terminal.Keyword ciphertext has " 1125SEW47SWE ", " DE147DEF47EF " and " DE147DKW12SQ ", and corresponding keyword is respectively " BB ", " AC " and " AA ".When user inputs character " A ", terminal is encrypted " A ", obtain " DE147D ", utilize " DE147D " to carry out the coupling of keyword ciphertext, can match " DE147DEF47EF " and " DE147DKW12SQ ", can further export " DE147DEF47EF " and " the search information that DE147DKW12SQ is corresponding.User is again when input character " A ", be that user has inputted " AA ", terminal can be encrypted whole term " AA ", also can encrypt a rear character " A ", all can obtain term ciphertext " DE147DKW12SQ ", utilize " DE147DKW12SQ " to carry out the coupling of keyword ciphertext, can match " DE147DKW12SQ " and can further export the search information that " DE147DKW12SQ " is corresponding.
The present embodiment has been described search procedure as an example of terminal inner search example, and the index of terminal storage keyword ciphertext and search information, has guaranteed the security of index, has protected user's personal information.And in search procedure, do not need keyword ciphertext to be decrypted, and ciphertext generally by numeral and letter form, can have higher search efficiency.
Fig. 7 is according to the process flow diagram of the method for a kind of information search shown in an exemplary embodiment, and as shown in Figure 7, the method for this information search can be realized by server, comprises the following steps:
In step 701, the term to be searched that receiving terminal sends.For example, user need to be in the address list of cloud platform searching for contact persons information, inputted the name of AA.Terminal sends to server after having obtained " AA " of user's input.Server obtains term " AA ".
In step 702, described term is encrypted, obtain term ciphertext.For example, " AA " is encrypted, obtains " DE147DKW12SQ ".
In step 703, described term ciphertext is mated with the keyword ciphertext in default index.If the match is successful, continue step 704, otherwise continue step 706.For example, the pre-stored index that has keyword ciphertext to arrive search information of server.
In step 704, in described index, search described search information corresponding to keyword ciphertext that the match is successful.For example, the pre-stored index that has keyword ciphertext to arrive search information of server.Index as shown in Figure 6, can find the search information " YYYY " that " DE147DKW12SQ " is corresponding." YYYY " can comprise the information such as telephone number, Business Name and the mailbox of AA.
In step 705, return to the search information finding to terminal.For example, terminal shows " YYYY " that find.
In step 706, return to the information that there is no Query Result to terminal.Or return to terminal other search information that fuzzy matching is arrived.
In the present embodiment, obtain term by server, and be encrypted and search for coupling.If user search is public information, server can adopt public encryption key to be encrypted, and then searches for the index of public information, and then searches public information, and feeds back to user.If user search is personal information, in the time that user logins, server can obtain user's user name, and determines encryption key corresponding to this user name, and term is encrypted.Then search for the index of personal information, and the personal information searching is fed back to user.
Fig. 8 is according to the process flow diagram of the method for a kind of information search shown in an exemplary embodiment, and as shown in Figure 7, the method for this information search can be realized by terminal and server, comprises the following steps:
In step 801, terminal obtains the term to be searched of input.For example, user need to be in the address list of cloud platform searching for contact persons information, inputted the name of AA.Terminal sends to server after having obtained " AA " of user's input.Server obtains term " AA ".
User name when terminal can be logined according to user is determined the encryption key corresponding with user name, then carry out step 802.
In step 802, terminal is encrypted described term, obtains term ciphertext, sends to server.For example, " AA " is encrypted, obtains " DE147DKW12SQ ".
In step 803, server mates described term ciphertext with the keyword ciphertext in default index.If the match is successful, continue step 804, otherwise continue step 806.For example, the pre-stored index that has keyword ciphertext to arrive search information of server.
In step 804, server is searched described search information corresponding to keyword ciphertext that the match is successful in described index.For example, the pre-stored index that has keyword ciphertext to arrive search information of server.Index as shown in Figure 6, can find the search information " YYYY " that " DE147DKW12SQ " is corresponding." YYYY " can comprise the information such as telephone number, Business Name and the mailbox of AA.
In step 805, server returns to the search information finding to terminal.For example, terminal shows " YYYY " that find.
In step 806, server returns to the information that there is no Query Result to terminal.Or return to terminal other search information that fuzzy matching is arrived.
In the present embodiment, by terminal, term is encrypted, transmits the term ciphertext obtaining after encryption to server, can improve the security of term transmission.Server is searched for according to the term ciphertext of receiving, is particularly useful for the personal information of search subscriber, because the encryption that terminal may adopt the encryption key corresponding with user to carry out.The search information searching is fed back to terminal by server.If search information is the search information ciphertext after encrypting, server can feed back to terminal by search information ciphertext, search information ciphertext is decrypted according to encryption key by terminal; Or server is decrypted search information ciphertext according to encryption key corresponding to user, and the search information obtaining after deciphering is sent to terminal.Front a kind of mode can improve the security of search communication; Rear a kind of mode can alleviate the load of terminal.
The implementation procedure of having understood search information by above description, this process can be realized by device, and the inner structure to this device and function are introduced below.
Fig. 9 is according to the device schematic diagram of a kind of information search shown in an exemplary embodiment.With reference to Fig. 9, this device comprises acquisition module 901, matching module 902, enquiry module 903 and sending module 904.
Acquisition module 901 is for obtaining the term ciphertext of term to be searched.
Matching module 902 is for mating described term ciphertext with the keyword ciphertext of default index.
Enquiry module 903, in the time there is the keyword ciphertext that the match is successful, is searched described search information corresponding to keyword ciphertext that the match is successful in described index.
Sending module 904 is for sending described search information.If described device is terminal device, sending module 904 sends described search information to the display module (this figure is not shown) in terminal device.If described device is server, sending module 904 sends described search information to terminal device.
In one embodiment, shown in Figure 10, described acquisition module 901 comprises: the first acquiring unit 9011, and/or, comprising: second acquisition unit 9012 and ciphering unit 9013.
The first acquiring unit 9011 is for directly obtaining the term ciphertext of term to be searched.
Second acquisition unit 9012 is for obtaining term to be searched.
Ciphering unit 9013, for described term is encrypted, obtains term ciphertext.
If in the process of setting up index, ciphering unit 9013 is also encrypted search information, described device also comprises deciphering module, is decrypted for the search information that enquiry module 903 is found, and then sends to other module or equipment by sending module 904.
In one embodiment, shown in Figure 11, described device also comprises: configuration module 905, is used to different users to configure different encryption keys.
In one embodiment, the physical equipment of storage encryption key and described index is different.
In one embodiment, in different terms, term ciphertext section corresponding to the identical characters of same position is identical, wherein term corresponding term ciphertext section of character.
In one embodiment, described term ciphertext is, by default sectional encryption algorithm, term is encrypted to acquisition, makes term ciphertext section corresponding to the identical characters of same position in different terms identical; Or described term ciphertext is to obtain after the each character in described term is encrypted respectively, make term ciphertext section corresponding to the identical characters of same position in different terms identical.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations have been described in detail in the embodiment about the method, will not elaborate explanation herein.
Figure 12 is according to the block diagram of a kind of device 1200 for information search shown in an exemplary embodiment.For example, device 1200 can be mobile phone, computing machine, digital broadcast terminal, information receiving and transmitting equipment, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 12, device 1200 can comprise following one or more assembly: processing components 1202, storer 1204, power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of I/O (I/O), sensor module 1214, and communications component 1216.
The integrated operation of processing components 1202 common control device 1200, such as with demonstration, call, data communication, the operation that camera operation and record operation are associated.Processing components 1202 can comprise that one or more processors 1220 carry out instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1202 can comprise one or more modules, is convenient to mutual between processing components 1202 and other assemblies.For example, processing element 1202 can comprise multi-media module, to facilitate mutual between multimedia groupware 1208 and processing components 1202.
Storer 1204 is configured to store various types of data to be supported in the operation of equipment 1200.The example of these data comprises for any application program of operation on device 1200 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 1204 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read-only memory (prom), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
Electric power assembly 1206 provides electric power for installing 1200 various assemblies.Electric power assembly 1206 can comprise power-supply management system, one or more power supplys, and other and the assembly that generates, manages and distribute electric power to be associated for device 1200.
Multimedia groupware 1208 is included in the screen that an output interface is provided between described device 1200 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises that one or more touch sensors are with the gesture on sensing touch, slip and touch panel.Described touch sensor is the border of sensing touch or sliding action not only, but also detects duration and the pressure relevant to described touch or slide.In certain embodiments, multimedia groupware 1208 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 1200 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1210 is configured to output and/or input audio signal.For example, audio-frequency assembly 1210 comprises a microphone (MIC), and when device 1200 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal receiving can be further stored in storer 1204 or be sent via communications component 1216.In certain embodiments, audio-frequency assembly 1210 also comprises a loudspeaker, for output audio signal.
I/O interface 1212 is for providing interface between processing components 1202 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 1214 comprises one or more sensors, is used to device 1200 that the state estimation of various aspects is provided.For example, sensor module 1214 can detect the opening/closing state of equipment 1200, the relative positioning of assembly, for example described assembly is display and the keypad of device 1200, the position of an assembly of all right pick-up unit 1200 of sensor module 1214 or device 1200 changes, user is with device 1200 existence that contact or do not have the temperature variation of device 1200 orientation or acceleration/deceleration and device 1200.Sensor module 1214 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 1214 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 1214 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1216 is configured to be convenient to the communication of wired or wireless mode between device 1200 and other equipment.Device 1200 wireless networks that can access based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 1216 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel.In one exemplary embodiment, described communication component 1216 also comprises near-field communication (NFC) module, to promote junction service.For example, can be based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1200 can be realized by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, for carrying out said method.
In the exemplary embodiment, also provide a kind of non-provisional computer-readable recording medium that comprises instruction, for example, comprised the storer 1204 of instruction, above-mentioned instruction can have been carried out said method by the processor 1220 of device 1200.For example, described non-provisional computer-readable recording medium can be ROM, random-access memory (ram), CD-ROM, tape, floppy disk and optical data storage equipment etc.
A device for information search, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the term ciphertext of term to be searched;
Described term ciphertext is mated with the keyword ciphertext in default index;
In the time there is the keyword ciphertext that the match is successful, in described index, search described search information corresponding to keyword ciphertext that the match is successful;
Send described search information.
Described processor can also be configured to:
The term ciphertext of described acquisition term to be searched, comprising:
Directly obtain the term ciphertext of term to be searched; Or
Obtain term to be searched; Described term is encrypted, obtains term ciphertext.
Described processor can also be configured to:
Before obtaining the term ciphertext of term to be searched, described method also comprises: for different users configures different encryption keys.
Described processor can also be configured to:
The physical equipment of storage encryption key and described index is different.
Described processor can also be configured to:
In different terms, term ciphertext section corresponding to the identical characters of same position is identical, wherein term corresponding term ciphertext section of character.
Described processor can also be configured to:
Described term ciphertext is, by default sectional encryption algorithm, term is encrypted to acquisition, makes term ciphertext section corresponding to the identical characters of same position in different terms identical; Or
Described term ciphertext is to obtain after the each character in described term is encrypted respectively, makes term ciphertext section corresponding to the identical characters of same position in different terms identical.
Figure 13 is the structural representation of server in the embodiment of the present invention.This server 1300 can because of configuration or performance is different produces larger difference, can comprise one or more central processing units (central processing units, CPU) 1322(for example, one or more processors) and storer 1332, for example one or more mass memory units of storage medium 1330(of one or more storage application programs 1342 or data 1344).Wherein, storer 1332 and storage medium 1330 can be of short duration storage or storage lastingly.The program that is stored in storage medium 1330 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in server.Further, central processing unit 1322 can be set to communicate by letter with storage medium 1330, carries out a series of command operatings in storage medium 1330 on server 1300.
Server 1300 can also comprise one or more power supplys 1326, one or more wired or wireless network interfaces 1350, one or more IO interface 1358, one or more keyboards 1356, and/or, one or more operating systems 1341, for example Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc.
A device for information search, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the term ciphertext of term to be searched;
Described term ciphertext is mated with the keyword ciphertext in default index;
In the time there is the keyword ciphertext that the match is successful, in described index, search described search information corresponding to keyword ciphertext that the match is successful;
Send described search information.
Described processor can also be configured to:
The term ciphertext of described acquisition term to be searched, comprising:
Directly obtain the term ciphertext of term to be searched; Or
Obtain term to be searched; Described term is encrypted, obtains term ciphertext.
Described processor can also be configured to:
Before obtaining the term ciphertext of term to be searched, described method also comprises: for different users configures different encryption keys.
Described processor can also be configured to:
The physical equipment of storage encryption key and described index is different.
Described processor can also be configured to:
In different terms, term ciphertext section corresponding to the identical characters of same position is identical, wherein term corresponding term ciphertext section of character.
Described processor can also be configured to:
Described term ciphertext is, by default sectional encryption algorithm, term is encrypted to acquisition, makes term ciphertext section corresponding to the identical characters of same position in different terms identical; Or
Described term ciphertext is to obtain after the each character in described term is encrypted respectively, makes term ciphertext section corresponding to the identical characters of same position in different terms identical.
A kind of non-provisional computer-readable recording medium, in the time that the instruction in described storage medium is carried out by the processor of mobile terminal, makes mobile terminal can carry out a kind of method of information search, and described method comprises:
Obtain the term ciphertext of term to be searched;
Described term ciphertext is mated with the keyword ciphertext in default index;
In the time there is the keyword ciphertext that the match is successful, in described index, search described search information corresponding to keyword ciphertext that the match is successful;
Send described search information.
Instruction in described storage medium can also comprise:
The term ciphertext of described acquisition term to be searched, comprising:
Directly obtain the term ciphertext of term to be searched; Or
Obtain term to be searched; Described term is encrypted, obtains term ciphertext.
Described processor can also be configured to:
Before obtaining the term ciphertext of term to be searched, described method also comprises: for different users configures different encryption keys.
Described processor can also be configured to:
The physical equipment of storage encryption key and described index is different.
Described processor can also be configured to:
In different terms, term ciphertext section corresponding to the identical characters of same position is identical, wherein term corresponding term ciphertext section of character.
Described processor can also be configured to:
Described term ciphertext is, by default sectional encryption algorithm, term is encrypted to acquisition, makes term ciphertext section corresponding to the identical characters of same position in different terms identical; Or
Described term ciphertext is to obtain after the each character in described term is encrypted respectively, makes term ciphertext section corresponding to the identical characters of same position in different terms identical.
Those skilled in the art, considering instructions and putting into practice after invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised undocumented common practise or the conventional techniques means in the art of the disclosure.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various modifications and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (13)

1. a method for information search, is characterized in that, comprising:
Obtain the term ciphertext of term to be searched;
Described term ciphertext is mated with the keyword ciphertext in default index;
In the time there is the keyword ciphertext that the match is successful, in described index, search described search information corresponding to keyword ciphertext that the match is successful;
Send described search information.
2. the method for information search according to claim 1, is characterized in that, the term ciphertext of described acquisition term to be searched, comprising:
Directly obtain the term ciphertext of term to be searched; Or
Obtain term to be searched; Described term is encrypted, obtains term ciphertext.
3. the method for information search according to claim 2, is characterized in that, before obtaining the term ciphertext of term to be searched, described method also comprises: for different users configures different encryption keys.
4. the method for information search according to claim 3, is characterized in that, the physical equipment of storage encryption key and described index is different.
5. according to the method for the information search described in any one in claim 1 to 4, it is characterized in that, in different terms, term ciphertext section corresponding to the identical characters of same position is identical, wherein term corresponding term ciphertext section of character.
6. the method for information search according to claim 5, it is characterized in that, described term ciphertext is, by default sectional encryption algorithm, term is encrypted to acquisition, makes term ciphertext section corresponding to the identical characters of same position in different terms identical; Or
Described term ciphertext is to obtain after the each character in described term is encrypted respectively, makes term ciphertext section corresponding to the identical characters of same position in different terms identical.
7. a device for information search, is characterized in that, comprising:
Acquisition module, for obtaining the term ciphertext of term to be searched;
Matching module, for mating described term ciphertext with the keyword ciphertext of default index;
Enquiry module in the time there is the keyword ciphertext that the match is successful, is searched described search information corresponding to keyword ciphertext that the match is successful in described index;
Sending module, for sending described search information.
8. the device of information search according to claim 7, is characterized in that, described acquisition module comprises:
The first acquiring unit, for directly obtaining the term ciphertext of term to be searched;
Or
Second acquisition unit, for obtaining term to be searched;
Ciphering unit, for described term is encrypted, obtains term ciphertext.
9. the device of information search according to claim 8, is characterized in that, described device also comprises: configuration module, is used to different users to configure different encryption keys.
10. the device of information search according to claim 9, is characterized in that, the physical equipment of storage encryption key and described index is different.
11. according to the device of the information search described in any one in claim 7 to 10, it is characterized in that, in different terms, term ciphertext section corresponding to the identical characters of same position is identical, wherein term corresponding term ciphertext section of character.
The device of 12. information searches according to claim 11, it is characterized in that, described term ciphertext is, by default sectional encryption algorithm, term is encrypted to acquisition, makes term ciphertext section corresponding to the identical characters of same position in different terms identical; Or
Described term ciphertext is to obtain after the each character in described term is encrypted respectively, makes term ciphertext section corresponding to the identical characters of same position in different terms identical.
The device of 13. 1 kinds of information searches, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the term ciphertext of term to be searched;
Described term ciphertext is mated with the keyword ciphertext in default index;
In the time there is the keyword ciphertext that the match is successful, in described index, search described search information corresponding to keyword ciphertext that the match is successful;
Send described search information.
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 true CN103914541A (en) 2014-07-09
CN103914541B 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)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967516A (en) * 2015-07-24 2015-10-07 四川理工学院 Multi-user encryption data comparable encryption method and encryption data method
CN106713116A (en) * 2016-06-17 2017-05-24 腾讯科技(深圳)有限公司 Information processing method, apparatus and system
CN108595974A (en) * 2018-05-07 2018-09-28 襄阳市尚贤信息科技有限公司 A kind of fast verification system of 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
CN111489155A (en) * 2020-03-11 2020-08-04 华控清交信息科技(北京)有限公司 Data processing method and device and data processing device
CN112906376A (en) * 2021-03-24 2021-06-04 北京林业大学 Self-adaptive matching user English learning text pushing system and method
CN113204794A (en) * 2021-07-02 2021-08-03 深圳市深圳通有限公司 Transaction record safe storage method, device, equipment and storage medium
CN114756886A (en) * 2022-06-13 2022-07-15 华控清交信息科技(北京)有限公司 Method and device for hiding trace query

Citations (8)

* 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
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
US20100121856A1 (en) * 2008-11-11 2010-05-13 Nec (China) Co., Ltd. Method and apparatus for generating index as well as search method and search apparatus
CN101937464A (en) * 2010-09-13 2011-01-05 武汉达梦数据库有限公司 Ciphertext search method based on word-for-word indexing
CN102056157A (en) * 2009-11-04 2011-05-11 大唐移动通信设备有限公司 Method, system and device for determining keys and ciphertexts
CN102780556A (en) * 2011-05-09 2012-11-14 北大方正集团有限公司 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 (8)

* 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
CN101118580A (en) * 2006-07-31 2008-02-06 中国科学院微电子研究所 Digital products content protective system and method
US20100121856A1 (en) * 2008-11-11 2010-05-13 Nec (China) Co., Ltd. Method and apparatus for generating index as well as search method and search apparatus
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
CN101937464A (en) * 2010-09-13 2011-01-05 武汉达梦数据库有限公司 Ciphertext search method based on word-for-word indexing
CN102780556A (en) * 2011-05-09 2012-11-14 北大方正集团有限公司 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

Cited By (16)

* 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
CN104967516A (en) * 2015-07-24 2015-10-07 四川理工学院 Multi-user encryption data comparable encryption method and encryption data method
CN106713116B (en) * 2016-06-17 2018-09-28 腾讯科技(深圳)有限公司 Information processing method, apparatus and system
CN106713116A (en) * 2016-06-17 2017-05-24 腾讯科技(深圳)有限公司 Information processing method, apparatus and system
CN108595974B (en) * 2018-05-07 2021-04-20 襄阳市尚贤信息科技有限公司 Quick verification system for electronic product code
CN108595974A (en) * 2018-05-07 2018-09-28 襄阳市尚贤信息科技有限公司 A kind of fast verification system of 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
CN111489155A (en) * 2020-03-11 2020-08-04 华控清交信息科技(北京)有限公司 Data processing method and device and data processing device
CN111489155B (en) * 2020-03-11 2024-04-09 华控清交信息科技(北京)有限公司 Data processing method and device for data processing
CN112906376A (en) * 2021-03-24 2021-06-04 北京林业大学 Self-adaptive matching user English learning text pushing system and method
CN112906376B (en) * 2021-03-24 2023-07-11 北京林业大学 Self-adaptive matching user English learning text pushing system and method
CN113204794A (en) * 2021-07-02 2021-08-03 深圳市深圳通有限公司 Transaction record safe storage method, device, equipment and storage medium
CN113204794B (en) * 2021-07-02 2021-10-15 深圳市深圳通有限公司 Transaction record safe storage method, device, equipment and storage medium
CN114756886A (en) * 2022-06-13 2022-07-15 华控清交信息科技(北京)有限公司 Method and device for hiding trace query
CN114756886B (en) * 2022-06-13 2022-08-16 华控清交信息科技(北京)有限公司 Method and device for inquiring hiding trace

Also Published As

Publication number Publication date
CN103914541B (en) 2017-08-01

Similar Documents

Publication Publication Date Title
EP3605989B1 (en) Information sending method, information receiving method, apparatus, and system
CN104125055B (en) Encryption and decryption method and electronic equipment
US9819652B2 (en) Information interaction methods and devices
CN103914541A (en) Information search method and device
CN104869612A (en) Method and device for accessing network
CN104009837B (en) Key updating method, device and terminal
CN104955031A (en) Information transmission method and device
CN104715337A (en) Attendance method, and attendance management method and device
CN104318177A (en) Protection method and protection device for data of terminal equipment
CN105049213A (en) File signature method and device
US9723486B2 (en) Method and apparatus for accessing network
CN104125067A (en) Account and token secret key binding method and device
CN103914520A (en) Data query method, terminal equipment and server
US10009834B2 (en) Apparatus and method for accessing electronic device having hot spot function
CN109246110B (en) Data sharing method and device and computer readable storage medium
CN105407070A (en) Logging-in authorization method and device
CN105450662A (en) Encryption method and device
CN105550343B (en) Two dimensional code processing method and processing device
CN104468581A (en) Method and device for logging into application program
CN104113588B (en) The update method of a kind of the Internet Yellow Page and device
CN105282162A (en) Processing method and device for account management business
CN105681365B (en) Method and apparatus for file transmission
CN104837133A (en) SIM card authentication method and device
CN104182697A (en) File encryption method and device
CN104331672A (en) Method and device for performing confidential treatment on pictures upon bracelet

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