Vehicle parking management and control method, device and equipment
By obtaining and processing the authentication request of the vehicle entry terminal on the edge server, and reporting it to the cloud server if it fails, the problem of edge server authentication failure is solved and the user parking experience and system reliability are improved.
Patent Information
- Application Number
- CN202410846283.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-06
AI Technical Summary
During the vehicle entry process, the authorization data of the edge server and the cloud server are out of sync or the cloud server is upgraded first, resulting in inconsistent business rule processing. As a result, the edge server cannot successfully authenticate the vehicle, affecting the user's parking experience.
Obtain the authentication request of the vehicle entry terminal on the edge server. If the authentication fails, the vehicle information is reported to the cloud server for authentication, and the result is returned to the terminal to ensure the accuracy of the authentication result and the management of the validity period. , periodically send heartbeat requests to monitor the status of the edge server, and if abnormal, turn to the cloud server for authentication.
By directly reporting vehicle information to the cloud server for authentication, authentication failures caused by out-of-synchronization of authorization data between the edge server and the cloud server are reduced, improving user parking experience and system reliability.
Smart Images

Figure CN118609249A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of parking space control, and in particular to a method, device and equipment for controlling vehicle parking space. Background Art
[0002] At present, the vehicle needs to be authenticated during the parking process to ensure that only authorized vehicles can complete the parking operation. However, the parking space management terminals of parking lots across the country will simultaneously initiate requests to the cloud server, and the network traffic and business volume are huge. In order to avoid the situation where the computing speed of the cloud server decreases under concurrent conditions and the application cannot respond in time, an edge server can be set up in advance to perform authentication and other operations. However, when the authorization data of the edge server and the cloud server are not synchronized or the cloud server is upgraded first, resulting in inconsistent business rule processing, the edge server cannot successfully authenticate the vehicle, which in turn causes the vehicle to be unable to park, affecting the user experience. Summary of the invention
[0003] Based on this, it is necessary to provide a vehicle entry control method, device and equipment to address the above technical problems, so as to solve at least one problem existing in the above-mentioned prior art.
[0004] The present invention provides a vehicle entry control method, which is applied to an edge server and includes:
[0005] Obtaining an authentication request sent by the parking space control terminal, wherein the authentication request includes vehicle information of the target vehicle;
[0006] authenticating the vehicle information;
[0007] If the vehicle information authentication fails, the vehicle information will be reported to the cloud server for the cloud server to authenticate the vehicle information, and the authentication result will be returned to the parking space management and control terminal or the authentication result will be returned to the parking space management and control terminal by using the edge server, so that the parking space management and control terminal can determine whether to release the target vehicle into the parking space.
[0008] Optionally, according to a vehicle entry control method provided by the present invention, after authenticating the vehicle information, the method further includes:
[0009] If the vehicle information authentication is successful, the authentication success result is returned to the parking space control terminal, so that the parking space control terminal can control the parking space lock to unlock and allow the target vehicle to enter the parking space.
[0010] Optionally, according to a vehicle entry control method provided by the present invention, after reporting the vehicle information to a cloud server so that the cloud server can authenticate the vehicle information and returning the authentication result to the parking space control terminal or using the edge server to return the authentication result to the parking space control terminal, the method further includes:
[0011] When receiving the authentication result sent by the cloud server, caching the authentication result, wherein the authentication result is associated with a validity period;
[0012] If an authentication request sent by the parking space control terminal is received again, the vehicle information in the authentication request is authenticated based on the cached authentication result;
[0013] If the current time exceeds the validity period, the authentication results in the cache that exceed the validity period are deleted.
[0014] Optionally, according to a vehicle entry control method provided by the present invention, the authenticating the vehicle information includes:
[0015] The vehicle information is authenticated based on the parking space authority information sent by the cloud server, wherein the parking space authority information represents the vehicle information having the authority to park in the parking space.
[0016] The present invention also provides a vehicle entry control method, which is applied to a parking space control terminal and includes:
[0017] Obtain vehicle information of the identified target vehicle;
[0018] Based on the vehicle information, an authentication request is generated, and the authentication request is sent to the edge server, so that the edge server can authenticate the vehicle information. If the vehicle information authentication fails, the vehicle information is reported to the cloud server for authentication;
[0019] Receive the authentication result returned by the edge server or the cloud server to determine whether to allow the target vehicle to enter the location based on the authentication result.
[0020] Optionally, according to a vehicle entry control method provided by the present invention, after generating an authentication request based on the vehicle information, the method further includes:
[0021] Periodically sending a heartbeat request to the edge server;
[0022] Record the number of consecutive times that the response information of the edge server is not received;
[0023] If the consecutive times exceed a preset times threshold, it is determined that the state of the edge server is an abnormal state.
[0024] Optionally, according to a vehicle entry control method provided by the present invention, if the consecutive number exceeds a preset number threshold, after determining that the state of the edge server is an abnormal state, the method further includes:
[0025] Sending the authentication request to a cloud server so that the cloud server can authenticate the vehicle information;
[0026] Receive the authentication result returned by the cloud server to determine whether to allow the target vehicle to enter the parking space based on the authentication result.
[0027] The present invention also provides a vehicle entry control device, which is applied to an edge server and includes:
[0028] A first acquisition module is used to acquire an authentication request sent by the parking space management and control terminal, wherein the authentication request includes vehicle information of the target vehicle;
[0029] An authentication module, used for authenticating the vehicle information;
[0030] The reporting module is used to report the vehicle information to the cloud server if the vehicle information authentication fails, so that the cloud server can authenticate the vehicle information and return the authentication result to the parking space management and control terminal or use the edge server to return the authentication result to the parking space management and control terminal so that the parking space management and control terminal can determine whether to release the target vehicle into the parking space.
[0031] The present invention also provides a vehicle parking control device, which is applied to a parking control terminal and includes:
[0032] A second acquisition module is used to acquire vehicle information of the identified target vehicle;
[0033] A sending module, configured to generate an authentication request based on the vehicle information, and send the authentication request to an edge server, so that the edge server can authenticate the vehicle information. If the vehicle information authentication fails, the vehicle information is reported to a cloud server for authentication;
[0034] The control module is used to receive the authentication result returned by the edge server or the cloud server, so as to determine whether to allow the target vehicle to enter the parking space based on the authentication result.
[0035] The present invention also provides a computer device, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein the processor implements the above-mentioned vehicle entry control method when executing the computer-readable instructions.
[0036] The above-mentioned vehicle entry control method, device and equipment, the method is applied to the edge server, including: obtaining the authentication request sent by the parking space control terminal, wherein the authentication request includes the vehicle information of the target vehicle; authenticating the vehicle information; if the vehicle information authentication fails, reporting the vehicle information to the cloud server, so that the cloud server can authenticate the vehicle information, and return the authentication result to the parking space control terminal or use the edge server to return the authentication result to the parking space control terminal, so that the parking space control terminal can determine whether to release the target vehicle into the parking space. The present invention uses the edge server to authenticate the vehicle information. If the authentication fails, the vehicle information is directly reported to the cloud server for authentication, thereby reducing the situation where the edge server cannot successfully authenticate the vehicle due to the asynchronization of the authorization data of the edge server and the cloud server, thereby improving the user's parking experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0038] Figure 1 It is one of the flow charts of the vehicle entry control method in one embodiment of the present invention;
[0039] Figure 2 This is one of the schematic diagrams of a scenario of device communication in an embodiment of the present invention;
[0040] Figure 3 This is a second schematic diagram of a scenario of device communication in an embodiment of the present invention;
[0041] Figure 4 This is a second flow chart of a vehicle entry control method in one embodiment of the present invention;
[0042] Figure 5 This is a third flow chart of a vehicle entry control method in one embodiment of the present invention;
[0043] Figure 6 This is a fourth flow chart of a vehicle entry control method in one embodiment of the present invention;
[0044] Figure 7 is a time sequence interaction diagram of a vehicle entry control method in one embodiment of the present invention;
[0045] Figure 8 This is one of the structural schematic diagrams of a vehicle entry control device in one embodiment of the present invention;
[0046] Fig. 9 This is the second structural diagram of the vehicle entry control device in one embodiment of the present invention;
[0047] Fig.10 is a schematic diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0049] The terms used in one or more embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of the present invention. The singular forms of "a", "said" and "the" used in one or more embodiments of the present invention are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of the present invention refers to and includes any or all possible combinations of one or more associated listed items.
[0050] At present, the vehicle needs to be authenticated during the parking process to ensure that only authorized vehicles can complete the parking operation. However, the parking space management terminals of parking lots across the country will simultaneously initiate requests to the cloud server, and the network traffic and business volume are huge. In order to avoid the situation where the computing speed of the cloud server decreases under concurrent conditions and the application cannot respond in time, an edge server can be set up in advance to perform authentication and other operations. However, when the authorization data of the edge server and the cloud server are not synchronized or the cloud server is upgraded first, resulting in inconsistent business rule processing, the edge server cannot successfully authenticate the vehicle, which in turn causes the vehicle to be unable to park, affecting the user experience.
[0051] In view of the above problems, the present invention provides the following embodiments. In one embodiment, Figure 1 As shown, Figure 1 The present invention provides a method for controlling vehicle entry in one embodiment of the present invention, which includes the following steps:
[0052] Step S11, obtaining an authentication request sent by the parking space control terminal, wherein the authentication request includes vehicle information of the target vehicle;
[0053] It should be noted that the parking space is associated with a parking space control terminal, which can identify the information of the vehicle approaching the parking space based on the collected vehicle monitoring video. The vehicle information includes the license plate number, vehicle color and vehicle type. The parking space control terminal generates an authentication request based on the vehicle information, the parking space control terminal ID and the transaction ID, and then sends the authentication request to the edge server, so that the edge server can authenticate the vehicle information in the authentication request after receiving the authentication request.
[0054] Step S12, authenticating the vehicle information;
[0055] Step S13, if the vehicle information authentication fails, the vehicle information is reported to the cloud server for the cloud server to authenticate the vehicle information, and the authentication result is returned to the parking space management and control terminal or the authentication result is returned to the parking space management and control terminal by using the edge server, so that the parking space management and control terminal can determine whether to release the target vehicle into the parking space.
[0056] It should be noted that the cloud server stores parking space permission information, where the parking space permission information represents the information of vehicles that have the permission to park in the parking space. The parking space permission information can be vehicle blacklist, monthly rental car list, VIP car list, vehicle type (new energy vehicle / non-new energy vehicle) and other information. The cloud server will send the parking space permission information to the edge server for storage.
[0057] In one embodiment, based on the stored parking space authority information, the vehicle information is authenticated to determine whether the target vehicle has the authority to park in the parking space. If the vehicle information authentication is successful, the edge server will feed back the authentication result to the parking space management and control terminal to notify that the vehicle information has passed the authentication. After the parking space management and control terminal receives the authentication success message, it can control the corresponding parking space lock to unlock the parking space to allow the target vehicle to drive into the parking space normally. If it is found that the vehicle information is not within the authority range, that is, if the vehicle information authentication fails, the vehicle information, the parking space management and control terminal ID and transaction ID and other information will be reported to the cloud server, and the cloud server will authenticate the vehicle information. In one embodiment, refer to Figure 2 , the cloud server is connected to the parking space control terminal, and the cloud server can directly return the authentication result to the parking space control terminal. In one embodiment, refer to Figure 3 , the cloud server first returns the authentication result to the edge server, and the edge server then returns the authentication result to the corresponding parking space control terminal. When the authentication result received by the parking space control terminal is a successful vehicle information authentication result, the parking space control terminal controls the parking space lock to unlock and allow the target vehicle to enter the parking space; when the authentication result is a failed vehicle information authentication result, the target vehicle is prohibited from entering the parking space.
[0058] The embodiment of the present invention, through the above scheme, includes: obtaining an authentication request sent by a parking space control terminal, wherein the authentication request includes vehicle information of the target vehicle; authenticating the vehicle information; if the vehicle information authentication fails, reporting the vehicle information to a cloud server, so that the cloud server can authenticate the vehicle information, and returning the authentication result to the parking space control terminal or using an edge server to return the authentication result to the parking space control terminal, so that the parking space control terminal can determine whether to release the target vehicle into the parking space. The embodiment of the present invention uses an edge server to authenticate the vehicle information. If the authentication fails, the vehicle information is directly reported to the cloud server for authentication, thereby reducing the situation where the edge server cannot successfully authenticate the vehicle due to the asynchronization of the authorization data of the edge server and the cloud server, thereby improving the user's parking experience.
[0059] Reference Figure 4 As shown, Figure 4 This is a second flow chart of a method for controlling vehicle entry in one embodiment of the present invention. In one embodiment of the present invention, after reporting vehicle information to a cloud server so that the cloud server can authenticate the vehicle information and return the authentication result to the parking space control terminal or use the edge server to return the authentication result to the parking space control terminal, it also includes:
[0060] Step S21, when receiving the authentication result sent by the cloud server, cache the authentication result, wherein the authentication result is associated with a validity period;
[0061] Step S22: if an authentication request is received from the parking space control terminal again, the vehicle information in the authentication request is authenticated based on the cached authentication result;
[0062] Step S23: If the current time exceeds the validity period, the authentication results in the cache that have exceeded the validity period are deleted.
[0063] In one embodiment, after receiving the authentication result sent by the cloud server, the edge server caches the authentication result, wherein the authentication result is associated with an expiration date. When the edge server subsequently receives the authentication request sent by the parking space management and control terminal again, it will first check whether there is an authentication result of the vehicle information in the authentication request in the cache. If there is a corresponding authentication result, the vehicle information in the authentication request can be authenticated based on the authentication result in the cache. It should be noted that when using the cached authentication result, it will be checked whether the current time has exceeded the expiration date of the authentication result. If the current time exceeds the expiration date, the authentication result that has exceeded the expiration date will be deleted from the cache.
[0064] Through the above scheme, the embodiment of the present invention realizes that the authentication result sent by the cloud server is cached by the edge server, so that when the authentication request sent by the parking space management and control terminal is received again, the cached authentication result is directly used to authenticate the vehicle information in the authentication request, thereby reducing the situation where the authorization data of the edge server and the cloud server are not synchronized, resulting in the edge server being unable to successfully authenticate the vehicle. In addition, the authentication result is set with a validity period, which can ensure the timeliness and accuracy of the authentication result.
[0065] In one embodiment, if Figure 5 As shown, Figure 5 FIG3 is a flow chart of a vehicle entry control method in an embodiment of the present invention. The embodiment of the present invention provides a vehicle entry control method, which is applied to a parking space control terminal and includes the following steps:
[0066] Step S31, obtaining vehicle information of the identified target vehicle;
[0067] Step S32: Generate an authentication request based on the vehicle information, and send the authentication request to the edge server so that the edge server can authenticate the vehicle information. If the vehicle information authentication fails, report the vehicle information to the cloud server for authentication.
[0068] Step S33, receiving the authentication result returned by the edge server or the cloud server to determine whether to allow the target vehicle to enter the parking space based on the authentication result.
[0069] In one embodiment, the collected vehicle monitoring video is obtained, and then the vehicle monitoring video is identified to obtain the vehicle information of the target vehicle, and the vehicle information includes information such as the license plate number, vehicle color and vehicle type. Further, based on the vehicle information, the ID and transaction ID of the parking space control terminal, an authentication request is generated, and the authentication request is sent to the edge server, so that the edge server can authenticate the vehicle information based on the stored parking space authority information, wherein the parking space authority information is sent from the cloud server to the edge server. If the authentication result returned by the edge server is received, it proves that the target vehicle has the authority to park in the parking space, and then the parking space lock is controlled to be unlocked for the target vehicle to drive into the parking space. If a notification of authentication failure is received, the vehicle information, the ID and transaction ID of the parking space control terminal are reported to the cloud server for authentication. Further, when the authentication result received by the parking space control terminal is a successful authentication result of the vehicle information, the parking space control terminal controls the parking space lock to unlock and releases the target vehicle to enter the parking space; when the authentication result is a failed authentication result of the vehicle information, the target vehicle is prohibited from entering the parking space.
[0070] The embodiment of the present invention, through the above scheme, includes: obtaining the vehicle information of the identified target vehicle; generating an authentication request based on the vehicle information, and sending the authentication request to the edge server, so that the edge server can authenticate the vehicle information. If the vehicle information authentication fails, the vehicle information is reported to the cloud server for authentication; receiving the authentication result returned by the edge server or the cloud server, and determining whether to release the target vehicle into position based on the authentication result. The embodiment of the present invention uses the edge server to authenticate the vehicle information. If the authentication fails, the vehicle information is directly reported to the cloud server for authentication, thereby reducing the situation where the edge server cannot successfully authenticate the vehicle due to the asynchronization of the authorization data of the edge server and the cloud server, thereby improving the user's parking experience.
[0071] Reference Figure 6 As shown, Figure 6 This is a fourth flow chart of a vehicle entry control method in an embodiment of the present invention. In an embodiment of the present invention, after generating an authentication request based on vehicle information, it also includes:
[0072] Step S41, periodically sending a heartbeat request to the edge server;
[0073] Step S42, recording the number of consecutive times that the response information of the edge server is not received;
[0074] Step S43: If the consecutive times exceed the preset times threshold, it is determined that the state of the edge server is abnormal.
[0075] In one embodiment, a heartbeat request is periodically sent to the edge server, that is, a heartbeat request is sent at a preset interval to ensure that the edge server operates normally and maintains connection with the system, wherein the preset interval can be set according to actual conditions and is not specifically limited here. The response status of each heartbeat request is recorded, wherein the response status includes two situations: successfully receiving a response and not receiving a response. The number of consecutive non-responses is recorded. When the number of consecutive non-responses exceeds a preset number threshold, the state of the edge server is determined to be an abnormal state, wherein the preset number threshold can be set according to actual conditions and is not specifically limited here. If a status query request sent by the edge server is received, the state of the edge server is reset to a normal state.
[0076] In addition, when the edge server is in an abnormal state, the edge server cannot be used for authentication. The authentication request can be directly sent to the cloud server, so that the cloud server can authenticate the vehicle information based on the stored parking space permission information. Therefore, according to the authentication result returned by the cloud server, it is determined whether to allow the target vehicle to enter the parking space.
[0077] The embodiment of the present invention uses the above scheme to periodically send heartbeat requests to the edge server to determine the status of the edge server based on the response information of the edge server. When the edge server is in a normal state, the edge server can authenticate the vehicle information to improve the response speed and efficiency of the system; when the edge server is in an abnormal state, the authentication request can be sent to the cloud server in time to ensure the reliability of the authentication.
[0078] Reference Figure 7 , Figure 7 It is a time-series interaction diagram of a vehicle entry control method in one embodiment of the present invention. The complete process of vehicle entry control is as follows: the cloud server sends the parking space permission information to the edge server for caching. When the target vehicle drives to the identification area, the parking space control terminal performs vehicle identification on the collected vehicle monitoring video to obtain the vehicle information of the target vehicle, and then generates an authentication request based on the vehicle information. The parking space control terminal sends the authentication request to the edge server. After receiving the authentication request, the edge server authenticates the vehicle information based on the stored parking space permission information; if the vehicle information authentication passes, the authentication result is returned to the parking space control terminal; if the vehicle information authentication fails, the vehicle information, the ID of the parking space control terminal, the transaction ID and other information are reported to the cloud server; further, the cloud server authenticates the vehicle information and returns the authentication result to the parking space control terminal, or first sends the authentication result to the edge server, and then returns the authentication result to the parking space control terminal through the edge server; finally, if the parking space control terminal receives the authentication result, the parking space lock is controlled to unlock for the target vehicle to drive into the parking space.
[0079] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0080] In one embodiment, a vehicle entry control device is provided, and the vehicle entry control device corresponds one-to-one to the vehicle entry control method in the above embodiment. Figure 8 As shown, Figure 8 This is one of the structural schematic diagrams of a vehicle entry control device in one embodiment of the present invention. The vehicle entry control device is applied to an edge server and includes:
[0081] A first acquisition module 51 is used to acquire an authentication request sent by the parking space control terminal, wherein the authentication request includes vehicle information of the target vehicle;
[0082] An authentication module 52, used to authenticate vehicle information;
[0083] The reporting module 53 is used to report the vehicle information to the cloud server if the vehicle information authentication fails, so that the cloud server can authenticate the vehicle information and return the authentication result to the parking space management and control terminal or use the edge server to return the authentication result to the parking space management and control terminal so that the parking space management and control terminal can determine whether to release the target vehicle into the parking space.
[0084] The vehicle entry control device also includes:
[0085] The return module is used to return the authentication success result to the parking space control terminal if the vehicle information authentication is successful, so that the parking space control terminal can control the parking space lock to unlock and release the target vehicle to enter the parking space.
[0086] The vehicle entry control device also includes:
[0087] A receiving module, configured to cache the authentication result when receiving the authentication result sent by the cloud server, wherein the authentication result is associated with a validity period;
[0088] A re-authentication module, used to authenticate the vehicle information in the authentication request based on the cached authentication result if the authentication request sent by the parking space control terminal is received again;
[0089] The deletion module is used to delete the authentication results in the cache that have exceeded the validity period if the current time exceeds the validity period.
[0090] The authentication module is also used to:
[0091] The vehicle information is authenticated based on the parking space permission information sent by the cloud server. The parking space permission information represents the vehicle information that has the permission to park in the parking space.
[0092] In one embodiment, if Fig. 9 As shown, Fig. 9 This is the second structural diagram of the vehicle entry control device in one embodiment of the present invention. The vehicle entry control device is applied to the parking space control terminal, including:
[0093] A second acquisition module 61 is used to acquire vehicle information of the identified target vehicle;
[0094] A sending module 62, for generating an authentication request based on the vehicle information, and sending the authentication request to the edge server, so that the edge server can authenticate the vehicle information. If the vehicle information authentication fails, the vehicle information is reported to the cloud server for authentication;
[0095] The control module 63 is used to receive the authentication result returned by the edge server or the cloud server, and determine whether to release the target vehicle into the parking space based on the authentication result.
[0096] The vehicle entry control device also includes:
[0097] A heartbeat request sending module, used to periodically send heartbeat requests to the edge server;
[0098] A recording module, used to record the number of consecutive times that no response information from the edge server is received;
[0099] The state determination module is used to determine that the state of the edge server is an abnormal state if the consecutive number of times exceeds a preset number threshold.
[0100] The vehicle entry control device also includes:
[0101] An authentication request sending module, used to send an authentication request to a cloud server so that the cloud server can authenticate the vehicle information;
[0102] The authentication result receiving module is used to receive the authentication result returned by the cloud server to determine whether to release the target vehicle into the parking space based on the authentication result.
[0103] For the specific limitations of the vehicle entry control device, please refer to the limitations of the vehicle entry control method above, which will not be repeated here. Each module in the above-mentioned vehicle entry control device can be implemented in whole or in part through software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0104] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.10 As shown, Fig.10 : is a schematic diagram of a computer device in one embodiment of the present invention. The computer device includes a processor, a memory, a network interface and a database connected by a device bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a readable storage medium and an internal memory. The readable storage medium stores an operating device, a computer-readable instruction and a database. The internal memory provides an environment for the operation of the operating device and the computer-readable instructions in the readable storage medium. The database of the computer device is used to store data involved in the vehicle entry control method. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer-readable instruction is executed by the processor, a vehicle entry control method is implemented. The readable storage medium provided in this embodiment includes a non-volatile readable storage medium and a volatile readable storage medium.
[0105] In one embodiment, a computer device is provided. The computer device may be a terminal device, and its internal structure diagram may be as follows: Fig.10As shown. The computer device includes a processor, a memory, and a network interface connected by a device bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a readable storage medium. The readable storage medium stores computer-readable instructions. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer-readable instructions are executed by the processor, a vehicle entry control method is implemented. The readable storage medium provided in this embodiment includes a non-volatile readable storage medium and a volatile readable storage medium.
[0106] In one embodiment, a computer device is provided, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, and when the processor executes the computer-readable instructions, the steps of the vehicle entry control method described above are implemented. The method includes: obtaining an authentication request sent by a parking space control terminal, wherein the authentication request includes vehicle information of a target vehicle; authenticating the vehicle information; if the vehicle information authentication fails, reporting the vehicle information to a cloud server, so that the cloud server can authenticate the vehicle information, and returning the authentication result to the parking space control terminal or using an edge server to return the authentication result to the parking space control terminal, so that the parking space control terminal can determine whether to allow the target vehicle to enter the parking space.
[0107] In one embodiment, a readable storage medium is provided, the readable storage medium stores computer-readable instructions, and the computer-readable instructions are executed by the processor to implement the steps of the vehicle entry control method as described above. A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When the computer-readable instructions are executed, they may include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0108] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0109] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.
Claims
1. A vehicle entry control method, characterized in that: The method is applied to an edge server and includes: Obtaining an authentication request sent by the parking space control terminal, wherein the authentication request includes vehicle information of the target vehicle; authenticating the vehicle information; If the vehicle information authentication fails, the vehicle information will be reported to the cloud server for the cloud server to authenticate the vehicle information, and the authentication result will be returned to the parking space management and control terminal or the authentication result will be returned to the parking space management and control terminal by using the edge server, so that the parking space management and control terminal can determine whether to release the target vehicle into the parking space.
2. The vehicle entry control method according to claim 1, characterized in that: After authenticating the vehicle information, the method further includes: If the vehicle information authentication is successful, the authentication success result is returned to the parking space control terminal, so that the parking space control terminal can control the parking space lock to unlock and allow the target vehicle to enter the parking space.
3. The vehicle entry control method according to claim 1, characterized in that: After reporting the vehicle information to the cloud server so that the cloud server can authenticate the vehicle information and returning the authentication result to the parking space control terminal or using the edge server to return the authentication result to the parking space control terminal, the method further includes: When receiving the authentication result sent by the cloud server, caching the authentication result, wherein the authentication result is associated with a validity period; If an authentication request sent by the parking space control terminal is received again, the vehicle information in the authentication request is authenticated based on the cached authentication result; If the current time exceeds the validity period, the authentication results in the cache that exceed the validity period are deleted.
4. The vehicle entry control method according to claim 1, characterized in that: The authenticating the vehicle information includes: The vehicle information is authenticated based on the parking space authority information sent by the cloud server, wherein the parking space authority information represents the vehicle information having the authority to park in the parking space.
5. A vehicle entry control method, characterized in that: The method is applied to a parking space control terminal, and includes: Obtain vehicle information of the identified target vehicle; Based on the vehicle information, an authentication request is generated, and the authentication request is sent to the edge server, so that the edge server can authenticate the vehicle information. If the vehicle information authentication fails, the vehicle information is reported to the cloud server for authentication; Receive the authentication result returned by the edge server or the cloud server to determine whether to allow the target vehicle to enter the location based on the authentication result.
6. The vehicle entry control method according to claim 5, characterized in that: After generating the authentication request based on the vehicle information, the method further includes: Periodically sending a heartbeat request to the edge server; Record the number of consecutive times that the response information of the edge server is not received; If the consecutive times exceed a preset times threshold, it is determined that the state of the edge server is an abnormal state.
7. The vehicle entry control method according to claim 6, characterized in that: If the consecutive times exceed the preset times threshold, after determining that the state of the edge server is an abnormal state, the method further includes: Sending the authentication request to a cloud server so that the cloud server can authenticate the vehicle information; Receive the authentication result returned by the cloud server to determine whether to allow the target vehicle to enter the parking space based on the authentication result.
8. A vehicle entry control device, characterized in that: The device is applied to an edge server and includes: A first acquisition module is used to acquire an authentication request sent by the parking space management and control terminal, wherein the authentication request includes vehicle information of the target vehicle; An authentication module, used for authenticating the vehicle information; The reporting module is used to report the vehicle information to the cloud server if the vehicle information authentication fails, so that the cloud server can authenticate the vehicle information and return the authentication result to the parking space management and control terminal or use the edge server to return the authentication result to the parking space management and control terminal so that the parking space management and control terminal can determine whether to release the target vehicle into the parking space.
9. A vehicle entry control device, characterized in that: The device is applied to a parking space control terminal, including: A second acquisition module is used to acquire vehicle information of the identified target vehicle; A sending module, configured to generate an authentication request based on the vehicle information, and send the authentication request to an edge server, so that the edge server can authenticate the vehicle information. If the vehicle information authentication fails, the vehicle information is reported to a cloud server for authentication; The control module is used to receive the authentication result returned by the edge server or the cloud server, so as to determine whether to allow the target vehicle to enter the parking space based on the authentication result.
10. A computer device comprising a memory, a processor, and computer-readable instructions stored in the memory and executed on the processor, characterized in that: When the processor executes the computer-readable instructions, the vehicle entry control method as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Intelligent parking lock system
CN108625311A
Intelligent parking system and method of Internet of vehicles based on edge calculation
CN110599798A
Method and system for authenticating user equipment based on local cache
CN112422490A
Server state detection method and device
CN113032223A
Intelligent parking space management method and system
CN114283616A
