[go: up one dir, main page]

CN107346316A - A kind of searching method, device and electronic equipment - Google Patents

A kind of searching method, device and electronic equipment Download PDF

Info

Publication number
CN107346316A
CN107346316A CN201610298538.4A CN201610298538A CN107346316A CN 107346316 A CN107346316 A CN 107346316A CN 201610298538 A CN201610298538 A CN 201610298538A CN 107346316 A CN107346316 A CN 107346316A
Authority
CN
China
Prior art keywords
destinations
destination
search
determining
historical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610298538.4A
Other languages
Chinese (zh)
Inventor
孔祥来
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201610298538.4A priority Critical patent/CN107346316A/en
Publication of CN107346316A publication Critical patent/CN107346316A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

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)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to internet arena, discloses a kind of searching method, device and electronic equipment, to solve to search for returned not accurate enough the technical problem of search result in the prior art.This method includes:Search key corresponding to the search operation of user is determined first;It is then determined that the historical operation record of user's access process;Recorded finally by the search key and the historical operation, obtain the search result for including M destination, M is positive integer.In other words, when being scanned for for destination locations, it is contemplated that the historical operation record in the access process of each user, user can be directed to and return to personalized search result, using the teaching of the invention it is possible to provide more accurate search result.

Description

Searching method and device and electronic equipment
Technical Field
The present invention relates to the field of internet, and in particular, to a search method, a search device, and an electronic device.
Background
With the continuous development of science and technology, electronic technology has also gained rapid development, and the variety of electronic products is also more and more, and people also enjoy various conveniences brought by the development of science and technology. People can enjoy comfortable life brought along with the development of science and technology through various types of electronic equipment. For example, electronic devices such as a notebook computer, a desktop computer, a smart phone, and a tablet computer have become an important part of people's life, and a user can listen to music, play games, and the like by using the electronic devices such as the mobile phone and the tablet computer, so as to relieve the pressure of modern fast-paced life.
In the prior art, most electronic devices have a search function, for example, nearby gourmets, movies, hotels, and the like can be searched through some living APPs, wherein when searching for a specific category of living services, corresponding search results are usually returned according to distances, and the search results are the same for all users, so that the technical problem that the returned search results are not accurate enough exists.
Disclosure of Invention
The invention provides a searching method, a searching device and electronic equipment, and aims to solve the technical problem that a returned searching result is not accurate enough in the prior art.
In a first aspect, an embodiment of the present invention provides a search method, including:
determining a search keyword corresponding to a search operation of a user;
determining a historical operation record of the user access process;
and obtaining a search result containing M destinations through the search keyword and the historical operation record, wherein M is a positive integer.
Optionally, the historical operation record includes: at least one of a historical search record, a historical collection record, a historical selection record for a destination.
Optionally, the determining the search keyword corresponding to the search operation includes:
acquiring input content corresponding to the search operation;
performing semantic analysis on the input content to obtain the semantics of the input keywords;
and determining the search key words corresponding to the semantics.
Optionally, the M destinations are destinations meeting a preset rule, and the destination meeting the preset rule is located within a preset distance range of a preset position of the corresponding destination.
Optionally, the obtaining a search result including M destinations by searching the keyword and the historical operation record of the user includes:
searching through the search keyword to obtain a first destination meeting the preset rule;
determining the search result based on the historical operation record and the first destination.
Optionally, the determining the search result based on the historical operation record and the first destination includes:
the M destinations are screened out from the first destinations based on the historical operation records.
Optionally, the screening the M destinations from the first destination based on the historical operation records includes:
searching and obtaining a second destination meeting the preset rule from destinations corresponding to the historical operation records; intersecting the first destination and the second destination to determine the M destinations; or,
determining a predetermined category from destinations corresponding to the historical operation records; extracting destinations belonging to the predetermined category from the first destinations as the M destinations.
Optionally, the determining the search result based on the historical operation record and the first destination further includes:
determining a priority ranking of each destination in the M destinations based on at least one parameter of the historical operation records, information of distances between each destination and the preset position, evaluation information of each destination and congestion information of each destination;
determining the search results based on the M destinations and a prioritization of each of the M destinations.
Optionally, the determining the search result based on the historical operation record and the first destination includes:
determining a prioritization of each of the first destinations based on the historical operations;
determining the search result based on the first destination and the prioritization.
Optionally, the method further includes:
and displaying the M destinations contained in the search result according to the priority sequence.
Optionally, after obtaining a search result including M destinations by searching for the keyword and the historical operation record of the user, the method further includes:
determining a selection destination from the M destinations based on the selection operation of the user;
providing relevant information of the selected destination, the relevant information comprising: navigation information from the current position to the selected destination, introduction information of the selected destination and contact information of the selected destination.
In a second aspect, an embodiment of the present invention provides a search apparatus, including:
the first determining module is used for determining a search keyword corresponding to the search operation of the user;
the second determination module is used for determining the historical operation record of the user access process;
and the obtaining module is used for obtaining a search result containing M destinations through the search keyword and the historical operation record, wherein M is a positive integer.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by one or more processors includes instructions for:
determining a search keyword corresponding to a search operation of a user;
determining a historical operation record of the user access process;
and obtaining a search result containing M destinations through the search keyword and the historical operation record, wherein M is a positive integer.
The invention has the following beneficial effects:
in the embodiment of the invention, the search keyword corresponding to the search operation of the user is determined firstly; then determining the historical operation record of the user access process; and finally, obtaining a search result containing M destinations through the search keyword and the historical operation record, wherein M is a positive integer. That is to say, when searching for the target position, taking into account the historical operation records in the access process of each user, the personalized search result can be returned for the user, and a more accurate search result can be provided.
Drawings
FIG. 1 is a flow chart of a search method in an embodiment of the invention;
fig. 2 is a flowchart of obtaining a search result through a search keyword and a history operation record of the user in the search method according to the embodiment of the present invention;
FIG. 3 is a block diagram of a search control apparatus in an embodiment of the present invention;
FIG. 4 is a block diagram of an electronic device implementing a search method, shown in accordance with an exemplary embodiment;
fig. 5 is a schematic structural diagram of a server in an embodiment of the present invention.
Detailed Description
The invention provides a searching method, a searching device and electronic equipment, and aims to solve the technical problem that in the prior art, a returned searching result is not accurate enough.
In order to solve the technical problems, the general idea of the embodiment of the present application is as follows:
firstly, determining a search keyword corresponding to a search operation of a user; then determining the historical operation record of the user access process; and finally, obtaining a search result containing M destinations through the search keyword and the historical operation record, wherein M is a positive integer. That is to say, when searching for the target position, taking into account the historical operation records in the access process of each user, the personalized search result can be returned for the user, and a more accurate search result can be provided.
In order to better understand the technical solutions of the present invention, the following detailed descriptions of the technical solutions of the present invention are provided with the accompanying drawings and the specific embodiments, and it should be understood that the specific features in the embodiments and the examples of the present invention are the detailed descriptions of the technical solutions of the present invention, and are not limitations of the technical solutions of the present invention, and the technical features in the embodiments and the examples of the present invention may be combined with each other without conflict.
In a first aspect, an embodiment of the present invention provides a search method, please refer to fig. 1, including:
step S101: determining a search keyword corresponding to a search operation of a user;
step S102: determining a historical operation record of the user access process;
step S102: and obtaining a search result containing M destinations through the search keyword and the historical operation record, wherein M is a positive integer.
For example, the scheme may be used in a device with a search function, where the device may be a client device or a server, and the client device is, for example: mobile phones, tablet computers, notebook computers, PCs (personal computers), and the like. If the device is a server, the server may transmit the search results to the client device after obtaining them.
In step S101, the search operation is, for example, to search for a specific category of destinations near a preset location, such as: for example, for food, entertainment, movies, hotels, sports fitness, shopping, life services, etc., the predetermined location may be a current location, such as: if the user inputs 'food', a food shop within a preset distance range (for example: 1km, 2km and the like) of the current position can be obtained; for another example, if the user inputs "food" and defines the preset position as "chunxiang", a food store and the like within the preset distance range of chunxiang can be obtained.
This search operation may be generated in a number of ways, for example: inputting characters, generating voice control instructions, shooting images, etc., and determining the search operation in which manner, embodiments of the present invention are not limited.
In a specific implementation process, after the search operation is obtained, the search keyword may be obtained through the input content corresponding to the search operation, for example: firstly, obtaining input content corresponding to a search operation, performing word segmentation on the input content to obtain at least one keyword, and then using part or all of the at least one keyword as a search keyword, for example: the user inputs the following contents "i want to eat dry pot at five stuttering" through a search operation, the following search keywords may be extracted from the input contents: five-way opening and dry pot; acquiring input content corresponding to the search operation; performing semantic analysis on the input content to obtain the semantics of the input keywords; and determining the search key words corresponding to the semantics. For example: the user inputs the following contents of 'i hungry' through search operation, and the semantic analysis of 'i hungry' can determine that the user wants to search for food, so that the search keyword can be determined as follows: the food can be used for carrying out fuzzy recognition on the content input by the user, and when the user wants to go to a certain destination, the user can be inquired without explicitly inputting the destination, so that the technical effect of inquiring the fuzzy intention of the user is achieved. In addition, in the specific implementation process, the obtained search keywords are different according to different input contents of the search operation, and embodiments of the present invention are not listed in detail and are not limited.
In step S102, the historical operation records may include a plurality of operation records, three of which are listed below for description, and of course, in the specific implementation process, the operation records are not limited to the following three cases. In addition, in the case of no conflict, the following three cases may be used in combination.
First, the historical operation record comprises: and (5) historical search records.
For example, the historical search records of the user are: the user's preference can be analyzed through the historical search records of the user, and then the reference is made for subsequently providing the search results for the user.
Second, the historical operational record includes: and (4) collecting a history record.
For example, a user may often go to certain destinations, such as: the user may add the destinations into the collection records for subsequent search, and meanwhile, the historical collection records also represent the preference of the user, so that the user can be referred to for providing search results for the user subsequently.
Third, the historical operating record includes: a history selection record for the destination.
For example, after the user generates the search operation, a plurality of destinations may be obtained, and then the user generates the selection operation for the plurality of destinations to select the actual destination from the plurality of destinations, for example: if the search keyword is determined to be 'food' through the search operation of the user, a nearby food store can be obtained through food search, for example: a1 hands, A2 faces, A3 dry pan and the like, and then the user selects A1 hands by selecting operation, so that the 'A1 hands' can be used as a selection result of the history selection record for providing search results for the user for reference.
In step S103, the obtained M destinations may be all destinations obtained by directly searching through the search keyword, or may also be destinations meeting a preset rule, where the destination meeting the preset rule is located within a preset distance range of a preset position, and the preset position may be, for example: a current position, a preset position determined based on a search operation of the user, and so on, and the preset position may be located in the search keyword if the preset position is the preset position determined based on the search operation of the user, for example, if the search keyword includes: and if the preset position is five openings, the preset position can not be located in the search keyword, and the system additionally provides a setting interface to be set by a user. The preset distance range is, for example, 1km, 2km, etc., wherein the preset distance range may be set by the system itself, or may be determined based on a history selection record of the user, for example: the distance value of each selected destination in the history selection record of the user from the preset position may be obtained, and then the highest distance value is obtained as the preset distance range, for example: assume that the history selection record includes 3 selection records, which are: a1 hands, A4 dry pot and A5 Korean meal, wherein the distance values between the A1 hands, the A4 dry pot and the A5 Korean meal are respectively as follows: 500m, 700m, 400m, the preset distance range can be set to 700m, based on the scheme, different preset distance ranges can be set for users based on different habits of selecting destinations, so that the technical effect of setting more accurate preset distance ranges is achieved, on one hand, the data traffic of transmitting the search results to the client device by the server can be reduced as much as possible, and meanwhile, the search results required by the users can be provided.
In step S103, the obtaining a search result including M destinations by searching the keyword and the historical operation record of the user, please refer to fig. 2, which includes:
step S201: searching through the search keyword to obtain a first destination meeting the preset rule;
step S202: determining the search result based on the historical operation record and the first destination.
In step S201, for example, all destinations may be obtained by searching for a search keyword, and then distances between each destination and a preset position are obtained, so as to determine a first destination, where the first destination may include one or more destinations; it is also possible to first obtain destinations located within a preset distance range of a preset position, then obtain a first destination by searching for the search keyword therefrom, and so on.
In step S202, when determining the search result based on the historical operation record and the first destination, a plurality of ways may be adopted, and the obtained search result is different, and the following two ways are listed for description, and of course, in the specific implementation process, the following two ways are not limited.
First, the determining the search result based on the historical operation record and the first destination includes: the M destinations are screened from satisfying the first destination based on the historical operating records.
In the implementation process, when the M destinations are screened from the first destination through the historical operation records, a plurality of screening methods can be adopted, two descriptions of which are listed below, and of course, the implementation process is not limited to the following two cases.
The method for screening M destinations includes: searching and obtaining a second destination meeting the preset rule from destinations corresponding to the historical operation records; and intersecting the first destination and the second destination to determine the M destinations.
For example, after the destinations corresponding to the historical operation records are obtained, the destinations can be screened through distances, and destinations within a preset distance range of a preset position can also be screened from the destinations, and since some destinations may have failed due to the destinations corresponding to the historical operation records, in order to prevent this, the first destination and the second destination can be intersected, so that M destinations can be finally determined.
A mode of screening M destinations is that: determining a predetermined category from destinations corresponding to the historical operation records; extracting destinations belonging to the predetermined category from the first destinations as the M destinations.
For example, it may be divided into different categories for each destination, such as: it is classified by the store name of each destination, for example, if the store name of a certain store is: a1 hands are turned, the category to which the shop belongs can be determined to be the hands, and the category to which the shop belongs can be determined to be the dry pot if the shop name of a certain shop is A4 dry pot, and the like; still alternatively, category information or the like set for each destination by the current APP (Application) or website may be directly extracted. The predetermined categories may also characterize the user's preferences, such as: if the fact that the objects operated by the user are all of the truth types is determined through historical operation records (such as historical search records, historical collection records, historical selection records and the like), then the Islamic type shop in the first destination can be recommended to the user as the destination; for another example, if it is determined through the history operation record that all objects operated by the user are light-class (for example, dish of Guangdong, Western meal, sweets, etc.), the store corresponding to the light-class food in the first destination can be recommended to the user as the destination, and so on.
After determining the category to which each destination in the history operation record belongs, all the categories to which each destination belongs can be taken as predetermined categories; the category with the occurrence frequency greater than the preset frequency can also be screened out as a preset category, and the preset frequency is, for example: 5. 10, and so on, and then acquires preset categories of destinations as the M destinations from the first destinations.
Since in this scheme only part of the destinations need to be screened out from the first destination as M destinations, if the search result is transmitted from the server to the client device, the data traffic consumed by the transmission of the search result from the server to the client device can also be reduced.
Further, after determining M destinations based on the historical operation records, the M destinations may be provided to the user for the user to select a destination desired to go to, if the user does not select a destination from the M destinations, the first destination may also be provided to the user for continuing selection, and when the first destination is provided to the user for continuing selection, the M destinations may be removed; it is also possible to display the M destinations in front and the other destinations than the M destinations in the rear.
Based on the scheme, the method and the device can provide more comprehensive search results for the user under the condition that the M destinations determined based on the historical operation records do not meet the requirements of the user.
As an alternative embodiment, the determining the search result based on the historical operation record and the first destination further includes:
determining a priority ranking of each destination in the M destinations based on at least one parameter of the historical operation records, information of distances between each destination and the preset position, evaluation information of each destination and congestion information of each destination;
determining the search results based on the M destinations and a prioritization of each of the M destinations.
For example, for each parameter information, a weight value may be set separately, for example: the method includes setting a weight value p1 for historical operation records, setting a weight value p2 for distance information of each destination from a preset position, setting a weight value p3 for evaluation information of each destination, and setting a weight value p4 for congestion information.
Then, different scoring values are set for each destination based on different values of various types of parameter information, then, the weighted values and the scoring values of various types of parameter information of a certain destination are multiplied and added to obtain a comprehensive scoring value of the destination, and finally, the priority ranking is determined based on the comprehensive scoring value.
Taking the parameter information as the historical operation record as an example, for a certain destination, if the certain destination appears in the historical operation record (or in the category corresponding to the historical operation record), the rating value of the certain destination can be set to be 1, and if the certain destination does not appear in the historical operation record (or the category corresponding to the historical operation record), the rating value of the certain destination can be set to be 0; still alternatively, the number of times that a certain destination appears in the history operation record (or the category corresponding to the history operation) may be used as its score value, for example: assuming that the a1 braille appears 2 times in the history search record, 1 time in the history collection record, and 5 times in the history selection record, the score value thereof may be determined to be 2+1+5 — 8, and so on, and of course, the score value corresponding to the history operation record may also be determined by other principles, which are not listed in detail and are not limited in the embodiments of the present invention.
Taking the parameter information as the distance information between each destination and the preset position as an example, it can be determined whether the distance value corresponding to the distance information is greater than a preset distance value (e.g., 1km, 2km, etc.), if not, the score value is set to 2, and if so, the score value is set to 0; still alternatively, different score values may be set for different distance ranges, for example as shown in table 1:
TABLE 1
Distance value (m) (0,500] (500,1000] (1000,1500] (1500,2000]
Value of credit 4 3 21
After a certain destination is determined, the corresponding score value can be obtained by directly searching the table through the distance value between the destination and the preset position, and of course, the score value can also be set based on other principles, which is not limited in the embodiment of the present invention.
Taking the parameter information as the evaluation information of each destination as an example, the evaluation information may be a good score, a medium score or a bad score, or the evaluation information may also be a specific score, wherein the score of the evaluation information may be determined based on the good score, for example: setting the score value to be 5 if the good score is more than 90%, setting the score value to be 2 if the good score is between 70% and 90%, setting the score value to be 0 if the good score is less than 70%, and the like; or the score value of the evaluation information is determined based on the specific score, such as: if the specific score is more than 4.5, the score value is determined to be 4, if the specific score is between 4.5 and 4, the score value is determined to be 2, if the specific score is less than 4, the score value is determined to be 0, and the like. Of course, the score value of the evaluation information may also be determined by other principles, and the embodiment of the present invention is not limited.
Taking the parameter information as congestion information of each destination as an example, the congestion information may be congestion information of each destination itself, or congestion information of each destination from the current position, wherein for a certain destination, if the congestion information is not congested, the score value of the certain destination may be set to 4, if the congestion information is lightly congested, the score value of the certain destination may be set to 2, and if the congestion information is very congested, the score value of the certain destination may be set to 0, and the like. Of course, the value of credit corresponding to the congestion information may also be set based on other principles, and the embodiment of the present invention is not limited.
Assuming that the target is an A1 hand-taking, the score value corresponding to the historical operation record is 8, the distance from the preset position is 300m (namely, the score value corresponding to the distance information is 4), the rating rate is 95% (namely, the score value corresponding to the evaluation information is 5), and the current position goes to the A1 hand-taking without congestion (namely, the score value corresponding to the congestion information is 4), the comprehensive score value can be determined to be p 1+ 8+ p 2+ 4+ p3 + 5+ p 4.
After the comprehensive score value of each destination in the M destinations is calculated, the priority ranking of the destinations is determined from high to low based on the ranking of the comprehensive score values from high to low, wherein the higher the comprehensive score value is, the higher the priority of the corresponding destination is.
In the above scheme, the search result may include M destinations, and may further include a priority ranking of the M destinations, and when the search result is provided to the user, the M destinations may be provided to the user in order from high to low in the priority ranking.
Secondly, the determining the search result based on the historical operation record and the first destination comprises:
determining a prioritization of each of the first destinations based on the historical operations;
determining the search result based on the first destination and the prioritization.
In a specific implementation process, the priority ranking of each destination in the first destinations may be determined only by the historical operation records, the priority ranking of each destination may be determined based on the historical operation records and the integration of at least one of the other three kinds of parameter information (distance information, evaluation information, congestion information), similarly, the integrated score value of each destination may be determined first (how to determine the integrated score value is described above and therefore will not be described herein again), and then the priority ranking of each destination may be determined based on the level of the integrated score value.
In particular implementations, the first destination and the prioritization of each destination may be directly used as a search result. It is also possible to first screen M destinations from the first destinations based on the priority ranking of the respective destinations, and then use the screened M destinations and the priority ranking of the M destinations as the search result. Wherein, the destinations with the priority ranking at the top preset position (for example, 10, 50, etc.) can be screened out as M destinations, and the destinations with the comprehensive score value larger than the preset score value (for example, 5, 10, etc.) can be screened out as M destinations, etc.
As an alternative embodiment, after obtaining the search result containing M destinations by the search keyword and the historical operation record of the user, the method further includes: determining a selection destination from the M destinations based on the selection operation of the user; providing information related to the selected destination.
For example, the selection operation is an operation of clicking a corresponding destination, an operation of inputting a number of the corresponding destination, or the like.
In the implementation, the related information of the selected destination may include a plurality of kinds of information, and three kinds of information are listed below for description, but of course, in the implementation, the following three cases are not limited, and in addition, in the case of no conflict, the following three cases may be used in combination.
First, the related information includes: navigation information from a current location to the selected destination. For example, the navigation information includes walking navigation information, bus navigation information, driving navigation information, and the like, wherein it may be first determined whether to provide a walking navigation mode based on a distance value between the selected destination and the current location, for example: if the distance value is smaller than the preset distance value (0.5km, 1km and the like), providing a walking navigation mode; if the distance value is not less than the preset distance value, a navigation mode of the vehicle can be provided, a historical navigation record of the user can be obtained, and based on the historical navigation record, which navigation mode of the vehicle is selected is determined, for example: the user history navigation record is mostly driving, so that driving navigation information can be provided, and if the history navigation record is mostly bus taking, bus navigation information and the like can be provided. Based on this, the technical effect that more accurate navigation information can be provided is achieved.
Secondly, the related information comprises: introduction information of the selected destination. The introduction information includes, for example: specialty dishes, discount information, group purchase information, etc.
Thirdly, the related information comprises: and selecting the destination contact address. The contact information includes, for example: meal order calls, subscription calls, etc.
As an alternative embodiment, after obtaining the search result containing M destinations based on step S103, if the search result further contains a priority ranking of the M destinations, the M destinations contained in the search result may be shown in the priority ranking, for example: the M destinations are shown from high to low in priority, from low to high in priority, etc., and embodiments of the present invention are not limited.
In a second aspect, based on the same inventive concept, an embodiment of the present invention provides a search apparatus, please refer to fig. 3, including:
a first determining module 30, configured to determine a search keyword corresponding to a search operation of a user;
a second determining module 31, configured to determine a historical operation record of the user access process;
an obtaining module 32, configured to obtain, through the search keyword and the historical operation record, a search result including M destinations, where M is a positive integer.
Optionally, the historical operation record includes: at least one of a historical search record, a historical collection record, a historical selection record for a destination.
Optionally, the first determining module 30 includes:
the acquisition unit is used for acquiring input content corresponding to the search operation;
a first obtaining unit, configured to perform semantic analysis on the input content to obtain semantics of the input keyword;
and the first determining unit is used for determining the search keyword corresponding to the semantic meaning.
Optionally, the M destinations are destinations meeting a preset rule, and the destination meeting the preset rule is located within a preset distance range of a preset position of the corresponding destination.
Optionally, the obtaining module 32 includes:
a second obtaining unit, configured to perform a search through the search keyword to obtain a first destination that satisfies the preset rule;
a second determination unit configured to determine the search result based on the historical operation record and the first destination.
Optionally, the second determining unit includes:
a screening subunit configured to screen the M destinations from the first destination based on the historical operation records.
Optionally, the screening subunit is configured to:
searching and obtaining a second destination meeting the preset rule from destinations corresponding to the historical operation records; intersecting the first destination and the second destination to determine the M destinations; or,
determining a predetermined category from destinations corresponding to the historical operation records; extracting destinations belonging to the predetermined category from the first destinations as the M destinations.
Optionally, the second determining unit further includes:
a sorting subunit, configured to determine a priority sorting of each destination in the M destinations based on at least one parameter of the historical operation records, information on distances between each destination and the preset position, evaluation information of each destination, and congestion information of each destination;
a first determining subunit configured to determine the search result based on the M destinations and a priority ranking of each of the M destinations.
Optionally, the second determining unit includes:
a second determining subunit configured to determine a priority ranking of each of the first destinations based on the historical operation;
a third determining subunit, configured to determine the search result based on the first destination and the priority ranking.
Optionally, the apparatus further comprises:
and the display module is used for displaying the M destinations contained in the search result according to the priority sequence.
Optionally, the apparatus further comprises:
a selection module, configured to determine a selected destination from the M destinations based on a selection operation of the user;
a providing module, configured to provide relevant information of the selected destination, where the relevant information includes: navigation information from the current position to the selected destination, introduction information of the selected destination and contact information of the selected destination.
Since the search apparatus described in the second aspect of the embodiment of the present invention is an apparatus used for implementing the search method described in the first aspect of the embodiment of the present invention, based on the search method described in the first aspect of the embodiment of the present invention, a person skilled in the art can understand the specific structure and the modification of the search apparatus, and therefore will not be described herein again, and all apparatuses used for implementing the search method described in the first aspect of the embodiment of the present invention belong to the scope of the embodiments of the present invention to be protected.
In a third aspect, based on the same inventive concept, an embodiment of the present invention provides an electronic device, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by the one or more processors, and the one or more programs include instructions for:
determining a search keyword corresponding to a search operation of a user;
determining a historical operation record of the user access process;
and obtaining a search result containing M destinations through the search keyword and the historical operation record, wherein M is a positive integer.
Since the electronic device described in the third aspect of the embodiment of the present invention is an electronic device used for implementing the searching method described in the first aspect of the embodiment of the present invention, based on the searching method described in the first aspect of the embodiment of the present invention, a person skilled in the art can understand a specific structure and a modification of the electronic device, and therefore details are not described here again, and all electronic devices used for implementing the searching method described in the first aspect of the embodiment of the present invention belong to the scope to be protected by the embodiment of the present invention.
FIG. 4 is a block diagram illustrating a searching electronic device 800 according to an example embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, a mobile terminal, a wearable device, a vehicle-mounted device, and so forth.
Referring to fig. 4, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 800 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, two non-transitory computer-readable storage media are also provided, such as the memory 804 including instructions executable by the processor 820 of the electronic device 800 to perform the above-described methods. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform a search method, the method comprising:
determining a search keyword corresponding to a search operation of a user;
determining a historical operation record of the user access process;
and obtaining a search result containing M destinations through the search keyword and the historical operation record, wherein M is a positive integer.
Fig. 5 is a schematic structural diagram of a server in an embodiment of the present invention. The server 1900 may vary widely by configuration or performance and may include one or more Central Processing Units (CPUs) 1922 (e.g., one or more processors) and memory 1932, one or more storage media 1930 (e.g., one or more mass storage devices) storing applications 1942 or data 1944. Memory 1932 and storage medium 1930 can be, among other things, transient or persistent storage. The program stored in the storage medium 1930 may include one or more modules (not shown), each of which may include a series of instructions operating on a server. Still further, a central processor 1922 may be provided in communication with the storage medium 1930 to execute a series of instruction operations in the storage medium 1930 on the server 1900.
The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input-output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
One or more embodiments of the invention have at least the following beneficial effects:
in the embodiment of the invention, the search keyword corresponding to the search operation of the user is determined firstly; then determining the historical operation record of the user access process; and finally, obtaining a search result containing M destinations through the search keyword and the historical operation record, wherein M is a positive integer. That is to say, when searching for the target position, taking into account the historical operation records in the access process of each user, the personalized search result can be returned for the user, and a more accurate search result can be provided.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (13)

1. A method of searching, comprising:
determining a search keyword corresponding to a search operation of a user;
determining a historical operation record of the user access process;
and obtaining a search result containing M destinations through the search keyword and the historical operation record, wherein M is a positive integer.
2. The method of claim 1, wherein the historical operational record comprises: at least one of a historical search record, a historical collection record, a historical selection record for a destination.
3. The method of claim 1, wherein the determining a search keyword corresponding to the search operation comprises:
acquiring input content corresponding to the search operation;
performing semantic analysis on the input content to obtain the semantics of the input keywords;
and determining the search key words corresponding to the semantics.
4. The method of claim 1, wherein the M destinations are destinations satisfying a predetermined rule that the corresponding destinations are within a predetermined distance range of a predetermined location.
5. The method of claim 4, wherein obtaining search results containing M destinations by searching keywords and the user's historical operating records comprises:
searching through the search keyword to obtain a first destination meeting the preset rule;
determining the search result based on the historical operation record and the first destination.
6. The method of claim 5, wherein said determining the search result based on the historical operational record and the first destination comprises:
the M destinations are screened out from the first destinations based on the historical operation records.
7. The method of claim 6, wherein the screening the M destinations from the first destination based on the historical operation records comprises:
searching and obtaining a second destination meeting the preset rule from destinations corresponding to the historical operation records; intersecting the first destination and the second destination to determine the M destinations; or,
determining a predetermined category from destinations corresponding to the historical operation records; extracting destinations belonging to the predetermined category from the first destinations as the M destinations.
8. The method of claim 6, wherein the determining the search result based on the historical operational record and the first destination further comprises:
determining a priority ranking of each destination in the M destinations based on at least one parameter of the historical operation records, information of distances between each destination and the preset position, evaluation information of each destination and congestion information of each destination;
determining the search results based on the M destinations and a prioritization of each of the M destinations.
9. The method of claim 5, wherein said determining the search result based on the historical operational record and the first destination comprises:
determining a prioritization of each of the first destinations based on the historical operations;
determining the search result based on the first destination and the prioritization.
10. The method of claim 8 or 9, wherein the method further comprises:
and displaying the M destinations contained in the search result according to the priority sequence.
11. The method of any of claims 1-10, wherein after obtaining a search result containing M destinations by searching for keywords and the user's historical operating records, the method further comprises:
determining a selection destination from the M destinations based on the selection operation of the user;
providing relevant information of the selected destination, the relevant information comprising: navigation information from the current position to the selected destination, introduction information of the selected destination and contact information of the selected destination.
12. A search apparatus, comprising:
the first determining module is used for determining a search keyword corresponding to the search operation of the user;
the second determination module is used for determining the historical operation record of the user access process;
and the obtaining module is used for obtaining a search result containing M destinations through the search keyword and the historical operation record, wherein M is a positive integer.
13. An electronic device comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors the one or more programs including instructions for:
determining a search keyword corresponding to a search operation of a user;
determining a historical operation record of the user access process;
and obtaining a search result containing M destinations through the search keyword and the historical operation record, wherein M is a positive integer.
CN201610298538.4A 2016-05-06 2016-05-06 A kind of searching method, device and electronic equipment Pending CN107346316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610298538.4A CN107346316A (en) 2016-05-06 2016-05-06 A kind of searching method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610298538.4A CN107346316A (en) 2016-05-06 2016-05-06 A kind of searching method, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN107346316A true CN107346316A (en) 2017-11-14

Family

ID=60253029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610298538.4A Pending CN107346316A (en) 2016-05-06 2016-05-06 A kind of searching method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN107346316A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108572949A (en) * 2018-04-18 2018-09-25 链家网(北京)科技有限公司 A kind of houseclearing search processing method and device
CN109033210A (en) * 2018-06-29 2018-12-18 北京奇虎科技有限公司 A kind of method and apparatus for excavating map point of interest POI
CN109298904A (en) * 2018-08-10 2019-02-01 北京小蓦机器人技术有限公司 Information processing method, device, storage medium and computing device
CN109410935A (en) * 2018-11-01 2019-03-01 平安科技(深圳)有限公司 A kind of destination searching method and device based on speech recognition
CN109800360A (en) * 2018-12-24 2019-05-24 北京城市网邻信息技术有限公司 Cell queries method, apparatus, electronic equipment and storage medium
CN112818262A (en) * 2021-01-28 2021-05-18 上海博泰悦臻网络技术服务有限公司 Map POI searching method, system, device and medium based on user data
CN113360743A (en) * 2021-07-09 2021-09-07 南方电网数字电网研究院有限公司 Query data filtering method and device, computer equipment and storage medium
CN113505313A (en) * 2021-07-23 2021-10-15 北京字节跳动网络技术有限公司 Information query method and related equipment thereof
CN113678119A (en) * 2019-04-10 2021-11-19 三星电子株式会社 Electronic device and method for generating natural language responses
CN114090870A (en) * 2021-10-15 2022-02-25 北京搜狗科技发展有限公司 Search result processing method and device, electronic equipment and storage medium
CN115871711A (en) * 2022-12-07 2023-03-31 北京深测科技有限公司 Automatic driving method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102651031A (en) * 2012-03-31 2012-08-29 百度在线网络技术(北京)有限公司 Method and equipment for providing searching result
CN103353869A (en) * 2013-05-31 2013-10-16 百度在线网络技术(北京)有限公司 Method and server for providing search result based on user position
CN103646070A (en) * 2013-12-06 2014-03-19 北京趣拿软件科技有限公司 Data processing method and device for search engine
CN104239463A (en) * 2014-09-02 2014-12-24 百度在线网络技术(北京)有限公司 Search method and search engine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102651031A (en) * 2012-03-31 2012-08-29 百度在线网络技术(北京)有限公司 Method and equipment for providing searching result
CN103353869A (en) * 2013-05-31 2013-10-16 百度在线网络技术(北京)有限公司 Method and server for providing search result based on user position
CN103646070A (en) * 2013-12-06 2014-03-19 北京趣拿软件科技有限公司 Data processing method and device for search engine
CN104239463A (en) * 2014-09-02 2014-12-24 百度在线网络技术(北京)有限公司 Search method and search engine

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高俊款: "《网络信息检索》", 30 November 2015 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108572949A (en) * 2018-04-18 2018-09-25 链家网(北京)科技有限公司 A kind of houseclearing search processing method and device
CN109033210A (en) * 2018-06-29 2018-12-18 北京奇虎科技有限公司 A kind of method and apparatus for excavating map point of interest POI
CN109298904A (en) * 2018-08-10 2019-02-01 北京小蓦机器人技术有限公司 Information processing method, device, storage medium and computing device
CN109298904B (en) * 2018-08-10 2019-07-23 北京小蓦机器人技术有限公司 Information processing method, device, storage medium and calculating equipment
CN109410935A (en) * 2018-11-01 2019-03-01 平安科技(深圳)有限公司 A kind of destination searching method and device based on speech recognition
CN109800360A (en) * 2018-12-24 2019-05-24 北京城市网邻信息技术有限公司 Cell queries method, apparatus, electronic equipment and storage medium
CN113678119A (en) * 2019-04-10 2021-11-19 三星电子株式会社 Electronic device and method for generating natural language responses
CN112818262A (en) * 2021-01-28 2021-05-18 上海博泰悦臻网络技术服务有限公司 Map POI searching method, system, device and medium based on user data
CN112818262B (en) * 2021-01-28 2023-07-21 上海博泰悦臻网络技术服务有限公司 Map POI searching method, system, equipment and medium based on user data
CN113360743A (en) * 2021-07-09 2021-09-07 南方电网数字电网研究院有限公司 Query data filtering method and device, computer equipment and storage medium
CN113505313A (en) * 2021-07-23 2021-10-15 北京字节跳动网络技术有限公司 Information query method and related equipment thereof
CN114090870A (en) * 2021-10-15 2022-02-25 北京搜狗科技发展有限公司 Search result processing method and device, electronic equipment and storage medium
CN115871711A (en) * 2022-12-07 2023-03-31 北京深测科技有限公司 Automatic driving method

Similar Documents

Publication Publication Date Title
CN107346316A (en) A kind of searching method, device and electronic equipment
US20180121040A1 (en) Method and device for managing notification messages
CN107305569B (en) Information processing method and device
CN107621886B (en) Input recommendation method and device and electronic equipment
CN107315487B (en) Input processing method and device and electronic equipment
CN110955821B (en) A recommendation method, device and readable medium
CN106600331A (en) Method and apparatus for running advertisements
CN107402937B (en) Searching method and device and electronic equipment
CN105933863B (en) Method and device for adding friends and electronic equipment
US11546663B2 (en) Video recommendation method and apparatus
CN108874827B (en) Searching method and related device
CN112445970A (en) Information recommendation method and device, electronic equipment and storage medium
CN108460651A (en) Vehicle recommends method and device
CN106649781A (en) Application recommendation method and device
CN105373580A (en) Method and device for displaying subjects
CN104268151B (en) contact person grouping method and device
CN106815291B (en) Search result item display method and device and search result item display device
CN112052395A (en) Data processing method and device
CN106776990B (en) Information processing method and device and electronic equipment
CN108205534B (en) Skin resource display method and device and electronic equipment
CN107870941B (en) Webpage sorting method, device and equipment
CN107807929B (en) Information processing method, device and equipment
CN109669550B (en) Method and device for obtaining user word stock
CN108073664B (en) Information processing method, device, equipment and client equipment
CN107515853B (en) Cell word bank pushing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171114

RJ01 Rejection of invention patent application after publication