CN111078760A - Goods source searching method, device, equipment and storage medium - Google Patents
Goods source searching method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN111078760A CN111078760A CN201911327184.1A CN201911327184A CN111078760A CN 111078760 A CN111078760 A CN 111078760A CN 201911327184 A CN201911327184 A CN 201911327184A CN 111078760 A CN111078760 A CN 111078760A
- Authority
- CN
- China
- Prior art keywords
- search
- information
- candidate
- source
- searching
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2468—Fuzzy queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0639—Item locations
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Fuzzy Systems (AREA)
- Accounting & Taxation (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Finance (AREA)
- Probability & Statistics with Applications (AREA)
- Remote Sensing (AREA)
- Computational Linguistics (AREA)
- Automation & Control Theory (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Navigation (AREA)
Abstract
The embodiment of the invention discloses a goods source searching method, a goods source searching device, goods source searching equipment and a storage medium. The method comprises the following steps: if the current goods source searching information of the user comprises the fuzzy searching position, correcting the current goods source searching information according to the historical goods source searching information of the user; and carrying out goods source search according to the corrected current goods source search information to obtain a search result. By adopting the scheme, even if the goods source searching information currently input by the user comprises the fuzzy position, the fuzzy searching position in the current goods source searching information can be adaptively corrected according to the historical goods source searching information of the user, so that the goods source searching of the user is accurate, and the goods source obtained by searching can meet the user requirement as far as possible.
Description
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a goods source searching method, a goods source searching device, goods source searching equipment and a storage medium.
Background
Along with the continuous development of highway trunk logistics, the goods source data increase greatly, the problem that a truck driver is not matched with a goods source is more and more serious, the transportation enthusiasm of the truck driver is influenced, and further the transportation efficiency of the truck driver is very low.
Currently, in order to avoid the problem of mismatching of truck drivers with the sources, truck drivers are required to input the starting place and destination to find a suitable matching source from the mass data of the sources. However, in order to not limit the source of a particular origin and/or destination, the truck driver typically enters a fuzzy origin and fuzzy destination that represents an approximate range, thereby making it impossible to determine the truck driver's true intent, resulting in a large portion of the searched sources that are not satisfactory for the truck driver.
Disclosure of Invention
The embodiment of the invention provides a goods source searching method, a goods source searching device, goods source searching equipment and a storage medium, and aims to realize accurate searching of goods sources according to fuzzy searching positions input by a user.
In a first aspect, an embodiment of the present invention provides a method for searching a source of goods, including:
if the current goods source searching information of the user comprises the fuzzy searching position, correcting the current goods source searching information according to the historical goods source searching information of the user;
and carrying out goods source search according to the corrected current goods source search information to obtain a search result.
In a second aspect, an embodiment of the present invention further provides a source search device, including:
the information correction module is used for correcting the current goods source search information according to the historical goods source search information of the user if the current goods source search information of the user comprises a fuzzy search position;
and the goods source searching module is used for searching goods sources according to the corrected current goods source searching information to obtain a searching result.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
storage means for storing one or more programs;
the one or more programs are executable by the one or more processors to cause the one or more processors to implement a source search method as provided in any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the cargo source searching method as provided in any of the embodiments of the present invention.
The embodiment of the invention provides a goods source searching scheme which can determine whether current goods source searching information input by a user comprises a fuzzy searching position, if the current goods source searching information comprises the fuzzy searching position, the current goods source searching information is corrected according to historical goods source searching information of the user, then goods source searching is carried out according to the corrected current goods source searching information, and a searching result is obtained. By adopting the scheme, even if the goods source searching information currently input by the user comprises the fuzzy position, the fuzzy searching position in the current goods source searching information can be adaptively corrected according to the historical goods source searching information of the user, so that the goods source searching of the user is accurate, and the goods source obtained by searching can meet the user requirement as far as possible.
The above summary of the present invention is merely an overview of the technical solutions of the present invention, and the present invention can be implemented in accordance with the content of the description in order to make the technical means of the present invention more clearly understood, and the above and other objects, features, and advantages of the present invention will be more clearly understood.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart of a method for searching a source of goods provided in an embodiment of the present invention;
FIG. 2 is a flow chart of another method for searching a source of goods provided in an embodiment of the present invention;
fig. 3 is a block diagram of a source search device provided in an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of a method for searching a source of goods according to an embodiment of the present invention. The embodiment can be applied to the condition of carrying out accurate search according to the goods source search information input by the truck driver. The method can be executed by a goods source searching device, which can be realized in a software and/or hardware manner and integrated on the electronic equipment with the network communication function. As shown in fig. 1, the method for searching for a source of goods provided in this embodiment includes the following steps:
s110, detecting current goods source searching information triggered by the user at the current time.
In this embodiment, in order to avoid the problem of mismatch between the user (for example, a truck driver) and the source as much as possible, the user may input the current source search information at the current time to perform the source search. However, considering that the search information in the current source search information input by the user may be ambiguous, for example, the search location such as the search starting place and the search destination included in the current source search information may be ambiguous, which may result in a wide range of source search behaviors, and most of the searched sources may not meet the user requirements. Therefore, before the input current source search information is used for carrying out source search, the current source search route needs to be detected to determine whether the fuzzy search position is included in the current source search information.
In the present embodiment, the fuzzy search position refers to a position at an arbitrary position point or a higher administrative level where the search position is nationwide. Optionally, each location is divided and configured into an accurate location and a fuzzy location in advance according to requirements, and administrative levels belonging to provinces and prefectural cities and locations above the administrative levels are divided into fuzzy locations, for example, provinces a and prefectural cities B may be regarded as fuzzy locations, and locations below the administrative levels of provinces and prefectural cities may be divided into accurate locations, for example, city C and city D may be regarded as accurate locations.
And S120, if the current goods source searching information of the user comprises the fuzzy searching position, correcting the current goods source searching information according to the historical goods source searching information of the user.
In the present embodiment, the source search information includes a search start location and a search destination. When the current goods source searching information is detected, whether the current searching starting place and the current searching destination belong to the fuzzy searching position or not is determined by detecting the current searching starting place and the current searching destination included in the current goods source searching information. For example, if the current search starting place or the current search destination is "a province", the current search starting place or the current search destination is considered to belong to the fuzzy search location, whereas if the current search starting place or the current search destination is "C city", the current search starting place or the current search destination is considered to belong to the precise search location.
In the present embodiment, the historical source search information includes a historical search start location and a historical search destination that are input by the user at the historical time. Since the user inputs the history search start place and the history search destination at the history time, it indicates that the user is interested in the history search start place and the history search destination to some extent. Therefore, when the electronic equipment detects that the current goods source search information input by the user comprises the fuzzy search position, the current search starting place and/or the current search destination in the current goods source search information are/is rewritten through the historical goods source search information input by the user in historical time, so that the rewritten and corrected current goods source search information is more accurate, and the rewritten and corrected search starting place and search destination in the current goods source search information are more suitable for the requirements of the user.
In an optional manner of this embodiment, the modifying the current source search information according to the historical source search information of the user includes the following steps a 1-a 2:
step A1, determining the first historical goods source searching information and the second historical goods source searching information of the user at the historical time.
In this embodiment, the first historical source route includes a historical source route triggered by the user within a last first preset time period before the current time (the first preset time period is a last month), or includes a historical source route triggered by the user within a last first preset time period before a calibration time, which is earlier than the current time. The historical source routes in the first historical source routes generally represent long-term behaviors of users in historical comparison for a period of time, and the data volume is large, so that the source data of the first historical source routes are generally stored in an offline database.
In this embodiment, in an optional example, the second historical source route includes a historical source route triggered by the user within a last second preset time period before the current time (where the second preset time period is much shorter than the first preset time period, such as the last 2 hours), or includes a historical source route triggered by the user last a preset number of times before the current time (such as 100 times of last triggering). For example, behavior data that the user triggered the sourcing route by clicking or telephone consultation the last 100 times before the current time may be obtained from the online cached data, thereby obtaining a second historical sourcing route. The historical goods source route in the second historical goods source route generally represents the recent real-time behavior of the user, and the data volume is small.
And A2, determining candidate goods source searching information according to the first historical goods source searching information and the second historical goods source searching information, and correcting the current goods source searching information according to the candidate goods source searching information.
In the embodiment, the first historical goods source searching information can represent the triggering behavior of the user on the goods source searching information in a long period of history, and the contained searching information is very much and can describe the long triggering behavior of the user on the goods source; and the second historical goods source searching token represents the triggering behavior of the user on the goods source route in a short historical time which is near to the current time, and describes the nearest real-time triggering behavior of the user. Therefore, the current goods source searching information can be corrected by combining the candidate goods source searching information obtained by the first historical goods source searching information and the second historical goods source searching information.
In this embodiment, optionally, according to a preset period, first historical source search information may be periodically obtained from the offline database and second historical source search information may be periodically obtained from the online cache data, offline calculation may be performed according to the first historical source search information, online calculation may be performed according to the second historical source search information, candidate source search information may be obtained, and the determined candidate source search information may be stored, so that the candidate source search information may be directly extracted for use in the subsequent process. The first historical goods source searching information comprises a large amount of data, computing resources of electronic equipment can be saved through offline computing, the second historical goods source searching information comprises a small amount of data, online computing is only needed, meanwhile, a part of candidate goods source searching information is obtained through offline computing, and therefore the candidate goods source searching information can be quickly obtained only through simple online computing of the second historical goods source searching information through the online computing, a large amount of time is not wasted for real-time online computing of the first historical goods source searching information, and the real-time speed of goods source searching is accelerated.
S130, carrying out goods source searching according to the corrected current goods source searching information to obtain a searching result.
In this embodiment, after the current source search information is modified, the modified current search starting place and/or the modified current search destination included in the modified current source search information better conform to the source preference behavior of the user, and compared with the conventional manner of recalling a fixed amount of source search information from a fixed database, the source searched by the modified current search starting place and/or the modified current search destination basically covers all sources preferred by the user, and most of the recalled sources meet the user requirements.
In an optional manner of this embodiment, the performing of the source search according to the corrected current source search information specifically includes the following steps B1-B2:
and step B1, combining the search starting place and the search destination in the revised current goods source search information to obtain a plurality of combined results comprising the search starting place and the search destination.
And step B2, carrying out goods source search according to the plurality of combined results, and pushing the search results to the user.
In this embodiment, the revised current source search information includes one or more search origins and one or more search destinations, so that one or more combined results can be formed by selecting a search origin and a search destination. Each combined result includes a search origin and a search destination. And for each combined result, carrying out goods source search according to a search starting place and a search destination included in the combined result, searching to obtain one or more goods source routes including the search starting place and the search destination, further taking the goods sources related to the one or more goods source routes obtained by the search as search results aiming at the combined result, further obtaining search results of a plurality of combined results, and pushing the search results of the plurality of combined results to the user.
The embodiment of the invention provides a goods source searching scheme which can determine whether current goods source searching information input by a user comprises a fuzzy searching position, if the current goods source searching information comprises the fuzzy searching position, the current goods source searching information is corrected according to historical goods source searching information of the user, then goods source searching is carried out according to the corrected current goods source searching information, and a searching result is obtained. By adopting the scheme, even if the goods source searching information currently input by the user comprises the fuzzy position, the fuzzy searching position in the current goods source searching information can be adaptively corrected according to the historical goods source searching information of the user, so that the goods source searching of the user is accurate, and the goods source obtained by searching can meet the user requirement as far as possible.
Fig. 2 is a flowchart of another cargo source searching method provided in the embodiment of the present invention, which is optimized based on the above embodiment, and the embodiment of the present invention may be combined with each alternative in one or more of the above embodiments. As shown in fig. 2, the method for searching for a source of goods provided in this embodiment includes the following steps:
s210, detecting current goods source searching information triggered by the user at the current time.
S220, if the current goods source searching information of the user comprises the fuzzy searching position, determining first historical goods source searching information and second historical goods source searching information of the user.
S230, determining candidate search starting places and preference degrees of the candidate search starting places in the candidate goods source search information according to the first historical goods source search information and the second historical goods source search information.
In the present embodiment, although the candidate source search information includes the candidate search starting place and the candidate search starting place preferred by the user, the preference degrees of the user for different candidate search starting places and candidate search destinations are different, and therefore, the preference degrees of the user for different candidate search starting places and candidate search destinations need to be determined.
In an optional manner of this embodiment, determining preference degrees of a candidate search starting place and a candidate search starting place in the candidate source search information according to the first historical source search information and the second historical source search information specifically includes the following steps C1-C3:
and step C1, determining the first preference of the first-class candidate search starting place and the first-class candidate search starting place according to the user position information associated with the current goods source search information and the search starting place in the first historical goods source search information.
In the present embodiment, the number of search origins included in the first historical source search information is very large, and therefore it is impossible to use all search origins included in the first historical source search information as candidate search origins, and therefore it is necessary to screen the search origins included in the first historical source search information to eliminate search origins that do not meet the condition, and to keep a small number of suitable search origins. Through analysis, the user can know that the search starting places are different positions when the user inputs the search starting places, and the user can see that the selection of the search starting places is also related to the position where the user is currently located. For example, if the user is in level C, then there is a high probability that the user, when entering the search starting place, will select a location near or near level C as the search starting place, rather than selecting a location far from level C as the search starting place.
Based on the analysis, the user position information related to the current goods source searching information is determined, and the related user position refers to the position where the user inputs the current goods source searching information. Therefore, the search starting place in the first historical goods source search information can be preliminarily screened based on the user position information related to the current goods source search information, the obtained search starting place is marked as a first-class candidate search starting place, and meanwhile the preference degree of the user to the first-class candidate search starting place can be determined.
In this embodiment, the user location information is represented by two-dimensional longitude and latitude information, and the search starting place in the first historical goods source search information is also represented by two-dimensional longitude and latitude information. Based on the GeoHash algorithm, for the search starting place in the user position information and the first historical goods source search information, the ID of each search starting place contained in the GeoHash character string and the weight information of the ID of each search starting place can be obtained. And the IDs of the search starting places contained in the GeoHash character string are considered as first-class candidate search starting places obtained by preliminarily screening the search starting places in the first historical goods source search information. The weight information of each search starting place ID is regarded as the preference degree of the user for the first-class candidate search starting place.
In this embodiment, the selection of the screening amount when performing the preliminary screening on the search starting place in the first historical source search information may be set according to the length of the character string set when using the GeoHash algorithm, for example, the length of the character string is 5, and based on the GeoHash algorithm, 5 search starting place IDs included in the GeoHash character string and weight information of the 5 search starting place IDs are obtained for the search starting places in the user location information and the first historical source search information.
And step C2, taking the search starting place in the second historical goods source search information as a second type candidate search starting place, and determining a second preference degree of the second type candidate search starting place according to the quantity of the second type candidate search starting place in the second historical goods source search information.
In this embodiment, the search starting place in the second historical goods source search information is a small amount of recent real-time behavior data of the user, and the user position does not change in a short time, so that the selection of the search starting place by the user position is hardly affected, and therefore, the search starting places in the second historical goods source search information can be all recorded as the second type candidate search starting places. Meanwhile, the number of the different second-type candidate search starting places in the second historical goods source search information is different, and the percentage of the second-type candidate search starting places is different, so that the preference degree of the user on the second-type candidate search starting places can be determined according to the number of the second-type candidate search starting places in the second historical goods source search information, and the preference degree can be recorded as a second preference degree. The more the number of the second type of candidate search starting places in the second historical goods source search information is, the greater the second preference degree is; the smaller the number of second type candidate searches that are initially in the second historical source search information, the smaller the second preference. Optionally, the search starting places in the second historical goods source search information may be ranked from large to small, and the top preset search starting places may be used as the second type of candidate search starting places.
And step C3, determining the preference degree of the candidate search starting place according to the first preference degree and the second preference degree.
In this embodiment, the first preference degree is a preference degree of the user for a first type candidate search starting place obtained from the first historical source search information, and the second preference degree is a preference degree of the user for a second type candidate search starting place obtained from the second historical source search information. Considering that the search start place of the candidate search of the first class coincides with the search start place of the candidate search of the second class, the search start places of the candidate search of the second class which coincide need to be evaluated in combination with the first preference and the second preference when determining the preference of the search start places of the candidate search of the first class.
In the embodiment, for each candidate search starting place which is common in the first-class candidate search starting place and the second-class candidate search starting place, the sum of the first preference and the second preference of the user for the candidate search starting place is used as the preference of the candidate search starting place; regarding the remaining candidate search starting places except the common candidate search starting place of the first-class candidate search starting place and the second-class candidate search starting place in the first-class candidate search starting places, taking the first preference of the user to the remaining candidate search starting places as the preference of the candidate search starting places; and regarding the remaining candidate search starting places except the common candidate search starting place of the first class candidate search starting place and the second class candidate search starting place in the second class candidate search starting places, taking the second preference of the user to the remaining candidate search starting places as the preference of the remaining candidate search starting places. Thus, the preference degree of the candidate search starting place in the candidate goods source search information can be determined.
S240, determining candidate searching destinations and preference degrees of the candidate searching destinations in the candidate goods source searching information according to the second historical goods source searching information.
In an optional manner of this embodiment, determining the candidate search destinations and the preference degrees of the candidate search destinations in the candidate source search information according to the second historical source search information includes steps D1-D2:
and D1, taking the search destination in the second goods source search information as the candidate search destination in the candidate goods source search information.
And D2, determining the preference degree of the searched destinations in the second goods source searching information according to the number of the searched destinations in the second goods source searching information.
And D3, determining the preference degree of the user for the candidate searching destination in the candidate goods source searching information according to the preference degree of the searching destination in the second goods source searching information.
In the present embodiment, when the search start location is selected, the user location information related to the current source search information affects the user location information, but when the search destination is selected, the user location information related to the current source search information does not affect the user location information. Therefore, the search destination included in the first history source search information is not considered, and only the search destination included in the second source search information needs to be considered. Meanwhile, the preference degree of the search destinations in the second goods source search information can be determined according to the number of the search destinations in the second goods source search information, and then the preference degree of the search destinations in the second goods source search information is used as the preference degree of the user on the candidate search destinations in the candidate goods source search information.
And S250, correcting the current goods source searching information according to the candidate goods source searching information.
In an optional manner of this embodiment, the modifying the current source search information according to the candidate source search information specifically includes the following steps E1-E2:
and E1, screening the candidate goods source searching information according to the preference of the candidate searching starting place and the preference of the candidate searching destination in the candidate goods source searching information.
In this embodiment, the number of candidate search starting places and candidate search destinations included in the candidate source search information may be large, and if all recommendations result in that the user cannot accurately locate which sources are most suitable. Therefore, the number of candidate search origins and candidate search destinations included in the candidate source search information can be detected. If the number of the candidate search starting places and the number of the candidate search destinations included in the candidate source search information reach preset values, the candidate source search information needs to be screened.
In the present embodiment, the candidate search starting places ranked in the top preset number are obtained according to the ranking of the preference degrees of the candidate search starting places in the candidate source search information from large to small. And obtaining the candidate search destinations with the preset number ranked in the front according to the ranking of the preference degrees of the candidate search destinations in the candidate goods source search information from large to small. And recombining the candidate search starting places with the preset number and the candidate search destinations with the preset number into the screened candidate goods source search information.
And E2, replacing the search starting place and the search destination in the current goods source search information according to the candidate search starting place and the candidate search destination in the screened candidate goods source search information to obtain the corrected current goods source search information.
In the present embodiment, after the candidate search starting place and the candidate search destination in the candidate source search information after the screening are obtained, the search starting place in the current source search information is rewritten into the candidate search starting place, and the search destination in the current source search information is rewritten into the candidate search destination.
And S260, carrying out goods source search according to the corrected current goods source search information to obtain a search result.
In this embodiment, according to the revised search starting place and the revised search destination included in the revised current source search information, the source route having the revised search starting place and the revised search destination is queried in the ES database, and the source associated with the source route is recalled as the final search result. The ES database stores different source route information and source information related to the different source route information, wherein each source route information comprises a starting place and a destination of a source.
On the basis of the above embodiment, optionally, determining candidate source search information according to the first historical source search information and the second historical source search information, specifically, the method further includes the following steps F1 to F2:
and step F1, if the candidate goods source searching information determined according to the first historical goods source searching information and the second historical goods source searching information meets the searching adjustment condition, determining a similar goods source route according to a candidate searching starting place and a candidate searching destination in the candidate goods source searching information.
In this embodiment, the search adjustment condition includes that a product value of the number of the candidate search starting places and the number of the candidate search destinations in the candidate source search information is smaller than a preset threshold. That is, if the product value of the number of the candidate search starting places and the number of the candidate search destinations in the candidate source search information is smaller than the preset threshold value, the candidate source search information is considered to meet the search adjustment condition; otherwise, the candidate goods source searching information is considered to not meet the searching adjustment condition.
In this embodiment, when the candidate source search information satisfies the search adjustment condition, which indicates that the number of candidate search starting places or the number of candidate search destinations is relatively small, the candidate search starting places and the candidate search destinations need to be expanded. Specifically, the candidate search starting place is used as a search starting point, the candidate search destination is used as a search ending point, similar routes are searched, and a plurality of similar goods source routes are found through searching.
And step F2, splitting the similar goods source routes to obtain similar search starting places and similar search destinations, and adding the similar search starting places and the similar search destinations to the candidate goods source search information.
In this embodiment, after obtaining a plurality of similar source routes, each similar source route may be subjected to route splitting, and after splitting each similar source route, a similar search starting place and a similar search destination may be obtained, so that after splitting the plurality of similar source routes, a plurality of similar search starting places and a plurality of similar search destinations may be obtained. Furthermore, a plurality of similar search starting places and a plurality of similar search destinations are added to the candidate goods source search information, and the candidate goods source route information is expanded.
The embodiment of the invention provides a goods source searching scheme which can determine whether current goods source searching information input by a user comprises a fuzzy searching position, if the current goods source searching information comprises the fuzzy searching position, candidate goods source searching information meeting the requirements of the user is obtained by screening according to first historical goods source searching information and second historical goods source searching information of the user, then the current goods source searching information is continuously corrected according to the candidate goods source searching information after screening, then goods source searching is carried out according to the corrected current goods source searching information, and a searching result is obtained. By adopting the scheme, even if the goods source searching information currently input by the user comprises the fuzzy position, the fuzzy searching position in the current goods source searching information can be adaptively rewritten according to the historical goods source searching information of the user, so that the current goods source searching input by the user is accurate, and the goods source obtained by searching can meet the user requirement as much as possible.
Fig. 3 is a block diagram of a source search device provided in an embodiment of the present invention. The embodiment can be applied to the condition of carrying out accurate search according to the goods source search information input by the truck driver. The goods source searching device can be realized in a software and/or hardware mode and is generally integrated on the electronic equipment with the network communication function. As shown in fig. 3, the source search device provided in this embodiment specifically includes: an information correction module 310 and a source search module 320. Wherein:
the information correction module 310 is configured to correct current source search information of a user according to historical source search information of the user if the current source search information of the user includes a fuzzy search position;
and the goods source searching module 320 is used for searching the goods sources according to the corrected current goods source searching information to obtain a searching result.
On the basis of the foregoing embodiment, optionally, the information modification module 310 includes:
the historical information determining unit is used for determining first historical goods source searching information and second historical goods source searching information of a user;
the candidate information determining unit is used for determining candidate goods source searching information according to the first historical goods source searching information and the second historical goods source searching information;
and the search information correction unit is used for correcting the current goods source search information according to the candidate goods source search information.
On the basis of the foregoing embodiment, optionally, the candidate information determining unit includes:
the first candidate information determining subunit is configured to determine, according to the first historical source search information and the second historical source search information, a candidate search starting place and a preference degree of the candidate search starting place in the candidate source search information;
and the second candidate information determining subunit is used for determining candidate searching destinations in the candidate goods source searching information and the preference degrees of the candidate searching destinations according to the second historical goods source searching information.
On the basis of the foregoing embodiment, optionally, the determining the sub-list by the first candidate information includes:
determining a first preference degree of a first-class candidate search starting place and a first-class candidate search starting place according to user position information related to the current goods source search information and the search starting place in the first historical goods source search information;
taking the search starting place in the second historical goods source search information as a second type candidate search starting place, and determining a second preference degree of the second type candidate search starting place according to the quantity of the second type candidate search starting place in the second historical goods source search information;
and determining the preference degree of the candidate search starting place according to the first preference degree and the second preference degree.
On the basis of the foregoing embodiment, optionally, the determining the sub-list by the second candidate information includes:
taking the search destination in the second goods source search information as a candidate search destination in the candidate goods source search information;
determining the preference degree of the searched destinations in the second goods source searching information according to the number of the searched destinations in the second goods source searching information;
and determining the preference degree of the user for the candidate search destination in the candidate goods source search information according to the preference degree of the search destination in the second goods source search information.
On the basis of the foregoing embodiment, optionally, the search information correcting unit includes:
screening the candidate goods source searching information according to the preference degree of the candidate searching starting place and the preference degree of the candidate searching destination in the candidate goods source searching information;
and replacing the search starting place and the search destination in the current goods source search information according to the candidate search starting place and the candidate search destination in the screened candidate goods source search information so as to obtain the corrected current goods source search information.
On the basis of the foregoing embodiment, optionally, the candidate information determining unit further includes:
if candidate goods source searching information determined according to the first historical goods source searching information and the second historical goods source searching information meets a searching adjustment condition, determining a similar goods source route according to a candidate searching starting place and a candidate searching destination in the candidate goods source searching information;
and splitting the similar goods source route to obtain a similar search starting place and a similar search destination, and adding the similar search starting place and the similar search destination to the candidate goods source search information.
On the basis of the above embodiment, optionally, the source search module 320 includes:
combining the search starting place and the search destination in the corrected current goods source search information to obtain a plurality of combined results comprising the search starting place and the search destination;
and carrying out goods source search according to the plurality of combined results, and pushing the search results to the user.
The goods source searching device provided by the embodiment of the invention can execute the goods source searching method provided by any embodiment of the invention, has corresponding functions and beneficial effects of executing the goods source searching method, and the detailed process refers to the related operation of the goods source searching method in the embodiment.
Fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present invention. As shown in fig. 4, the electronic device provided in the embodiment of the present invention includes: one or more processors 410 and storage 420; the processor 410 in the electronic device may be one or more, and one processor 410 is taken as an example in fig. 4; storage 420 is used to store one or more programs; the one or more programs are executed by the one or more processors 410, such that the one or more processors 410 implement the method of sourcing as described in any of the embodiments of the invention.
The electronic device may further include: an input device 430 and an output device 440.
The processor 410, the storage device 420, the input device 430 and the output device 440 in the electronic apparatus may be connected by a bus or other means, and fig. 4 illustrates the connection by the bus as an example.
The storage device 420 in the electronic device is used as a computer-readable storage medium for storing one or more programs, which may be software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for searching for a source of goods provided in the embodiments of the present invention. The processor 410 executes various functional applications and data processing of the electronic device by executing software programs, instructions and modules stored in the storage device 420, namely, implements the cargo source searching method in the above method embodiments.
The storage device 420 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device, and the like. Further, the storage 420 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 examples, the storage 420 may further include memory located remotely from the processor 410, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 430 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. The output device 440 may include a display device such as a display screen.
And, when one or more programs included in the above-mentioned electronic device are executed by the one or more processors 410, the programs perform the following operations:
if the current goods source searching information of the user comprises the fuzzy searching position, correcting the current goods source searching information according to the historical goods source searching information of the user;
and carrying out goods source search according to the corrected current goods source search information to obtain a search result.
Of course, it will be understood by those skilled in the art that when one or more programs included in the electronic device are executed by the one or more processors 410, the programs may also perform related operations in the source search method provided in any embodiment of the present invention.
An embodiment of the present invention provides a computer-readable medium having stored thereon a computer program for executing a source search method when executed by a processor, the method including:
if the current goods source searching information of the user comprises the fuzzy searching position, correcting the current goods source searching information according to the historical goods source searching information of the user;
and carrying out goods source search according to the corrected current goods source search information to obtain a search result.
Optionally, the program, when executed by the processor, may be further configured to perform a source search method provided in any embodiment of the present invention.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a flash Memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. A computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take a variety of forms, including, but not limited to: an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (11)
1. A method for searching a source of goods, comprising:
if the current goods source searching information of the user comprises the fuzzy searching position, correcting the current goods source searching information according to the historical goods source searching information of the user;
and carrying out goods source search according to the corrected current goods source search information to obtain a search result.
2. The method of claim 1, wherein modifying the current source search information based on historical source search information of the user comprises:
determining first historical goods source searching information and second historical goods source searching information of a user;
determining candidate goods source searching information according to the first historical goods source searching information and the second historical goods source searching information;
and correcting the current goods source searching information according to the candidate goods source searching information.
3. The method of claim 2, wherein determining candidate source search information based on the first historical source search information and the second historical source search information comprises:
determining candidate search starting places in the candidate goods source search information and preference degrees of the candidate search starting places according to the first historical goods source search information and the second historical goods source search information;
and determining candidate searching destinations in the candidate goods source searching information and the preference degrees of the candidate searching destinations according to the second historical goods source searching information.
4. The method of claim 3, wherein determining the candidate search starting place and the preference degree of the candidate search starting place in the candidate source search information according to the first historical source search information and the second historical source search information comprises:
determining a first preference degree of a first-class candidate search starting place and a first-class candidate search starting place according to user position information related to the current goods source search information and the search starting place in the first historical goods source search information;
taking the search starting place in the second historical goods source search information as a second type candidate search starting place, and determining a second preference degree of the second type candidate search starting place according to the quantity of the second type candidate search starting place in the second historical goods source search information;
and determining the preference degree of the candidate search starting place according to the first preference degree and the second preference degree.
5. The method of claim 3, wherein determining the candidate search destinations and the preference degrees of the candidate search destinations in the candidate source search information according to the second historical source search information comprises:
taking the search destination in the second goods source search information as a candidate search destination in the candidate goods source search information;
determining the preference degree of the searched destinations in the second goods source searching information according to the number of the searched destinations in the second goods source searching information;
and determining the preference degree of the user for the candidate search destination in the candidate goods source search information according to the preference degree of the search destination in the second goods source search information.
6. The method of claim 2, wherein modifying the current source search information based on candidate source search information comprises:
screening the candidate goods source searching information according to the preference degree of the candidate searching starting place and the preference degree of the candidate searching destination in the candidate goods source searching information;
and replacing the search starting place and the search destination in the current goods source search information according to the candidate search starting place and the candidate search destination in the screened candidate goods source search information so as to obtain the corrected current goods source search information.
7. The method of claim 2, wherein determining candidate source search information based on the first historical source search information and the second historical source search information comprises:
if candidate goods source searching information determined according to the first historical goods source searching information and the second historical goods source searching information meets a searching adjustment condition, determining a similar goods source route according to a candidate searching starting place and a candidate searching destination in the candidate goods source searching information;
and splitting the similar goods source route to obtain a similar search starting place and a similar search destination, and adding the similar search starting place and the similar search destination to the candidate goods source search information.
8. The method of claim 1, wherein performing a source search based on the revised current source search information comprises:
combining the search starting place and the search destination in the corrected current goods source search information to obtain a plurality of combined results comprising the search starting place and the search destination;
and carrying out goods source search according to the plurality of combined results, and pushing the search results to the user.
9. A source search device, comprising:
the information correction module is used for correcting the current goods source search information according to the historical goods source search information of the user if the current goods source search information of the user comprises a fuzzy search position;
and the goods source searching module is used for searching goods sources according to the corrected current goods source searching information to obtain a searching result.
10. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-8.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of searching for a source of goods according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911327184.1A CN111078760B (en) | 2019-12-20 | 2019-12-20 | Goods source searching method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911327184.1A CN111078760B (en) | 2019-12-20 | 2019-12-20 | Goods source searching method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111078760A true CN111078760A (en) | 2020-04-28 |
CN111078760B CN111078760B (en) | 2023-08-08 |
Family
ID=70316288
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911327184.1A Active CN111078760B (en) | 2019-12-20 | 2019-12-20 | Goods source searching method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111078760B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112182051A (en) * | 2020-09-30 | 2021-01-05 | 中国民航信息网络股份有限公司 | Passenger ticket change searching method and system based on brand freight rate mode and storage medium |
CN113095770A (en) * | 2021-05-10 | 2021-07-09 | 满帮信息咨询有限公司 | Order processing method and device, electronic equipment and readable storage medium |
CN114266523A (en) * | 2021-12-29 | 2022-04-01 | 江苏满运物流信息有限公司 | Information display method and device, electronic equipment and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080243783A1 (en) * | 2007-03-28 | 2008-10-02 | Yahoo! Inc. | System for determining the geographic range of local intent in a search query |
US20120102013A1 (en) * | 2010-04-09 | 2012-04-26 | Christopher Martini | Method and Apparatus for Duration-Based Search |
JP2013195131A (en) * | 2012-03-16 | 2013-09-30 | Zenrin Datacom Co Ltd | Information processing system and information processing method |
CN103443584A (en) * | 2011-03-25 | 2013-12-11 | 索尼公司 | Information processing device, information processing method, and program |
US9098569B1 (en) * | 2010-12-10 | 2015-08-04 | Amazon Technologies, Inc. | Generating suggested search queries |
CN107169837A (en) * | 2017-05-19 | 2017-09-15 | 北京京东尚科信息技术有限公司 | Method, device, electronic equipment and computer-readable medium for aiding in search |
CN107436893A (en) * | 2016-05-26 | 2017-12-05 | 北京搜狗科技发展有限公司 | A kind of webpage recommending method and device |
CN107798066A (en) * | 2017-09-25 | 2018-03-13 | 北京小度信息科技有限公司 | A kind of search term method for pushing, device and terminal |
WO2019015262A1 (en) * | 2017-07-20 | 2019-01-24 | 北京三快在线科技有限公司 | Information search method, apparatus and system |
US20190226864A1 (en) * | 2016-08-16 | 2019-07-25 | Nissan Motor Co., Ltd. | Route searching method and route searching device |
CN110059265A (en) * | 2019-05-13 | 2019-07-26 | 上海连尚网络科技有限公司 | Method and apparatus for handling information |
-
2019
- 2019-12-20 CN CN201911327184.1A patent/CN111078760B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080243783A1 (en) * | 2007-03-28 | 2008-10-02 | Yahoo! Inc. | System for determining the geographic range of local intent in a search query |
US20120102013A1 (en) * | 2010-04-09 | 2012-04-26 | Christopher Martini | Method and Apparatus for Duration-Based Search |
US9098569B1 (en) * | 2010-12-10 | 2015-08-04 | Amazon Technologies, Inc. | Generating suggested search queries |
CN103443584A (en) * | 2011-03-25 | 2013-12-11 | 索尼公司 | Information processing device, information processing method, and program |
JP2013195131A (en) * | 2012-03-16 | 2013-09-30 | Zenrin Datacom Co Ltd | Information processing system and information processing method |
CN107436893A (en) * | 2016-05-26 | 2017-12-05 | 北京搜狗科技发展有限公司 | A kind of webpage recommending method and device |
US20190226864A1 (en) * | 2016-08-16 | 2019-07-25 | Nissan Motor Co., Ltd. | Route searching method and route searching device |
CN107169837A (en) * | 2017-05-19 | 2017-09-15 | 北京京东尚科信息技术有限公司 | Method, device, electronic equipment and computer-readable medium for aiding in search |
WO2019015262A1 (en) * | 2017-07-20 | 2019-01-24 | 北京三快在线科技有限公司 | Information search method, apparatus and system |
CN107798066A (en) * | 2017-09-25 | 2018-03-13 | 北京小度信息科技有限公司 | A kind of search term method for pushing, device and terminal |
CN110059265A (en) * | 2019-05-13 | 2019-07-26 | 上海连尚网络科技有限公司 | Method and apparatus for handling information |
Non-Patent Citations (2)
Title |
---|
孙华志;侯洁;: "基于资源位置与节点反馈的P2P搜索算法", no. 06 * |
王兰波,张积友,范冰冰: "国内信息导航系统中搜索引擎Robot的设计与实现", 计算机应用与软件, no. 03 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112182051A (en) * | 2020-09-30 | 2021-01-05 | 中国民航信息网络股份有限公司 | Passenger ticket change searching method and system based on brand freight rate mode and storage medium |
CN112182051B (en) * | 2020-09-30 | 2024-04-05 | 中国民航信息网络股份有限公司 | Passenger ticket changing searching method, system and storage medium based on brand freight rate mode |
CN113095770A (en) * | 2021-05-10 | 2021-07-09 | 满帮信息咨询有限公司 | Order processing method and device, electronic equipment and readable storage medium |
CN113095770B (en) * | 2021-05-10 | 2024-08-06 | 满帮信息咨询有限公司 | Order processing method, order processing device, electronic equipment and readable storage medium |
CN114266523A (en) * | 2021-12-29 | 2022-04-01 | 江苏满运物流信息有限公司 | Information display method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111078760B (en) | 2023-08-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9404760B2 (en) | Efficient route planning in public transportation networks | |
CN110968791A (en) | Data processing method, device and equipment for goods source route and storage medium | |
US20230152108A1 (en) | Emission-optimized vehicle route and charging | |
CN111078760B (en) | Goods source searching method, device, equipment and storage medium | |
US9524521B2 (en) | Systems and methods for recommending a retail location | |
US20170371925A1 (en) | Query data structure representation | |
US9026523B2 (en) | Efficient selection of queries matching a record using a cache | |
US20190394613A1 (en) | Location search using dynamic regions generated based on service data | |
US20170220945A1 (en) | Enhancing robustness of pseudo-relevance feedback models using query drift minimization | |
CN115544088A (en) | Address information query method, device, electronic equipment and storage medium | |
US10956528B2 (en) | Automatic detection of point of interest change using cohort analysis | |
US11947779B2 (en) | User-interface driven creation and distribution of computer applications | |
CN110796415A (en) | Goods source determining method, device, equipment and storage medium | |
CN113886683A (en) | Label cluster construction method, system, storage medium and electronic device | |
WO2021236423A1 (en) | Identifying claim complexity by integrating supervised and unsupervised learning | |
CN110782215B (en) | Goods source determining method, device, equipment and storage medium | |
US20150161192A1 (en) | Identifying versions of an asset that match a search | |
US12124511B1 (en) | Systems and methods for optimizing search result generation | |
CN111582798A (en) | Method, apparatus and computer-readable storage medium for tracking logistics | |
US20170083607A1 (en) | Extending a classification database by user interactions | |
CN111126909A (en) | Data processing method, device and equipment for goods source route and storage medium | |
US9727652B2 (en) | Utilizing dependency among internet search results | |
US8577376B2 (en) | Location based network access point scanning | |
CN110852684B (en) | Method, device, equipment and storage medium for determining goods source preference | |
JP2022509574A (en) | Carrier route prediction based on dynamic input data |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |