Parking lot recommendation method, device, electronic device and medium
By obtaining the characteristic information of the parking lot and the user, combined with similarity calculation, the problem of unrefined parking lot recommendation results in the existing technology is solved, and personalized parking lot recommendation is realized.
Patent Information
- Application Number
- CN202010062872.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-01-19
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-01-19
AI Technical Summary
Existing parking lot recommendation methods cannot meet users' personalized needs and lack refined recommendation results.
By obtaining the attribute information of the candidate parking lot and the user's historical parking information, the parking lot characteristic information and user characteristic information are determined, and combined with the similarity calculation algorithm, the target recommended parking lot is selected from the candidate parking lot, taking into account the user's personalized preferences.
Achieve more refined parking lot recommendations, meet users' personalized needs, and provide parking lot options that better meet users' parking needs.
Smart Images

Figure CN113139118B
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to data processing technology, in particular to big data technology, and specifically to a parking lot recommendation method, device, electronic device and medium. Background Art
[0002] Currently, most car owners use map applications for navigation when traveling. No matter they are traveling for work, traveling with family, or traveling across cities, they need to use map applications for route navigation to reach an unfamiliar place. Since they are not familiar with the destination and its surroundings, after arriving at the destination, being able to recommend ideal nearby parking lots to users has become an urgent problem to be solved.
[0003] Existing parking lot recommendation methods all make recommendations based on the dynamic or static attributes of the parking lot itself. Therefore, the precision of the recommendation results is low and cannot meet the personalized needs of users. Summary of the invention
[0004] The embodiments of the present application disclose a parking lot recommendation method, device, electronic device and medium, which can solve the problem that the existing parking lot recommendation method cannot meet the personalized needs of users.
[0005] In a first aspect, an embodiment of the present application discloses a parking lot recommendation method, comprising:
[0006] Acquire attribute information of each candidate parking lot, and determine parking lot characteristic information of the corresponding candidate parking lot according to the attribute information of each candidate parking lot;
[0007] Acquire historical parking information of the current user, and determine user characteristic information of the current user based on the historical parking information;
[0008] A target recommended parking lot is selected from each of the candidate parking lots according to the parking lot characteristic information and the user characteristic information, and the target recommended parking lot is recommended to the current user.
[0009] One embodiment of the above application has the following advantages or beneficial effects: by determining the parking lot characteristic information of the corresponding candidate parking lots according to the attribute information of each candidate parking lot, and determining the user characteristic information of the current user according to the historical parking information, and finally determining the target recommended parking lot according to the characteristic information of each parking lot and the user characteristic information and recommending it to the user. Since not only the parking lot characteristic information but also the user characteristic information is considered during the recommendation, the recommendation result can meet the personalized needs of the user.
[0010] In addition, the parking lot recommendation method according to the above embodiment of the present application may also have the following additional technical features:
[0011] Optionally, determining user characteristic information of the current user according to the historical parking information includes:
[0012] Determining the relevance between the current user and each of the candidate parking lots according to the historical parking information;
[0013] The user characteristic information of the current user is determined according to the relevance between the current user and each of the candidate parking lots and the parking lot characteristic information of each of the candidate parking lots.
[0014] One embodiment of the above application has the following advantages or beneficial effects: by determining the relevance between the current user and each candidate parking lot based on historical parking information, and determining the user characteristic information based on the relevance and the parking characteristic information of each candidate parking lot, a data foundation is laid for subsequently determining the target recommended parking lot based on the user characteristic information.
[0015] Optionally, determining the user characteristic information of the current user according to the relevance between the current user and each of the candidate parking lots and the parking lot characteristic information of each of the candidate parking lots includes:
[0016] The sum of the products of the relevance of each candidate parking lot and the parking lot characteristic information corresponding to the candidate parking lot is used as the user characteristic information of the current user.
[0017] One embodiment of the above application has the following advantages or beneficial effects: by using the sum of the products of the relevance of each candidate parking lot and the parking lot characteristic information of each candidate parking lot as the user characteristic information of the current user, the technical effect of determining the user characteristic information is achieved, laying a data foundation for subsequently determining the target recommended parking lot based on the user characteristic information.
[0018] Optionally, determining the relevance between the current user and each of the candidate parking lots according to the historical parking information includes:
[0019] If the historical parking information is associated with any candidate parking lot, the relevance between the current user and the candidate parking lot is a first value, otherwise it is a second value; wherein the first value is different from the second value.
[0020] One embodiment of the above application has the following advantages or beneficial effects: by determining the relevance of candidate parking lots based on the association between historical parking information and candidate parking lots, a data foundation is laid for subsequently determining user feature information based on the relevance of candidate parking lots.
[0021] Optionally, the historical parking information includes: at least one of: entry and exit records, reservation records, parking records, payment records and parking duration records in the parking lot.
[0022] One embodiment in the above application has the following advantages or beneficial effects: at least one of the parking lot entry and exit records, reservation records, parking records, payment records and parking duration records is used as historical parking information, enriching the information contained in the historical parking information, so that the relevance of the candidate parking lots determined based on the historical parking information is more accurate.
[0023] Optionally, selecting a target recommended parking lot from each of the candidate parking lots according to the parking lot feature information and the user feature information includes:
[0024] Calculate the similarity between the user characteristic information and each parking lot characteristic information according to a preset similarity calculation algorithm;
[0025] The candidate parking lot corresponding to the calculated highest similarity is selected as the target recommended parking lot.
[0026] One embodiment of the above application has the following advantages or beneficial effects: by calculating the similarity between user feature information and the feature information of each parking lot, and taking the candidate parking lot corresponding to the highest similarity as the target recommended parking lot, the target recommended parking lot not only considers the parking lot feature information, but also considers the user feature information, so that the recommendation result can meet the user's personalized needs.
[0027] Optionally, selecting a target recommended parking lot from each of the candidate parking lots according to the parking lot feature information and the user feature information includes:
[0028] Calculate the similarity between the user feature information of the current user and the user feature information of other users according to a preset similarity calculation algorithm;
[0029] Determine other users whose user feature information is more similar to the current user than a set threshold, and recommend parking lots for the targets determined by other users;
[0030] The target recommended parking lot determined for other users is determined as the target recommended parking lot corresponding to the current user.
[0031] One embodiment of the above application has the following advantages or beneficial effects: by calculating the similarity between the user feature information of the current user and the user feature information of other users, and taking the target recommended parking lot of other users whose similarity is greater than a set threshold as the target parking lot corresponding to the current user, the technical effect of recommending the target recommended parking lot based on the similarity between users is achieved, further meeting the user's personalized needs.
[0032] In a second aspect, the embodiment of the present application further discloses a parking lot recommendation device, including:
[0033] A parking lot characteristic information determination module, used to obtain attribute information of each candidate parking lot, and determine parking lot characteristic information of the corresponding candidate parking lot according to the attribute information of each candidate parking lot;
[0034] A user characteristic information determination module, used to obtain historical parking information of a current user and determine user characteristic information of the current user based on the historical parking information;
[0035] The parking lot recommendation module is used to select a target recommended parking lot from each of the candidate parking lots according to the parking lot feature information and the user feature information, and recommend the target recommended parking lot to the current user.
[0036] In a third aspect, an embodiment of the present application further discloses an electronic device, including:
[0037] at least one processor; and
[0038] a memory communicatively connected to the at least one processor; wherein,
[0039] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the parking lot recommendation method described in any embodiment of the present application.
[0040] In a fourth aspect, an embodiment of the present application further discloses a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute the parking lot recommendation method described in any embodiment of the present application.
[0041] Other effects of the above optional manner will be described below in conjunction with specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present application.
[0043] Figure 1 is a flowchart of a parking lot recommendation method according to the first embodiment of the present application;
[0044] Figure 2 is a flowchart of a parking lot recommendation method according to the second embodiment of the present application;
[0045] Figure 3 is a flowchart of a parking lot recommendation method according to the third embodiment of the present application;
[0046] Figure 4 is a structural schematic diagram of a parking lot recommendation device according to a fourth embodiment of the present application;
[0047] Figure 5 It is a block diagram of an electronic device used to implement the parking lot recommendation method of the embodiment of the present application. DETAILED DESCRIPTION
[0048] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0049] Embodiment 1
[0050] Figure 1 This is a flow chart of a parking lot recommendation method provided in the first embodiment of the present application. This embodiment is applicable to the case of recommending parking lots to users, and can be executed by the parking lot recommendation device provided in the embodiment of the present application, which can be implemented in software and / or hardware. Figure 1 As shown, the method may include:
[0051] S101. Acquire attribute information of each candidate parking lot, and determine parking lot characteristic information of the corresponding candidate parking lot according to the attribute information of each candidate parking lot.
[0052] The candidate parking lot represents all available parking lots within a preset distance threshold from the user's target location, and the preset distance threshold can be set arbitrarily. The attribute information of the candidate parking lot includes at least one of static attribute information, dynamic attribute information, and attribute information of the region to which it belongs, wherein the static attribute information represents the inherent attribute information of the parking lot, including at least one of parking lot charging information, total parking space size, parking lot type, driving distance between the user's navigation end point and the parking lot, driving time between the user's navigation end point and the parking lot, walking distance between the user's navigation end point and the parking lot, and walking time between the user's navigation end point and the parking lot; the dynamic attribute information includes at least one of the current remaining parking spaces in the parking lot, parking time, and parking difficulty information; the region attribute information represents the relevant information of the region to which the parking lot belongs, including: information of the parent POI (Point of Interest), such as the level information of the hospital to which it belongs, the level information of the tourist attraction to which it belongs, the loop information of the region to which it belongs, the prosperity information of the shopping mall to which it belongs, etc.
[0053] Specifically, when a user is using a navigation application software, if he wants to query candidate parking lots near a target location, where the target location can be the current location or any other location, he clicks the query button on the navigation application software interface, and the server responds to the query request, and determines the target search area with the target location as the center and the preset distance threshold as the radius, and determines the candidate parking lots in the target search area. After determining the candidate parking lots, the server determines the static attribute information and the attribute information of the area to which it belongs in the attribute information of each candidate parking lot based on the stored historical collection information, and determines the dynamic attribute information in the attribute information of each candidate parking lot based on the real-time collection information. Finally, based on the acquired attribute information of each candidate parking lot, the acquired attribute information of each candidate parking lot is converted into the parking lot feature information of the corresponding candidate parking lot through methods including convolutional neural network, Word2Vec and Doc2Vec.
[0054] By acquiring the attribute information of each candidate parking lot and determining the parking lot characteristic information of the corresponding candidate parking lot according to the attribute information of each candidate parking lot, a foundation is laid for subsequently determining the target recommended parking lot according to the parking lot characteristic information.
[0055] S102: Acquire historical parking information of the current user, and determine user characteristic information of the current user according to the historical parking information.
[0056] Among them, with the continuous improvement of network functions such as unmanned parking lots and electronic parking lots, online reservations, payments and parking records, users' historical parking information can be easily obtained. Users' historical parking information refers to the relevant record information generated by users in the past in parking lots.
[0057] Specifically, each time the user completes various operations related to each candidate parking lot, the information is recorded through navigation application software and transmitted to the server for storage as the historical parking information of the current user. When the user needs to query a parking lot, the server obtains the historical parking information related to the user based on the user's identity information. The server queries whether there are related candidate parking lots from the acquired historical parking information, and determines the user characteristic information of the current user based on the query result and the parking lot characteristic information of each candidate parking lot.
[0058] Optionally, the historical parking information includes: at least one of: entry and exit records, reservation records, parking records, payment records and parking duration records in the parking lot.
[0059] Optionally, in step 102, "determining user characteristic information of the current user based on the historical parking information" includes: determining the relevance of the current user to each of the candidate parking lots based on the historical parking information; determining the user characteristic information of the current user based on the relevance of the current user to each of the candidate parking lots and the parking lot characteristic information of each of the candidate parking lots.
[0060] By obtaining the historical parking information of the current user and determining the user characteristic information of the current user based on the historical parking information, a foundation is laid for subsequently determining the target recommended parking lot based on the user characteristic information.
[0061] S103 . Select a target recommended parking lot from the candidate parking lots according to the parking lot characteristic information and the user characteristic information, and recommend the target recommended parking lot to the current user.
[0062] Specifically, after obtaining the characteristic information of each parking lot and the user characteristic information of the current user, the correlation degree between the user characteristic information and the characteristic information of each parking lot is determined, and a target recommended parking lot is selected from the candidate parking lots according to the correlation degree, wherein the number of target recommended parking lots may be one or more. Finally, the obtained target recommended parking lot is recommended to the user, and the form of recommendation includes visually displaying the target recommended parking lot in the navigation application software interface. When the user clicks the confirmation button, a navigation route is generated according to the user's target location and the location of the target recommended parking lot, and auxiliary information is generated on the navigation application software interface, including distance information, required time information, number of traffic lights, road condition information, weather information, etc.
[0063] Optionally, S103 includes: calculating the similarity between the user feature information and each parking lot feature information according to a preset similarity calculation algorithm; and selecting a candidate parking lot corresponding to the calculated highest similarity as a target recommended parking lot.
[0064] Simply considering the parking lot attribute information can certainly provide users with corresponding parking lots. However, with the improvement of people's living standards, the demand for self-personalization is also getting higher and higher. The recommendation of information flow needs to be personalized, and the recommendation of goods needs to be personalized. Similarly, for car owners, if personalized parking lots can be recommended based on historical parking information, it is certainly possible to provide users with more refined parking lots that meet their own parking needs. For example, some users tend to park in underground parking garages of large shopping malls and do not mind a slightly longer distance. Some users prefer to park in parking lots that are closer to the destination or have more remaining parking spaces. These all require deeper mining of users. Therefore, by selecting the target recommended parking lot from each candidate parking lot based on the characteristic information of each parking lot and the user's characteristic information, the personalized needs of users can be met.
[0065] The technical solution provided in the embodiment of the present application determines the parking lot characteristic information of the corresponding candidate parking lots according to the attribute information of each candidate parking lot, and determines the user characteristic information of the current user according to the historical parking information, and finally determines the target recommended parking lot according to the characteristic information of each parking lot and the user characteristic information, and recommends it to the user. Since not only the parking lot characteristic information but also the user characteristic information is considered in the recommendation, the recommendation result can meet the personalized needs of the user.
[0066] Embodiment 2
[0067] Figure 2 This is a flow chart of a parking lot recommendation method provided in Example 2 of the present application. This embodiment provides a specific implementation method for the above embodiment, such as Figure 2 As shown, the method may include:
[0068] S201. Acquire attribute information of each candidate parking lot, and determine parking lot characteristic information of the corresponding candidate parking lot according to the attribute information of each candidate parking lot.
[0069] S202: Acquire historical parking information of the current user, and determine the relevance between the current user and each of the candidate parking lots according to the historical parking information.
[0070] Specifically, a query is performed in each record information included in the historical parking information to determine the association relationship with each candidate parking lot, and the relevance between the current user and each candidate parking lot is determined according to the query result.
[0071] Optionally, S202 includes: if the historical parking information is associated with any candidate parking lot, the relevance between the current user and the candidate parking lot is a first value, otherwise it is a second value; wherein the first value is different from the second value.
[0072] For example, if there is a record of candidate parking lot A in the "parking lot entry and exit records" in the historical parking information, it means that the historical parking information is associated with candidate parking lot A, and the corresponding correlation between the current user and candidate parking lot A is a first value; if there is a record of candidate parking lot B in the "reservation record" in the historical parking information, it means that the historical parking information is associated with candidate parking lot B, and the corresponding correlation between the current user and candidate parking lot B is a first value; if there is no record of candidate parking lot C in the "parking lot entry and exit records", "reservation records", "parking records", "payment records" and "parking duration records" in the historical parking information, it means that the historical parking information is not associated with candidate parking lot C, and the corresponding correlation between the current user and candidate parking lot C is a second value. In this embodiment, the first value can be "1" and the second value can be "0".
[0073] S203 : Determine user characteristic information of the current user according to the relevance between the current user and each of the candidate parking lots and the parking lot characteristic information of each of the candidate parking lots.
[0074] Optionally, S203 includes: taking the sum of the products of the relevance of each candidate parking lot and the parking lot characteristic information of each candidate parking lot as the user characteristic information of the current user.
[0075] The calculation process of user feature information can be expressed by the following formula: where x u Represents the user feature information of the current user, x i is the parking lot feature information of candidate parking lot i, r ui is the correlation between the current user u and the candidate parking lot i, and I(u) is the set of candidate parking lots.
[0076] Exemplarily, assume that the set of candidate parking lots consists of candidate parking lot A, candidate parking lot B, candidate parking lot C and candidate parking lot D; the parking lot feature information of candidate parking lot A is A1, the parking lot feature information of candidate parking lot B is B1, the parking lot feature information of candidate parking lot C is C1, and the parking lot feature information of candidate parking lot D is D1; the correlation between the current user x and candidate parking lot A is 1, the correlation with candidate parking lot B is 1, the correlation with candidate parking lot C is 0, and the correlation with candidate parking lot D is 1, then the user feature information X of the current user x is X=1*A1+1*B1+0*C1+1*D1=A1+B1+D1.
[0077] S204: Calculate the similarity between the user characteristic information and each parking lot characteristic information according to a preset similarity calculation algorithm.
[0078] The preset similarity calculation algorithm includes but is not limited to a cosine similarity algorithm and a Pearson correlation coefficient algorithm.
[0079] Specifically, the user feature information and the feature information of each parking lot are used as input parameters and substituted into the preset similarity calculation algorithm to calculate the similarity. This embodiment takes the cosine similarity algorithm as the preset similarity calculation algorithm as an example, and the specific calculation process can be expressed by the following formula:
[0080]
[0081] Among them, x i is the parking lot feature information of candidate parking lot i, x u Represents the user feature information of the current user, S ui is the parking lot feature information and user feature information x of candidate parking lot i u The similarity between .
[0082] S205 . Select the candidate parking lot corresponding to the calculated highest similarity as the target recommended parking lot, and recommend the target recommended parking lot to the current user.
[0083] Specifically, the similarities calculated in S204 are sorted from high to low to determine the highest similarity, and the candidate parking lot corresponding to the highest similarity is used as the target recommended parking lot, and finally the target recommended parking lot is recommended to the current user.
[0084] The technical solution provided by the embodiment of the present application obtains the historical parking information of the current user, and determines the relevance of the current user to each candidate parking lot based on the historical parking information, and then determines the user feature information of the current user based on the relevance of the current user to each candidate parking lot and the parking lot feature information of each candidate parking lot. Finally, according to a preset similarity calculation algorithm, the similarity between the user feature information and the feature information of each parking lot is calculated, and the candidate parking lot corresponding to the maximum similarity is recommended to the current user. Since not only the parking lot feature information but also the user feature information is considered in the recommendation, the recommendation result can meet the personalized needs of the user.
[0085] Embodiment 3
[0086] Figure 3 This is a flow chart of a parking lot recommendation method provided in Example 3 of the present application. This embodiment provides a specific implementation method for the above embodiment, such as Figure 3 As shown, the method may include:
[0087] S301. Acquire attribute information of each candidate parking lot, and determine parking lot characteristic information of the corresponding candidate parking lot according to the attribute information of each candidate parking lot.
[0088] S302: Acquire historical parking information of the current user, and determine the relevance between the current user and each of the candidate parking lots according to the historical parking information.
[0089] S303 : Determine user characteristic information of the current user according to the relevance between the current user and each of the candidate parking lots and the parking lot characteristic information of each of the candidate parking lots.
[0090] S304: Calculate the similarity between the user feature information of the current user and the user feature information of other users according to a preset similarity calculation algorithm.
[0091] The preset similarity calculation algorithm includes but is not limited to a cosine similarity algorithm and a Pearson correlation coefficient algorithm.
[0092] Specifically, the user characteristic information of the current user and the user characteristic information of other users are used as input parameters and substituted into a preset similarity calculation algorithm to calculate the similarity.
[0093] S305: Determine other users whose user feature information similarity with the current user is greater than a set threshold, and determine target recommended parking lots for other users.
[0094] Specifically, the similarities obtained in S304 are screened according to a set threshold value to determine other users whose user characteristic information similarity with the current user is greater than the set threshold value, and the target recommended parking lot determined for the other users is determined.
[0095] Exemplarily, the similarities between the user feature information of the current user A and the user feature information of other users B, other users C and other users D are 80%, 85% and 90% respectively, and the threshold is set to 83%. Then, other users C and other users D are determined, and the target recommended parking lots determined for other users C and other users D are: parking lot C and parking lot D.
[0096] S306: Determine the target recommended parking lot determined for other users as the target recommended parking lot corresponding to the current user, and recommend it to the current user.
[0097] The technical solution provided in the embodiment of the present application calculates the similarity between the user feature information of the current user and the user feature information of other users, and uses the target recommended parking lot of other users whose similarity is greater than a set threshold as the target parking lot corresponding to the current user, thereby achieving the technical effect of recommending the target recommended parking lot based on the similarity between users, and further meeting the user's personalized needs.
[0098] Embodiment 4
[0099] Figure 4 This is a schematic diagram of the structure of a parking lot recommendation device 40 provided in the fourth embodiment of the present application, which can execute a parking lot recommendation method provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method. Figure 4 As shown, the device may include:
[0100] The parking lot characteristic information determination module 41 is used to obtain the attribute information of each candidate parking lot, and determine the parking lot characteristic information of the corresponding candidate parking lot according to the attribute information of each candidate parking lot;
[0101] A user characteristic information determination module 42, used to obtain historical parking information of the current user and determine user characteristic information of the current user based on the historical parking information;
[0102] The parking lot recommendation module 43 is used to select a target recommended parking lot from each of the candidate parking lots according to the parking lot feature information and the user feature information, and recommend the target recommended parking lot to the current user.
[0103] Based on the above embodiment, the user characteristic information determination module 42 is specifically used for:
[0104] Determining the relevance between the current user and each of the candidate parking lots according to the historical parking information;
[0105] The user characteristic information of the current user is determined according to the relevance between the current user and each of the candidate parking lots and the parking lot characteristic information of each of the candidate parking lots.
[0106] Based on the above embodiment, the user characteristic information determination module 42 is further configured to:
[0107] The sum of the products of the relevance of each candidate parking lot and the parking lot characteristic information of each candidate parking lot is used as the user characteristic information of the current user.
[0108] Based on the above embodiment, the user characteristic information determination module 42 is further configured to:
[0109] If the historical parking information is associated with any candidate parking lot, the relevance between the current user and the candidate parking lot is a first value, otherwise it is a second value; wherein the first value is different from the second value.
[0110] Based on the above embodiment, the historical parking information includes at least one of: an entry and exit record, a reservation record, a parking record, a payment record, and a parking duration record in the parking lot.
[0111] Based on the above embodiment, the parking lot recommendation module 43 is specifically used for:
[0112] Calculate the similarity between the user characteristic information and each parking lot characteristic information according to a preset similarity calculation algorithm;
[0113] The candidate parking lot corresponding to the calculated highest similarity is selected as the target recommended parking lot.
[0114] Based on the above embodiment, the parking lot recommendation module 43 is further used for:
[0115] Calculate the similarity between the user feature information of the current user and the user feature information of other users according to a preset similarity calculation algorithm;
[0116] Determine other users whose user feature information is more similar to the current user than a set threshold, and recommend parking lots for the targets determined by other users;
[0117] The target recommended parking lot determined for other users is determined as the target recommended parking lot corresponding to the current user.
[0118] The parking lot recommendation device 40 provided in the embodiment of the present application can execute the parking lot recommendation method provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not fully described in this embodiment, please refer to the parking lot recommendation method provided in any embodiment of the present application.
[0119] According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.
[0120] like Figure 5 , is a block diagram of an electronic device according to a parking lot recommendation method according to an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0121] like Figure 5As shown, the electronic device includes: one or more processors 501, a memory 502, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 501 is taken as an example.
[0122] The memory 502 is a non-transitory computer-readable storage medium provided in the present application. The memory stores instructions executable by at least one processor to enable the at least one processor to perform the parking lot recommendation method provided in the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions, which are used to enable a computer to perform the parking lot recommendation method provided in the present application.
[0123] The memory 502 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as program instructions / modules corresponding to the parking lot recommendation method in the embodiment of the present application (for example, the attached Figure 4 The processor 501 executes various functional applications and data processing of the server by running the non-transient software programs, instructions and modules stored in the memory 502, that is, the parking lot recommendation method in the above method embodiment is implemented.
[0124] The memory 502 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created based on the use of the electronic device recommended by the parking lot, etc. In addition, the memory 502 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 502 may optionally include a memory remotely disposed relative to the processor 501, and these remote memories may be connected to the electronic device recommended by the parking lot via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a blockchain network, a local area network, a mobile communication network, and combinations thereof.
[0125] The electronic device of the parking lot recommendation method may further include: an input device 503 and an output device 504. The processor 501, the memory 502, the input device 503 and the output device 504 may be connected via a bus or other means. Figure 5 The example of connecting through bus is taken in the following.
[0126] The input device 503 can receive input digital or character information, and generate key signal input related to user settings and function control of the electronic device recommended by the parking lot, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick and other input devices. The output device 504 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display and a plasma display. In some embodiments, the display device may be a touch screen.
[0127] Various implementations of the systems and techniques described herein can be realized in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0128] These computer programs (also referred to as programs, software, software applications, or code) include machine instructions for programmable processors and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or means (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0129] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0130] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.
[0131] A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.
[0132] According to the technical solution of the embodiment of the present application, by determining the parking lot characteristic information of each candidate parking lot and the user characteristic information of the current user, the parking lot is finally recommended to the user based on the characteristic information of each parking lot and the user characteristic information. Since not only the parking lot characteristic information but also the user characteristic information is considered during the recommendation, the recommendation result can meet the user's personalized needs.
[0133] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.
[0134] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A parking lot recommendation method, It is characterized in that The method comprises: Acquire attribute information of each candidate parking lot, and determine parking lot characteristic information of the corresponding candidate parking lot according to the attribute information of each candidate parking lot; Acquire historical parking information of the current user, if the historical parking information is associated with any candidate parking lot, then the relevance between the current user and the candidate parking lot is a first value, otherwise it is a second value; wherein the first value is different from the second value; The sum of the products of the relevance of each candidate parking lot and the parking lot characteristic information corresponding to the candidate parking lot is used as the user characteristic information of the current user; Selecting a target recommended parking lot from each of the candidate parking lots according to the parking lot characteristic information and the user characteristic information, and recommending the target recommended parking lot to the current user; The historical parking information includes: parking lot entry and exit records, reservation records, parking records, payment records, and parking duration records; The candidate parking lots represent all available parking lots within a preset distance threshold from the user's target location; The attribute information of the candidate parking lot includes: static attribute information, attribute information of the area to which it belongs, and dynamic attribute information; The static attribute information represents the inherent attribute information of the parking lot; the dynamic attribute information includes at least one of the current remaining parking spaces in the parking lot, the parking time and the parking difficulty; the area attribute information represents the relevant information of the area to which the parking lot belongs; The static attribute information includes parking lot charging information, total parking space size, parking lot type, driving distance between the user navigation end point and the parking lot, driving time between the user navigation end point and the parking lot, walking distance between the user navigation end point and the parking lot, and walking time between the user navigation end point and the parking lot; The attribute information of the region includes at least one of the grade information of the hospital, the grade information of the tourist attraction, the loop information of the region, and the prosperity information of the shopping mall; The recommending the target recommended parking lot to the current user includes: visually displaying the target recommended parking lot in a navigation application software interface; when the user clicks a confirmation button, a navigation route is generated according to the user's target location and the location of the target recommended parking lot, and auxiliary information is generated on the navigation application software interface; the auxiliary information includes the number of traffic lights, road condition information, and weather information.
2. The method according to claim 1, It is characterized in that Selecting a target recommended parking lot from each of the candidate parking lots according to the parking lot feature information and the user feature information includes: Calculate the similarity between the user characteristic information and each parking lot characteristic information according to a preset similarity calculation algorithm; The candidate parking lot corresponding to the calculated highest similarity is selected as the target recommended parking lot.
3. The method according to claim 1, It is characterized in that Selecting a target recommended parking lot from each of the candidate parking lots according to the parking lot feature information and the user feature information includes: Calculate the similarity between the user feature information of the current user and the user feature information of other users according to a preset similarity calculation algorithm; Determine other users whose user feature information is more similar to the current user than a set threshold, and recommend parking lots for the targets determined by other users; The target recommended parking lot determined for other users is determined as the target recommended parking lot corresponding to the current user.
4. A parking lot recommendation device, It is characterized in that The device comprises: A parking lot characteristic information determination module, used to obtain attribute information of each candidate parking lot, and determine parking lot characteristic information of the corresponding candidate parking lot according to the attribute information of each candidate parking lot; A user characteristic information determination module is used to obtain the historical parking information of the current user. If the historical parking information is associated with any candidate parking lot, the correlation between the current user and the candidate parking lot is a first value, otherwise it is a second value; wherein the first value is different from the second value; and the sum of the products of the correlation between each candidate parking lot and the parking lot characteristic information corresponding to the candidate parking lot is used as the user characteristic information of the current user; A parking lot recommendation module, configured to select a target recommended parking lot from each of the candidate parking lots according to the parking lot feature information and the user feature information, and recommend the target recommended parking lot to the current user; The historical parking information includes: parking lot entry and exit records, reservation records, parking records, payment records, and parking duration records; The candidate parking lots represent all available parking lots within a preset distance threshold from the user's target location; The attribute information of the candidate parking lot includes: static attribute information, attribute information of the area to which it belongs, and dynamic attribute information; The static attribute information represents the inherent attribute information of the parking lot; the dynamic attribute information includes at least one of the current remaining parking spaces in the parking lot, the parking time and the parking difficulty; the area attribute information represents the relevant information of the area to which the parking lot belongs; The static attribute information includes parking lot charging information, total parking space size, parking lot type, driving distance between the user navigation end point and the parking lot, driving time between the user navigation end point and the parking lot, walking distance between the user navigation end point and the parking lot, and walking time between the user navigation end point and the parking lot; The attribute information of the region includes at least one of the grade information of the hospital, the grade information of the tourist attraction, the loop information of the region, and the prosperity information of the shopping mall; The parking lot recommendation module is specifically used to visualize the target recommended parking lot in the navigation application software interface. When the user clicks the confirmation button, a navigation route is generated according to the user's target location and the location of the target recommended parking lot, and auxiliary information is generated on the navigation application software interface; the auxiliary information includes the number of traffic lights, road conditions and weather information.
5. The device according to claim 4, It is characterized in that The parking lot recommendation module is specifically used for: Calculate the similarity between the user characteristic information and each parking lot characteristic information according to a preset similarity calculation algorithm; The candidate parking lot corresponding to the calculated highest similarity is selected as the target recommended parking lot.
6. The device according to claim 4, It is characterized in that The parking lot recommendation module is further used for: Calculate the similarity between the user feature information of the current user and the user feature information of other users according to a preset similarity calculation algorithm; Determine other users whose user feature information is more similar to the current user than a set threshold, and recommend parking lots for the targets determined by other users; The target recommended parking lot determined for other users is determined as the target recommended parking lot corresponding to the current user.
7. An electronic device, It is characterized in that include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the parking lot recommendation method according to any one of claims 1 to 3.
8. A non-transitory computer-readable storage medium storing computer instructions, It is characterized in that The computer instructions are used to enable the computer to execute the parking lot recommendation method according to any one of claims 1 to 3.
