Resource scheduling method and system based on intelligent sensing chip

Through the collaborative work of intelligent sensing chips and smart door locks, real-time monitoring and coordination of toilet space resources are solved, and the problem of users in the existing technology needs to enter the toilet to check whether there is a person is achieved, and the convenience and user experience of quickly locking the free toilet space is achieved. promote.

CN119071350APending Publication Date: 2024-12-03WUHAN XINCHENGXIN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411051162.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The prior art cannot meet the user's physiological needs in time when the bathroom is full. The user needs to enter the toilet to check whether there is someone, which is inconvenient to use.

Method used

Using resource scheduling methods and systems based on intelligent perception chips, through the collaborative work of intelligent perception devices and intelligent door locks, toilet space resources are monitored and coordinated in real time, and emergency scheduling functions are provided so that users can quickly find free toilet spaces.

Benefits of technology

It realizes the rapid locking and providing available toilet space resources when users need to use urgently, improving the user's convenience and experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071350A_ABST
    Figure CN119071350A_ABST
Patent Text Reader

Abstract

The invention discloses a resource scheduling method and system based on an intelligent sensing chip. The method comprises the steps that first intelligent sensing equipment reports an urgent scheduling event carrying a floor number to a unified scheduling server when detecting a pressing operation of a target user for an urgent key; the unified scheduling server determines at least one idle toilet cubicle corresponding to a first preset number of floors adjacent to the floor number in response to the urgent scheduling event, and determines a target idle toilet cubicle from the at least one idle toilet cubicle, a locking message is sent to a second intelligent sensing device corresponding to the target idle toilet cubicle, and a toilet cubicle recommendation message is sent to the first intelligent sensing device; the target intelligent door lock responds to a locking instruction sent by the second intelligent sensing equipment in response to the locking message to lock a door plate of the target free toilet cubicle; and the first intelligent sensing equipment displays the target position information and the target check code on the display screen in response to the toilet cubicle recommendation message. According to the invention, toilet cubicle resource coordinated utilization can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the general data processing technology field of the Internet industry, and specifically to a resource scheduling method and system based on an intelligent sensing chip. Background Art

[0002] In places such as shopping malls and office buildings, when users want to use a toilet in a bathroom, they need to go inside the bathroom to check whether there is anyone inside, which is very inconvenient. In the prior art, the property installs a camera at the door of the bathroom to determine the number of people using the bathroom by analyzing the captured image data, thereby determining whether there is an empty seat in the bathroom, and displaying the result at the door of the bathroom for users to view, thereby improving user convenience. However, although this method can monitor the use of toilet seats in the bathroom, it cannot meet the physiological needs of users in a timely manner when the bathroom is full. Summary of the invention

[0003] The embodiments of the present application provide a resource scheduling method and system based on an intelligent sensing chip, in order to achieve coordinated utilization of toilet resources and improve user convenience.

[0004] In a first aspect, an embodiment of the present application provides a resource scheduling method based on an intelligent sensing chip, which is applied to a resource scheduling system, wherein the resource scheduling system includes a plurality of sensing device groups corresponding to a plurality of toilets one by one and a unified scheduling server, wherein a single sensing device group includes a smart sensing device provided in an open area of ​​the corresponding toilet and a plurality of smart door locks provided on a plurality of door panels of a plurality of toilet seats in the toilet, wherein the plurality of smart door locks of a single toilet are communicatively connected to the smart sensing device in the current toilet, and the plurality of smart sensing devices of the plurality of toilets are communicatively connected to the unified scheduling server; the method includes:

[0005] When the smart sensing chip of the first smart sensing device detects that the target user has pressed the emergency button, the smart sensing chip reports an emergency scheduling event to the unified scheduling server, wherein the emergency scheduling event carries the floor number of the floor where the toilet corresponding to the first smart sensing device is located, and the first smart sensing device is a smart sensing device in any one of the multiple smart sensing device groups, and the smart sensing device includes the smart sensing chip, the emergency button, and a display screen;

[0006] In response to the expedited scheduling event, the unified scheduling server determines at least one vacant toilet seat in toilets corresponding to a plurality of sensing device groups corresponding to a first preset number of floors adjacent to the floor number;

[0007] The unified dispatch server determines a target idle toilet seat from the at least one idle toilet seat, and sends a lock message to a second intelligent sensing device in the sensing device group corresponding to the target idle toilet seat, and sends a toilet seat recommendation message carrying target position information and a target verification code corresponding to the target idle toilet seat to the first intelligent sensing device, wherein the second intelligent sensing device is an intelligent sensing device in any one of the multiple intelligent sensing device groups except the intelligent sensing device group corresponding to the first intelligent sensing device;

[0008] The second intelligent sensing device sends a locking instruction to the target intelligent door lock corresponding to the target vacant toilet seat in response to the locking message;

[0009] The target smart door lock locks the door panel of the target vacant toilet in response to the locking instruction;

[0010] The first intelligent sensing device displays the target location information and the target verification code on a display screen in response to the toilet seat recommendation message.

[0011] In a possible example, the unified dispatch server determines, in response to the expedited dispatch event, at least one vacant toilet seat in the restrooms corresponding to the plurality of sensing device groups corresponding to the first preset number of floors adjacent to the floor number, including:

[0012] The unified dispatch server sends a status query message to a third intelligent sensing device in a plurality of the sensing device groups on a first preset number of floors adjacent to the floor number;

[0013] Each of the third intelligent sensing devices sends a status query instruction to the corresponding plurality of intelligent door locks in response to the status query message;

[0014] Each of the smart door locks reports the switch state of the smart door lock to the corresponding third smart sensing device in response to the state query instruction, where the switch state is a locked state or an unlocked state;

[0015] Each of the third intelligent sensing devices reports the switch status of the corresponding plurality of intelligent door locks to the unified dispatch server;

[0016] The unified dispatching server determines, based on the switch states reported by the plurality of third intelligent sensing devices, at least one vacant toilet seat in the bathrooms corresponding to a first preset number of floors with adjacent floor numbers.

[0017] In a possible example, determining a target idle toilet stall from the at least one idle toilet stall includes:

[0018] The unified dispatching server determines whether there is at least one first vacant toilet seat in the toilets corresponding to the upper floor and the lower floor adjacent to the floor number according to the switch states reported by the plurality of the third intelligent sensing devices;

[0019] If the unified dispatch server determines that there is at least one first idle toilet stall, determining the target idle toilet stall from the at least one first idle toilet stall;

[0020] If the unified dispatching server determines that the at least one first vacant toilet seat does not exist, then, based on the switch status reported by the multiple third intelligent sensing devices, it determines at least one second vacant toilet seat in the bathrooms of other floors of the first preset number of floors adjacent to the floor number, except the upper floor adjacent to the floor number and the adjacent lower floor, and determines the target vacant toilet seat from the at least one second vacant toilet seat.

[0021] In a possible example, the method of determining, according to the switch states reported by the plurality of the third intelligent sensing devices, at least one second vacant toilet seat in the bathrooms of the first preset number of floors adjacent to the floor number except the upper floor adjacent to the floor number and the adjacent lower floor, includes:

[0022] The unified dispatching server determines, according to the switch states reported by the plurality of the third intelligent sensing devices, at least one of the second vacant toilet seats in the bathrooms adjacent to the floor number and located on a first number of floors above the floor corresponding to the floor number;

[0023] The unified dispatching server determines, based on the switch status reported by multiple third intelligent sensing devices, at least one of the second vacant toilet seats in the bathrooms of a second number of floors adjacent to the floor number and below the floor corresponding to the floor number, and the sum of the first number and the second number is equal to the difference between the first preset number and two.

[0024] In a possible example, after the second intelligent sensing device sends a locking instruction to the target intelligent door lock corresponding to the target vacant toilet in response to the locking message, the method further includes:

[0025] The second intelligent sensing device determines whether the entered verification code is obtained within a first preset time;

[0026] If the second intelligent sensing device obtains the entered verification code, the verification code is sent to the unified scheduling server;

[0027] The unified scheduling server checks whether the verification check code corresponds to the target check code;

[0028] If the verification result of the unified dispatch server is corresponding to the verification code, a first unlocking message is sent to the second intelligent sensing device; and the second intelligent sensing device sends a first unlocking instruction to the intelligent door lock corresponding to the target free toilet according to the first unlocking message; the intelligent door lock corresponding to the target free toilet unlocks the door panel of the target free toilet according to the first unlocking instruction;

[0029] If the verification result of the unified dispatch server is that the verification code does not correspond, a verification failure message is sent to the second intelligent sensing device; and the second intelligent sensing device displays verification failure information on the corresponding display screen according to the verification failure message;

[0030] If the second intelligent sensing device fails to obtain the entered verification code, a second unlocking message is sent to the second intelligent sensing device; and the second intelligent sensing device sends the unlocking instruction to the smart door lock corresponding to the target vacant toilet seat according to the second unlocking message; the smart door lock corresponding to the target vacant toilet seat unlocks the door panel of the target vacant toilet seat according to the second unlocking instruction.

[0031] In a possible example, before the second intelligent sensing device detects whether the input verification code is obtained within the first preset time, the method further includes:

[0032] The unified scheduling server obtains the distance between the toilet where the first intelligent sensing device corresponds to and the toilet where the second intelligent sensing device corresponds to, and the multi-user historical time data corresponding to the distance;

[0033] The unified scheduling server determines the first preset time based on analysis of the distance and the historical time data of multiple users.

[0034] In a possible example, if the unified dispatch server fails to determine the at least one vacant toilet seat in response to the expedited dispatch event, the method further includes:

[0035] The unified dispatching server sends a request message to the fourth intelligent sensing device in the multiple sensing device groups corresponding to the second preset number of floors adjacent to the floor numbers, and the fourth intelligent sensing device is an intelligent sensing device in any one of the multiple intelligent sensing device groups.

[0036] In a possible example, if the second preset number is less than or equal to the first preset number, after the unified dispatching server sends a request message to a fourth intelligent sensing device in a plurality of sensing device groups corresponding to a second preset number of floors adjacent to the floor numbers, the method further includes:

[0037] Each of the fourth intelligent sensing devices sends a request instruction to the plurality of intelligent door locks in the corresponding intelligent sensing device group in response to the request message;

[0038] Each of the smart door locks outputs request information in response to the request instruction, and the request information is used to represent the content of requesting the squatting user occupying the toilet to release the toilet resources as soon as possible.

[0039] In a possible example, after each of the smart door locks outputs request information in response to the request instruction, the method further includes:

[0040] When the unified dispatch server detects that available toilet seats are released in toilets on a second preset number of floors adjacent to the floor numbers, the unified dispatch server monitors whether the available toilet seats are occupied within a second preset time;

[0041] If the available toilet seat is occupied within the second preset time, continue to monitor the toilet seat resources of the toilets on the second preset number of floors adjacent to the floor number to determine whether there is a released available toilet seat;

[0042] If the available toilet seat is not occupied within the second preset time, the available toilet seat is determined as the target vacant toilet seat.

[0043] In a second aspect, an embodiment of the present application provides a resource scheduling system, the resource scheduling system comprising a plurality of sensing device groups corresponding to a plurality of toilets one by one and a unified scheduling server, a single sensing device group comprising an intelligent sensing device provided in an open area of ​​the corresponding toilet and a plurality of intelligent door locks provided on a plurality of door panels of a plurality of toilet seats in the toilet, a plurality of intelligent door locks of a single toilet being communicatively connected with the intelligent sensing device in the current toilet, and a plurality of intelligent sensing devices of the plurality of toilets being communicatively connected with the unified scheduling server;

[0044] The first smart sensing device among the smart sensing devices is used to report an expedited dispatch event to the unified dispatch server when a target user presses an expedited button through a smart sensing chip, wherein the expedited dispatch event carries a floor number of a floor where a toilet corresponding to the first smart sensing device is located, the first smart sensing device is a smart sensing device in any one of the multiple smart sensing device groups, and the smart sensing device includes the smart sensing chip, the expedited button, and a display screen;

[0045] The first intelligent sensing device is further configured to, when the unified dispatch server determines at least one vacant toilet seat, display target location information and a target verification code on a display screen in response to a toilet seat recommendation message from the unified dispatch server;

[0046] The second intelligent sensing device among the intelligent sensing devices is used to send a locking instruction to the target intelligent door lock corresponding to the target idle toilet in response to the locking message when the unified dispatching server queries the at least one idle toilet, and the second intelligent sensing device is an intelligent sensing device in any one of the multiple intelligent sensing device groups except the intelligent sensing device group corresponding to the first intelligent sensing device;

[0047] The unified dispatch server is used to, in response to the expedited dispatch event, determine at least one vacant toilet seat in the restrooms corresponding to a plurality of the sensing device groups corresponding to a first preset number of floors adjacent to the floor number; determine a target vacant toilet seat from the at least one vacant toilet seat, and send the lock message to the second intelligent sensing device in the sensing device group corresponding to the target vacant toilet seat, and send the toilet seat recommendation message carrying the target position information and the target verification code corresponding to the target vacant toilet seat to the first intelligent sensing device;

[0048] The smart door lock is used to lock the door panel of the target vacant toilet seat in response to the locking instruction when the smart door lock is a target smart door lock corresponding to the target vacant toilet seat.

[0049] It can be seen that in this embodiment, the resource scheduling system reports an expedited scheduling event to the unified scheduling server when the intelligent sensing chip of the first intelligent sensing device detects that the target user has pressed the expedited button. The expedited scheduling event carries the floor number of the floor where the toilet corresponding to the first intelligent sensing device is located. The first intelligent sensing device is an intelligent sensing device in any one of the multiple intelligent sensing device groups. The intelligent sensing device includes an intelligent sensing chip, an expedited button, and a display screen; thereby, the unified scheduling server responds to the expedited scheduling event and determines at least one vacant toilet seat in the toilets corresponding to the multiple sensing device groups corresponding to the first preset number of floors adjacent to the floor number; and then determines from the at least one vacant toilet seat through the unified scheduling server. A target free toilet is determined, and a locking message is sent to the second intelligent sensing device in the sensing device group corresponding to the target free toilet, and a toilet recommendation message carrying the target position information and the target verification code corresponding to the target free toilet is sent to the first intelligent sensing device, the second intelligent sensing device is an intelligent sensing device in any one of the multiple intelligent sensing device groups except the intelligent sensing device group corresponding to the first intelligent sensing device; and then the second intelligent sensing device responds to the locking message and sends a locking instruction to the target smart door lock corresponding to the target free toilet; and the target smart door lock responds to the locking instruction to lock the door panel of the target free toilet; and the first intelligent sensing device responds to the toilet recommendation message and displays the target position information and the target verification code through the display screen. It can be seen that the unified service server in this application can effectively monitor the use of toilet resources through multiple device sensing groups corresponding to multiple toilets, so that when a user has an urgent need for use, the toilet resources can be reasonably coordinated, so as to quickly provide and lock available toilets for users, thereby meeting the needs of users for urgent use and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0051] Figure 1 It is a schematic diagram of the architecture of a resource scheduling system provided in an embodiment of the present application;

[0052] Figure 2 It is a schematic diagram of the architecture of a sensing device group provided in an embodiment of the present application;

[0053] Figure 3It is a flowchart of a resource scheduling method based on an intelligent sensing chip provided in an embodiment of the present application;

[0054] Figure 4 This is a schematic diagram of a scenario of a resource scheduling system application provided by an embodiment of the present application;

[0055] Figure 5 This is an interface display diagram of a toilet seat recommendation message provided in an embodiment of the present application;

[0056] Figure 6 It is a schematic diagram of a process of inputting a target verification code provided in an embodiment of the present application. DETAILED DESCRIPTION

[0057] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0058] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0059] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0060] The embodiments of the present application are described below with reference to the accompanying drawings.

[0061] The technical solution of this application can be applied to Figure 1 The example resource scheduling system 10 shown is shown in FIG. Figure 1 and Figure 2The resource scheduling system 10 includes a plurality of sensing device groups 120 corresponding to a plurality of toilets one by one and a unified scheduling server 110. A single sensing device group 120 includes a smart sensing device 121 provided in an open area of ​​the corresponding toilet and a plurality of smart door locks 122 provided on a plurality of door panels of a plurality of toilet seats in the toilet. The plurality of smart door locks 122 of a single toilet are connected in communication with the smart sensing device 121 in the current toilet, and the plurality of smart sensing devices 121 of the plurality of toilets are connected in communication with the unified scheduling server 110. The plurality of smart door locks 122 of a single toilet and the smart sensing device 121 in the current toilet can be connected in communication with each other using a local area network such as Bluetooth, so as to reduce construction costs, improve information transmission efficiency, and facilitate resource management.

[0062] For example, see Figure 4 Taking a single toilet as an example, the toilet may have an open area and a toilet area, and the open area is provided with a wash area and a smart sensing device 410. In this example, an emergency button 411 is physically arranged in the open area. The toilet area is provided with multiple toilets, such as toilet 1, toilet 2, toilet 3, and toilet 4. A smart door lock 420 is installed on the door panel 430 of a single toilet, and the smart door lock 420 can control the opening and closing of the door panel.

[0063] Specifically, the first intelligent sensing device in the intelligent sensing device is used to report an expedited dispatch event to the unified dispatch server when the target user detects the pressing operation of the expedited button through the intelligent sensing chip. The expedited dispatch event carries the floor number of the floor where the toilet corresponding to the first intelligent sensing device is located. The first intelligent sensing device is an intelligent sensing device in any one of the multiple intelligent sensing device groups. The intelligent sensing device includes an intelligent sensing chip, an expedited button, and a display screen. Among them, the intelligent sensing chip is used for the main control function of the intelligent intelligent sensing device. The display screen is a touch display screen.

[0064] Specifically, the first intelligent sensing device is also used to display the target location information and the target verification code through the display screen in response to the toilet recommendation message from the unified dispatching server when the unified dispatching server determines at least one vacant toilet seat.

[0065] Specifically, the unified scheduling server is used to, in response to an expedited scheduling event, determine at least one vacant toilet seat in a bathroom corresponding to multiple sensing device groups corresponding to a first preset number of floors adjacent to the floor number; determine a target vacant toilet seat from the at least one vacant toilet seat, and send a lock message to the second intelligent sensing device in the sensing device group corresponding to the target vacant toilet seat, and send a toilet seat recommendation message carrying the target position information and target verification code corresponding to the target vacant toilet seat to the first intelligent sensing device.

[0066] Specifically, the second intelligent sensing device among the intelligent sensing devices is used to send a locking instruction to the target intelligent door lock corresponding to the target idle toilet seat in response to a locking message when the unified scheduling server queries at least one idle toilet seat. The second intelligent sensing device is an intelligent sensing device in any one of the multiple intelligent sensing device groups except the intelligent sensing device group corresponding to the first intelligent sensing device.

[0067] Specifically, the smart door lock is used to lock the door panel of the target vacant toilet seat in response to a locking instruction when the smart door lock is a target smart door lock corresponding to the target vacant toilet seat.

[0068] See also Figure 3 , Figure 3 This is a flow chart of a resource scheduling method based on an intelligent sensing chip provided in an embodiment of the present application. The method can be applied in Figure 1 As shown in the figure, it is applied to resource scheduling system. Figure 2 As shown, the resource scheduling method based on the intelligent sensing chip includes:

[0069] Step S310: When the smart sensing chip of the first smart sensing device detects that the target user presses the expedited button, the expedited scheduling event is reported to the unified scheduling server.

[0070] Among them, the emergency scheduling event carries the floor number of the floor where the toilet corresponding to the first intelligent sensing device is located, the first intelligent sensing device is an intelligent sensing device in any one of the multiple intelligent sensing device groups, and the intelligent sensing device includes the intelligent sensing chip, the emergency button, and a display screen.

[0071] Among them, the expedited dispatch event is used to indicate that the user has an urgent need to use the toilet and requires dispatch and coordination by a unified dispatch server.

[0072] Specifically, the emergency button can be a physical button for easy identification and use. In order to make it easier to identify the emergency button, the emergency button can be set to a color that is more prominent in the environment, such as red. Alternatively, the emergency button can also be a virtual button and presented on the display screen in the form of a control. When the emergency button is a physical button, the pressing operation can be understood as a physical pressing action on the emergency button. When the emergency button is a virtual button, the pressing operation can be understood as the action of pressing the control to achieve a click.

[0073] Step S320: In response to the expedited scheduling event, the unified scheduling server determines at least one vacant toilet seat in the restrooms corresponding to a plurality of the sensing device groups corresponding to a first preset number of floors adjacent to the floor number.

[0074] In a specific implementation, after receiving an expedited dispatch event, the unified dispatch server will send a status query request to the intelligent sensing devices in the plurality of sensing device groups corresponding to the first preset number of floors adjacent to the floor number. The status query request is used to query the usage status of the toilet, which includes an occupied status and an idle status. Each intelligent sensing device will respond to the status query request to confirm the switch status of the intelligent door lock installed on the door panel of each toilet in the bathroom where it is located, so as to determine the usage status of the toilet through the switch status of the intelligent door lock, thereby improving the accuracy of toilet usage monitoring. If the switch status of the intelligent door lock is unlocked, it indicates that the usage status of the toilet is idle. If the switch status of the intelligent door lock is locked, it indicates that the usage status of the toilet is occupied.

[0075] Specifically, the smart door lock can upload its updated usage status and corresponding toilet seat number to the smart sensing device every time the usage status changes, so as to improve the response speed of the smart sensing device in response to the status query request. Alternatively, the smart sensing device can communicate to inquire about the usage status of the smart door lock in response to the status query request, and the smart door lock will respond to the inquiry and feedback its usage status and its corresponding toilet seat number to the smart sensing device, so as to feedback to the unified scheduling server through the smart sensing device. This can reduce the amount of data that the smart sensing device needs to process and store, and reduce the processing pressure of the smart sensing device. Among them, the toilet seat number is used to indicate the location of the toilet seat, which may only refer to the location of the toilet seat in the bathroom, or the location may refer to the floor position of the bathroom where the toilet seat is located, and the location of the toilet seat in the bathroom.

[0076] In a specific implementation, the unified dispatch server can determine whether there are vacant toilets based on the usage status of multiple toilets uploaded by the intelligent sensing devices in the sensing device group corresponding to the first preset number of floors adjacent to the floor number in response to the status query request. If the usage status of multiple toilets are all occupied, it is determined that there are no vacant toilets. If the usage status of at least one toilet among the multiple toilets is vacant, it is determined that there is at least one vacant toilet.

[0077] In step S330, the unified scheduling server determines a target idle toilet seat from the at least one idle toilet seat, and sends a lock message to the second intelligent sensing device in the sensing device group corresponding to the target idle toilet seat, and sends a toilet seat recommendation message carrying the target position information and target verification code corresponding to the target idle toilet seat to the first intelligent sensing device.

[0078] The second intelligent sensing device is an intelligent sensing device in any one of the multiple intelligent sensing device groups except the intelligent sensing device group corresponding to the first intelligent sensing device.

[0079] In a specific implementation, when the unified scheduling server determines that there is at least one free toilet seat, the number of free toilet seats can be determined first. If the number of free toilet seats is one, the free toilet seat can be determined as the target free toilet seat. If the number of free toilet seats is two or more, the free toilet seat closest to the toilet where the first intelligent sensing device is located among the multiple free toilet seats can be determined as the target free toilet seat.

[0080] After determining the target free toilet seat, it is necessary to determine the target position information corresponding to the target free toilet seat. If the toilet seat number corresponding to the target free toilet seat represents the floor position of the bathroom where the toilet seat is located, and the position of the toilet seat in the bathroom, the target position information can be directly determined based on the toilet seat number. If the toilet seat number corresponding to the target free toilet seat only refers to the position of the toilet seat in the bathroom, the target position information is determined based on the position of the intelligent sensing device that sends the usage status of the target free toilet seat. After determining the target free toilet seat, a set of numbers can also be randomly generated as a target verification code. The target verification code is used by the user to verify the target free toilet seat. After determining the target position information and the target verification code, the unified scheduling server can generate a toilet seat recommendation message carrying these two information, and send the toilet seat recommendation message to the first intelligent sensing device to provide it to the user for viewing.

[0081] In the specific implementation, after determining the target vacant toilet seat, a lock message can also be sent to the second intelligent sensing device to instruct the target smart door lock corresponding to the target vacant toilet seat to be updated to an occupied state through the second intelligent sensing device, thereby preventing the target vacant toilet seat from being occupied by other people.

[0082] Step S340: The second intelligent sensing device sends a locking instruction to the target intelligent door lock corresponding to the target vacant toilet seat in response to the locking message.

[0083] Specifically, after receiving the locking message from the unified service server, the second intelligent sensing device will send a locking instruction to the target smart door lock corresponding to the target vacant toilet to instruct the target smart door lock to lock the door panel of the target vacant toilet.

[0084] Step S350: The target smart door lock locks the door panel of the target vacant toilet seat in response to the locking instruction.

[0085] Specifically, in response to the locking instruction from the second intelligent sensing device, the target smart door lock controls the closing of the door panel corresponding to the target smart door lock and locks the smart door lock to update the use state of the target smart door lock from the idle state to the occupied state, thereby preventing the target idle toilet from being occupied by others while the user is on his way to the target idle toilet, thereby delaying the user's use.

[0086] Step S360: The first intelligent sensing device displays the target location information and the target verification code on a display screen in response to the toilet seat recommendation message.

[0087] Specifically, after the first smart device receives the micro-measurement recommendation message, the target location information and target verification code corresponding to the target vacant toilet seat carried in the toilet seat recommendation message can be displayed on the display screen of the first smart sensing device, so that the user who presses the expedited button can query the record, to assist the user to go to the location of the second smart sensing device, and after arriving, verify through the target verification code to unlock the target smart door lock.

[0088] For example, see Figure 5 , Figure 5 The interface shown is the first interface 510 displayed when the display screen of the first intelligent sensing device displays the toilet recommendation message. The first interface 510 includes a management information display control 511, a position display control 512, a check code display control 513, a first confirmation control 514, a first cancellation control 515, a navigation display control 516, and a refresh control 517. Among them, the management information display control 511 can be used to display management information, for example, to display the icon and name of the property company described by the toilet manager. The position display control 512 is used to display the target location information. The check code display control 513 is used to display the target check code. The first confirmation control 514 can exit the display of the first interface 510 in response to the first user operation or after a preset period of time, and return to the main interface with the setting, so that the first intelligent sensing device can be provided to the user for others to use after confirming the record number target location information and the target check code. The first cancellation control 515 can exit the display of the first interface 510 in response to the second user selection operation, and send a cancellation lock message to the second intelligent sensing device to re-update the use status of the target free toilet to the free state for others to use. The navigation display control 516 can respond to the third user selection operation to display a route planning map from the toilet where the first smart sensing device is located to the toilet where the second smart sensing device is located in the first interface 510 in a pop-up window or other manner, so as to help the user better find the target vacant toilet. The refresh control 517 can respond to the fourth user selection operation to update the target verification code.

[0089] It can be seen that in this embodiment, the resource scheduling system reports an expedited scheduling event to the unified scheduling server when the intelligent sensing chip of the first intelligent sensing device detects that the target user has pressed the expedited button. The expedited scheduling event carries the floor number of the floor where the toilet corresponding to the first intelligent sensing device is located. The first intelligent sensing device is an intelligent sensing device in any one of the multiple intelligent sensing device groups. The intelligent sensing device includes an intelligent sensing chip, an expedited button, and a display screen; thereby, the unified scheduling server responds to the expedited scheduling event and determines at least one vacant toilet seat in the toilets corresponding to the multiple sensing device groups corresponding to the first preset number of floors adjacent to the floor number; and then determines from the at least one vacant toilet seat through the unified scheduling server. A target free toilet is determined, and a locking message is sent to the second intelligent sensing device in the sensing device group corresponding to the target free toilet, and a toilet recommendation message carrying the target position information and the target verification code corresponding to the target free toilet is sent to the first intelligent sensing device, the second intelligent sensing device is an intelligent sensing device in any one of the multiple intelligent sensing device groups except the intelligent sensing device group corresponding to the first intelligent sensing device; and then the second intelligent sensing device responds to the locking message and sends a locking instruction to the target smart door lock corresponding to the target free toilet; and the target smart door lock responds to the locking instruction to lock the door panel of the target free toilet; and the first intelligent sensing device responds to the toilet recommendation message and displays the target position information and the target verification code through the display screen. It can be seen that the unified service server in this application can effectively monitor the use of toilet resources through multiple device sensing groups corresponding to multiple toilets, so that when a user has an urgent need for use, the toilet resources can be reasonably coordinated, so as to quickly provide and lock available toilets for users, thereby meeting the needs of users for urgent use and improving the user experience.

[0090] In one possible example, the unified dispatching server determines, in response to the expedited dispatching event, at least one vacant toilet seat in the bathroom corresponding to the multiple sensing device groups corresponding to the first preset number of floors adjacent to the floor number, including: the unified dispatching server sends a status query message to the third intelligent sensing devices in the multiple sensing device groups of the first preset number of floors adjacent to the floor number; each of the third intelligent sensing devices sends a status query instruction to the corresponding multiple smart door locks in response to the status query message; each of the smart door locks reports the switch state of the smart door lock to the corresponding third intelligent sensing device in response to the status query instruction, and the switch state is a locked state or an unlocked state; each of the third intelligent sensing devices reports the switch state of the corresponding multiple smart door locks to the unified dispatching server; the unified dispatching server determines the at least one vacant toilet seat in the bathroom corresponding to the first preset number of floors adjacent to the floor number based on the switch states reported by the multiple third intelligent sensing devices.

[0091] The floor number is mainly used to indicate the floor of the first intelligent sensing device, and can also be used to indicate other location information of the first intelligent sensing device, such as the area where the first intelligent sensing device is located, or a specific bathroom, etc. When there are multiple bathrooms on the same floor, the floor number can also be used to indicate the bathroom where the first intelligent sensing device is located. For example, the number 01502 can be used to indicate bathroom No. 02 on the 15th floor.

[0092] The third intelligent sensing device refers to any one of all intelligent sensing devices except the first intelligent sensing device in a first preset number of floors adjacent to the floor number.

[0093] Specifically, the first preset number may be data determined by backstage personnel based on experience and stored in the memory of the unified dispatch server. Alternatively, the first preset number may also be data set by a user with an urgent use requirement through a display screen before pressing the urgent button. Alternatively, the first preset number may be data determined by the unified dispatch server based on first historical data set by multiple users, where the first historical data is data for setting the value of the first preset number by the user. For example, the unified dispatch server may determine the data with the highest user setting frequency based on the first historical data, and determine the data as the first preset number.

[0094] In a specific implementation, when determining whether there is at least one free toilet seat, the unified dispatching server may first send a status query message to all third intelligent sensing devices, so that each third intelligent sensing device sends a status query instruction to the intelligent door lock of each toilet seat in the bathroom where it is located in response to the status query message, and reports the switch status reported by each intelligent door lock to the unified dispatching server. After the unified dispatching server receives the switch status corresponding to all intelligent door locks reported by all third intelligent sensing devices, it will determine whether there is an unlocked state among these switch states. If so, it is determined that there is at least one free toilet seat, and the toilet seat with the unlocked switch state is determined as a free toilet seat. If not, it is determined that there is no at least one free toilet seat.

[0095] It can be seen that in this example, by reporting the switch status of the smart door lock of each toilet in the bathrooms on the first preset number of adjacent floors, the unified scheduling server can determine that there is at least one vacant toilet based on the switch status, which can ensure the real-time information of the switch status of the smart door lock and the accuracy of the vacant toilet determination results.

[0096] In one possible example, determining a target free toilet seat from the at least one free toilet seat includes: the unified dispatching server determines whether there is at least one first free toilet seat in the bathrooms corresponding to the upper floor and the adjacent lower floor adjacent to the floor number according to the switch status reported by multiple third intelligent sensing devices; if the unified dispatching server determines that there is at least one first free toilet seat, determining the target free toilet seat from the at least one first free toilet seat; if the unified dispatching server determines that there is no at least one first free toilet seat, determining at least one second free toilet seat in the bathrooms of other floors of a first preset number of floors adjacent to the floor number, except the upper floor and the adjacent lower floor adjacent to the floor number, according to the switch status reported by multiple third intelligent sensing devices, and determining the target free toilet seat from the at least one second free toilet seat.

[0097] The vacant toilet seats include at least one of the first vacant toilet seats and the second vacant toilet seats. The first vacant toilet seats refer to the toilet seats in the toilets of the upper floor and the adjacent lower floor adjacent to the floor number. The second vacant toilet seats refer to the toilet seats in all toilets in the adjacent first preset number of floors except the toilets of the adjacent upper floor and the adjacent lower floor.

[0098] In a specific implementation, the unified service server may first determine whether there is at least one first vacant toilet seat on the upper floor and the lower floor adjacent to the floor number. If so, one of the at least one first vacant toilet seats is determined as the target vacant toilet seat. If not, then determine whether there is at least one second vacant toilet seat on the other floors except the upper floor and the lower floor in the first preset number of floors adjacent to the floor number. If so, then determine one of the at least one second vacant toilet seats as the target vacant toilet seat. If not, determine that there is no vacant toilet seat in the first preset number of floors adjacent to the floor number.

[0099] Specifically, when determining the target free toilet, the unified dispatch server can first send a status query message to the adjacent upper floor and the adjacent lower floor to determine whether there is at least one first free toilet. If there is no at least one first free toilet, a status query message is sent to the intelligent sensing devices on the other floors of the adjacent first preset number of floors except the adjacent upper floor and the adjacent lower floor to determine whether there is at least one second free toilet. This reduces the processing pressure of the unified dispatch server.

[0100] Or, specifically, when determining the target free toilet, a status query message can be sent to all the smart sensing devices on the adjacent first preset number of floors at the same time, and then it is determined whether the first free toilet and the second free toilet exist in sequence. This shortens the time for obtaining the switch status of the smart door locks on different floors, thereby improving the processing efficiency of the unified scheduling server.

[0101] It can be seen that in this example, by first determining whether there is at least one first vacant toilet seat on the adjacent upper floor and the adjacent lower floor, and then determining whether there is at least one second vacant toilet seat on other floors of the first preset number of floors except the adjacent upper floor and the adjacent lower floor, the intelligence of data processing by the unified scheduling server can be further optimized, and it can be achieved to provide users with priority access to vacant toilet seats that are closer, thereby shortening the time required for users to go to vacant toilet seats and improving user experience.

[0102] In a possible example, the method of determining at least one second vacant toilet seat in bathrooms on floors other than the upper floor and the lower floor adjacent to the floor number among a first preset number of floors adjacent to the floor number according to the switch status reported by multiple third intelligent sensing devices includes: the unified scheduling server determines at least one second vacant toilet seat in bathrooms on a first number of floors adjacent to the floor number and located above the floor corresponding to the floor number according to the switch status reported by multiple third intelligent sensing devices; the unified scheduling server determines at least one second vacant toilet seat in bathrooms on a second number of floors adjacent to the floor number and located below the floor corresponding to the floor number according to the switch status reported by multiple third intelligent sensing devices, and the sum of the first number and the second number is equal to the difference between the first preset number and two.

[0103] Specifically, the first preset number of floors includes a first number of floors above the floor where the first intelligent sensing device is located and a second number of floors below the floor where the first intelligent sensing device is located. The first number and the second number are positive integers greater than or equal to zero, and the first number and the second number may be the same or different. This improves the diversity and operability of user selection and improves user experience. Exemplarily, the second preset number may be less than the first preset number to increase the possibility of shortening the distance between the target vacant toilet seat and the first intelligent sensing device.

[0104] In a specific implementation, when determining at least one second free toilet seat, the switch states of the smart door locks corresponding to all toilet seats adjacent to the floor number and located on the first number of floors above the floor corresponding to the floor number, and the switch states of the smart door locks corresponding to all toilet seats adjacent to the floor number and located on the second number of floors below the floor corresponding to the floor number can be determined respectively, so as to determine whether there is at least one second free toilet seat in the bathrooms of the first number of floors above the floor corresponding to the floor number and in the bathrooms of the second number of floors below the floor corresponding to the floor number. The unified dispatching server reduces the processing pressure of a single data processing task of the unified dispatching server by processing the data of the first number of floors below the floor corresponding to the floor number and the data of the second number of floors below the floor corresponding to the floor number respectively.

[0105] It can be seen that in this example, the unified dispatching server can reduce the amount of data for a single processing task of the unified dispatching server by respectively determining at least one second vacant toilet seat in the toilets located on the first number of floors above the floor corresponding to the floor number, and at least one second vacant toilet seat in the toilets located on the second number of floors below the floor corresponding to the floor number, thereby reducing the processing pressure on a single processing task. In a specific implementation, the above two steps can be executed in parallel to improve processing efficiency. They can also be executed in series one after another to reduce the requirements for the processing performance of the unified dispatching server.

[0106] In one possible example, after the second intelligent sensing device responds to the lock message and sends a lock instruction to the target smart door lock corresponding to the target vacant toilet, the method also includes: the second intelligent sensing device determines whether the entered verification code is obtained within the first preset time; if the second intelligent sensing device obtains the entered verification code, the verification code is sent to the unified scheduling server; the unified scheduling server verifies whether the verification code corresponds to the target verification code; if the verification result of the unified scheduling server is that the verification codes correspond, a first unlocking message is sent to the second intelligent sensing device; and the second intelligent sensing device sends a first unlocking message to the smart door lock corresponding to the target vacant toilet according to the first unlocking message. A first unlocking instruction; the smart door lock corresponding to the target free toilet seat unlocks the door panel of the target free toilet seat according to the first unlocking instruction; if the verification result of the unified dispatching server is that the verification code does not correspond, a verification failure message is sent to the second intelligent sensing device; and the second intelligent sensing device displays the verification failure information on the corresponding display screen according to the verification failure message; if the second intelligent sensing device fails to obtain the entered verification code, a second unlocking message is sent to the second intelligent sensing device; and the second intelligent sensing device sends the unlocking instruction to the smart door lock corresponding to the target free toilet seat according to the second unlocking message; the smart door lock corresponding to the target free toilet seat unlocks the door panel of the target free toilet seat according to the second unlocking instruction.

[0107] Among them, the first preset time can be set to any time length according to needs, such as 1 minute, 3 minutes, 5 minutes, etc.

[0108] In a specific implementation, after the unified dispatch server sends a toilet recommendation message to the first intelligent sensing device, the unified dispatch server can monitor the second intelligent sensing device in real time within the first preset time. After the user records the target location information and the target verification code displayed on the display screen of the first intelligent sensing device, he can go to the location indicated by the target location information, that is, the location of the second intelligent sensing device, and enter the target verification code through the display screen of the second intelligent sensing device to verify his identity. Within the first preset time, if the second intelligent sensing device obtains the verification code entered by the user, the verification code can be reported to the unified dispatch server to compare the verification code and the target verification code through the unified dispatch server. If the two correspond to each other, it indicates that the comparison is successful. The unified dispatch server can send a first unlocking message to the second intelligent sensing device, thereby instructing the second intelligent sensing device to send a first unlocking instruction to the smart door lock corresponding to the target free toilet seat to unlock the smart door lock and open the door panel, that is, to change the switch state of the smart door lock corresponding to the target free toilet seat from the locked state to the unlocked state, so as to facilitate user use. If the unified dispatch server compares the verification code and the target verification code and the result is that the two are inconsistent, it will send a salt failure message to the second intelligent sensing device to instruct the second intelligent sensing device to display the verification failure information through the display screen to inform the user of the verification failure result, so that the user can re-enter the verification code. If after the first preset time, the unified dispatch server detects that the second intelligent sensing device has not obtained the entered verification code, that is, the user has not entered the verification code through the display screen of the second intelligent sensing device, it will cancel the user's reservation request for the target idle toilet seat, and send a second unlock message to the second intelligent sensing device, thereby instructing the second intelligent sensing device to send a second unlock instruction to the smart door lock corresponding to the target idle toilet seat, so as to unlock the smart door lock and open the door panel, that is, to change the switch state of the smart door lock corresponding to the target idle toilet seat from the locked state to the unlocked state, so as to facilitate the target idle toilet seat to be provided to other people for use.

[0109] For example, see Figure 6 , Figure 6 The second interface 610 (i.e. Figure 6 The interface shown in (a)), the third interface 620 (i.e. Figure 6 (b)), and the fourth interface 630 (i.e. Figure 6610). Referring to the second interface 610, after the user arrives at the toilet where the target free toilet is located, the user can first display the content shown in the second interface 610 through the display screen of the second intelligent sensing device, so as to display the location information of the locked free toilet through the reservation location display control 611, so that the user can compare the location information with the target location information to confirm whether the location is correct. When the location is confirmed to be correct, the verification code can be entered through the verification code input control 612. After entering the verification code, the interface displayed on the display screen of the second intelligent sensing device can be as shown in the third interface 620. The user can then perform a user selection operation on the second confirmation control 613 to allow the unified scheduling server to compare the verification code (i.e., the verification code) and the target verification code. If the verification code entered corresponds to the target verification code, the interface displayed on the display screen of the second intelligent sensing device will be updated to the fourth interface 630 to display the unlock display control 631 in the interface to prompt the user that the smart door lock of the target free toilet has been unlocked and can be used. After viewing, the user can perform a user selection operation on the return operation control 632 to return to the homepage for other people to use. Alternatively, after the fourth interface 630 is displayed for a preset time, it can return to the home page for other people to use.

[0110] See also Figure 6 The second interface 610 also includes a re-entry control 615, so that when the verification code is entered incorrectly, the verification code can be re-entered with one click through a user response operation on the re-entry control 615. The second interface 610 also includes a second cancel control 614. When the user determines that the location information of the locked free toilet stall is inconsistent with the target location information, or the user wants to cancel the use, the user can perform a user selection operation on the second cancel control 614 to enable the second smart sensing device to unlock the smart door lock of the target free toilet stall, so as to provide it for other people to use.

[0111] It can be seen that in this example, the unified dispatch server checks whether the verification code entered through the second intelligent sensing device is consistent with the target verification code, and sends a first unlocking message to the second intelligent sensing device if they are consistent, to instruct the second intelligent sensing device to control the smart door lock to unlock, thereby ensuring the accuracy of the user's identity while ensuring normal use by the user. If it is detected that no one has entered the verification code after the first preset time, the unified dispatch server can send a second unlocking message to the second intelligent sensing device to instruct the second intelligent sensing device to control the smart door lock to unlock, so as to provide the target vacant toilet seat for other people to use, thereby improving the rationality of toilet seat resource coordination.

[0112] In a possible example, before the second intelligent sensing device detects whether the entered verification code is obtained within the first preset time, the method also includes: the unified scheduling server obtains the distance between the bathroom corresponding to the first intelligent sensing device and the bathroom corresponding to the second intelligent sensing device, and the multi-user historical time data corresponding to the distance; the unified scheduling server determines the first preset time based on the analysis of the distance and the multi-user historical time data.

[0113] The multi-user historical time data refers to the historical data of multiple users making reservations for the use of free toilets through the resource scheduling system. The multi-user historical time data includes: a collection of distance data between the reservation location of each user among the multiple users and the location of the target free toilet for the reservation, a collection of time data for each user among the multiple users to travel from the reservation location to the location of the corresponding target free toilet for the reservation, and a collection of mapping relationships between the distance data and time data corresponding to each user among the multiple users. The reservation location refers to the location of the first intelligent sensing device used by the user when performing the reservation operation.

[0114] In a specific implementation, the unified dispatch server can determine the target mapping relationship between time data and distance data based on the historical time data of multiple users, that is, based on the set of distance data between the reservation location of each user among multiple users and the location of the reserved target free toilet seat, the set of time data of each user among multiple users going from the reservation location to the location of the corresponding reserved target free toilet seat, and the set of mapping relationships between distance data and time data corresponding to each user among multiple users, determine the target mapping relationship between time data and distance data. Then, the distance between the toilet corresponding to the first intelligent sensing device and the toilet corresponding to the second intelligent sensing device is brought into the target mapping relationship as the distance data to obtain the time data corresponding to the distance, and the time data is determined as the first preset time.

[0115] It can be seen that in this example, the first preset time is determined by analyzing the distance between the bathroom corresponding to the first intelligent sensing device and the bathroom corresponding to the second intelligent sensing device, and the historical time usage data of multiple users corresponding to the distance, which is conducive to improving the intelligence of data processing by the unified scheduling server and improving the rationality of the setting of the first preset time.

[0116] In one possible example, if the unified dispatch server fails to determine the at least one vacant toilet seat in response to the expedited dispatch event, the method further includes: the unified dispatch server sends a request message to a fourth intelligent sensing device in a plurality of sensing device groups corresponding to a second preset number of floors adjacent to the floor numbers, and the fourth intelligent sensing device is an intelligent sensing device in any one of the plurality of intelligent sensing device groups.

[0117] Among them, the request message is used to instruct the fourth intelligent sensing device to output a prompt message, and the prompt message user reminds the user in the toilet to release the toilet resources as soon as possible.

[0118] Among them, the second preset number is a positive integer less than or equal to the first preset number. The second preset number is similar to the first preset number, and it can be data determined by the backend personnel based on experience and stored in the memory of the unified scheduling server. Alternatively, the second preset number can also be data set by users with urgent use needs through the display screen. The setting can be made before the urgent button is pressed or after the urgent button is pressed, and there is no further restriction. Alternatively, the second preset number can be data determined by the unified scheduling server based on the second historical data set by multiple users, and the second historical data is data for users to set the second preset number value. For example, the unified scheduling server can determine the data with the highest user setting frequency based on the second historical data, and determine the data as the second preset number.

[0119] It can be seen that in this example, when the unified dispatch server fails to find at least one free toilet seat for the first number of floors adjacent to the floor number in response to the expedited dispatch event, a request message is further sent to the fourth intelligent sensing device in the plurality of sensing device groups corresponding to the second number of floors adjacent to the floor number to further determine whether there is at least one free toilet seat in the second number of floors adjacent to the floor number. While performing a close-range search in the first number of floors adjacent to the floor number, when at least one free toilet seat is not determined, the users of the toilet seats in the second number of floors adjacent to the floor number can be reminded to release the toilet seat resources as soon as possible, thereby increasing the possibility of the unified dispatch server determining the free toilet seats, so as to meet the user's usage needs and improve the user experience.

[0120] In one possible example, if the second preset number is less than or equal to the first preset number, after the unified dispatching server sends a request message to the fourth intelligent sensing devices in the plurality of sensing device groups corresponding to the second preset number of floors adjacent to the floor numbers, the method further includes: each of the fourth intelligent sensing devices responds to the request message and sends a request instruction to the plurality of smart door locks in the corresponding smart sensing device group; each of the smart door locks outputs a request information in response to the request instruction, and the request information is used to represent the content of requesting the squatting pit user occupying the toilet to release the toilet resources as soon as possible.

[0121] Specifically, the request message is used to instruct the fourth intelligent sensing device to output a prompt message. The prompt message can be to instruct each fourth intelligent sensing device to send a request instruction to the intelligent door locks corresponding to the multiple toilet seats in the corresponding bathroom. That is, a request instruction is sent to multiple intelligent door locks in the intelligent sensing device group corresponding to the fourth intelligent sensing device. The request instruction is used to instruct the intelligent door lock to output request information.

[0122] In a specific implementation, the smart door lock may be provided with a display screen or a speaker. The smart door lock may display a request message through a display screen in response to a request instruction. Alternatively, the smart door lock may play a request message through a speaker in response to a request instruction. This reminds the squatting user in the toilet to release the toilet resources as soon as possible for other users to use.

[0123] It can be seen that in this example, each fourth smart sensing device sends a request instruction to multiple smart door locks in the smart sensing device group in response to the request message to instruct each smart door lock to output a request message in response to the request instruction. This can improve the visibility of the request information output, which is beneficial for squatting users in the toilet to know, thereby improving the effect of requesting squatting users to release toilet resources as soon as possible.

[0124] In one possible example, after each of the smart door locks outputs request information in response to the request instruction, the method also includes: when the unified scheduling server detects that available toilet seats are released in the bathrooms of the second preset number of floors adjacent to the floor number, the unified scheduling server monitors whether the available toilet seats are occupied within a second preset time; if the available toilet seats are occupied within the second preset time, the toilet seat resources of the bathrooms of the second preset number of floors adjacent to the floor number continue to be monitored to determine whether there are released available toilet seats; if the available toilet seats are not occupied within the second preset time, the available toilet seats are determined as the target free toilet seats.

[0125] The second preset time can be set to any time length according to requirements, such as 1 minute, 2 minutes, etc.

[0126] In a specific implementation, after sending a request message to the fourth intelligent sensing device, the unified dispatching server can monitor the use of toilet seats in the bathrooms of the second number of floors adjacent to the floor number in real time to detect whether there are available toilet seats released in the bathroom. When it is detected that an available toilet seat is released, the unified dispatching server can further monitor whether the available toilet seat is occupied within the second preset time. If it is occupied, it means that there are queuing users in the bathroom. At this time, the unified dispatching server can continue to monitor whether other available toilet seats are released. If it is not occupied, it means that there are no queuing users in the bathroom. The unified dispatching server can determine the available toilet seat as the target free toilet seat, and send a lock message to the fourth intelligent sensing device corresponding to the available toilet seat, and send toilet seat recommendation information carrying the target position information and target verification code corresponding to the available toilet seat to the first intelligent sensing device for user use.

[0127] It can be seen that in this example, when the unified dispatch server detects that an available toilet seat is released, it further monitors whether the available toilet seat is occupied within the second preset time, and determines the available toilet seat as the target free toilet seat when it is not occupied, which can not only provide the real-time and effectiveness of the target free toilet seat determination. It can also further provide users with use on the basis of ensuring the use needs of people queuing in the toilet, thereby meeting the toilet seat use needs of users who cannot use the toilet seat.

[0128] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A resource scheduling method based on intelligent sensing chip, characterized in that: The method is applied to a resource scheduling system, wherein the resource scheduling system includes a plurality of sensing device groups corresponding to a plurality of toilets one by one and a unified scheduling server, wherein a single sensing device group includes an intelligent sensing device arranged in an open area of ​​the corresponding toilet and a plurality of intelligent door locks arranged on a plurality of door panels of a plurality of toilet seats in the toilet, wherein the plurality of intelligent door locks of a single toilet are communicatively connected with the intelligent sensing device in the current toilet, and the plurality of intelligent sensing devices of the plurality of toilets are communicatively connected with the unified scheduling server; and the method includes: When the smart sensing chip of the first smart sensing device detects that the target user has pressed the emergency button, the smart sensing chip reports an emergency scheduling event to the unified scheduling server, wherein the emergency scheduling event carries the floor number of the floor where the toilet corresponding to the first smart sensing device is located, and the first smart sensing device is a smart sensing device in any one of the multiple smart sensing device groups, and the smart sensing device includes the smart sensing chip, the emergency button, and a display screen; In response to the expedited scheduling event, the unified scheduling server determines at least one vacant toilet seat in toilets corresponding to a plurality of sensing device groups corresponding to a first preset number of floors adjacent to the floor number; The unified dispatch server determines a target idle toilet seat from the at least one idle toilet seat, and sends a lock message to a second intelligent sensing device in the sensing device group corresponding to the target idle toilet seat, and sends a toilet seat recommendation message carrying target position information and a target verification code corresponding to the target idle toilet seat to the first intelligent sensing device, wherein the second intelligent sensing device is an intelligent sensing device in any one of the multiple intelligent sensing device groups except the intelligent sensing device group corresponding to the first intelligent sensing device; The second intelligent sensing device sends a locking instruction to the target intelligent door lock corresponding to the target vacant toilet in response to the locking message; The target smart door lock locks the door panel of the target vacant toilet in response to the locking instruction; The first intelligent sensing device displays the target location information and the target verification code on a display screen in response to the toilet seat recommendation message.

2. The method according to claim 1, characterized in that The unified dispatch server determines, in response to the expedited dispatch event, at least one vacant toilet seat in the restrooms corresponding to the plurality of sensing device groups corresponding to the first preset number of floors adjacent to the floor number, including: The unified dispatch server sends a status query message to a third intelligent sensing device in a plurality of the sensing device groups on a first preset number of floors adjacent to the floor number; Each of the third intelligent sensing devices sends a status query instruction to the corresponding plurality of intelligent door locks in response to the status query message; Each of the smart door locks reports the switch state of the smart door lock to the corresponding third smart sensing device in response to the state query instruction, where the switch state is a locked state or an unlocked state; Each of the third intelligent sensing devices reports the switch status of the corresponding plurality of intelligent door locks to the unified dispatch server; The unified dispatching server determines, based on the switch states reported by the plurality of third intelligent sensing devices, at least one vacant toilet seat in the bathrooms corresponding to a first preset number of floors with adjacent floor numbers.

3. The method according to claim 2, characterized in that The step of determining a target idle toilet stall from the at least one idle toilet stall comprises: The unified dispatching server determines whether there is at least one first vacant toilet seat in the toilets corresponding to the upper floor and the lower floor adjacent to the floor number according to the switch states reported by the plurality of the third intelligent sensing devices; If the unified dispatch server determines that there is at least one first idle toilet stall, determining the target idle toilet stall from the at least one first idle toilet stall; If the unified dispatching server determines that the at least one first vacant toilet seat does not exist, then, based on the switch status reported by the multiple third intelligent sensing devices, it determines at least one second vacant toilet seat in the bathrooms of other floors of the first preset number of floors adjacent to the floor number, except the upper floor adjacent to the floor number and the adjacent lower floor, and determines the target vacant toilet seat from the at least one second vacant toilet seat.

4. The method according to claim 3, characterized in that The method of determining, according to the switch states reported by the plurality of third intelligent sensing devices, at least one second vacant toilet seat in toilets on other floors of a first preset number of floors adjacent to the floor number except an upper floor adjacent to the floor number and an adjacent lower floor, comprises: The unified dispatching server determines, according to the switch states reported by the plurality of the third intelligent sensing devices, at least one of the second free toilet seats in the bathrooms adjacent to the floor number and located on a first number of floors above the floor corresponding to the floor number; The unified dispatching server determines, based on the switch status reported by multiple third intelligent sensing devices, at least one of the second vacant toilet seats in the bathrooms of a second number of floors adjacent to the floor number and below the floor corresponding to the floor number, and the sum of the first number and the second number is equal to the difference between the first preset number and two.

5. The method according to claim 1, characterized in that After the second intelligent sensing device sends a locking instruction to the target intelligent door lock corresponding to the target vacant toilet in response to the locking message, the method further includes: The second intelligent sensing device determines whether the entered verification code is obtained within a first preset time; If the second intelligent sensing device obtains the entered verification code, the verification code is sent to the unified scheduling server; The unified scheduling server checks whether the verification check code corresponds to the target check code; If the verification result of the unified dispatch server is corresponding to the verification code, a first unlocking message is sent to the second intelligent sensing device; and the second intelligent sensing device sends a first unlocking instruction to the intelligent door lock corresponding to the target free toilet according to the first unlocking message; the intelligent door lock corresponding to the target free toilet unlocks the door panel of the target free toilet according to the first unlocking instruction; If the verification result of the unified dispatch server is that the verification code does not correspond, a verification failure message is sent to the second intelligent sensing device; and the second intelligent sensing device displays verification failure information on the corresponding display screen according to the verification failure message; If the second intelligent sensing device fails to obtain the entered verification code, a second unlocking message is sent to the second intelligent sensing device; and the second intelligent sensing device sends the unlocking instruction to the smart door lock corresponding to the target vacant toilet seat according to the second unlocking message; the smart door lock corresponding to the target vacant toilet seat unlocks the door panel of the target vacant toilet seat according to the second unlocking instruction.

6. The method according to claim 5, characterized in that Before the second intelligent sensing device detects whether the input verification code is obtained within the first preset time, the method further includes: The unified scheduling server obtains the distance between the toilet where the first intelligent sensing device corresponds to and the toilet where the second intelligent sensing device corresponds to, and the multi-user historical time data corresponding to the distance; The unified scheduling server determines the first preset time based on analysis of the distance and the historical time data of multiple users.

7. The method according to claim 1, characterized in that If the unified dispatch server fails to determine the at least one vacant toilet seat in response to the expedited dispatch event, the method further includes: The unified dispatching server sends a request message to the fourth intelligent sensing device in the multiple sensing device groups corresponding to the second preset number of floors adjacent to the floor numbers, and the fourth intelligent sensing device is an intelligent sensing device in any one of the multiple intelligent sensing device groups.

8. The method according to claim 7, characterized in that If the second preset number is less than or equal to the first preset number, after the unified dispatching server sends a request message to the fourth intelligent sensing devices in the plurality of sensing device groups corresponding to the second preset number of floors adjacent to the floor numbers, the method further includes: Each of the fourth intelligent sensing devices sends a request instruction to the plurality of intelligent door locks in the corresponding intelligent sensing device group in response to the request message; Each of the smart door locks outputs request information in response to the request instruction, and the request information is used to represent the content of requesting the squatting user occupying the toilet to release the toilet resources as soon as possible.

9. The method according to claim 7 or 8, characterized in that After each of the smart door locks outputs request information in response to the request instruction, the method further includes: When the unified dispatch server detects that available toilet seats are released in toilets on a second preset number of floors adjacent to the floor numbers, the unified dispatch server monitors whether the available toilet seats are occupied within a second preset time; If the available toilet seat is occupied within the second preset time, continue to monitor the toilet seat resources of the toilets on the second preset number of floors adjacent to the floor number to determine whether there is a released available toilet seat; If the available toilet seat is not occupied within the second preset time, the available toilet seat is determined as the target vacant toilet seat.

10. A resource scheduling system, characterized in that: The resource scheduling system includes a plurality of sensing device groups corresponding to a plurality of toilets one by one and a unified scheduling server, wherein a single sensing device group includes an intelligent sensing device provided in an open area of ​​the corresponding toilet and a plurality of intelligent door locks provided on a plurality of door panels of a plurality of toilet seats in the toilet, the plurality of intelligent door locks of a single toilet are communicatively connected with the intelligent sensing device in the current toilet, and the plurality of intelligent sensing devices of the plurality of toilets are communicatively connected with the unified scheduling server; The first smart sensing device among the smart sensing devices is used to report an expedited dispatch event to the unified dispatch server when a target user presses an expedited button through a smart sensing chip, wherein the expedited dispatch event carries a floor number of a floor where a toilet corresponding to the first smart sensing device is located, the first smart sensing device is a smart sensing device in any one of the multiple smart sensing device groups, and the smart sensing device includes the smart sensing chip, the expedited button, and a display screen; The first intelligent sensing device is further configured to, when the unified dispatch server determines at least one vacant toilet seat, display target location information and a target verification code on a display screen in response to a toilet seat recommendation message from the unified dispatch server; The second intelligent sensing device among the intelligent sensing devices is used to send a locking instruction to the target intelligent door lock corresponding to the target idle toilet in response to the locking message when the unified dispatching server queries the at least one idle toilet, and the second intelligent sensing device is an intelligent sensing device in any one of the multiple intelligent sensing device groups except the intelligent sensing device group corresponding to the first intelligent sensing device; The unified dispatch server is used to, in response to the expedited dispatch event, determine at least one vacant toilet seat in the restrooms corresponding to a plurality of the sensing device groups corresponding to a first preset number of floors adjacent to the floor number; determine a target vacant toilet seat from the at least one vacant toilet seat, and send the lock message to the second intelligent sensing device in the sensing device group corresponding to the target vacant toilet seat, and send the toilet seat recommendation message carrying the target position information and the target verification code corresponding to the target vacant toilet seat to the first intelligent sensing device; The smart door lock is used to lock the door panel of the target vacant toilet seat in response to the locking instruction when the smart door lock is a target smart door lock corresponding to the target vacant toilet seat.