A blockchain-based smart building management method and device
By using blockchain technology to upload and protect data in the smart building management system, planning routes based on license plate numbers and user habits, and controlling elevators in advance, it solves the problems of data security and travel convenience, and achieves user privacy data protection and Parking and traveling are convenient.
Patent Information
- Application Number
- CN202410807289.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-21
AI Technical Summary
The existing smart building management system has deficiencies in data security and privacy, and faces problems such as difficulty in parking, finding a car, finding the elevator, and difficulty in taking the elevator.
Adopting a smart building management method based on blockchain, through real-time acquisition of surveillance video and elevator working status, the data is uploaded to the blockchain, associated users are identified and permissions are controlled, and the anti-tampering characteristics of the blockchain are used to protect private data. Plan the optimal route based on the user's license plate number and travel habits, and control the elevator to reach the boarding location in advance.
It effectively protects the security and authenticity of users' private data, solves the problem of finding and difficulty finding elevators, and improves users' parking and travel convenience.
Smart Images

Figure CN118378773B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and in particular to a blockchain-based smart building management method and device. Background Art
[0002] Smart building refers to a building management model that uses existing Internet of Things technology to interconnect buildings and smart devices to achieve intelligent management and coordinated operation of various systems within the building. Existing smart building management systems usually provide functions such as video surveillance, security alarms, building intercoms, access control cards, fire alarms, etc., which to a certain extent also provide users with convenience in life and ensure the personal safety of users in the building. However, the existing smart building management system still has at least the following problems:
[0003] 1. The implementation of functions such as video surveillance and access control cards involves a large amount of personal / institutional privacy data. Therefore, there is a problem that the security and privacy of the data cannot be ensured.
[0004] 2. With the increase in the number of vehicles, current smart buildings are facing problems such as difficulty in parking, difficulty in finding a car, difficulty in finding the elevator, and difficulty in taking the elevator. Summary of the invention
[0005] In order to solve the above problems in the prior art, the present invention provides a blockchain-based smart building management method and device, which can protect privacy data and facilitate users' travel.
[0006] In order to achieve the above object, the technical solution adopted by the present invention is:
[0007] In a first aspect, the present invention provides a blockchain-based smart building management method, comprising the steps of:
[0008] S1. Obtain the surveillance video, elevator working status and card swiping record in the building in real time, and upload the surveillance video and the card swiping record to the blockchain. The surveillance video includes a first video set in the parking lot for parking monitoring and a second video set in each elevator and corridor;
[0009] S2. Based on the first video, determine the first license plate number of the currently parked vehicle, determine whether there is a first user bound to the first license plate number in the historical data, and if so, determine whether the target area sent by the first terminal where the first user is located is received, and if so, perform route planning according to the passage route in the building, the elevator working status and the target area, obtain and return a first optimal route that meets the requirements of the first user, and control the elevator to arrive at the elevator boarding location in the first optimal route in advance according to the elevator working status;
[0010] S3. Based on the second video, determine whether the second user is ready to leave. If so, obtain the parking location of the second license plate number bound to the second user, plan the route according to the traffic route in the building and the parking location of the second license plate number, and obtain and return the second optimal route that meets the general destination rules.
[0011] The beneficial effects of the present invention are: based on the traffic routes in the building, when the user's vehicle is parked in the parking area, if the user of the currently parked vehicle selects a target area, the route can be planned according to the working status of the elevator, and when the optimal route is obtained, the elevator can be controlled in advance to reach the elevator location, thereby solving the problem of the elevator being unable to find and the difficulty of taking the elevator; and when the user is ready to leave, the user's parking position can be automatically obtained and the route can be planned, thereby solving the problem of difficulty in finding a car, so the present invention can make parking and travel in the building more convenient for users. At the same time, the present invention uploads private data to the blockchain, on the one hand, using the access permission control of the blockchain to protect the security and privacy of the data, and on the other hand, using the anti-tampering characteristics of the blockchain to protect the private data from being deleted at will, so that the data can be called when needed, thereby protecting the private data.
[0012] Optionally, uploading the surveillance video and the card swiping record to the blockchain in step S1 includes:
[0013] The associated users in the surveillance video and the card swiping record are respectively identified, and the surveillance video and the card swiping record are uploaded to the blockchain to obtain the first block uploaded this time. The permission control of the first block is divided into access permission control and change permission control. The access permission control is limited to each blockchain node party having the permission to access the first block, and the change permission control is limited to requiring the joint authorization of each blockchain node party and the associated user to have the permission to change the first block.
[0014] According to the above description, the present invention identifies the associated users of private data. On the one hand, the associated users cannot access the data, and only the blockchain nodes have access rights, thereby reducing the number of users who can access the data and reducing the risk of data leakage; on the other hand, the associated users have a "veto power", which can ensure that their own related data will not be changed at will, protect the authenticity of the private data, thereby taking into account the security and authenticity of the private data.
[0015] Optionally, the requirement of the first user is the shortest distance or the shortest time, and the general destination rule is the shortest distance rule or the shortest time rule.
[0016] Optionally, the step S1 further includes the following steps:
[0017] When the first license plate number is identified at the entrance of the parking lot, it is determined whether the target area sent by the first terminal of the first user bound to the first license plate number is received. If received, a route is planned according to the traffic route in the building, the working state of the elevator and the target area, and a third optimal route that meets the requirements of the first user is obtained and returned. The third optimal route includes a driving route segment from the entrance of the parking lot to the recommended parking space and a walking route segment from the recommended parking space to the target area.
[0018] If not received, route planning is performed according to the traffic route in the building, the working state of the elevator and the travel habits of the first user in the building, and a third optimal route that meets the general destination rule is obtained and returned, wherein the third optimal route includes a driving route segment from the parking lot entrance to the recommended parking space and a walking route segment from the recommended parking space to the predicted area;
[0019] If the first license plate number finally stops at the recommended parking space, the walking route segment of the third optimal route is used as the first optimal route.
[0020] According to the above description, by starting route planning at the entrance of the parking lot, the user's route from entering the parking lot to reaching the target area is optimized. On the one hand, it solves the problem of difficulty in parking for users, and on the other hand, it further reduces the time users spend on parking and taking the elevator, thereby further improving the user's parking and travel convenience.
[0021] Optionally, the determining in step S2 whether the target area sent by the first terminal where the first user is located is received further includes:
[0022] Based on the first video, determine the appearance features of all persons getting on and off the currently parked vehicle, and temporarily associate the appearance features of all persons with the first license plate number as a first person set, wherein the appearance features include morphological features and clothing features;
[0023] If the target area sent by the first terminal where the first user is located is not received, determining whether the first user exists in the first set of persons according to the historical physical characteristics of the first user; if the first user exists, performing route planning according to the passage route in the building, the working state of the elevator and the travel habits of the first user in the building, and obtaining and returning a first optimal route that meets the general destination rule;
[0024] The step S3 comprises:
[0025] Based on the second video, determine whether the second user is ready to leave. If so, obtain the second set of people to which the second user belongs based on the second user's appearance characteristics, obtain the parking position of the second license plate number temporarily associated with the second set of people, perform route planning based on the traffic route in the building and the parking position of the second license plate number, and obtain and return the second optimal route that meets the general destination rules.
[0026] According to the above description, the association between people and vehicles is carried out through the appearance characteristics of the user bound to the vehicle and the person getting off the vehicle. Without the need for high-precision and high-accuracy facial recognition, the binding of people and vehicles can be achieved by relying on the equipment conditions of the existing parking lot. When entering the building, the route can be automatically planned according to the user's habits, and when leaving the building, the route can be automatically planned according to the temporary association relationship, thereby realizing the intelligentization of user route planning.
[0027] Optionally, the determining in step S2 whether the target area sent by the first terminal where the first user is located is received further includes:
[0028] If there is no user bound to the first license plate number, route planning is performed according to the traffic route in the building and the working state of the elevator to obtain a first optimal route that meets the general elevator rules, and the first optimal route is displayed on a display screen closest to the position where the first license plate number is parked. The general elevator rules are the principle of being closest to the elevator entrance, the principle of reaching the elevator entrance the fastest, or the principle of taking the elevator the fastest;
[0029] At this time, the step S3 further includes:
[0030] When the second user has not bound a license plate number, the second person set to which the second user belongs is obtained based on the appearance characteristics of the second user, and the parking position of the second license plate number temporarily associated with the second person set is obtained. Route planning is performed based on the traffic route in the building and the parking position of the second license plate number to obtain a second optimal route that meets the general destination rules, and the second optimal route is displayed on a display screen closest to the second user's parking lot location.
[0031] Optionally, in step S2, route planning is performed according to the traffic route in the building, the elevator working state and the target area, a first optimal route that meets the requirements of the first user is obtained and returned, and the elevator is controlled in advance according to the elevator working state to arrive at the elevator boarding location in the first optimal route, including:
[0032] According to the passage routes in the building, the optional routes from the current position of the first user to the target area are first determined. For each optional route, the first segment distance s1 and the first segment time t1 are obtained by first reaching the elevator determined in each optional route according to the current position of the first user. Secondly, the time to reach the elevator location after the first segment time is predicted according to the working state of the elevator, and the time spent on taking the elevator is added to obtain the second segment time t2. Then, the second segment distance s2 and the third segment time t3 from the elevator exit location to the target area are determined. Finally, the total distance S and the total time T of each optional route are obtained, wherein the total distance S=the first segment distance s1+the second segment distance s2, and the total time T=the first segment time t1+the second segment time t2+the third segment time t3;
[0033] Obtain the requirement of the first user. If the requirement of the first user is the shortest distance, select the optional route with the shortest total distance S as the first optimal route. If the requirement of the first user is the shortest time, select the optional route with the shortest total time T as the first optimal route.
[0034] After determining the first optimal route, if the elevator of the first optimal route is in an idle state, the elevator is controlled to reach the elevator boarding location in the first optimal route in advance. If there are at least two elevators at the same elevator boarding location, the positions of the two elevators after the first segment time t1 are determined. When one of the elevators is going up, the other elevator is controlled to go down to reach the elevator boarding location in the first optimal route as soon as possible.
[0035] Optionally, the method further comprises the steps of:
[0036] When any user accesses the wireless Wi-Fi in the building, the building login system pops up and guides the user to register an account and bind the license plate number.
[0037] Optionally, obtaining the walking position of the user in the building includes the steps of:
[0038] Determining the user's walking position in the building based on the surveillance video and the user's appearance features;
[0039] Alternatively, the user's walking position in the building can be obtained by locating the user based on indoor positioning technology.
[0040] In a second aspect, the present invention provides a blockchain-based smart building management device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a blockchain-based smart building management method of the first aspect is implemented.
[0041] Among them, the technical effect corresponding to the blockchain-based smart building management device provided by the second aspect refers to the relevant description of the blockchain-based smart building management method provided by the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 A schematic diagram of the main process of a blockchain-based smart building management method according to an embodiment of the present invention;
[0043] Figure 2 This is a schematic diagram of the structure of a blockchain-based smart building management device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0044] In order to better understand the above technical solution, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a clearer and more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
[0045] Embodiment 1
[0046] This embodiment is applied in a smart building scenario with a parking area and license plate number recognition. In existing smart buildings, building staff can arbitrarily access and delete surveillance videos and card swiping records, affecting the security and authenticity of these private data. At the same time, it is impossible to correctly guide vehicles to park, and it is not possible to guide users to the target area well. This embodiment ensures the security and authenticity of private data through the access rights and anti-tampering characteristics of the blockchain, associates the license plate number with the user's identification, and recommends the optimal path in combination with the elevator working status, so as to better guide vehicles to park, find cars, and take elevators, thereby improving the convenience of users' travel in smart buildings. Please refer to the following instructions for details.
[0047] It should be noted that the software interface based on this embodiment can be placed in an existing life shopping APP (application, mobile software), communication software APP, payment APP and transportation APP by developing a plug-in or a page, or a separate APP can be developed. When the user enters the smart building, enters the software interface, logs in to the corresponding system and binds the license plate number, the binding of the user and the license plate number is realized. When the license plate number bound by the user enters the smart building for the first time and is recognized, the user's appearance features are obtained through the camera and confirmed by the user to bind the user, appearance features and license plate number. Therefore, the interaction with the user in this embodiment is based on the condition that the user has logged in to the building-related system and can display the building-related information on the software interface. If the user has not logged in to the building-related system, or does not have notification authority, etc., the system cannot interact with the user corresponding to the vehicle.
[0048] Therefore, please refer to Figure 1 , a blockchain-based smart building management method, comprising the steps of:
[0049] S01. When a first license plate number is identified at the entrance of the parking lot, it is determined whether a target area sent by a first terminal of a first user bound to the first license plate number is received. If received, a route is planned according to the traffic route in the building, the working state of the elevator and the target area, and a third optimal route that meets the requirements of the first user is obtained and returned. The third optimal route includes a driving route segment from the entrance of the parking lot to the recommended parking space and a walking route segment from the recommended parking space to the target area.
[0050] Among them, this embodiment also includes the steps of:
[0051] When any user accesses the wireless Wi-Fi in the building, the building login system pops up and guides the user to register an account and bind the license plate number.
[0052] In this embodiment, the user can log in to the building login system by himself, or the user can be guided to log in when the user accesses the wireless Wi-Fi. At this time, the user can obtain the user's real-time location in the smart building through the software interface of the smart building and select the target area to be reached.
[0053] At this time, returning to step S01, the first user's vehicle passes through the parking lot entrance, and the parking lot entrance identifies the vehicle's license plate number, which is recorded as the first license plate number. At this time, the system determines whether there is a target area sent by the first terminal of the first user bound to the first license plate number. If there is, it means that the first user wants to reach an area, which has a specific location in the building. Therefore, according to the route in the building, the elevator working status and the target area, the route planning can be performed to obtain and return the third optimal route that meets the requirements of the first user. This includes recommended parking spaces and recommended elevator points.
[0054] It should be noted that, generally speaking, existing parking lots are relatively large, and the free parking spaces are unevenly distributed. If users rely on their feelings or luck to find parking spaces, it often takes a lot of time and effort. Therefore, this embodiment can better guide users to park by planning recommended parking spaces and guiding vehicles to recommended parking spaces. On this basis, the parking space can be locked, that is, an automatically controlled parking space occupation device is set. When the first license plate number is assigned, the parking space is occupied, and the first license plate number is not identified until it is unoccupied, allowing the vehicle with the first license plate number to occupy it.
[0055] S02. If not received, route planning is performed according to the traffic route in the building, the working state of the elevator and the travel habits of the first user in the building, and a third optimal route that meets the general destination rule is obtained and returned, where the third optimal route includes a driving route segment from the parking lot entrance to the recommended parking space and a walking route segment from the recommended parking space to the predicted area;
[0056] If the target area of the first user is not received, it is determined whether the first user has a place he often goes to in the building, that is, travel habits. Route planning can be performed based on the travel habits to obtain the third optimal route.
[0057] It should be noted that the smart building itself may be an office area or a commercial area. For example, people who work or run shops in this building usually have a destination they often go to, that is, travel habits. For visitors or consumers, for example, if they have visited a certain company several times before, then this company will be selected as the destination for this travel habit. Similarly, if a certain consumer visits a certain store every time he comes to this commercial building, then that store will be selected as the destination. In this way, the destination of the first user can be predicted based on his travel habits in the building, and path planning can be performed.
[0058] Therefore, this embodiment not only solves the problem of difficulty in parking for users, but also reduces the time users spend on parking and taking the elevator, thereby improving the parking and travel convenience of users.
[0059] Among them, step S01 and step S02 are optimization solutions, and in other equivalent embodiments, step S01 and step S02 may not be implemented.
[0060] S1. Obtain the surveillance video, elevator working status and card swiping records in the building in real time, and upload the surveillance video and card swiping records to the blockchain. The surveillance video includes the first video set up in the parking lot for parking monitoring and the second video set up in each elevator and corridor;
[0061] Among them, uploading the surveillance video and card swiping record to the blockchain in step S1 includes:
[0062] S11. Identify the associated users in the surveillance video and the card swiping record respectively, upload the surveillance video and the card swiping record to the blockchain, and obtain the first block uploaded this time. The permission control of the first block is divided into access permission control and change permission control. The access permission control is limited to each blockchain node having the permission to access the first block. The change permission control is limited to requiring the joint authorization of each blockchain node and the associated user to have the permission to change the first block.
[0063] Among them, since there are many users in the public area, each video image involves multiple users. Therefore, even if the user is in the video image, the user does not have the permission to access the data, which prevents the user from accessing his own data while also learning the private data of others. At the same time, it also reduces the number of users who can access the data and reduces the risk of data leakage. Because in the public areas of the building, video surveillance plays more of a security monitoring role. Only when there is a need to access in the case of lost items, fights, etc., it can be accessed through the blockchain node of the building.
[0064] Changes include addition, deletion and modification, all of which result in changes to the original data. Therefore, any changes to the original data require the joint authorization of the associated users involved in the original data. The associated users here refer to users who log in to the system and have their license plate numbers bound, thus ensuring the integrity and authenticity of the original data.
[0065] Therefore, step S11 of this embodiment takes into account both the security and authenticity of the private data.
[0066] S2. Based on the first video, determine the first license plate number of the currently parked vehicle, determine whether there is a first user bound to the first license plate number in the historical data, and if so, determine whether the target area sent by the first terminal where the first user is located is received, and if so, perform route planning according to the traffic route in the building, the elevator working status and the target area, obtain and return the first optimal route that meets the requirements of the first user, and control the elevator to arrive at the elevator boarding location in the first optimal route in advance according to the elevator working status;
[0067] Among them, based on the route recommendation of the whole process obtained in step S01 and step S02, if the first license plate number finally stops at the recommended parking space, the walking route segment of the third optimal route is used as the first optimal route. If the first license plate number does not stop at the recommended parking space or step S01 and step S02 are not implemented, step S2 is required to perform route planning.
[0068] When planning a route, the first user's requirement is the shortest distance or the shortest time, which is selected by the user, or the default shortest time requirement is used. The general destination rule is the shortest distance rule or the shortest time rule, which is selected by the user, or the default shortest time rule is used.
[0069] In this embodiment, obtaining the walking position of the user in the building includes the following steps:
[0070] Determine the user's walking location in the building based on surveillance video and the user's appearance characteristics;
[0071] Alternatively, the user's walking position in the building can be obtained by locating the user based on indoor positioning technology.
[0072] That is, the user in the surveillance video can be identified based on the recognized appearance features, so that the user's walking trajectory in the building can be linked together. Or it can be indoor positioning technology, including Wi-Fi positioning, Bluetooth positioning, etc.
[0073] In this embodiment, the first terminal refers to the terminal device logged in by the first user's account, including but not limited to mobile phones, tablet computers, etc. When the first user logs in to the building-related system, if the first user has a clear area he wants to go to, he can select the corresponding target area on the software interface, such as a certain clothing store, a certain restaurant, a certain cinema, a certain company, etc. Therefore, step S2 describes the situation of receiving the target area sent by the first terminal where the first user is located. In actual scenarios, it also includes scenarios where the target area is not received. At this time, step S2 determines whether the target area sent by the first terminal where the first user is located is received and also includes:
[0074] S211, based on the first video, determining appearance features of all persons getting on and off the currently parked vehicle, and temporarily associating the appearance features of all persons with the first license plate number as a first person set, wherein the appearance features include morphological features and clothing features;
[0075] Among them, morphological characteristics include height, obesity and some body characteristics, and clothing characteristics include the clothes, pants, shoes, hats, scarves, etc. worn on that day.
[0076] For example, three people get off the currently parked vehicle, and their appearance characteristics are (male, 170-172, slightly plump, black T-shirt, blue jeans, white sneakers), (female, 160-162, slightly plump, blue floral skirt, black high heels), (female, 100-103, standard, white T-shirt, blue trousers, beige slippers). The appearance characteristics of these three people constitute the first person set, which is temporarily associated with the first license plate number.
[0077] S212: If the target area sent by the first terminal where the first user is located is not received, determine whether the first user exists in the first set of persons according to the historical physical characteristics of the first user; if the first user exists, perform route planning according to the traffic routes in the building, the working status of the elevator, and the travel habits of the first user in the building, and obtain and return a first optimal route that meets the general destination rule;
[0078] At this time, if the target area is not received, the existence of the first user is determined from the historical physical features of the bound first user. It should be noted that whether the physical features of the two persons are the same includes not only the same appearance features as mentioned above, but also the appearance similarity matching of the two persons in the image, that is, the overall appearance feature comparison and the detailed appearance feature comparison, such as whether the clothes of the two persons in the image have a certain logo, the specific style of high heels, the length of pants, etc.
[0079] If the first user does not specify a target area this time, but the first user wore the same appearance features as the "male" in the first set of people in the previous week, then the "male" user is identified as the first user. This is actually a double verification based on the license plate number and appearance features, so the user's identity can be determined more accurately based on the appearance features. At this point, as mentioned above, route planning can be carried out if there is a travel habit.
[0080] In this embodiment, step S2 describes the situation where the target area sent by the first terminal where the first user is located is received, and step S21 describes the scenario where the target area is not received. However, step S2 also has a scenario where there is no first user bound to the first license plate number, such as the first time entering the building or the owner who has never registered and logged in. In this case, the determination of whether the target area sent by the first terminal where the first user is located is received in step S2 also includes:
[0081] S221. If there is no user bound to the first license plate number, route planning is performed according to the traffic routes in the building and the working status of the elevator to obtain a first optimal route that meets the general elevator rules, and the first optimal route is displayed on a display screen closest to the position where the first license plate number is parked. The general elevator rules are the principle of being closest to the elevator entrance, the principle of arriving at the elevator entrance the fastest, or the principle of taking the elevator the fastest;
[0082] Among them, the principle of being closest to the elevator entrance is to give priority to the shortest arrival distance without considering the elevator stopping floor, the principle of arriving at the elevator entrance fastest is to give priority to the fastest arrival time without considering the elevator stopping floor, and the principle of getting on the elevator fastest is to give priority to the fastest arrival time when the elevator stops floor. In this embodiment, the default principle is to get on the elevator fastest.
[0083] As a preferred solution of this embodiment, if a display screen is provided in the existing parking lot, a route can be planned for the user according to the elevator rules and displayed on the display screen closest to the parking position of the first license plate number, which can also play a certain role in guiding the user to take the elevator.
[0084] Therefore, in step S2, route planning is performed according to the traffic route in the building, the working state of the elevator and the target area, and a first optimal route that meets the requirements of the first user is obtained and returned, and the elevator is controlled in advance to reach the elevator location in the first optimal route according to the working state of the elevator, including:
[0085] S201. Determine the optional routes from the current position of the first user to the target area according to the routes in the building. For each optional route, firstly, obtain the first segment distance s1 and the first segment time t1 according to the current position of the first user to the elevator determined in each optional route. Secondly, according to the working state of the elevator, predict the time to arrive at the elevator location after the first segment time plus the time spent on taking the elevator to obtain the second segment time t2. Then determine the second segment distance s2 and the third segment time t3 from the exit location to the target area. Finally, obtain the total distance S and total time T of each optional route, wherein the total distance S=the first segment distance s1+the second segment distance s2, and the total time T=the first segment time t1+the second segment time t2+the third segment time t3.
[0086] S202, obtaining the requirement of the first user, if the requirement of the first user is the shortest distance, selecting the optional route with the shortest total distance S as the first optimal route, if the requirement of the first user is the shortest time, selecting the optional route with the shortest total time T as the first optimal route;
[0087] S203. After determining the first optimal route, if the elevator of the first optimal route is in an idle state, the elevator is controlled to reach the elevator boarding location in the first optimal route in advance. If there are at least two elevators at the same elevator boarding location, the positions of the two elevators after the first segment time t1 are determined. When one of the elevators is ascending, the other elevator is controlled to descend so as to reach the elevator boarding location in the first optimal route as soon as possible.
[0088] Among them, if there is an idle elevator, you can arrive at the elevator location in advance. If there are multiple elevators, you can consider staggering the up and down travel to ensure that users going up and down have something to look forward to. This not only reduces the waiting time for the elevator, but also improves the user's elevator experience.
[0089] For example, the first elevator and the second elevator are both going up, and after calculating the first segment time t1, both elevators have reached the boarding location and then continue to go up to the first floor. At this time, the first elevator can be controlled to continue to go up, and then the second elevator can be controlled to go down. It can be found that some elevators will continue to go down after going up for a period of time. Therefore, in step S203, the present embodiment determines the positions of the two elevators after the first segment time t1. When one elevator is going up, the other elevator is controlled to go down, so as to reach the boarding location in the first optimal route as soon as possible. The further optimization scheme is:
[0090] Determine the position changes of multiple elevators in the time interval (t1-T, t1) after the current time, obtain the first time node and the first stop position of each elevator when it is closest to the elevator boarding location in the first optimal route within the time interval, select the elevator whose first time node is closest to the current time + the first segment time t1 and whose first stop position is closest to the elevator boarding location in the first optimal route as the optimal elevator, and control the optimal elevator to stay at the elevator boarding location in the first optimal route after the first segment time t1.
[0091] Among them, T is a preset time interval, such as 10 seconds, 15 seconds, etc. For the same situation mentioned above, in the above optimization scheme, since both elevators continue to ascend to the elevator floor after arriving at the elevator location, both elevators are located at the elevator location within the time interval (t1-T, t1) after the current time, that is, the first stop positions of the two are the closest. At this time, the first elevator arrives three seconds before the first segment time t1, and the second elevator arrives five seconds before the first segment time t1. The first elevator is closest to the current time + the first segment time t1. Therefore, the first elevator is the optimal elevator, and the first elevator is controlled to wait at the elevator location in the first optimal route.
[0092] It should be noted that step S211 and step S212 are the first supplementary solutions based on the solution of step S2, step S221 is the second supplementary solution, and step S201, step S202 and step S203 are detailed solutions to the original technical content in step S2.
[0093] Therefore, based on step S2 of this embodiment, after determining the first optimal route, the elevator will be controlled to arrive at the elevator location in advance. In order to avoid the waste of resources caused by the elevator landing in advance but the user choosing other elevators, step S2 of this embodiment and controlling the elevator to arrive at the elevator location in the first optimal route in advance according to the elevator working state also includes the following steps:
[0094] Based on the first video, determine whether the route selected by the first user on the forked road to different elevators complies with the overall advancement principle and whether the first user reaches a preset key node. If so, control the elevator to reach the elevator boarding location in the first optimal route in advance according to the elevator working status. Otherwise, obtain a second elevator that complies with the route selected by the user on the forked road to different elevators. When the route selected by the user on the forked road to different elevators can only lead to the second elevator, control the second elevator to reach the elevator boarding location in advance according to the elevator working status and re-plan the route according to the second elevator.
[0095] That is, if the user walks to the preset key node according to the first optimal route and complies with the overall forward principle, the first elevator in the first optimal route is controlled to land in advance. If the user does not follow the first optimal route, it is necessary to re-control and plan the route in advance when there is only the second elevator on the current forward route to avoid wasting resources.
[0096] Among them, the preset key node refers to the area range when the elevator reaches a preset distance, such as an area range with a radius of 3 meters at a distance of 30 meters.
[0097] It should be noted that the route to the first elevator in the first optimal route is not unique. The key points are whether it passes through the preset key nodes and whether it has the principle of overall advancement. The former only needs to identify the first user to reach the corresponding area, and the latter is to verify whether the route chosen by the first user on the forked road to different elevators is moving towards the first elevator as a whole. For example, the first elevator and the first user are located at two opposite corners of a rectangle. Assuming that the first user is in the lower left corner and the first elevator is in the upper right corner, the first user can reach the first elevator by choosing to go up first and then to the right or to go right first and then up. At this time, both are considered to comply with the principle of overall advancement. Similarly, for example, if it is a non-rectangular parallelogram, the first user goes up first, seemingly going in the direction away from the first elevator, but reaching the vertex position and then going right is still towards the first elevator, so it also complies with the principle of overall advancement. If the first user reaches the vertex position and turns left, it will deviate from the first elevator at this time, even if it passes through the preset key nodes, it is considered not to comply. Thereby more accurately ensuring that the early positioning of the elevator is valuable, rather than a waste of air transportation.
[0098] S3. Based on the second video, determine whether the second user is ready to leave. If so, obtain the parking location of the second license plate number bound to the second user, plan the route according to the traffic route in the building and the parking location of the second license plate number, and obtain and return the second optimal route that meets the general destination rules.
[0099] In this embodiment, based on step S211 and step S212, step S3 includes:
[0100] Based on the second video, determine whether the second user is ready to leave. If so, obtain the second set of people to which the second user belongs based on his appearance characteristics, obtain the parking position of the second license plate number temporarily associated with the second set of people, perform route planning based on the traffic route in the building and the parking position of the second license plate number, and obtain and return the second optimal route that meets the general destination rules.
[0101] Among them, the structure of existing buildings is usually that the underground floor is used as a parking lot. Therefore, whether the user is ready to leave is usually determined by whether the user goes to the floor where the parking lot is located. For example, if the user presses the underground floor where the parking lot is located in the elevator, it means that the second user is ready to leave. At this time, the appearance features of the second user are recognized in the second video to obtain the parking location of the associated second license plate number, and the route planning can be continued to obtain the fastest or shortest optimal route to find the parking location.
[0102] A further optimization scheme of this embodiment also includes: the parking position of the second license plate number temporarily associated with the second set of personnel is obtained only when the proportion of the appearance characteristics of the personnel monitored in the same elevator or in the corridor on the same floor that are the same as those in the second set of personnel exceeds a preset proportion value.
[0103] For example, if the preset threshold is 59%, then if there are only two people in the second person set, both of them need to be identified and matched, if there are three people, two people need to be identified and matched, if there are four people, three people need to be identified and matched, and if there are five people, three people need to be matched. This can reduce the error rate of person matching.
[0104] In this embodiment, based on step S211 and step S212, step S3 further includes:
[0105] When the second user has not bound a license plate number, the second person set to which the second user belongs is obtained based on the second user's appearance characteristics, and the parking position of the second license plate number temporarily associated with the second person set is obtained. Route planning is performed based on the traffic route in the building and the parking position of the second license plate number to obtain the second optimal route that meets the general destination rules, and the second optimal route is displayed on the display screen closest to the second user's parking lot location.
[0106] Because the previous steps have bound the relationship between the user's appearance features and the license plate number, regardless of whether the user has bound the license plate number, the parking position that needs guidance can be locked through the appearance features. Since the second user does not have a corresponding software interface to display the corresponding guidance information, the second user will reach the parking lot on the nearest display screen. For example, if the second user takes the elevator, it will be displayed on the nearest display screen at the elevator exit. If the second user passes through the corridor, it will be displayed on the nearest display screen at the corridor exit.
[0107] Therefore, this embodiment can realize intelligent user route planning.
[0108] In summary, this embodiment has the following advantages:
[0109] 1. After the user enters the parking lot of the building, the path planning of the parking position is carried out, thereby solving the problem of difficulty in parking for the user; according to whether the user has bound the license plate number and whether the user has selected the target area, the corresponding route planning is carried out through the traffic routes in the building, the working status of the elevator and the information that can be obtained in the corresponding situation, and when the optimal route is obtained, the elevator can be controlled in advance to reach the elevator location, thereby solving the problem of not being able to find the elevator and the difficulty in taking the elevator; and when the user is ready to leave, the user's parking position can be automatically obtained and intelligent route planning can be carried out, thereby solving the problem of difficulty in finding the car. Therefore, this embodiment can make parking and travel in the building more convenient for users.
[0110] 2. By uploading private data to the blockchain and making the associated users of the private data part of the change permissions, on the one hand, the access permission control of the blockchain is used to protect the security and privacy of the data. On the other hand, the tamper-proof characteristics of the blockchain are used to protect the private data from being deleted at will, so that the data can be called when needed, thereby protecting the private data.
[0111] Embodiment 2
[0112] Reference Figure 2 This embodiment provides a blockchain-based smart building management device 1, including a memory 2, a processor 3, and a computer program stored in the memory 2 and executable on the processor 3. When the processor 3 executes the computer program, a blockchain-based smart building management method of the first aspect is implemented.
[0113] It should be understood by those skilled in the art that embodiments of the present invention may be provided as methods, apparatuses or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0114] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (apparatus) and computer program products according to embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions.
[0115] It should be noted that in the claims, any reference numerals placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In the claims enumerating several means, several of these means may be embodied by the same hardware. The use of the words first, second, third, etc., is for convenience of expression only and does not indicate any order. These words may be understood as part of the component name.
[0116] In addition, it should be noted that, in the description of this specification, the description of the terms "one embodiment", "some embodiments", "embodiment", "example", "specific example" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0117] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments after knowing the basic creative concept. Therefore, the claims should be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present invention.
[0118] Obviously, those skilled in the art can make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention should also include these modifications and variations.
Claims
1. A smart building management method based on blockchain, It is characterized in that Includes steps: S1. Obtain the surveillance video, elevator working status and card swiping record in the building in real time, and upload the surveillance video and the card swiping record to the blockchain. The surveillance video includes a first video set in the parking lot for parking monitoring and a second video set in each elevator and corridor; S2. Based on the first video, determine the first license plate number of the currently parked vehicle, determine whether there is a first user bound to the first license plate number in the historical data, and if so, determine whether the target area sent by the first terminal where the first user is located is received, and if so, perform route planning according to the passage route in the building, the elevator working status and the target area, obtain and return a first optimal route that meets the requirements of the first user, and control the elevator to arrive at the elevator boarding location in the first optimal route in advance according to the elevator working status; S3. Based on the second video, determine whether the second user is ready to leave. If so, obtain the parking location of the second license plate number bound to the second user, perform route planning according to the traffic route in the building and the parking location of the second license plate number, and obtain and return a second optimal route that meets the general destination rule; The step S1 of uploading the surveillance video and the card swiping record to the blockchain includes: Respectively identify the associated users in the surveillance video and the card swiping record, upload the surveillance video and the card swiping record to the blockchain, and obtain the first block uploaded this time, wherein the permission control of the first block is divided into access permission control and change permission control, wherein the access permission control is limited to each blockchain node having the permission to access the first block, and the change permission control is limited to requiring the joint authorization of each blockchain node and the associated user to have the permission to change the first block; In step S2, route planning is performed according to the passage route in the building, the elevator working state and the target area, a first optimal route that meets the requirements of the first user is obtained and returned, and the elevator is controlled in advance according to the elevator working state to arrive at the elevator boarding location in the first optimal route, including: According to the route in the building, the optional route from the current position of the first user to the target area is first determined. For each optional route, the first segment distance s is obtained by first reaching the elevator determined in each optional route according to the current position of the first user. 1 and the first segment time t 1 , and then according to the working state of the elevator, the time to arrive at the elevator location after the first segment time is predicted plus the time spent on taking the elevator to obtain the second segment time t 2 , then determine the second segment distance s from the exit point to the target area 2 and the third segment time t 3 , and finally get the total distance S and total time T of each optional route, where the total distance S = the first segment distance s 1 + Second segment distance s 2 , total time T = first segment time t 1 +Second segment time t 2 + Third segment time t 3 ; Obtain the requirement of the first user. If the requirement of the first user is the shortest distance, select the optional route with the shortest total distance S as the first optimal route. If the requirement of the first user is the shortest time, select the optional route with the shortest total time T as the first optimal route. After determining the first optimal route, if the elevator of the first optimal route is in an idle state, the elevator is controlled to arrive at the elevator boarding location in the first optimal route in advance. If there are at least two elevators at the same elevator boarding location, it is determined that the two elevators are in the first segment time t 1 At the next location, when one of the elevators is moving upward, the other elevator controls it to move downward, so as to reach the elevator location in the first optimal route as quickly as possible; The step S2 of determining whether the target area sent by the first terminal where the first user is located is received also includes: Based on the first video, determine the appearance features of all persons getting on and off the currently parked vehicle, and temporarily associate the appearance features of all persons with the first license plate number as a first person set, wherein the appearance features include morphological features and clothing features; If the target area sent by the first terminal where the first user is located is not received, determining whether the first user exists in the first set of persons according to the historical physical characteristics of the first user; if the first user exists, performing route planning according to the passage route in the building, the working state of the elevator and the travel habits of the first user in the building, and obtaining and returning a first optimal route that meets the general destination rule; The step S3 comprises: Based on the second video, determine whether the second user is ready to leave. If so, obtain the second set of people to which the second user belongs based on the second user's appearance characteristics, obtain the parking position of the second license plate number temporarily associated with the second set of people, perform route planning based on the traffic route in the building and the parking position of the second license plate number, and obtain and return the second optimal route that meets the general destination rules.
2. According to the blockchain-based smart building management method of claim 1, It is characterized in that The requirement of the first user is the shortest distance or the shortest time, and the general destination rule is the shortest distance rule or the shortest time rule.
3. According to the blockchain-based smart building management method of claim 1, It is characterized in that The step S1 also includes the following steps: When the first license plate number is identified at the entrance of the parking lot, it is determined whether the target area sent by the first terminal of the first user bound to the first license plate number is received. If received, a route is planned according to the traffic route in the building, the working state of the elevator and the target area, and a third optimal route that meets the requirements of the first user is obtained and returned. The third optimal route includes a driving route segment from the entrance of the parking lot to the recommended parking space and a walking route segment from the recommended parking space to the target area. If not received, route planning is performed according to the traffic route in the building, the working state of the elevator and the travel habits of the first user in the building, and a third optimal route that meets the general destination rule is obtained and returned, wherein the third optimal route includes a driving route segment from the parking lot entrance to the recommended parking space and a walking route segment from the recommended parking space to the predicted area; If the first license plate number finally stops at the recommended parking space, the walking route segment of the third optimal route is used as the first optimal route.
4. According to the blockchain-based smart building management method of claim 1, It is characterized in that The step S2 of determining whether the target area sent by the first terminal where the first user is located is received also includes: If there is no user bound to the first license plate number, route planning is performed according to the traffic route in the building and the working state of the elevator to obtain a first optimal route that meets the general elevator rules, and the first optimal route is displayed on a display screen closest to the position where the first license plate number is parked. The general elevator rules are the principle of being closest to the elevator entrance, the principle of reaching the elevator entrance the fastest, or the principle of taking the elevator the fastest; At this time, the step S3 further includes: When the second user has not bound a license plate number, the second person set to which the second user belongs is obtained based on the appearance characteristics of the second user, and the parking position of the second license plate number temporarily associated with the second person set is obtained. Route planning is performed based on the traffic route in the building and the parking position of the second license plate number to obtain a second optimal route that meets the general destination rules, and the second optimal route is displayed on a display screen closest to the second user's parking lot location.
5. A blockchain-based smart building management method according to any one of claims 1 to 4, It is characterized in that Also includes the steps: When any user accesses the wireless Wi-Fi in the building, the building login system pops up and guides the user to register an account and bind the license plate number.
6. A blockchain-based smart building management method according to any one of claims 1 to 4, It is characterized in that Obtaining the user's walking position in a building includes the following steps: Determining the user's walking position in the building based on the surveillance video and the user's appearance features; Alternatively, the user's walking position in the building can be obtained by locating the user based on indoor positioning technology.
7. A blockchain-based smart building management device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, it implements the blockchain-based smart building management method described in any one of claims 1 to 6.
