Method, system and equipment for determining accessibility of public washroom and medium
By obtaining the location of the target object and the building information of the public bathroom, and using map service provider data to determine the itinerary time of different modes of transportation, the problem of inability to provide public bathroom information of related buildings in the existing technology is solved, and the efficiency of urban public services and the quality of life of citizens is improved.
Patent Information
- Application Number
- CN202510167956.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-17
- Publication Date
- 2025-07-18
AI Technical Summary
The existing technology cannot provide public bathroom information in time and effectively in the city's relevant buildings such as hospitals, shopping malls and subway stations, resulting in inefficient urban public services.
By obtaining the location of the target object and the building information of the public bathroom within the target range, using map service provider data to determine the itinerary time of different modes of transportation, and finally determining the accessibility of the public bathroom.
It improves the efficiency of urban public services, improves the quality of life of citizens, and provides decision-making support to urban management departments to optimize resource allocation and urban planning strategies.
Smart Images

Figure CN120336647A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of urban public services, and particularly to a method, system, device and medium for determining the accessibility of public toilets. Background Art
[0002] With the continuous development and progress of human society, urbanization has become a general trend worldwide. Cities provide more job opportunities, have better educational resources, and relatively complete social welfare and public services, such as healthcare, social security, and transportation facilities.
[0003] Therefore, in the context of the rapid development of urbanization, people's demand for public service information is becoming increasingly strong, especially for public service buildings, such as the demand for public toilets. As an infrastructure, the reasonable planning of public toilets is directly related to the daily life of residents and affects the quality of life of residents. Although public toilets have been reasonably arranged in urban planning, people can search for the location, distance, and estimated arrival time of nearby public toilets on map software, but they can only search for physical public toilets and cannot provide people with the public toilets in relevant buildings (such as hospitals, shopping malls, and subway stations) in a timely and effective manner, and also cannot predict the accessibility of public toilets (referring to the degree to which something or a service can be accessed or used), which results in low efficiency of urban public services. Summary of the Invention
[0004] The purpose of the present application is to provide a method, system, device and medium for determining the accessibility of public toilets to determine the accessibility of public toilets and improve the efficiency of urban public services.
[0005] To achieve the above purpose, the present application provides the following solutions:
[0006] In the first aspect, the present application provides a method for determining the accessibility of public toilets, including:
[0007] Obtain the location of the target object;
[0008] Obtain the building information of the target public toilets within the target range; the target range is the set area range where the target object is located; the target public toilets include: physical public toilets and public toilets in relevant buildings; the relevant buildings are buildings with public toilets; the building information includes: building name and building location;
[0009] Determine the time for the target object to travel to the target public toilets by different transportation methods according to the location of the target object, the building information, and the data of the map service provider;
[0010] Determine the accessibility of the target public toilets according to the time.
[0011] Optionally, obtain the building information of the target public toilet within the target range, specifically including:
[0012] Retrieve the building name of the target public toilet within the target range to obtain a building name retrieval result;
[0013] Retrieve the building location of the target public toilet within the target range according to the map service provider data and the building name retrieval result, and determine the building location of the target public toilet within the target range.
[0014] Optionally, determine the time for the target object to reach the target public toilet by different transportation methods according to the location of the target object, the building information, and the map service provider data, specifically including:
[0015] Match the location of the target object with the building location of the target public toilet, and obtain a route plan from the target object to the target public toilet after successful matching;
[0016] Retrieve the map service provider data and determine the time for the target object to complete the route plan by different transportation methods.
[0017] Optionally, determine the accessibility of the target public toilet according to the time, specifically including:
[0018] If the time is less than or equal to the first set duration, determine that the accessibility of the target public toilet within the target range is excellent;
[0019] If the time is greater than the first set duration and less than or equal to the second set duration, determine that the accessibility of the target public toilet within the target range is good;
[0020] If the time is greater than the second set duration and less than or equal to the third set duration, determine that the accessibility of the target public toilet within the target range is medium;
[0021] If the time is greater than the third set duration, determine that the accessibility of the target public toilet within the target range is poor.
[0022] Optionally, the first set duration is 5 minutes; the second set duration is 10 minutes; the third set duration is 15 minutes.
[0023] Optionally, obtain the location of the target object, specifically including: obtaining the location of the target object by using GPS positioning technology or Beidou positioning technology.
[0024] Optionally, the different modes of transportation include walking, cycling, driving an electric vehicle, and driving a motor vehicle.
[0025] In a second aspect, the present application provides a public toilet accessibility determination system, including:
[0026] A location acquisition module, configured to acquire the location of a target object and acquire the building information of target public toilets within a target range; the target range is a set area range where the target object is located; the target public toilets include: physical public toilets and public toilets in related buildings; the related buildings are buildings equipped with public toilets; the building information includes: building name and building location;
[0027] A time determination module, configured to determine the time for the target object to travel to the target public toilet by different modes of transportation according to the location of the target object, the building information, and map service provider data;
[0028] An accessibility determination module, configured to determine the accessibility of the target public toilet according to the time.
[0029] In a third aspect, the present application provides a computer device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the steps of the public toilet accessibility determination method described in any one of the above.
[0030] In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the public toilet accessibility determination method described in any one of the above are implemented.
[0031] According to the specific embodiments provided by the present application, the present application has the following technical effects:
[0032] The present application provides a public toilet accessibility determination method, system, device, and medium, which can not only acquire the building information of physical public toilets within a target range, but also acquire the building information of public toilets in related buildings within the target range, solving the problem that related methods can only search for physical public toilets and cannot provide people with public toilets in related buildings (such as hospitals, shopping malls, and subway stations) in a timely and effective manner; by acquiring the location of the target object and the building information of public toilets within the target range, determining the time for the target object to travel to the public toilet by different modes of transportation, and finally determining the accessibility of the public toilet, it not only improves the efficiency of urban public services, enhances the quality of life of citizens, but also provides decision-making support for urban management departments to optimize resource allocation and urban planning strategies. Description of the Drawings
[0033] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0034] Figure 1 It is an application environment diagram of a method for determining the accessibility of a public toilet provided in an embodiment of the present application;
[0035] Figure 2 It is a schematic flowchart of a method for determining the accessibility of a public toilet provided in an embodiment of the present application;
[0036] Figure 3 It is a schematic diagram of the modules of a system for determining the accessibility of a public toilet provided in an embodiment of the present application;
[0037] Figure 4 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. Detailed implementation manners
[0038] The following will clearly and completely describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, rather than all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.
[0039] To make the above objects, features, and advantages of the present application more obvious and understandable, the following will further elaborate on the present application in conjunction with the drawings and specific implementation manners.
[0040] The method for determining the accessibility of a public toilet provided in the embodiments of the present application can be applied to, for example Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be set separately, integrated on the server 104, placed on the cloud or other servers. The terminal 102 can send the public toilet whose accessibility needs to be determined to the server 104. After receiving the public toilet whose accessibility needs to be determined, for the public toilet whose accessibility needs to be determined, the server 104 first obtains the location of the target object and the building information of the target public toilet within the target range, and then determines the time for the target object to travel to the target public toilet by different transportation methods according to the location of the target object, the building information, and the data of the map service provider. Finally, the accessibility of the target public toilet is determined according to the obtained time. Among them, the target range is the set area range where the target object is located; the target public toilet includes: physical public toilets (toilet buildings that only provide public health services) and public toilets in related buildings (buildings that include public health services, such as hospitals, shopping malls, and subway stations); the related building is a building with a public toilet; the building information includes: building name and building location. The server 104 can feedback the accessibility of the obtained target public toilet to the terminal 102. In addition, in some embodiments, the public toilet accessibility determination method can also be implemented separately by the server 104 or the terminal 102. For example, the terminal 102 can directly determine the accessibility of the public toilet whose accessibility needs to be determined, or the server 104 can obtain the public toilet whose accessibility needs to be determined from the data storage system to determine the accessibility.
[0041] Among them, the terminal 102 can be, but is not limited to, various desktop computers, laptop computers, smartphones, tablets, Internet of Things devices, and portable wearable devices. The Internet of Things device can be an intelligent vehicle-mounted device, etc. The portable wearable device can be an intelligent watch, an intelligent bracelet, etc. The server 104 can be implemented by an independent server or a server cluster composed of multiple servers, and can also be a cloud server.
[0042] In an exemplary embodiment, as Figure 2 shown, a method for determining the accessibility of a public toilet is provided. This method is executed by a computer device, and can specifically be executed alone by a computer device such as a terminal or a server, or jointly executed by a terminal and a server. In the embodiments of the present application, taking this method applied to Figure 1 the server 104 in it as an example for illustration, it includes the following steps 201 to step 204. Among them:
[0043] Step 201, obtain the location of the target object.
[0044] Step 202: Obtain the building information of the target public toilets within the target range. Here, the target range is the set area where the target object is located; the target public toilets include: physical public toilets and public toilets in related buildings; the related buildings are buildings with public toilets; the building information includes: building name and building location.
[0045] Step 203: Determine the time it takes for the target object to reach the target public toilets by different means of transportation based on the location of the target object, the building information, and the data of the map service provider.
[0046] Step 204: Determine the accessibility of the target public toilets based on the time obtained in Step 203.
[0047] Implementing the above Steps 201 to 204 can not only obtain the building information of the physical public toilets within the target range, but also obtain the building information of the public toilets in related buildings within the target range, solving the problem that the related methods can only search for physical public toilets and cannot provide people with the public toilets in related buildings (such as hospitals, shopping malls, and subway stations, etc.) in a timely and effective manner. The accessibility of the public toilets finally determined in this application is used to serve the public, help the public efficiently plan their trips and respond to emergencies, improve the efficiency and convenience of the public in obtaining urban public services, and also provide valuable data support for urban managers to optimize the allocation of public resources. Therefore, this application not only improves the efficiency of urban public services, further enhances the quality of life of the public, but also provides decision-making support for urban management departments to optimize resource allocation and urban planning strategies.
[0048] In an exemplary embodiment of this application, obtaining the building information of the target public toilets within the target range, that is, Step 202 can be replaced by Steps 301 to 302:
[0049] Step 301: Retrieve the building names of the target public toilets within the target range to obtain the building name retrieval results.
[0050] Step 302: Retrieve the building locations of the target public toilets within the target range based on the data of the map service provider and the building name retrieval results to determine the building locations of the target public toilets within the target range.
[0051] In an exemplary embodiment of this application, determining the time it takes for the target object to reach the target public toilets by different means of transportation based on the location of the target object, the building information, and the data of the map service provider, that is, Step 203 can be replaced by Steps 401 to 402:
[0052] Step 401: Match the location of the target object with the building location of the target public toilet. After successful matching, obtain the route plan from the target object to the target public toilet.
[0053] Step 402: Retrieve data from the map service provider and determine the time required for the target object to complete the route plan using different transportation methods.
[0054] In an exemplary embodiment of the present application, the accessibility of the target public toilet is determined according to the time obtained in step 203. That is, step 204 specifically includes:
[0055] If it is determined that the time for the target object to travel to the target public toilet by different transportation methods is less than or equal to the first set duration, it is determined that the accessibility of the target public toilet within the target range is excellent.
[0056] If it is determined that the time for the target object to travel to the target public toilet by different transportation methods is greater than the first set duration and less than or equal to the second set duration, it is determined that the accessibility of the target public toilet within the target range is good.
[0057] If it is determined that the time for the target object to travel to the target public toilet by different transportation methods is greater than the second set duration and less than or equal to the third set duration, it is determined that the accessibility of the target public toilet within the target range is medium.
[0058] If it is determined that the time for the target object to travel to the target public toilet by different transportation methods is greater than the third set duration, it is determined that the accessibility of the target public toilet within the target range is poor.
[0059] In an exemplary embodiment of the present application, the first set duration is 5 minutes, the second set duration is 10 minutes, and the third set duration is 15 minutes.
[0060] In an exemplary embodiment of the present application, obtaining the location of the target object, that is, step 201 specifically includes: obtaining the location of the target object using GPS positioning technology or Beidou positioning technology.
[0061] In an exemplary embodiment of the present application, different transportation methods include: walking, cycling, driving an electric vehicle, and driving a motor vehicle.
[0062] In an exemplary embodiment of the present application, tourist A is visiting a certain city. He is not familiar with the distribution of public service facilities in the city, but needs to go to a nearby physical public toilet or the public toilet in a related building (such as a hospital, a shopping mall, and a subway station, etc.).
[0063] Visitor A uses a mobile phone as an auxiliary system to quickly obtain his specific location in a certain city, and then obtains the locations of Physical Public Toilet 1, Physical Public Toilet 2, Public Toilet 3 in a shopping mall, Physical Public Toilet 4, and Public Toilet 5 in a hospital. Then, after quickly matching the location of Visitor A with the locations of Physical Public Toilet 1, Physical Public Toilet 2, Public Toilet 3 in the shopping mall, Physical Public Toilet 4, and Public Toilet 5 in the hospital, by calling the data of Baidu Map, it can be known the time it takes for Visitor A to travel to nearby Physical Public Toilet 1, Physical Public Toilet 2, Public Toilet 3 in the shopping mall, Physical Public Toilet 4, and Public Toilet 5 in the hospital by means of transportation such as walking, bicycle, electric vehicle, and motor vehicle. And according to the duration range of the obtained time, the accessibility of his travel to nearby Physical Public Toilet 1, Physical Public Toilet 2, Public Toilet 3 in the shopping mall, Physical Public Toilet 4, and Public Toilet 5 in the hospital is determined. The determination results are shown in Table 1:
[0064] Table 1 Information on Public Toilets near the Research Object
[0065]
[0066] According to Table 1, the accessibility of Visitor A to Physical Public Toilet 1, Public Toilet 3 in the shopping mall, Physical Public Toilet 4, and Public Toilet 5 in the hospital by driving an electric vehicle and a motor vehicle is excellent; the accessibility of reaching Physical Public Toilet 2 by riding a bicycle, driving an electric vehicle, and a motor vehicle is excellent; the accessibility of Visitor A to Physical Public Toilet 1, Public Toilet 3 in the shopping mall, Physical Public Toilet 4, and Public Toilet 5 in the hospital by riding a bicycle is good; the accessibility of Visitor A to Physical Public Toilet 2 by walking is medium; the accessibility of Visitor A to Physical Public Toilet 1, Public Toilet 3 in the shopping mall, Physical Public Toilet 4, and Public Toilet 5 in the hospital by walking is poor.
[0067] Visitor A can choose different transportation methods to go to Physical Public Toilet 1, Physical Public Toilet 2, Public Toilet 3 in the shopping mall, Physical Public Toilet 4, or Public Toilet 5 in the hospital according to the determined accessibility of the public toilet. Thus, it can be seen that the accessibility of the public toilet determined in this application can help Visitor A quickly plan his itinerary and respond to emergencies, improving the tourism experience.
[0068] In an exemplary embodiment of this application, a public toilet accessibility determination system is provided, as Figure 3 shown, including:
[0069] A location acquisition module 501 is configured to acquire the location of a target object and the building information of target public restrooms within a target range. The target range is a set area where the target object is located; the target public restrooms include: physical public restrooms and public restrooms in related buildings; the related buildings are buildings equipped with public restrooms; the building information includes: building name and building location.
[0070] A time determination module 502 is configured to determine the time for the target object to travel to the target public restroom by different transportation means according to the location of the target object, the building information, and data of a map service provider.
[0071] An accessibility determination module 503 is configured to determine the accessibility of the target public restroom according to the time obtained by the time determination module 502.
[0072] In an exemplary embodiment of the present application, a computer device is provided. The computer device may be a server or a terminal, and its internal structure diagram may be as shown in Figure 4 . The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O), and a communication interface. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is configured to store data for determining the accessibility of public restrooms. The input / output interface of the computer device is used for exchanging information between the processor and external devices. The communication interface of the computer device is used for communicating with an external terminal through a network connection. When the computer program is executed by the processor, it implements a method for determining the accessibility of public restrooms.
[0073] Those skilled in the art can understand that Figure 4 the structure shown in is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements. In an exemplary embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps in the above method embodiments are implemented.
[0074] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0075] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.
[0076] Those of ordinary skill in the art can understand that all or part of the processes of implementing the above method embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the above method embodiments. Among them, any reference to a memory, database, or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memories. Non-volatile memories can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memories can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0077] The databases involved in the embodiments provided in this application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in this application can be general-purpose processors, central processors, graphics processors, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.
[0078] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this specification.
[0079] In this text, specific examples are used to elaborate on the principles and implementation manners of the present application. The descriptions of the above embodiments are only used to help understand the method and its core idea of the present application; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation manners and application scopes. To sum up, the content of this specification should not be construed as a limitation to the present application.
Claims
1. A method for determining the accessibility of public restrooms, characterized in that, The method for determining the accessibility of public toilets includes: Obtaining the location of the target object; Obtaining the building information of the target public toilets within the target range; the target range is the set area where the target object is located; the target public toilets include: physical public toilets and public toilets in related buildings; the related buildings are buildings with public toilets; the building information includes: building name and building location; Determining the time for the target object to reach the target public toilets by different transportation means based on the location of the target object, the building information, and the data of the map service provider; Determining the accessibility of the target public toilets based on the time.
2. The method for determining the accessibility of public restrooms according to claim 1, wherein Obtaining the building information of the target public toilets within the target range specifically includes: Retrieving the building names of the target public toilets within the target range to obtain the building name retrieval result; Retrieving the building locations of the target public toilets within the target range based on the data of the map service provider and the building name retrieval result to determine the building locations of the target public toilets within the target range.
3. The method for determining the accessibility of public toilets according to claim 1, characterized in that, Determining the time for the target object to reach the target public toilets by different transportation means based on the location of the target object, the building information, and the data of the map service provider specifically includes: Matching the location of the target object with the building location of the target public toilets, and obtaining the route plan from the target object to the target public toilets after successful matching; Retrieving the data of the map service provider to determine the time for the target object to complete the route plan by different transportation means.
4. The method for determining the accessibility of a public toilet according to claim 1, wherein Determining the accessibility of the target public toilets based on the time specifically includes: If the time is less than or equal to the first set duration, determining that the accessibility of the target public toilets within the target range is excellent; If the time is greater than the first set duration and less than or equal to the second set duration, determining that the accessibility of the target public toilets within the target range is good; If the time is greater than the second set duration and less than or equal to the third set duration, determining that the accessibility of the target public toilets within the target range is medium; If the time is greater than the third set duration, determining that the accessibility of the target public toilets within the target range is poor.
5. The method for determining the accessibility of public restrooms according to claim 4, wherein The first set duration is 5 minutes; the second set duration is 10 minutes; the third set duration is 15 minutes.
6. The method for determining the accessibility of a public toilet according to claim 1, wherein Obtaining the location of the target object specifically includes: obtaining the location of the target object by using GPS positioning technology or Beidou positioning technology.
7. The method for determining the accessibility of a public toilet according to claim 1, characterized in that, Different transportation means include walking, cycling, driving an electric vehicle, and driving a motor vehicle.
8. A public toilet accessibility determination system, characterized in that, The system for determining the accessibility of public toilets includes: A location acquisition module, configured to obtain the location of the target object and the building information of the target public toilets within the target range; the target range is the set area where the target object is located; the target public toilets include: physical public toilets and public toilets in related buildings; the related buildings are buildings with public toilets; the building information includes: building name and building location; A time determination module, configured to determine the time for the target object to reach the target public toilet by different transportation means according to the position of the target object, the building information, and the map service provider data; An accessibility determination module, configured to determine the accessibility of the target public toilet according to the time.
9. A computer device, comprising: A memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the public toilet accessibility determination method according to any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the public toilet accessibility determination method according to any one of claims 1-7.