CN110555151A - Search term determination method and device, electronic equipment and storage medium - Google Patents

Search term determination method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110555151A
CN110555151A CN201910855107.7A CN201910855107A CN110555151A CN 110555151 A CN110555151 A CN 110555151A CN 201910855107 A CN201910855107 A CN 201910855107A CN 110555151 A CN110555151 A CN 110555151A
Authority
CN
China
Prior art keywords
area
target
preset
search word
search
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
CN201910855107.7A
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 Xingxuan Technology Co Ltd
Original Assignee
Beijing Xingxuan Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xingxuan Technology Co Ltd filed Critical Beijing Xingxuan Technology Co Ltd
Priority to CN201910855107.7A priority Critical patent/CN110555151A/en
Publication of CN110555151A publication Critical patent/CN110555151A/en
Pending legal-status Critical Current

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
    • 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/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries

Abstract

The embodiment of the disclosure discloses a method and a device for determining search terms, electronic equipment and a storage medium. The method comprises the following steps: acquiring position information of a target user; determining a target area where a target user is located according to the position information of the target user; acquiring a first target search word corresponding to a target area; the first target search word is at least one search word of which the search times exceed a first preset value when a user in the target area searches; and pushing the first target search word to a client corresponding to the target user. According to the embodiment of the disclosure, one of the three dimensions of the preset region, the grid region and the administrative region can be selected according to the preset priority to obtain the first target search word, so that the problem of low accuracy caused by obtaining the search word by using the region with larger granularity in the prior art is solved, and the problem that the search word cannot be recalled caused by obtaining the search word by using a single dimension is also solved.

Description

Search term determination method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for determining a search term, an electronic device, and a storage medium.
background
The online platform typically presents some hot search terms at the search portal for guiding the user's search behavior. Most of the existing acquisition logics of the popular search terms are the popular search terms of a statistical online platform and are directly displayed to users. In the method, high-quality content is mined by mass behaviors and recommended to users in a hot search word form, so that the users with indefinite requirements are guided to click the recommended hot search words to acquire resources of the online platform. For example, if the hot search words of the day before the online platform are "hot spicy soup" and "dumpling", the hot search words are directly displayed at the search entrance. How to accurately determine the hot search word and further save the search time of the user is a technical problem which needs to be solved urgently.
disclosure of Invention
The embodiment of the disclosure provides a method and a device for determining search terms, electronic equipment and a storage medium.
In a first aspect, a method for determining search terms is provided in an embodiment of the present disclosure.
Specifically, the method for determining the search term includes:
acquiring position information of a target user;
Determining a target area where the target user is located according to the position information of the target user;
acquiring a first target search word corresponding to the target area; the first target search word is at least one search word of which the search times exceed a first preset value when a user in the target area searches;
And pushing the first target search word to a client corresponding to the target user.
With reference to the first aspect, in a first implementation manner of the first aspect, the target area is one of a preset area, a grid area, and an administrative area; the preset area is a part of area which is divided from administrative areas in advance; the grid region is a region obtained by meshing the complete administrative region.
with reference to the first aspect and/or the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the obtaining a first target search term corresponding to the target area includes:
and acquiring a first target search word corresponding to one of the preset area, the grid area and the administrative area according to a preset priority among the preset area, the grid area and/or the administrative area.
With reference to the first aspect, the first implementation manner of the first aspect, and/or the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the determining a target area where the target user is located according to the location information of the target user includes:
and matching the position information with the position range of the target area.
With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, and/or the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the preset priorities are in the order: preset region > grid region > administrative region.
with reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, the third implementation manner of the first aspect, and/or the fourth implementation manner of the first aspect, in a fifth implementation manner of the first aspect, the obtaining a first target search term corresponding to one of the preset area, the grid area, and the administrative area according to a preset priority among the preset area, the grid area, and/or the administrative area includes:
and when the target user is not located in the target area with the front priority or the first target search word corresponding to the target area with the front priority corresponding to the target user is not obtained, obtaining the first target search word from the target area with the rear priority.
with reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, the third implementation manner of the first aspect, the fourth implementation manner of the first aspect, and/or the fifth implementation manner of the first aspect, in a sixth implementation manner of the first aspect, the obtaining a first target search term corresponding to one of the preset area, the grid area, and the administrative area according to a preset priority among the preset area, the grid area, and/or the administrative area includes:
counting candidate search terms used for searching by users located in the target area within a preset time period; the searching times of the candidate searching words exceed a second preset value; the target area is one of the preset area, the grid area and the administrative area which are selected according to the preset priority;
And preprocessing the candidate search word, and taking the candidate search word with the search times exceeding a first preset value as the first target search word.
With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, the third implementation manner of the first aspect, the fourth implementation manner of the first aspect, the fifth implementation manner of the first aspect, and/or the sixth implementation manner of the first aspect, in a seventh implementation manner of the first aspect, the obtaining a first target search term corresponding to one of the preset area, the grid area, and the administrative area according to a preset priority among the preset area, the grid area, and/or the administrative area includes:
When the preset area corresponding to the target user exists, determining at least one search word with the search times exceeding a first preset value in the preset area as the first target search word;
and when the preset area corresponding to the target user does not exist, determining at least one search word of which the search times in the grid area where the target user is located exceed a first preset value as the first target search word.
with reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, the third implementation manner of the first aspect, the fourth implementation manner of the first aspect, the fifth implementation manner of the first aspect, the sixth implementation manner of the first aspect, and/or the seventh implementation manner of the first aspect, in an eighth implementation manner of the first aspect, the obtaining a first target search term corresponding to one of the preset area, the grid area, and the administrative area according to a preset priority among the preset area, the grid area, and/or the administrative area further includes:
When the preset area corresponding to the target user exists and at least one search word of which the search times in the preset area exceed a first preset value does not exist, determining the at least one search word of which the search times in the grid area where the target user is located exceed the first preset value as the first target search word;
And when at least one search word of which the search times in the grid area exceed a first preset value does not exist, determining at least one search word of which the search times in the administrative area where the target user is located exceed the first preset value as the first target search word.
with reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, the third implementation manner of the first aspect, the fourth implementation manner of the first aspect, the fifth implementation manner of the first aspect, the sixth implementation manner of the first aspect, the seventh implementation manner of the first aspect, and/or the eighth implementation manner of the first aspect, in a ninth implementation manner of the first aspect, the disclosure further includes:
acquiring preset operation data of a preset number, which are generated by the target user in the latest time from the current time;
And determining a second target search word according to the preset operation data.
With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, the third implementation manner of the first aspect, the fourth implementation manner of the first aspect, the fifth implementation manner of the first aspect, the sixth implementation manner of the first aspect, the seventh implementation manner of the first aspect, the eighth implementation manner of the first aspect, and/or the ninth implementation manner of the first aspect, the present disclosure further includes, in a tenth implementation manner of the first aspect:
Acquiring historical behavior data of the target user in a preset time period;
And determining a third target search word according to the historical behavior data.
With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, the third implementation manner of the first aspect, the fourth implementation manner of the first aspect, the fifth implementation manner of the first aspect, the sixth implementation manner of the first aspect, the seventh implementation manner of the first aspect, the eighth implementation manner of the first aspect, the ninth implementation manner of the first aspect, and/or the tenth implementation manner of the first aspect, in an eleventh implementation manner of the first aspect, the pushing the first target search word to a client corresponding to the target user includes:
and pushing the first target search word, the second target search word and the third target search word to a client corresponding to the target user according to a preset display sequence.
in a second aspect, a search term determination apparatus is provided in an embodiment of the present disclosure.
Specifically, the search term determination device includes:
A first acquisition module configured to acquire location information of a target user;
the first determination module is configured to determine a target area where the target user is located according to the position information of the target user;
the second acquisition module is configured to acquire a first target search word corresponding to the target area; the first target search word is at least one search word of which the search times exceed a first preset value when a user in the target area searches;
And the pushing module is configured to push the first target search word to a client corresponding to the target user.
The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions.
in one possible design, the structure of the search term determining apparatus includes a memory and a processor, the memory is used for storing one or more computer instructions that support the search term determining apparatus to execute the search term determining method in the first aspect, and the processor is configured to execute the computer instructions stored in the memory. The search term determining means may further comprise a communication interface for communicating the search term determining means with other devices or a communication network.
in a third aspect, an embodiment of the present disclosure provides an electronic device, including a memory and a processor; wherein the memory is to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method steps of:
Acquiring position information of a target user;
Determining a target area where the target user is located according to the position information of the target user;
Acquiring a first target search word corresponding to the target area; the first target search word is at least one search word of which the search times exceed a first preset value when a user in the target area searches;
And pushing the first target search word to a client corresponding to the target user.
with reference to the third aspect, in a first implementation manner of the third aspect, the target area is one of a preset area, a grid area, and an administrative area; the preset area is a part of area which is divided from administrative areas in advance; the grid region is a region obtained by meshing the complete administrative region.
With reference to the third aspect and/or the first implementation manner of the third aspect, in a second implementation manner of the third aspect, the obtaining a first target search term corresponding to the target area includes:
and acquiring a first target search word corresponding to one of the preset area, the grid area and the administrative area according to a preset priority among the preset area, the grid area and/or the administrative area.
with reference to the third aspect, the first implementation manner of the third aspect, and/or the second implementation manner of the third aspect, in a third implementation manner of the third aspect, the determining a target area where the target user is located according to the location information of the target user includes:
And matching the position information with the position range of the target area.
with reference to the third aspect, the first implementation manner of the third aspect, the second implementation manner of the third aspect, and/or the third implementation manner of the third aspect, in a fourth implementation manner of the third aspect, the preset priorities are in the order: preset region > grid region > administrative region.
with reference to the third aspect, the first implementation manner of the third aspect, the second implementation manner of the third aspect, the third implementation manner of the third aspect, and/or the fourth implementation manner of the third aspect, in a fifth implementation manner of the third aspect, the obtaining a first target search term corresponding to one of the preset area, the grid area, and the administrative area according to a preset priority among the preset area, the grid area, and/or the administrative area includes:
And when the target user is not located in the target area with the front priority or the first target search word corresponding to the target area with the front priority corresponding to the target user is not obtained, obtaining the first target search word from the target area with the rear priority.
with reference to the third aspect, the first implementation manner of the third aspect, the second implementation manner of the third aspect, the third implementation manner of the third aspect, the fourth implementation manner of the third aspect, and/or the fifth implementation manner of the third aspect, in a sixth implementation manner of the third aspect, the obtaining, according to a preset priority among the preset area, the grid area, and/or the administrative area, a first target search term corresponding to one of the preset area, the grid area, and the administrative area includes:
counting candidate search terms used for searching by users located in the target area within a preset time period; the searching times of the candidate searching words exceed a second preset value; the target area is one of the preset area, the grid area and the administrative area which are selected according to the preset priority;
And preprocessing the candidate search word, and taking the candidate search word with the search times exceeding a first preset value as the first target search word.
With reference to the third aspect, the first implementation manner of the third aspect, the second implementation manner of the third aspect, the third implementation manner of the third aspect, the fourth implementation manner of the third aspect, the fifth implementation manner of the third aspect, and/or the sixth implementation manner of the third aspect, in a seventh implementation manner of the third aspect, the obtaining a first target search term corresponding to one of the preset area, the grid area, and the administrative area according to a preset priority among the preset area, the grid area, and/or the administrative area includes:
when the preset area corresponding to the target user exists, determining at least one search word with the search times exceeding a first preset value in the preset area as the first target search word;
And when the preset area corresponding to the target user does not exist, determining at least one search word of which the search times in the grid area where the target user is located exceed a first preset value as the first target search word.
With reference to the third aspect, the first implementation manner of the third aspect, the second implementation manner of the third aspect, the third implementation manner of the third aspect, the fourth implementation manner of the third aspect, the fifth implementation manner of the third aspect, the sixth implementation manner of the third aspect, and/or the seventh implementation manner of the third aspect, in an eighth implementation manner of the third aspect, the obtaining, according to a preset priority among the preset area, the grid area, and/or the administrative area, a first target search term corresponding to one of the preset area, the grid area, and the administrative area, further includes:
when the preset area corresponding to the target user exists and at least one search word of which the search times in the preset area exceed a first preset value does not exist, determining the at least one search word of which the search times in the grid area where the target user is located exceed the first preset value as the first target search word;
And when at least one search word of which the search times in the grid area exceed a first preset value does not exist, determining at least one search word of which the search times in the administrative area where the target user is located exceed the first preset value as the first target search word.
With reference to the third aspect, the first implementation manner of the third aspect, the second implementation manner of the third aspect, the third implementation manner of the third aspect, the fourth implementation manner of the third aspect, the fifth implementation manner of the third aspect, the sixth implementation manner of the third aspect, the seventh implementation manner of the third aspect, and/or the eighth implementation manner of the third aspect, in a ninth implementation manner of the third aspect, the present disclosure obtains a preset number of pieces of preset operation data that is generated latest by the target user from the current time;
And determining a second target search word according to the preset operation data.
with reference to the third aspect, the first implementation manner of the third aspect, the second implementation manner of the third aspect, the third implementation manner of the third aspect, the fourth implementation manner of the third aspect, the fifth implementation manner of the third aspect, the sixth implementation manner of the third aspect, the seventh implementation manner of the third aspect, the eighth implementation manner of the third aspect, and/or the ninth implementation manner of the third aspect, in a tenth implementation manner of the third aspect, the one or more computer instructions are further executed by the processor to implement the following method steps:
Acquiring historical behavior data of the target user in a preset time period;
And determining a third target search word according to the historical behavior data.
With reference to the third aspect, the first implementation manner of the third aspect, the second implementation manner of the third aspect, the third implementation manner of the third aspect, the fourth implementation manner of the third aspect, the fifth implementation manner of the third aspect, the sixth implementation manner of the third aspect, the seventh implementation manner of the third aspect, the eighth implementation manner of the third aspect, the ninth implementation manner of the third aspect, and/or the tenth implementation manner of the third aspect, in an eleventh implementation manner of the third aspect, the pushing the first target search word to a client corresponding to the target user includes:
And pushing the first target search word, the second target search word and the third target search word to a client corresponding to the target user according to a preset display sequence.
in a fourth aspect, the disclosed embodiments provide a computer-readable storage medium for storing computer instructions for a search term determination apparatus, which includes computer instructions for performing any of the methods described above.
the technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the method and the device for searching the target search words in the three areas determine the preset area, the grid area and/or the administrative area where the target user is located according to the position information of the target user, and acquire the target search words corresponding to one of the three areas according to the preset priority among the three areas. By the method, one of the preset areas can be selected from three dimensions of the preset area, the grid area and the administrative area according to the preset priority to obtain the first target search word, so that the problem that in the prior art, the accuracy is low due to the fact that the search word is obtained by the area with the larger granularity is solved, and the problem that the search word cannot be recalled due to the fact that the search word is obtained by the single dimension is solved.
it is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
drawings
Other features, objects, and advantages of the present disclosure will become more apparent from the following detailed description of non-limiting embodiments when taken in conjunction with the accompanying drawings. In the drawings:
FIG. 1 illustrates a flow diagram of a search term determination method according to an embodiment of the present disclosure;
fig. 2 illustrates a flowchart of a first target search term acquisition section according to an embodiment of the present disclosure;
FIG. 3 illustrates yet another flowchart of the first target search term acquisition section according to an embodiment of the present disclosure;
Fig. 4 illustrates still another flowchart of the first target search term acquisition section according to an embodiment of the present disclosure;
Fig. 5 illustrates a flowchart of a second target search term acquisition section according to an embodiment of the present disclosure;
Fig. 6 illustrates a flowchart of a third target search term acquisition section according to an embodiment of the present disclosure;
Fig. 7 illustrates a block diagram of a structure of a search term determination apparatus according to an embodiment of the present disclosure;
FIG. 8 shows a block diagram of a first acquisition submodule, according to an embodiment of the present disclosure;
FIG. 9 shows a further block diagram of a first acquisition submodule according to an embodiment of the disclosure;
FIG. 10 illustrates yet another block diagram of a first acquisition submodule according to an embodiment of the present disclosure;
Fig. 11 is a block diagram illustrating a structure of a second target search word acquisition section according to an embodiment of the present disclosure;
Fig. 12 is a block diagram illustrating a structure of a third target search word acquisition section according to an embodiment of the present disclosure;
fig. 13 is a schematic structural diagram of an electronic device suitable for implementing a search term determination method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. Also, for the sake of clarity, parts not relevant to the description of the exemplary embodiments are omitted in the drawings.
In the present disclosure, it is to be understood that terms such as "including" or "having," etc., are intended to indicate the presence of the disclosed features, numbers, steps, behaviors, components, parts, or combinations thereof, and are not intended to preclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or combinations thereof may be present or added.
It should be further noted that the embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates a flowchart of a search term determination method according to an embodiment of the present disclosure. As shown in fig. 1, the search term determination method includes the steps of:
In step S101, location information of a target user is acquired;
In step S102, determining a target area where the target user is located according to the position information of the target user;
in step S103, a first target search term corresponding to the target area is obtained; the first target search word is at least one search word of which the search times exceed a first preset value when a user in the target area searches;
in step S104, the first target search term is pushed to the client corresponding to the target user.
In this embodiment, the target user may be any user of the online platform. The online platform provides a search entry for the user to search for resources provided by the online platform. To guide the search behavior of users with ambiguous requirements, or to label current more popular resources, online platforms typically display statistically popular search terms at the search portal.
in the embodiment of the disclosure, when a popular search word is recommended to a target user, a target area where the target user is located is determined according to current position information of the target user, and a first target search word corresponding to the target area, that is, the popular search word, is determined and then pushed to the target user.
The first target search term may be at least one search term of which the number of searches used by the user in the target area during searching exceeds a first preset value; the first preset value can be set according to actual needs, and is not limited herein. The first target search term can be determined by counting the times of search terms used by users in the target area when searching on the system platform within a preset time period and selecting the times of use exceeding a first preset threshold value from the times of use.
in some embodiments, the target area is one of a preset area, a grid area, and an administrative area; the preset area is a part of area which is divided from administrative areas in advance; the grid region is a region obtained by meshing the complete administrative region.
In the embodiment of the present disclosure, the preset area is a partial area divided from an administrative area in advance. In some embodiments, the administrative area may be an administrative area of a country, a province, a city, an urban area, a county, a town, a county, or the like, and the preset area may be a part of an area divided from the administrative area by population density, a commercial bloom degree, or the like, and a plurality of preset areas may be divided in one administrative area, and the plurality of preset areas may not necessarily cover the entire administrative area. The predetermined area may be, for example, a business district, i.e., an area with more business activities divided by extending outward around one or more stores, malls, etc.
The grid area is an area obtained by dividing a complete administrative area in a full scale, that is, one administrative area is divided into a plurality of grid areas according to a grid form, and the plurality of grid areas cover the whole administrative area. It is understood that there are cases where some locations within an administrative area are not divided into any one preset area, but all locations within an administrative area will belong to one of the grid areas. The grid area may be divided according to actual needs of the online platform, for example, the grid area may be divided in a manner that an area surrounded by roads, bridges, and the like in the administrative area is used as one grid area, and the grid area may also be divided in a manner of longitude and latitude, which may be specifically determined according to actual situations, and is not limited herein.
It should be noted that in some embodiments, the grid area may be a smaller-granularity area than the preset area, for example, one preset area may include a plurality of grid areas.
in some embodiments, in step S103, the step of obtaining the first target search term corresponding to the target area further includes:
and acquiring a first target search word corresponding to one of the preset area, the grid area and the administrative area according to a preset priority among the preset area, the grid area and/or the administrative area.
in the embodiment of the present disclosure, the preset priority is preset according to the actual situation of the online platform. For example, the online platform is a takeaway ordering platform, and since the distribution density of catering merchants corresponding to the takeaway ordering platform is high in a business district and low in an area outside the business district, a user usually selects a shop in the business district where the user is located to place an order; therefore, for the takeaway ordering platform, the preset priority can be set as follows: preset region > grid region > administrative region. That is to say, when counting the target search term, statistics may be performed according to a preset region where the target user is located, if the target user is not located in any preset region divided in advance, statistics may be performed in a grid region where the target user is located, and if the target search term is not obtained through statistics in the grid region, statistics may be performed for the entire administrative region. Therefore, the target search words used most in the preset area can be accurately counted for the target users in the preset area, for the target users outside the preset area, counting can be carried out through the grid area, and the target search words which are more accurate can also be counted due to the fact that the granularity of the area for counting is smaller; if the target search terms with the search times exceeding the first preset value cannot be obtained through statistics in the grid area, the target search terms can be obtained through statistics in the whole administrative area range, and finally the target search terms can be obtained for any target user.
the first target search word may be at least one search word of which the number of searches in one of the preset area, the grid area, and the administrative area exceeds a first preset value. When the first target search term is obtained, the search terms of which the number of searches performed by the user in the area exceeds the first preset value within a preset time period may be counted from the area with the highest priority (which may be a preset area, a grid area, or an administrative area) according to a preset priority. In some embodiments, the number of searches of the first target search term in the area selected according to the preset priority exceeds a first preset value, and when there are more search terms whose number of searches exceeds the first preset value, one or more search terms having the largest number of searches may be selected as the first target search term.
If the search word with the search frequency exceeding the first preset value is not obtained in the area with the higher priority, or the target user is not in the area with the higher priority (for example, if the area with the higher priority is a preset area), the area with the next priority can be selected for statistics, and finally the first target search word is obtained and further pushed to the target user.
the method and the device for searching the target area determine the target area where the target user is located according to the position information of the target user, for example, one of a preset area, a grid area and/or an administrative area, and acquire the target search word corresponding to one of the three areas according to the preset priority among the three areas. By the method, one of the preset areas can be selected from three dimensions of the preset area, the grid area and the administrative area according to the preset priority to obtain the first target search word, so that the problem that in the prior art, the accuracy is low due to the fact that the search word is obtained by the area with the larger granularity is solved, and the problem that the search word cannot be recalled due to the fact that the search word is obtained by the single dimension is solved.
in an optional implementation manner of this embodiment, the step S102, namely, the step of determining the target area where the target user is located according to the location information of the target user, further includes the following steps:
And matching the position information with the position range of the target area.
In this optional implementation, after the position information of the target user is obtained, the position information is matched with a position range of a pre-divided target area, such as a preset area, a grid area, and/or an administrative area, and an area corresponding to the position range where the position information is located, such as the preset area, the grid area, and/or the administrative area, is used as the target area where the target user is located.
In an optional implementation manner of this embodiment, the order of the preset priorities is: preset region > grid region > administrative region.
in this optional implementation, the preset area in the preset priority has the highest priority, and then the grid area, and finally the administrative area. In this way, the first target search term may be counted preferentially in the preset area, and when the target user is outside any one preset area (e.g., business district), the first target search term may be counted in the grid area where the target user is located. Since the location area outside the preset area may be a region with a low population density or a region with a low business prosperous area, the search term with the search frequency exceeding the preset threshold value in the preset time period may not be counted, and thus, in this case, counting may be performed in the whole administrative area. By the method, the accuracy of the popular search terms can be improved, and the situation that the popular search terms cannot be obtained is avoided.
In an optional implementation manner of this embodiment, the step of obtaining the first target search term corresponding to one of the preset area, the grid area, and the administrative area according to a preset priority among the preset area, the grid area, and/or the administrative area further includes the following steps:
And when the target user is not located in the target area with the front priority or the first target search word corresponding to the target area with the front priority corresponding to the target user is not obtained, obtaining the first target search word from the target area with the rear priority.
In this optional implementation manner, when the target user is not located in any target area with a higher priority (for example, when the priority of a preset area is higher than that of the preset area), or when the target search word with the search frequency exceeding the first preset value cannot be obtained through statistics in the target area with the higher priority, the target search word can be obtained through statistics in the target area with the next priority, the target search word obtained through statistics in the target area with the higher priority can be the most accurate hot search word, but is not located in the target area with the higher priority, or when the hot search word with the search frequency exceeding the first preset value cannot be obtained, statistics can be performed from the target area with the lower priority, and on the premise that the target search word with the higher accuracy is obtained preferentially, it is further ensured that the target search word can be finally obtained for the target user.
in an optional implementation manner of this embodiment, as shown in fig. 2, the step of obtaining the first target search term corresponding to one of the preset area, the grid area, and the administrative area according to a preset priority among the preset area, the grid area, and/or the administrative area further includes the following steps:
in step S201, counting candidate search terms used by a user in the target area for searching within a preset time period; the searching times of the candidate searching words exceed a second preset value; the target area is one of the preset area, the grid area and the administrative area which are selected according to the preset priority;
In step S202, the candidate search term is preprocessed, and the candidate search term whose search frequency exceeds a first preset value is used as the first target search term.
in this optional implementation manner, when counting the first target search term, for a target area, that is, one of the preset area, the grid area, and the administrative area, the search term used when the user searches in the target area within a preset time period may be counted, and the search term of which the search frequency exceeds the second preset value is taken as a candidate search term. Preprocessing, such as filtering, text processing, etc., may be performed on the candidate search terms. And then selecting one or more candidate search terms with the largest search frequency from the candidate search terms as a first target search term, or selecting the candidate search terms with the search frequency exceeding a first preset value from the candidate search terms as the first target search term.
For example, for a take-away ordering system, the pre-processing of the candidate search terms may include filtering and text processing. In the filtering process, aiming at the business terms, modes such as filtering non-catering terms, filtering non-result business terms, filtering business terms in non-business hours and the like can be filtered according to the business range; for dish words, non-catering dish words can be filtered. In the text processing process, aiming at merchant words, each word can be reduced to be within 5 characters, the content foundation in brackets is removed, the characters of 'purchasing' and 'running legs' are removed, and special characters are removed; ensuring that the child length of each character is more than or equal to 2 and less than or equal to 5 aiming at the dish words, removing brackets, removing words in the characters of 'purchasing instead of purchasing' and 'running legs', and removing special characters.
In addition, for the takeaway ordering system, only the search terms corresponding to the hot sales merchants and the hot sales dishes can be counted when the statistics is performed from the administrative region dimension. When the hot merchants are counted, only merchants in the distribution range of the target user can be considered, the merchant is screened from the aspects of distribution distance, sales volume and the like, and finally, merchant words corresponding to the merchants with the highest sales volume are selected; when the hot dishes are counted, several dish words with the largest searching times can be selected from the searching words with the searching times larger than 5.
And filtering and text processing can be performed on the hot commercial customers and the hot dishes obtained by statistics. In the filtering process, aiming at popular business terms, modes such as filtering non-catering terms, filtering non-result business terms, filtering business terms in non-business hours and the like can be filtered according to the operation range; aiming at popular dish words, non-catering dish words can be filtered. In the text processing process, aiming at popular business words, each word can be reduced to be within 5 characters, the content foundation in brackets is removed, the characters of 'purchasing' and 'running legs' are removed, and special characters are removed; aiming at popular dish words, the child length of each word is ensured to be more than or equal to 2 and less than or equal to 5, brackets are removed, words of the characters of 'purchasing' and 'running legs' are removed, and special characters are removed.
In an optional implementation manner of this embodiment, as shown in fig. 3, the step of obtaining the first target search term corresponding to one of the preset area, the grid area, and the administrative area according to a preset priority among the preset area, the grid area, and/or the administrative area further includes the following steps:
in step S301, when the preset area corresponding to the target user exists, determining at least one search word whose search frequency in the preset area exceeds a first preset value as the first target search word;
in step S302, when the preset area corresponding to the target user does not exist, determining at least one search term, in which the number of searches in the grid area where the target user is located exceeds a first preset value, as the first target search term.
in this alternative implementation, since the preset areas are partial areas divided from administrative areas according to population density, commercial bloom degree, and the like, and all the divided preset areas do not cover the entire administrative area, there are cases where some users are not located in any one preset area.
Therefore, if the target user is in any one of the preset areas divided in advance, the first target search word with the search times exceeding the first preset value is obtained by statistics in the preset area preferentially; and if the target user is not in any preset area, counting the first target search terms with the search times exceeding a first preset value from the grid area corresponding to the target user.
this is because, for most online platforms, because the population density in the preset area is high, the degree of commercial flourishing is high, and the repetition rate of the search word used by the user in this area is high, the accuracy is higher for the target user in the preset area to count the hot search words in the preset area to obtain the first target search word. For target users who are not in the preset area, the first target search word is obtained by using grid area statistics with smaller granularity, and the accuracy rate of the first target search word is higher than that of a result obtained by using large-granularity area (such as administrative area) statistics; and finally, the first target search word is obtained by adopting administrative region statistics, so that the first target search word corresponding to any target user can be ensured to be obtained finally.
in an optional implementation manner of this embodiment, as shown in fig. 4, the step of obtaining the first target search term corresponding to one of the preset area, the grid area, and the administrative area according to a preset priority among the preset area, the grid area, and/or the administrative area further includes the following steps:
In step S401, when the preset area corresponding to the target user exists and there is no at least one search term in which the search frequency in the preset area exceeds a first preset value, determining at least one search term in which the search frequency in the grid area where the target user is located exceeds the first preset value as the first target search term;
in step S402, when there is no at least one search word whose search frequency in the grid area exceeds a first preset value, determining at least one search word whose search frequency in the administrative area where the target user is located exceeds the first preset value as the first target search word.
in the optional implementation manner, the target user corresponds to a preset area, but when the first target search word with the search frequency exceeding the first preset value is not obtained in the preset area, the grid area with the second lowest priority may be selected for statistics, and if the first target search word with the search frequency exceeding the first preset value cannot be obtained through statistics in the grid area, the administrative area with the lowest priority is selected for statistics, so that the corresponding first target search word is finally ensured to be obtained.
In an optional implementation manner of this embodiment, as shown in fig. 5, the method further includes the following steps:
in step S501, a preset number of pieces of preset operation data, which are generated latest by the target user from the current time, are acquired;
in step S502, a second target search term is determined according to the preset operation data.
in this optional implementation, the preset operation data includes, but is not limited to, search, click, browse, and order placing operations of the target user on the online platform; the last preset number of preset operation data may be the last operation data of the target user for searching, clicking, browsing or ordering on the online platform.
The second target search term may include, but is not limited to, a keyword corresponding to an object that the target user has searched, clicked, browsed, or placed an order most recently from the current time, and similar keywords.
In some embodiments, the preset operation data may be data related to the last three click operations of the target user on the online platform
In some embodiments, when the second target search term sum is counted, a filtering operation may be performed on the obtained preset operation data, for example, for a takeaway ordering system, the filtering operation may be performed in a manner of selecting only a returnable and business-in business merchant, a merchant with a distance of, for example, 5km or more, a merchant with a quality of, for example, a filtered monthly sales volume of less than 30 and a score of less than 4.3, and the like, according to an operation range, for example, catering, and a business state, for example, related to a few number of click operations newly generated by a target user, and the filtering operation may be performed in a manner of, for example, catering, recalling conditions, such as a result of a recalling merchant within 5km, and dish quality, such as a dish with a filtered monthly sales volume of less than 100; and then, text processing can be performed on the filtered names of the merchants, the dishes and the like, for example, the filtered names of the merchants can be processed in a manner of removing parenthesis content, removing 'purchasing' and the like, and finally the second target search term is obtained from the filtered data. The second target search word obtained in this way is a search word corresponding to a resource which is recently focused by the target user, so that the search word obtained by filtering the search word in the preset operation data through the target area where the target user is currently located is a search word which is available for the target user with a high probability, and the search word is recommended to the target user so as to help the target user to quickly hit the required information.
In an optional implementation manner of this embodiment, as shown in fig. 6, the method further includes the following steps:
In step S601, obtaining historical behavior data of the target user within a preset time period;
In step S602, a third target search term is determined according to the historical behavior data.
in this alternative implementation, the historical behavior data includes, but is not limited to, operation data of searching, clicking, browsing, ordering and the like of the online platform by the target user within a preset time period. The third target search term may include, but is not limited to, a keyword corresponding to an object searched, clicked, browsed or placed by the target user within a preset time period, a similar keyword, and the like.
In some embodiments, the historical behavior data may be data that a user searched for, placed an order within three months.
In some embodiments, when the third target search term is counted, a filtering operation may be performed on the obtained historical behavior data, for example, for a takeaway ordering system, a filtering operation may be performed on merchants that a target user has searched or made a list within three months, according to a management range such as dining, a business state such as only a retrievable and in-business merchant, a distance such as a filtering distance of more than 5km, a merchant quality such as a filtering monthly sales volume of less than 30, and a score of less than 4.3; the method can also be used for searching or ordering dishes within three months for the target user, and filtering can be performed according to the types of the dishes, such as catering, recall conditions, such as results of merchants within 5km, the quality of the dishes, such as dishes with filtered monthly sales of less than 100, and the like; and then performing text processing on the names of the merchants, the dishes and the like obtained by filtering, for example, processing in a manner that the merchants can remove parenthesis content, remove characters such as "shopping" and the like, and finally obtaining a third target search term from the data obtained by filtering. The third target search word obtained in this way is a search word corresponding to a resource that the target user likes or is accustomed to focus on for a long period of time, so that the habit is very good, and the search word obtained by filtering the search word in the preset operation data through the target area where the target user is currently located is a search word that the target user uses with a high probability, so that recommending the search word to the target user can help the target user to quickly hit the required information.
In an optional implementation manner of this embodiment, in the step S104, that is, the step of pushing the first target search term to the client corresponding to the target user further includes the following steps:
And pushing the first target search word, the second target search word and the third target search word to a client corresponding to the target user according to a preset display sequence.
in this optional implementation manner, the hot search terms finally pushed to the target user may include a first target search term, a second target search term, and a third target search term, and the first target search term, the second target search term, and the third target search term may be pushed according to a preset display order, and may be displayed according to the pushed order at the client.
In some embodiments, the preset display order may be a manner in which the third target search word, the first target search word, and the third target search word are sequentially cycled, that is, the first bit in the preset display order is the third target search word, the second bit is the first target search word, the third bit is the second target search word, the fourth bit is another third target search word, the fifth bit is another first target search word, the sixth bit is another second target search word, and so on.
the following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 7 illustrates a block diagram of a search term determination apparatus, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both, according to an embodiment of the present disclosure. As shown in fig. 7, the search term determination means includes:
A first obtaining module 701 configured to obtain location information of a target user;
A first determining module 702, configured to determine a target area where the target user is located according to the location information of the target user;
A second obtaining module 703 configured to obtain a first target search term corresponding to the target area; the first target search word is at least one search word of which the search times exceed a first preset value when a user in the target area searches;
A pushing module 704 configured to push the first target search term to a client corresponding to the target user.
In this embodiment, the target user may be any user of the online platform. The online platform provides a search entry for the user to search for resources provided by the online platform. To guide the search behavior of users with ambiguous requirements, or to label current more popular resources, online platforms typically display statistically popular search terms at the search portal.
in the embodiment of the disclosure, when a popular search word is recommended to a target user, a target area where the target user is located is determined according to current position information of the target user, and a first target search word corresponding to the target area, that is, the popular search word, is determined and then pushed to the target user.
The first target search term may be at least one search term of which the number of searches used by the user in the target area during searching exceeds a first preset value; the first preset value can be set according to actual needs, and is not limited herein. The first target search term can be determined by counting the times of search terms used by users in the target area when searching on the system platform within a preset time period and selecting the times of use exceeding a first preset threshold value from the times of use.
in some embodiments, the target area is one of a preset area, a grid area, and an administrative area; the preset area is a part of area which is divided from administrative areas in advance; the grid region is a region obtained by meshing the complete administrative region.
In the embodiment of the present disclosure, the preset area is a partial area divided from an administrative area in advance. In some embodiments, the administrative area may be an administrative area of a country, a province, a city, an urban area, a county, a town, a county, or the like, and the preset area may be a part of an area divided from the administrative area by population density, a commercial bloom degree, or the like, and a plurality of preset areas may be divided in one administrative area, and the plurality of preset areas may not necessarily cover the entire administrative area. The predetermined area may be, for example, a business district, i.e., an area with more business activities divided by extending outward around one or more stores, malls, etc.
the grid area is an area obtained by dividing a complete administrative area in a full scale, that is, one administrative area is divided into a plurality of grid areas according to a grid form, and the plurality of grid areas cover the whole administrative area. It is understood that there are cases where some locations within an administrative area are not divided into any one preset area, but all locations within an administrative area will belong to one of the grid areas. The grid area may be divided according to actual needs of the online platform, for example, the grid area may be divided in a manner that an area surrounded by roads, bridges, and the like in the administrative area is used as one grid area, and the grid area may also be divided in a manner of longitude and latitude, which may be specifically determined according to actual situations, and is not limited herein.
It should be noted that in some embodiments, the grid area may be a smaller-granularity area than the preset area, for example, one preset area may include a plurality of grid areas.
in some embodiments, the second obtaining module 703 includes:
the first obtaining sub-module is configured to obtain a first target search term corresponding to one of the preset area, the grid area and the administrative area according to a preset priority among the preset area, the grid area and/or the administrative area.
in the embodiment of the present disclosure, the preset priority is preset according to the actual situation of the online platform. For example, the online platform is a takeaway ordering platform, and since the distribution density of catering merchants corresponding to the takeaway ordering platform is high in a business district and low in an area outside the business district, a user usually selects a shop in the business district where the user is located to place an order; therefore, for the takeaway ordering platform, the preset priority can be set as follows: preset region > grid region > administrative region. That is to say, when counting the target search term, statistics may be performed according to a preset region where the target user is located, if the target user is not located in any preset region divided in advance, statistics may be performed in a grid region where the target user is located, and if the target search term is not obtained through statistics in the grid region, statistics may be performed for the entire administrative region. Therefore, the target search words used most in the preset area can be accurately counted for the target users in the preset area, for the target users outside the preset area, counting can be carried out through the grid area, and the target search words which are more accurate can also be counted due to the fact that the granularity of the area for counting is smaller; if the target search terms with the search times exceeding the first preset value cannot be obtained through statistics in the grid area, the target search terms can be obtained through statistics in the whole administrative area range, and finally the target search terms can be obtained for any target user.
The first target search word may be at least one search word of which the number of searches in one of the preset area, the grid area, and the administrative area exceeds a first preset value. When the first target search term is obtained, the search terms of which the number of searches performed by the user in the area exceeds the first preset value within a preset time period may be counted from the area with the highest priority (which may be a preset area, a grid area, or an administrative area) according to a preset priority. In some embodiments, the number of searches of the first target search term in the area selected according to the preset priority exceeds a first preset value, and when there are more search terms whose number of searches exceeds the first preset value, one or more search terms having the largest number of searches may be selected as the first target search term.
If the search word with the search frequency exceeding the first preset value is not obtained in the area with the higher priority, or the target user is not in the area with the higher priority (for example, if the area with the higher priority is a preset area), the area with the next priority can be selected for statistics, and finally the first target search word is obtained and further pushed to the target user.
The method and the device for searching the target area determine the target area where the target user is located according to the position information of the target user, for example, one of a preset area, a grid area and/or an administrative area, and acquire the target search word corresponding to one of the three areas according to the preset priority among the three areas. By the method, one of the preset areas can be selected from three dimensions of the preset area, the grid area and the administrative area according to the preset priority to obtain the first target search word, so that the problem that in the prior art, the accuracy is low due to the fact that the search word is obtained by the area with the larger granularity is solved, and the problem that the search word cannot be recalled due to the fact that the search word is obtained by the single dimension is solved.
In an optional implementation manner of this embodiment, the first determining module 702 includes:
and the matching sub-module is configured to match the position information with the position range of the target area.
In this optional implementation, after the position information of the target user is obtained, the position information is matched with a position range of a pre-divided target area, such as a preset area, a grid area, and/or an administrative area, and an area corresponding to the position range where the position information is located, such as the preset area, the grid area, and/or the administrative area, is used as the target area where the target user is located.
In an optional implementation manner of this embodiment, the order of the preset priorities is: preset region > grid region > administrative region.
in this optional implementation, the preset area in the preset priority has the highest priority, and then the grid area, and finally the administrative area. In this way, the first target search term may be counted preferentially in the preset area, and when the target user is outside any one preset area (e.g., business district), the first target search term may be counted in the grid area where the target user is located. Since the location area outside the preset area may be a region with a low population density or a region with a low business prosperous area, the search term with the search frequency exceeding the preset threshold value in the preset time period may not be counted, and thus, in this case, counting may be performed in the whole administrative area. By the method, the accuracy of the popular search terms can be improved, and the situation that the popular search terms cannot be obtained is avoided.
in an optional implementation manner of this embodiment, the first obtaining sub-module includes:
the second obtaining sub-module is configured to obtain the first target search word from the target area with the later priority when the target user is not located in the target area with the earlier priority or the first target search word corresponding to the target area with the earlier priority corresponding to the target user is not obtained.
In this optional implementation manner, when the target user is not located in any target area with a higher priority (for example, when the priority of a preset area is higher than that of the preset area), or when the target search word with the search frequency exceeding the first preset value cannot be obtained through statistics in the target area with the higher priority, the target search word can be obtained through statistics in the target area with the next priority, the target search word obtained through statistics in the target area with the higher priority can be the most accurate hot search word, but is not located in the target area with the higher priority, or when the hot search word with the search frequency exceeding the first preset value cannot be obtained, statistics can be performed from the target area with the lower priority, and on the premise that the target search word with the higher accuracy is obtained preferentially, it is further ensured that the target search word can be finally obtained for the target user.
In an optional implementation manner of this embodiment, as shown in fig. 8, the first obtaining sub-module includes:
the statistic submodule 801 is configured to count candidate search terms used for searching by users located in the target area within a preset time period; the searching times of the candidate searching words exceed a second preset value; the target area is one of the preset area, the grid area and the administrative area which are selected according to the preset priority;
A preprocessing sub-module 802 configured to preprocess the candidate search term, and use the candidate search term of which the search frequency exceeds a first preset value as the first target search term.
in this optional implementation manner, when counting the first target search term, for a target area, that is, one of the preset area, the grid area, and the administrative area, the search term used when the user searches in the target area within a preset time period may be counted, and the search term of which the search frequency exceeds the second preset value is taken as a candidate search term. Preprocessing, such as filtering, text processing, etc., may be performed on the candidate search terms. And then selecting one or more candidate search terms with the largest search frequency from the candidate search terms as a first target search term, or selecting the candidate search terms with the search frequency exceeding a first preset value from the candidate search terms as the first target search term.
for example, for a take-away ordering system, the pre-processing of the candidate search terms may include filtering and text processing. In the filtering process, aiming at the business terms, modes such as filtering non-catering terms, filtering non-result business terms, filtering business terms in non-business hours and the like can be filtered according to the business range; for dish words, non-catering dish words can be filtered. In the text processing process, aiming at merchant words, each word can be reduced to be within 5 characters, the content foundation in brackets is removed, the characters of 'purchasing' and 'running legs' are removed, and special characters are removed; ensuring that the child length of each character is more than or equal to 2 and less than or equal to 5 aiming at the dish words, removing brackets, removing words in the characters of 'purchasing instead of purchasing' and 'running legs', and removing special characters.
in addition, for the takeaway ordering system, only the search terms corresponding to the hot sales merchants and the hot sales dishes can be counted when the statistics is performed from the administrative region dimension. When the hot merchants are counted, only merchants in the distribution range of the target user can be considered, the merchant is screened from the aspects of distribution distance, sales volume and the like, and finally, merchant words corresponding to the merchants with the highest sales volume are selected; when the hot dishes are counted, several dish words with the largest searching times can be selected from the searching words with the searching times larger than 5.
And filtering and text processing can be performed on the hot commercial customers and the hot dishes obtained by statistics. In the filtering process, aiming at popular business terms, modes such as filtering non-catering terms, filtering non-result business terms, filtering business terms in non-business hours and the like can be filtered according to the operation range; aiming at popular dish words, non-catering dish words can be filtered. In the text processing process, aiming at popular business words, each word can be reduced to be within 5 characters, the content foundation in brackets is removed, the characters of 'purchasing' and 'running legs' are removed, and special characters are removed; aiming at popular dish words, the child length of each word is ensured to be more than or equal to 2 and less than or equal to 5, brackets are removed, words of the characters of 'purchasing' and 'running legs' are removed, and special characters are removed.
In an optional implementation manner of this embodiment, as shown in fig. 9, the first obtaining sub-module includes:
A first determining sub-module 901, configured to determine, when the preset area corresponding to the target user exists, at least one search word whose search frequency in the preset area exceeds a first preset value as the first target search word;
a second determining sub-module 902, configured to determine, as the first target search term, at least one search term in which the number of searches in the grid area where the target user is located exceeds a first preset value when the preset area corresponding to the target user does not exist.
In this alternative implementation, since the preset areas are partial areas divided from administrative areas according to population density, commercial bloom degree, and the like, and all the divided preset areas do not cover the entire administrative area, there are cases where some users are not located in any one preset area.
Therefore, if the target user is in any one of the preset areas divided in advance, the first target search word with the search times exceeding the first preset value is obtained by statistics in the preset area preferentially; and if the target user is not in any preset area, counting the first target search terms with the search times exceeding a first preset value from the grid area corresponding to the target user.
This is because, for most online platforms, because the population density in the preset area is high, the degree of commercial flourishing is high, and the repetition rate of the search word used by the user in this area is high, the accuracy is higher for the target user in the preset area to count the hot search words in the preset area to obtain the first target search word. For target users who are not in the preset area, the first target search word is obtained by using grid area statistics with smaller granularity, and the accuracy rate of the first target search word is higher than that of a result obtained by using large-granularity area (such as administrative area) statistics; and finally, the first target search word is obtained by adopting administrative region statistics, so that the first target search word corresponding to any target user can be ensured to be obtained finally.
In an optional implementation manner of this embodiment, as shown in fig. 10, the first obtaining sub-module further includes:
A third determining sub-module 1001, configured to determine, as the first target search word, at least one search word in the grid area where the target user is located, where the search frequency exceeds a first preset value, when the preset area corresponding to the target user exists and there is no at least one search word in the preset area where the search frequency exceeds the first preset value;
a fourth determining sub-module 1002, configured to determine, as the first target search word, at least one search word whose search frequency in the administrative area where the target user is located exceeds a first preset value when at least one search word whose search frequency in the grid area exceeds the first preset value does not exist.
In the optional implementation manner, the target user corresponds to a preset area, but when the first target search word with the search frequency exceeding the first preset value is not obtained in the preset area, the grid area with the second lowest priority may be selected for statistics, and if the first target search word with the search frequency exceeding the first preset value cannot be obtained through statistics in the grid area, the administrative area with the lowest priority is selected for statistics, so that the corresponding first target search word is finally ensured to be obtained.
In an optional implementation manner of this embodiment, as shown in fig. 11, the apparatus further includes:
A third obtaining module 1101 configured to obtain a preset number of preset operation data generated by the target user latest from the current time;
a second determining module 1102 configured to determine a second target search term according to the preset operation data.
In this optional implementation, the preset operation data includes, but is not limited to, search, click, browse, and order placing operations of the target user on the online platform; the last preset number of preset operation data may be the last operation data of the target user for searching, clicking, browsing or ordering on the online platform.
The second target search term may include, but is not limited to, a keyword corresponding to an object that the target user has searched, clicked, browsed, or placed an order most recently from the current time, and similar keywords.
in some embodiments, the preset operation data may be data related to the last three click operations of the target user on the online platform
In some embodiments, when the second target search term sum is counted, a filtering operation may be performed on the obtained preset operation data, for example, for a takeaway ordering system, the filtering operation may be performed in a manner of selecting only a returnable and business-in business merchant, a merchant with a distance of, for example, 5km or more, a merchant with a quality of, for example, a filtered monthly sales volume of less than 30 and a score of less than 4.3, and the like, according to an operation range, for example, catering, and a business state, for example, related to a few number of click operations newly generated by a target user, and the filtering operation may be performed in a manner of, for example, catering, recalling conditions, such as a result of a recalling merchant within 5km, and dish quality, such as a dish with a filtered monthly sales volume of less than 100; and then, text processing can be performed on the filtered names of the merchants, the dishes and the like, for example, the filtered names of the merchants can be processed in a manner of removing parenthesis content, removing 'purchasing' and the like, and finally the second target search term is obtained from the filtered data. The second target search word obtained in this way is a search word corresponding to a resource which is recently focused by the target user, so that the search word obtained by filtering the search word in the preset operation data through the target area where the target user is currently located is a search word which is available for the target user with a high probability, and the search word is recommended to the target user so as to help the target user to quickly hit the required information.
in an optional implementation manner of this embodiment, as shown in fig. 12, the apparatus further includes:
A fourth obtaining module 1201, configured to obtain historical behavior data of the target user within a preset time period;
A third determination module 1202 configured to determine a third target search term from the historical behavior data.
in this alternative implementation, the historical behavior data includes, but is not limited to, operation data of searching, clicking, browsing, ordering and the like of the online platform by the target user within a preset time period. The third target search term may include, but is not limited to, a keyword corresponding to an object searched, clicked, browsed or placed by the target user within a preset time period, a similar keyword, and the like.
in some embodiments, the historical behavior data may be data that a user searched for, placed an order within three months.
in some embodiments, when the third target search term is counted, a filtering operation may be performed on the obtained historical behavior data, for example, for a takeaway ordering system, a filtering operation may be performed on merchants that a target user has searched or made a list within three months, according to a management range such as dining, a business state such as only a retrievable and in-business merchant, a distance such as a filtering distance of more than 5km, a merchant quality such as a filtering monthly sales volume of less than 30, and a score of less than 4.3; the method can also be used for searching or ordering dishes within three months for the target user, and filtering can be performed according to the types of the dishes, such as catering, recall conditions, such as results of merchants within 5km, the quality of the dishes, such as dishes with filtered monthly sales of less than 100, and the like; and then performing text processing on the names of the merchants, the dishes and the like obtained by filtering, for example, processing in a manner that the merchants can remove parenthesis content, remove characters such as "shopping" and the like, and finally obtaining a third target search term from the data obtained by filtering. The third target search word obtained in this way is a search word corresponding to a resource that the target user likes or is accustomed to focus on for a long period of time, so that the habit is very good, and the search word obtained by filtering the search word in the preset operation data through the target area where the target user is currently located is a search word that the target user uses with a high probability, so that recommending the search word to the target user can help the target user to quickly hit the required information.
in an optional implementation manner of this embodiment, the pushing module 704 includes:
and the pushing sub-module is configured to push the first target search word, the second target search word and the third target search word to the client corresponding to the target user according to a preset display sequence.
In this optional implementation manner, the hot search terms finally pushed to the target user may include a first target search term, a second target search term, and a third target search term, and the first target search term, the second target search term, and the third target search term may be pushed according to a preset display order, and may be displayed according to the pushed order at the client.
In some embodiments, the preset display order may be a manner in which the third target search word, the first target search word, and the third target search word are sequentially cycled, that is, the first bit in the preset display order is the third target search word, the second bit is the first target search word, the third bit is the second target search word, the fourth bit is another third target search word, the fifth bit is another first target search word, the sixth bit is another second target search word, and so on.
the disclosed embodiments also provide an electronic device, as shown in fig. 13, comprising at least one processor 1301; and memory 1302 communicatively coupled to the at least one processor 1301; wherein the memory 1302 stores instructions executable by the at least one processor 1301, the instructions being executable by the at least one processor 1301 to implement:
Acquiring position information of a target user;
determining a target area where the target user is located according to the position information of the target user;
acquiring a first target search word corresponding to the target area; the first target search word is at least one search word of which the search times exceed a first preset value when a user in the target area searches;
And pushing the first target search word to a client corresponding to the target user.
The target area is one of a preset area, a grid area and an administrative area; the preset area is a part of area which is divided from administrative areas in advance; the grid region is a region obtained by meshing the complete administrative region.
Obtaining a first target search term corresponding to the target area, including:
And acquiring a first target search word corresponding to one of the preset area, the grid area and the administrative area according to a preset priority among the preset area, the grid area and/or the administrative area.
determining a target area where the target user is located according to the position information of the target user, wherein the determining of the target area where the target user is located comprises:
and matching the position information with the position range of the target area.
wherein, the sequence of the preset priorities is as follows: preset region > grid region > administrative region.
Acquiring a first target search term corresponding to one of the preset area, the grid area and the administrative area according to a preset priority among the preset area, the grid area and/or the administrative area, wherein the method comprises the following steps:
And when the target user is not located in the target area with the front priority or the first target search word corresponding to the target area with the front priority corresponding to the target user is not obtained, obtaining the first target search word from the target area with the rear priority.
acquiring a first target search term corresponding to one of the preset area, the grid area and the administrative area according to a preset priority among the preset area, the grid area and/or the administrative area, wherein the method comprises the following steps:
Counting candidate search terms used for searching by users located in the target area within a preset time period; the searching times of the candidate searching words exceed a second preset value; the target area is one of the preset area, the grid area and the administrative area which are selected according to the preset priority;
and preprocessing the candidate search word, and taking the candidate search word with the search times exceeding a first preset value as the first target search word.
Acquiring a first target search term corresponding to one of the preset area, the grid area and the administrative area according to a preset priority among the preset area, the grid area and/or the administrative area, wherein the method comprises the following steps:
When the preset area corresponding to the target user exists, determining at least one search word with the search times exceeding a first preset value in the preset area as the first target search word;
and when the preset area corresponding to the target user does not exist, determining at least one search word of which the search times in the grid area where the target user is located exceed a first preset value as the first target search word.
The method for obtaining the first target search term corresponding to one of the preset area, the grid area and the administrative area according to the preset priority among the preset area, the grid area and/or the administrative area further comprises the following steps:
when the preset area corresponding to the target user exists and at least one search word of which the search times in the preset area exceed a first preset value does not exist, determining the at least one search word of which the search times in the grid area where the target user is located exceed the first preset value as the first target search word;
And when at least one search word of which the search times in the grid area exceed a first preset value does not exist, determining at least one search word of which the search times in the administrative area where the target user is located exceed the first preset value as the first target search word.
Wherein the one or more computer instructions are further executable by the processor to implement the method steps of:
acquiring preset operation data of a preset number, which are generated by the target user in the latest time from the current time;
And determining a second target search word according to the preset operation data.
Wherein the one or more computer instructions are further executable by the processor to implement the method steps of:
Acquiring historical behavior data of the target user in a preset time period;
and determining a third target search word according to the historical behavior data.
the pushing the first target search word to the client corresponding to the target user comprises the following steps:
and pushing the first target search word, the second target search word and the third target search word to a client corresponding to the target user according to a preset display sequence.
Specifically, the processor 1301 and the memory 1302 may be connected by a bus or in other manners, and fig. 13 illustrates an example of connection by a bus. Memory 1302, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The processor 1301 executes various functional applications of the apparatus and data processing by running nonvolatile software programs, instructions, and modules stored in the memory 1302, that is, implements the above-described method in the embodiments of the present disclosure.
the memory 1302 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store historical data of shipping network traffic, and the like. Further, the memory 1302 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the electronic device optionally includes a communication component 1303, and the memory 1302 optionally includes memory remotely located from the processor 1301, which may be connected to an external device through the communication component 1303. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
One or more modules are stored in the memory 1302, which when executed by the one or more processors 1301, perform the methods described above in the embodiments of the present disclosure.
The product can execute the method provided by the embodiment of the disclosure, has corresponding functional modules and beneficial effects of the execution method, and reference can be made to the method provided by the embodiment of the disclosure for technical details which are not described in detail in the embodiment.
the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, a program segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
the units or modules described in the embodiments of the present disclosure may be implemented by software or hardware. The units or modules described may also be provided in a processor, and the names of the units or modules do not in some cases constitute a limitation of the units or modules themselves.
As another aspect, the present disclosure also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the apparatus in the above-described embodiment; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the methods described in the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (10)

1. A method for determining a search term, comprising:
Acquiring position information of a target user;
Determining a target area where the target user is located according to the position information of the target user;
Acquiring a first target search word corresponding to the target area; the first target search word is at least one search word of which the search times exceed a first preset value when a user in the target area searches;
And pushing the first target search word to a client corresponding to the target user.
2. the method of claim 1, wherein the target area is one of a preset area, a grid area, and an administrative area; the preset area is a part of area which is divided from administrative areas in advance; the grid region is a region obtained by meshing the complete administrative region.
3. the method of claim 2, wherein obtaining the first target search term corresponding to the target area comprises:
and acquiring a first target search word corresponding to one of the preset area, the grid area and the administrative area according to a preset priority among the preset area, the grid area and/or the administrative area.
4. the method according to any one of claims 1-3, wherein determining the target area where the target user is located according to the location information of the target user comprises:
and matching the position information with the position range of the target area.
5. The method of claim 4, wherein the predetermined priorities are in the order of: preset region > grid region > administrative region.
6. The method according to claim 3, wherein obtaining the first target search term corresponding to one of the preset area, the grid area and the administrative area according to a preset priority among the preset area, the grid area and/or the administrative area comprises:
And when the target user is not located in the target area with the front priority or the first target search word corresponding to the target area with the front priority corresponding to the target user is not obtained, obtaining the first target search word from the target area with the rear priority.
7. The method according to claim 3, wherein obtaining the first target search term corresponding to one of the preset area, the grid area and the administrative area according to a preset priority among the preset area, the grid area and/or the administrative area comprises:
Counting candidate search terms used for searching by users located in the target area within a preset time period; the searching times of the candidate searching words exceed a second preset value; the target area is one of the preset area, the grid area and the administrative area which are selected according to the preset priority;
And preprocessing the candidate search word, and taking the candidate search word with the search times exceeding a first preset value as the first target search word.
8. A search term determination apparatus, comprising:
A first acquisition module configured to acquire location information of a target user;
The first determination module is configured to determine a target area where the target user is located according to the position information of the target user;
the second acquisition module is configured to acquire a first target search word corresponding to the target area; the first target search word is at least one search word of which the search times exceed a first preset value when a user in the target area searches;
and the pushing module is configured to push the first target search word to a client corresponding to the target user.
9. an electronic device comprising a memory and a processor; wherein the content of the first and second substances,
The memory is for storing one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method steps of:
Acquiring position information of a target user;
determining a target area where the target user is located according to the position information of the target user;
Acquiring a first target search word corresponding to the target area; the first target search word is at least one search word of which the search times exceed a first preset value when a user in the target area searches;
and pushing the first target search word to a client corresponding to the target user.
10. A computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions, when executed by a processor, implement the method of any one of claims 1-7.
CN201910855107.7A 2019-09-10 2019-09-10 Search term determination method and device, electronic equipment and storage medium Pending CN110555151A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910855107.7A CN110555151A (en) 2019-09-10 2019-09-10 Search term determination method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910855107.7A CN110555151A (en) 2019-09-10 2019-09-10 Search term determination method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110555151A true CN110555151A (en) 2019-12-10

Family

ID=68739812

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910855107.7A Pending CN110555151A (en) 2019-09-10 2019-09-10 Search term determination method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110555151A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111967787A (en) * 2020-08-26 2020-11-20 文思海辉智科科技有限公司 Purchase reminding method and device, vehicle and readable storage medium
CN114153830A (en) * 2021-12-01 2022-03-08 北京金堤科技有限公司 Data verification method and device, computer storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107798066A (en) * 2017-09-25 2018-03-13 北京小度信息科技有限公司 A kind of search term method for pushing, device and terminal
US20180095979A1 (en) * 2015-06-19 2018-04-05 Alibaba Group Holding Limited Enhancing accuracy of presented search keywords
CN108572990A (en) * 2017-03-14 2018-09-25 百度在线网络技术(北京)有限公司 Information-pushing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180095979A1 (en) * 2015-06-19 2018-04-05 Alibaba Group Holding Limited Enhancing accuracy of presented search keywords
CN108572990A (en) * 2017-03-14 2018-09-25 百度在线网络技术(北京)有限公司 Information-pushing method and device
CN107798066A (en) * 2017-09-25 2018-03-13 北京小度信息科技有限公司 A kind of search term method for pushing, device and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111967787A (en) * 2020-08-26 2020-11-20 文思海辉智科科技有限公司 Purchase reminding method and device, vehicle and readable storage medium
CN114153830A (en) * 2021-12-01 2022-03-08 北京金堤科技有限公司 Data verification method and device, computer storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN108521439B (en) Message pushing method and device
CN109377329B (en) House resource recommendation method and device, storage medium and electronic equipment
CN107798412B (en) Route recommendation method and device
US20140214819A1 (en) Correlating Social Media Data with Location Information
US20220253499A1 (en) Allocating communication resources via information technology infrastructure
CN104731917A (en) Recommendation method and device
EP3525420B1 (en) Method and apparatus for guiding service flow
CN108875761B (en) Method and device for expanding potential users
CN102541893A (en) Keyword analysis method and keyword analysis device
CN110888866B (en) Data expansion method and device, data processing equipment and storage medium
CN105915956A (en) Video content recommendation method, device, server and system
US20130066709A1 (en) Method of and system for determining contextually relevant advertisements to be provided to a web page
CN107038620A (en) Based on user call a taxi preference information push and device
CN110555151A (en) Search term determination method and device, electronic equipment and storage medium
CN110688579A (en) Object pushing method and device, electronic equipment and storage medium
CN106649323B (en) Method and device for recommending keywords
CN111597447A (en) Object pushing method and device, electronic equipment and storage medium
JP6170261B1 (en) Information processing apparatus, information processing method, and information processing program
CN110096609A (en) Source of houses searching method, device, equipment and computer readable storage medium
CN108228598B (en) Media information sorting method, server and system
CN105574091A (en) Information push method and device
CN110990692A (en) Data processing method and device based on portrait analysis
CN110569440A (en) Data query method and device, electronic equipment and storage medium
KR100939907B1 (en) Method and system for advertising exposure using value point
CN110188277A (en) A kind of recommended method and device of resource

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: 20191210

RJ01 Rejection of invention patent application after publication