Nothing Special   »   [go: up one dir, main page]

CN108259550A - A kind of target object use state management method and device - Google Patents

A kind of target object use state management method and device Download PDF

Info

Publication number
CN108259550A
CN108259550A CN201710362126.7A CN201710362126A CN108259550A CN 108259550 A CN108259550 A CN 108259550A CN 201710362126 A CN201710362126 A CN 201710362126A CN 108259550 A CN108259550 A CN 108259550A
Authority
CN
China
Prior art keywords
subspace
target object
use state
gpio pins
state information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710362126.7A
Other languages
Chinese (zh)
Other versions
CN108259550B (en
Inventor
马文超
张大志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201710362126.7A priority Critical patent/CN108259550B/en
Publication of CN108259550A publication Critical patent/CN108259550A/en
Application granted granted Critical
Publication of CN108259550B publication Critical patent/CN108259550B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention provides a kind of target object use state management method and device, the method includes:Obtain the use state information of target object;Wherein, the target object includes one or more subspaces, and the use state information of the target object includes the use state of each subspace, and the use state of subspace includes idle state or seizure condition;By the use state information reporting of the target object to server, so that the use state information of the target object in the target area being collected into is pushed to user terminal by server in the case where determining to meet information pushing condition.The service efficiency of target object can be improved using the embodiment of the present invention.

Description

A kind of target object use state management method and device
Technical field
The present invention relates to network communication technology field more particularly to a kind of target object use state management method and dresses It puts.
Background technology
For the public place that the flows of the people such as megastore, school, hospital, tourist attractions are larger, people are to specific objective The use of object (such as toilet) may have conflict in time, therefore, people how be allowed to understand above-mentioned specific mesh in time Mark object use state become one it is urgently to be resolved hurrily the technical issues of.
Invention content
The present invention provides a kind of target object use state management method and device, to improve the use of target object effect Rate.
According to the first aspect of the invention, a kind of target object use state management method is provided, including:
Obtain the use state information of target object;Wherein, the target object includes one or more subspaces, described The use state information of target object includes the use state of each subspace, and the use state of subspace includes idle state or accounts for Use state;
By the use state information reporting of the target object to server, so that server is determining to meet information push The use state information of the target object in the target area being collected into is pushed to user terminal in the case of condition.
According to the second aspect of the invention, a kind of target object use state managing device is provided, including:
Acquiring unit, for obtaining the use state information of target object;Wherein, the target object includes one or more Sub-spaces, the use state information of the target object include the use state of each subspace, the use state packet of subspace Include idle state or seizure condition;
Transmitting element, for by the use state information reporting of the target object to server so that server is true Surely the use state information of the target object in the target area being collected into is pushed in the case of meeting information pushing condition User terminal.
Using technical solution disclosed by the invention, by obtaining the use state information of target object, and by target object Use state information reporting to server so that server will be collected into the case where determining to meet information pushing condition The use state information of target object in target area is pushed to user terminal, it is thus possible to ensure user terminal can and When know the use state of target object, improve the service efficiency of target object.
Description of the drawings
Fig. 1 is a kind of configuration diagram of target object use state management system provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of target object use state management method provided in an embodiment of the present invention;
Fig. 3 A~3F are the application scenarios schematic diagrams of target object use state management provided in an embodiment of the present invention;
Fig. 4 is a kind of structure diagram of target object use state managing device provided in an embodiment of the present invention;
Fig. 5 is the structure diagram of another target object use state managing device provided in an embodiment of the present invention;
Fig. 6 is the structure diagram of another target object use state managing device provided in an embodiment of the present invention.
Specific embodiment
In order to which those skilled in the art is made to more fully understand the technical solution in the embodiment of the present invention, below first to this hair The system architecture that bright embodiment is applicable in is briefly described.
Fig. 1 is referred to, the framework signal of system is managed for a kind of target object use state provided in an embodiment of the present invention Figure, as shown in Figure 1, target object use state management system can include information collecting device, background process equipment (herein In by taking server as an example).Wherein:
Information collecting device can collect the use state information of corresponding target object, and the target object that will be collected into Use state information reporting to server;Server receives the use state letter of the target object of information collecting device collection It, can be in the case where determining to meet information pushing condition by the use of the target object in the target area being collected into after breath Status information is pushed to user terminal.
It should be noted that in embodiments of the present invention, target object can include one or more subspaces, for example, Assuming that target object is toilet, then the one or more subspace can be the compartment in toilet.The use of target object Status information includes the use state of each subspace, such as idle state or seizure condition.
In addition, above- mentioned information pushing condition can be detected including server user terminal enter target area range or Person, server receive information acquisition request of user terminal transmission etc..Wherein, which can be market, hospital, School, tourist attractions etc..
In order to enable the above-mentioned purpose of the embodiment of the present invention, feature and advantage more obvious understandable, below in conjunction with the accompanying drawings Technical solution in the embodiment of the present invention is described in further detail.
Fig. 2 is referred to, is that a kind of flow of target object use state management method provided in an embodiment of the present invention is illustrated Figure, wherein, this method can be applied to the information collecting device in system architecture shown in FIG. 1, as shown in Fig. 2, this method can To include the following steps:
Step 201, the use state information for obtaining target object;Wherein, target object includes one or more subspaces, The use state information of target object includes the use state of each subspace, and the use state of subspace includes idle state or accounts for Use state.
It, can be pre- in order to get the use state information of each target object in target area in the embodiment of the present invention It is first the corresponding information collecting device of target object disposition each in target area, wherein, an information collecting device can be used for Collect the use state information of one or more target objects.
As an alternative embodiment, in embodiments of the present invention, the use state information of target object is obtained, it can To include:
For any subspace that target object includes, as the first GPIO (General for detecting the corresponding subspace Purpose Input Output, universal input output) pin when be in high level, determines the subspace for seizure condition;It is no Then, it is idle state to determine the subspace.
In this embodiment, information collection apparatus can include multiple GPIO pins (referred to herein as the first GPIO pipes Foot), each first GPIO pins correspond to a sub-spaces of target object, for detecting the use state of the subspace.
Wherein, when the door of subspace is in off state, the corresponding first GPIO pins in the subspace are in high level;When During the Men Weifei closed states of subspace, the corresponding first GPIO pins in the subspace are in low level.
Correspondingly, in this embodiment, information collecting device can be managed by detecting corresponding first GPIO in subspace Whether foot in high level determines the state of subspace, when detecting that the subspace corresponding first GPIO pins are in high electricity Usually, it is seizure condition to determine the subspace;Otherwise, it determines the subspace is idle state.
For example, in this embodiment, can be disposed in the instruction of each subspace of target object is locked one small (operating voltage of the power supply should be less than the safe voltage that human body can bear to type power supply, for example, the power supply can be for 5.0V's Power supply), when instruction lock is in the lock state, the region for the target object which touches, which needs to dispose, has conductor material Material, the first GPIO pins that information collecting device corresponds to the subspace can be connect with the conductor material, and then, when subspace When door is closed, instruction lock is in the lock state, and the Miniature Power Unit in instruction lock is by above-mentioned conductor material to correspond to The first GPIO pins output high level, information collecting device can be true according to the high level detected on the first GPIO pins The fixed subspace is seizure condition;When the door of subspace is in non-closed state, instruction lock will not touch above-mentioned be deployed with The region of conductor material, information collecting device detect that the corresponding first GPIO pins in the subspace are in low level, and determining should Subspace is idle state.
Further, in this embodiment, it is contemplated that it is different according to its behavior type for same user, The occupied time might have larger difference during using target object.
For example, it is assumed that target object is toilet, and when user uses toilet, when user behavior type is urine, The time for occupying toilet can be shorter, and when user behavior type is stool, the time for occupying toilet can be longer.
It, can will be corresponding when behavior type when user uses target object is holding time shorter behavior type Subspace is determined as idle state;When user is the longer behavior type of holding time using the behavior type of target object, Corresponding subspace can be determined as seizure condition.
Correspondingly, in one embodiment preferably, when the first GPIO pins for detecting the corresponding subspace During in high level, determine the subspace for that before seizure condition, can also include:
Detect the subspace specified region whether someone;If so, determine to perform above-mentioned determining subspace to occupy The step of state;Otherwise, it determines the subspace is idle state.
In this embodiment, it is contemplated that for certain types of target object, user uses the behavior during target object During type difference, the location of also can be different, therefore, the location of can be used during target object and determined according to user The behavior type of user, and when according to the location of user determine user use target object when behavior type for occupy when Between shorter behavior type when, it is idle state to determine corresponding subspace;Make when according to the determining user of the location of user When behavior type during with target object is holding time longer behavior type, it is seizure condition to determine corresponding subspace.
Correspondingly, in this embodiment, when information collecting device is detected at the first GPIO pins of certain corresponding subspace When high level, information collecting device can further detect the subspace specified region whether someone, for example, information collect Equipment can pass through infrared sensor or the finger of Wi-Fi (WIreless-Fidelity, Wireless Fidelity) probe in detecting subspace Determine region whether someone.Wherein, difference behavior type is corresponding when which can be by using target object to user The statistics of position determines.
When information collecting device detects specified region someone of the subspace, it is believed that user uses target object Behavior type be the longer behavior type of holding time, at this point, information collecting device can determine the subspace to occupy shape State;When information collecting device detects specified region nobody of the subspace, it is believed that user uses target object The behavior type behavior type shorter for holding time, at this point, information collecting device can determine that the subspace is idle state.
In one embodiment preferably, when the first GPIO pins for detecting the corresponding subspace are in high electricity Usually, determine the subspace for that before seizure condition, can also include:
The corresponding 2nd GPIO pins in the subspace are detected whether in high level;If so, it determines to perform above-mentioned determine The step of subspace is seizure condition;Otherwise, it determines the subspace is idle state.
In this embodiment it is possible to setting is used to indicate user behavior type in each subspace of target object in advance Button (referred to herein as the first button), when user uses the behavior type of the target object behavior class longer for holding time Type, user can press the first button, and when the first button is pressed, and the subspace is corresponding with first button connects GPIO pins (referred to herein as the 2nd GPIO pins) are in high level.
Correspondingly, in this embodiment, when information collecting device is detected at the first GPIO pins of the corresponding subspace When high level, information collecting device can decide whether to detect that the 2nd GPIO pins of the corresponding subspace are in high electricity It is flat;If so, determine that the subspace is seizure condition;Otherwise, it determines the subspace is idle state.
Step 202, by the use state information reporting of target object to server so that server is determining to meet information The use state information of the target object in the target area being collected into is pushed to user terminal in the case of pushing condition.
It, can be by mesh after information collecting device gets the use state information of target object in the embodiment of the present invention The use state information reporting of object is marked to server.
Server can collect target area according to the use state information for the target object that information collecting device reports The use state information of target object in (such as market, tourist attractions), and in the situation for determining to meet information pushing condition Under, the use state information of the target object in the target area being collected into is pushed to user terminal.
For example, when server detects that user terminal enters in target area, such as detect that user terminal is connected to mesh The wireless network in region is marked, the use state information of the target object into user terminal push target area.Alternatively, with Family can log on the target object use state letter of server by the specified APP (application) or webpage installed on user terminal Query interface is ceased, and target object use state information inquiring request is sent to server;When server receives user terminal During the target object use state inquiry request of transmission, the use of the target object in target area can be pushed to user terminal Status information.
What deserves to be explained is in embodiments of the present invention, information collecting device mode will can obtain by radio communication The use state information reporting of the target object arrived is to server.Wherein, which can include but is not limited to Zigbee (ZigBee protocol), Lora (the Long Range RFIC long-range radio-frequencies communication technology), NB-IOT (Narrow Band- Internet of Things, narrowband technology of Internet of things), GPRS (General Packet Radio Service, general packet Wireless service technology), bluetooth, wireless aps (Access Point, wireless access point) etc..
As it can be seen that in method flow shown in Fig. 2, the behaviour in service of target object is obtained by information collecting device, and will The use state information reporting of target object is to server, so that server is received in the case where determining to meet information pushing condition The use state information of the target object in target area collected is pushed to user terminal, so as to ensure user can and When know the use state information of target object in target area, improve the service efficiency of target object.
Further, in embodiments of the present invention, when each subspace that target object includes is seizure condition, target The use state information of object can also include queueing condition.Wherein, which can include someone's queuing or nobody It is lined up.
Correspondingly, in a kind of optional embodiment, the use state information of target object is obtained, can be included:
When each subspace that target object includes is seizure condition, the queueing condition of target object is obtained.
In this embodiment, for either objective object, when the target pair that corresponding information collecting device is got When each subspace that the use state information of elephant includes for the target object is seizure condition, information collecting device can also be into One step obtains the queueing condition of the target object, to further improve the service efficiency of target object.
Preferably in one embodiment, the queueing condition of target object is obtained, can be included:
Detect whether that someone is lined up by infrared sensor or Wi-Fi detections.
In this embodiment, when information collecting device determines that each subspace that target object includes is seizure condition When, information collecting device can whether someone be lined up, and the queuing that will be detected by infrared sensor or Wi-Fi probe in detecting State (someone is lined up or nobody is lined up) is carried is reported to server in the use state information of target object.
Preferably in one embodiment, the queueing condition of target object is obtained, can be included:
It, will when the 3rd GPIO pins of any subspace for detecting that primary corresponding target object includes are in high level Queue number adds 1;When detecting that the 4th GPIO pins of any subspace that primary corresponding target object includes are in high level When, queue number is subtracted 1;Wherein, the initial value of queue number and minimum value are 0, when the row of being used to indicate of subspace setting When second button of team is pressed, the corresponding 3rd GPIO pins in the subspace are in high level;When being used for for subspace setting When the third button for indicating to abandon being lined up is pressed, the corresponding 4th GPIO pins in the subspace are in high level.
In this embodiment it is possible to the button (referred to herein as that the setting of each subspace is used to indicate queuing is corresponded to respectively Two buttons) and the button (referred to herein as third button) for abandoning being lined up is used to indicate, it, can be by when user needs to be lined up Under corresponding second button in any subspace, and when the second button is pressed, corresponding GPIO pins (referred to herein as third GPIO pins) in high level;Similarly, when user abandons being lined up, the corresponding third button in the subspace can also be pressed, and When third button is pressed, corresponding GPIO pins (referred to herein as the 4th GPIO pins) are in high level.
Correspondingly, in this embodiment, when information collecting device detects primary any for corresponding to target object and including When 3rd GPIO pins of subspace are in high level, the queue number of the target object can be added 1 by information collecting device;When Information collecting device detects that the 4th GPIO pins of any subspace that primary corresponding target object includes are in high level When, the queue number of target object can be subtracted 1 by information collecting device, and then, information collecting device can get mesh in real time The corresponding queue number of object is marked, and is carried and is reported to server in the use state information of target object.
Wherein, information collecting device can be when the corresponding queue number of target object got changes, to clothes Business device reports the use state information for the target object for carrying queue number.
What deserves to be explained is in this embodiment, for any subspace that target object includes, each information collection is set During for detecting the subspace by seizure condition variation for idle state, information collecting device can be by the corresponding row in the subspace Team's number subtracts 1, until the corresponding number in the subspace is 0.
Further, in a kind of optional embodiment, the use for the target object that server is pushed to user terminal Status information can also include one below or multiple:
The position of the holding time of the subspace of any seizure condition, target object in target object type, target object Information.
In this embodiment, the use state information for the target object that server is pushed to user terminal is in addition to that can wrap Except the use state for including each subspace, the son that can also include any seizure condition in target object type, target object is empty Between holding time or/and target object location information etc..
For example, it is assumed that target object be toilet, then the type of target object can include men's room, ladies' room, Special population toilet etc..
The holding time of the subspace of any seizure condition can be that the subspace is changed by idle state in target object For duration that the use state of the time of seizure condition or the subspace is seizure condition etc..
The location information of target object can be obtained by information collecting device and be reported to server, can also be by matching in advance It puts in the server.
It for example, can be previously according to information collecting device and the correspondence of target object, by the position of each target object Information corresponding informance collecting device is configured in the server, when server receives the target object that certain information collecting device reports Use state information when, the location information of the target object of the correspondence information collecting device locally preserved can be inquired.
Wherein, the location information of target object can be specific latitude and longitude information or, or target object institute Locate the description information of position, floor and orientation etc. as residing for target object.
After user terminal receives the use state information of the target object of server push, if target object is in room It is interior, can current location be positioned by Wi-Fi or bluetooth;If target object is in outdoor, GPS (Global can be passed through Positioning System, global positioning system) positioning current location, and pass through digital map navigation software navigation to the target pair The specific location of elephant.
In order to which those skilled in the art is made to more fully understand technical solution provided in an embodiment of the present invention, with reference to specific Application scenarios illustrate technical solution provided in an embodiment of the present invention.
Below using target object as toilet, subspace is illustrates for hygienic compartment.
Embodiment one
Fig. 3 A are referred to, are that a kind of application scenarios of target object use state management provided in an embodiment of the present invention are illustrated Figure, as shown in Figure 3A, which can include information collecting device 11, server 12, wireless terminal 13 and toilet Compartment 14 and hygienic compartment 15.
Information collecting device 11 may be mounted at megastore, big companies, school, hospital, tourist attractions and urban district Deng public restroom.As shown in Figure 3A, information collecting device 11 can include:Wireless module 111 and CPU (Center Process Unit, central processing unit) 112.
Wireless module 111 can be specially zigbee modules, Lora modules, NB-IOT modules, GPRS module, bluetooth module Or wireless aps etc..
CPU112 is connected with wireless module 111, CPU also respectively with each hygienic compartment (toilet in such as Fig. 3 A Compartment 14 and hygienic compartment 15) it is connected.
Information collecting device can be obtained by CPU112 toilet use state information (toilet in such as Fig. 3 A every Between 14 and hygienic compartment 15 use state).
Wherein, the use state information of toilet can include toilet type (male/female/special population), toilet is compiled Number, the use state (idle state or seizure condition) of each hygienic compartment, the quantity of hygienic compartment of idle state etc..
Wherein, when toilet is located in building, the use state information of toilet can also include building residing for toilet Layer.
The use state information of the toilet got can be sent to by information collecting device 11 by wireless module 111 Server 12, and by server 12 toilet use state information is provided for each wireless terminal 13.
After toilet use state information is sent to server 12 by information collecting device 11 by wireless module 111, Wireless terminal can inquire toilet use state information by application client, so as to know which toilet is available free The hygienic compartment of state.
In addition, the use state information of toilet can also include the geographical location information of toilet.
After wireless terminal learns the geographical location of toilet, itself can be positioned by WIFI, bluetooth or GPS etc. Current location, and be shown on specified APP, closest is aobvious apart from length according to current position and each toilet Show first, successively show successively, if after clicking some toilet, digital map navigation software navigation to the health can be passed through again Between.
Embodiment two
Fig. 3 B are referred to, the application scenarios for another target object use state management provided in an embodiment of the present invention show It is intended to, as shown in Figure 3B, on the basis of Fig. 3 A illustrated embodiments, in application scenarios shown in Fig. 3 B, CPU112 passes through first GPIO pins 1111 are connected with the specified region of hygienic compartment dodge gate 142, the specified region of hygienic compartment dodge gate Conductor material is deployed with, toilet compartment knocker 141 is connected with power module 113.
Power module 113 is used to contact with the specified region of hygienic compartment dodge gate 142 when toilet compartment knocker 141 When, it powers for the first GPIO pins 1111, at this point, CPU112 can detect that the first GPIO pins are in high level;And work as The specified region of toilet compartment knocker 141 and hygienic compartment dodge gate 142 not in contact with when, stop to the first GPIO pins 1111 power supplies, at this point, CPU112 can detect that the first GPIO pins are in low level;
If CPU112 is specifically used for detecting that the first GPIO pins 1111 are in high level, it is determined that at hygienic compartment 14 In seizure condition;If detecting, the first GPIO pins 1111 are in low level, it is determined that hygienic compartment 14 is in idle condition.
Above-mentioned power module 113 can be Miniature Power Unit, such as:Power module 113 is the Miniature Power Unit of 5V.
Embodiment three
Fig. 3 C are referred to, the application scenarios for another target object use state management provided in an embodiment of the present invention show It is intended to, as shown in Figure 3 C, (in the base of application scenarios shown in Fig. 3 B in Fig. 3 C on the basis of Fig. 3 A or Fig. 3 B illustrated embodiments Carry out being optimized for example on plinth), in the application scenarios shown in Fig. 3 C, it can also include being lined up detection module 114.Wherein:
Detection module 114 is lined up for detecting whether someone is lined up, and testing result (i.e. queueing condition) is sent to Queueing condition by CPU112 is carried and is reported to server 12 in toilet use state information by CPU112.
Wherein, infrared sensor or WIFI probes etc. can be included by being lined up detection module 114.
Above-mentioned infrared sensor or WIFI probes can be chronically at working condition, still, in order to save the energy, Ke Yi When detecting that each compartment that toilet includes is in seizure condition, restart infrared sensor or WIFI probes, and utilize red Whether someone is lined up for outer sensor or WIFI probe in detecting.Otherwise, infrared sensor or WIFI probes are closed.
As seen from the above-described embodiment, detect outside toilet whether someone is lined up by being lined up detection module, so that defend The queueing condition of toilet is further included between life in use state information, consequently facilitating user knows each toilet in more detail Use state saves period of reservation of number, also improves the utilization rate of toilet.
Example IV
Fig. 3 D are referred to, the application scenarios for another target object use state management provided in an embodiment of the present invention show It is intended to, as shown in Figure 3D, (in the base of application scenarios shown in Fig. 3 B in Fig. 3 D on the basis of Fig. 3 A or Fig. 3 B illustrated embodiments Carry out being optimized for example on plinth), in application scenarios shown in Fig. 3 D, CPU112 passes through the 3rd GPIO pins 1112 with being lined up button 115 (i.e. above-mentioned second button) is connected, and is lined up button 115 and is connected with power module 113;
It is lined up whether button 115 is connected for controlling between 113 and the 3rd GPIO pins 1112 of power module, works as connection When, power module 113 exports high level to the 3rd GPIO pins 1112;
If CPU112 is specifically used for detecting that the 3rd GPIO pins 1112 are in high level, it is determined that someone is lined up, and High level number according to detecting determines queue number.
In addition, CPU112 is also lined up button 116 (i.e. above-mentioned third button) phase by the 4th GPIO pins 1113 with abandoning Connection, rafting team button 116 are connected with power module 113;
It abandons being lined up whether button 116 is connected for controlling between 113 and the 4th GPIO pins 1113 of power module, when connecing When logical, power module exports high level to the 4th GPIO pins 1113;
If CPU112 is specifically used for detecting that the 4th GPIO pins 1113 are in high level, it is determined that someone abandons arranging Team, and determine to abandon queue number according to the high level number detected.
Above-mentioned queuing button 115 may be mounted at queuing button 116 is abandoned on toilet dodge gate 142.
Button 115 is lined up when user presses, CPU112 detects that the 3rd GPIO pins 1112 are in high level, shows someone It is lined up, can determine queue number according to the 3rd number of the GPIO pins 1112 in high level is detected;If user abandons arranging Team can press and abandon being lined up button 116, and CPU112 is detected on 1113 on the 4th GPIO pins in high level, will be lined up people Number subtracts 1 and toilet dodge gate 142 is opened 1 time every time, and queue number also subtracts 1 accordingly, if the long-time no one health Between, it, can be according to detecting the first GPIO pins 1111 in high level or low level come true but when queue number statistics is not 0 Whether the fixed toilet is idle state, if idle state, and the idle time (can be according to actual use more than 5 minutes The appropriate adjustment time of situation), it can be set as idle state by queue number clear 0 and by the toilet 14 at this time.
As seen from the above-described embodiment, by being lined up button, to detect, whether someone arranges outside toilet with queuing button is abandoned Team, so that the queueing condition of toilet is further included in toilet use state information, consequently facilitating user obtains in more detail Know the use state of each toilet, save period of reservation of number, also improve the utilization rate of toilet.
Embodiment five
Fig. 3 E are referred to, the application scenarios for another target object use state management provided in an embodiment of the present invention show It is intended to, as shown in FIGURE 3 E, (in the base of application scenarios shown in Fig. 3 B in Fig. 3 E on the basis of Fig. 3 A or Fig. 3 B illustrated embodiments Carry out being optimized for example on plinth), in application scenarios shown in Fig. 3 E, CPU112 is also connected with duration detection module 117.
Duration detection module 117 is used to, if it is determined that when hygienic compartment is in seizure condition, detect at the health compartment CPU112 is sent to, and by CPU112 roots in the time of seizure condition, and by the occupied duration of hygienic compartment detected According to carrying server 12 is reported in toilet use state information.
Wherein, duration detection module 117 can be specially RTC (Real-Time Clock, real-time clock) module.When When CPU112 detects hygienic compartment as seizure condition, the hygienic compartment of RTC block record can be started and become by idle state Time during seizure condition is turned to, and the health compartment is determined according to the time that real-time system time and RTC block record Duration in seizure condition.
As seen from the above-described embodiment, the time which is in seizure condition is detected by duration detection module, In this way so that the time that the health compartment is in seizure condition is further included in toilet use state information, consequently facilitating user The use state of each hygienic compartment is known in more detail, is saved period of reservation of number, is also improved the utilization of toilet Rate.
Embodiment six
Fig. 3 F are referred to, the application scenarios for another target object use state management provided in an embodiment of the present invention show It is intended to, as illustrated in Figure 3 F, on the basis of Fig. 3 D illustrated embodiments, in application scenarios shown in Fig. 3 F, CPU112 passes through second GPIO pins 1114 are connected with behavior type instruction button 118, behavior type instruction button 118 (i.e. above-mentioned first button) with Power module 113 is connected;
Behavior type instruction button 118 is used to control whether power module 112 and the 4th connects between detecting signal end 1114 Logical, when on, power module exports high level to the 2nd GPIO pins 1114;
If CPU112 is specifically used for detecting that the 2nd GPIO pins 1114 are in high level, it is determined that user uses health Between behavior type be the longer behavior type of holding time.
When user presses duration setting button 118, CPU112 can detect that the 2nd GPIO pins 1114 are in high level, And then, it may be determined that user needs to occupy the health compartment long period.
As seen from the above-described embodiment, behavior class of the user using hygienic compartment is indicated by behavior type instruction button Type, so that the behavior type of user when the toilet is in seizure condition is further included in toilet use state information, from And know the use state of each hygienic compartment in more detail convenient for user, period of reservation of number is saved, also improves and defends Utilization rate between life.
By above description as can be seen that in technical solution provided in an embodiment of the present invention, by obtaining target object Use state information, and by the use state information reporting of target object to server, so that server is determining to meet letter The use state information of the target object in the target area being collected into is pushed to user terminal in the case of breath pushing condition, It is thus possible to ensure that user terminal can know the use state of target object in time, the service efficiency of target object is improved.
Fig. 4 is referred to, a kind of structure diagram of target object use state managing device is provided for the embodiment of the present invention, Wherein, which can be applied to the information collecting device in above method embodiment, as shown in figure 4, the device can include:
Acquiring unit 410, for obtaining the use state information of target object;Wherein, the target object includes one Or multiple subspaces, the use state information of the target object include the use state of each subspace, subspace uses shape State includes idle state or seizure condition;
Transmitting element 420, for by the use state information reporting of the target object to server so that server exists It determines to push the use state information of the target object in the target area being collected into the case of meeting information pushing condition To user terminal.
In an alternative embodiment, the acquiring unit 410, specifically for any son sky included for the target object Between, when on the first universal input output GPIO pins for detecting the corresponding subspace in high level, determine the subspace For seizure condition;Otherwise, it determines the subspace is idle state.
Please also refer to Fig. 5, the knot for another target object use state managing device provided in an embodiment of the present invention Structure schematic diagram, as shown in figure 5, on the basis of device shown in Fig. 4, Fig. 5 shown devices further include:
First detection unit 430, at the first universal input output GPIO pins for detecting the corresponding subspace When high level, detect the subspace specified region whether someone;
The acquiring unit 410, during for detecting specified region someone of the subspace when the detection unit 430, It is seizure condition to determine the subspace;Otherwise, it determines the subspace is idle state;
Or,
First detection unit 430, at the first universal input output GPIO pins for detecting the corresponding subspace When high level, whether the corresponding 2nd GPIO pins in the subspace are detected in high level;Wherein, when the use of subspace setting When indicating that user is pressed using the first button of the behavior type of target object, the corresponding 2nd GPIO pins in the subspace In high level;
The acquiring unit 410 detects that corresponding 2nd GPIO in the subspace is managed specifically for working as the detection unit When high level is on foot, it is seizure condition to determine the subspace;Otherwise, it determines the subspace is idle state.
In an alternative embodiment, when each subspace that the target object includes is seizure condition, the target pair The use state information of elephant further includes queueing condition;
The acquiring unit 410 is additionally operable to when each subspace that the target object includes is seizure condition, is obtained The queueing condition of the target object.
Please also refer to Fig. 6, the knot for another target object use state managing device provided in an embodiment of the present invention Structure schematic diagram, as shown in fig. 6, on the basis of device shown in Fig. 4, Fig. 6 shown devices further include:
Second detection unit 440, for passing through infrared sensor or Wireless Fidelity Wi-Fi probe in detecting, whether someone arranges Team;
Or,
Second detection unit 440, for once corresponding to the of any subspace that the target object includes when detecting When three GPIO pins are in high level, by queue number plus 1;When detecting any son for once corresponding to the target object and including When the 4th GPIO pins in space are in high level, queue number is subtracted 1;Wherein, the initial value and minimum of the queue number Value is 0, when the second button for being used to indicate queuing of subspace setting is pressed, the corresponding 3rd GPIO pipes in the subspace Foot is in high level;When subspace setting be used to indicate abandon be lined up third button be pressed when, the subspace is corresponding 4th GPIO pins are in high level.
In an alternative embodiment, the use state information for the target object that the server is pushed to user terminal further includes One below is multiple:
The position of the holding time of the subspace of any seizure condition, target object in target object type, target object Information.
The function of each unit and the realization process of effect specifically refer to and step are corresponded in the above method in above device Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related part is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separating component The unit of explanation may or may not be physically separate, and the component shown as unit can be or can also It is not physical unit, you can be located at a place or can also be distributed in multiple network element.It can be according to reality It needs that some or all of module therein is selected to realize the purpose of the present invention program.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and implement.
As seen from the above-described embodiment, by obtaining the use state information of target object, and target object is used into shape State information reporting is to server, so that the target area that server will be collected into the case where determining to meet information pushing condition The use state information of interior target object is pushed to user terminal, it is thus possible to ensure that user terminal can know mesh in time The use state of object is marked, improves the service efficiency of target object.
Those skilled in the art will readily occur to the present invention its after considering specification and putting into practice invention disclosed herein Its embodiment.This application is intended to cover the present invention any variations, uses, or adaptations, these modifications, purposes or Person's adaptive change follows the general principle of the present invention and including undocumented common knowledge in the art of the invention Or conventional techniques.Description and embodiments are considered only as illustratively, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is only limited by appended claim.

Claims (12)

1. a kind of target object use state management method, which is characterized in that including:
Obtain the use state information of target object;Wherein, the target object includes one or more subspaces, the target The use state information of object includes the use state of each subspace, and the use state of subspace includes idle state or occupies shape State;
By the use state information reporting of the target object to server, so that server is determining to meet information pushing condition In the case of the use state information of the target object in the target area being collected into is pushed to user terminal.
2. according to the method described in claim 1, it is characterized in that, it is described obtain target object use state information, including:
For any subspace that the target object includes, when the first universal input output for detecting the corresponding subspace When GPIO pins are in high level, it is seizure condition to determine the subspace;Otherwise, it determines the subspace is idle state.
3. according to the method described in claim 2, it is characterized in that, when the first universal input for detecting the corresponding subspace is defeated It is described to determine the subspace before seizure condition, to further include when going out GPIO pins and being in high level:
Detect the subspace specified region whether someone;If so, determine that it is seizure condition to perform described determining subspace The step of;Otherwise, it determines the subspace is idle state;Or,
The corresponding 2nd GPIO pins in the subspace are detected whether in high level;If so, it determines to perform described determining son The step of space is seizure condition;Otherwise, it determines the subspace is idle state;Wherein, being used to indicate when subspace setting When user is pressed using the first button of the behavior type of target object, the corresponding 2nd GPIO pins in the subspace are in height Level.
4. according to the method described in claim 1, it is characterized in that, when each subspace that the target object includes is to occupy During state, the use state information of the target object further includes queueing condition;
The use state information for obtaining target object, including:
When each subspace that the target object includes is seizure condition, the queueing condition of the target object is obtained.
5. according to the method described in claim 4, it is characterized in that, it is described obtain target object queueing condition, including:
By infrared sensor or Wireless Fidelity Wi-Fi probe in detecting, whether someone is lined up;Or,
It, will when detecting that the 3rd GPIO pins for once corresponding to any subspace that the target object includes are in high level Queue number adds 1;It is on the 4th GPIO pins for once corresponding to any subspace that the target object includes when detecting During high level, queue number is subtracted 1;Wherein, the initial value of the queue number and minimum value are 0, when subspace setting When being used to indicate the second button of queuing and being pressed, the corresponding 3rd GPIO pins in the subspace are in high level;Work as subspace Setting is used to indicate the third button for abandoning being lined up when being pressed, and the corresponding 4th GPIO pins in the subspace are in high electricity It is flat.
6. according to claim 1-5 any one of them methods, which is characterized in that the mesh that the server is pushed to user terminal The use state information of mark object further includes one below or multiple:
The location information of the holding time of the subspace of any seizure condition, target object in target object type, target object.
7. a kind of target object use state managing device, which is characterized in that including:
Acquiring unit, for obtaining the use state information of target object;Wherein, the target object includes one or more sons Space, the use state information of the target object include the use state of each subspace, and the use state of subspace includes sky Not busy state or seizure condition;
Transmitting element, for by the use state information reporting of the target object to server so that server determine it is full The use state information of the target object in the target area being collected into is pushed to user in the case of sufficient information pushing condition Terminal.
8. device according to claim 7, which is characterized in that
Specifically for any subspace included for the target object, son sky is corresponded to when detecting for the acquiring unit Between the first universal input output GPIO pins when be in high level, determine the subspace for seizure condition.
9. device according to claim 8, which is characterized in that described device further includes:
First detection unit, for being in high level when the first universal input output GPIO pins for detecting the corresponding subspace When, detect the subspace specified region whether someone;
The acquiring unit during for detecting specified region someone of the subspace when the detection unit, determines son sky Between be seizure condition;Otherwise, it determines the subspace is idle state;
Or,
First detection unit, for being in high level when the first universal input output GPIO pins for detecting the corresponding subspace When, whether the corresponding 2nd GPIO pins in the subspace are detected in high level;Wherein, it is used to indicate use when subspace setting When family is pressed using the first button of the behavior type of target object, the corresponding 2nd GPIO pins in the subspace are in high electricity It is flat;
The acquiring unit detects that the corresponding 2nd GPIO pins in the subspace are in height specifically for working as the detection unit During level, it is seizure condition to determine the subspace;Otherwise, it determines the subspace is idle state.
10. device according to claim 7, which is characterized in that when each subspace that the target object includes is to account for During with state, the use state information of the target object further includes queueing condition;
The acquiring unit is additionally operable to, when each subspace that the target object includes is seizure condition, obtain the mesh Mark the queueing condition of object.
11. device according to claim 10, which is characterized in that described device further includes:
Second detection unit, for passing through infrared sensor or Wireless Fidelity Wi-Fi probe in detecting, whether someone is lined up;
Or,
Second detection unit detects the 3rd GPIO for once corresponding to any subspace that the target object includes pipes for working as When foot is in high level, by queue number plus 1;The of any subspace that the target object includes once is corresponded to when detecting When four GPIO pins are in high level, queue number is subtracted 1;Wherein, the initial value of the queue number and minimum value are 0, When the second button for being used to indicate queuing of subspace setting is pressed, the corresponding 3rd GPIO pins in the subspace are in height Level;When subspace setting be used to indicate abandon be lined up third button be pressed when, corresponding 4th GPIO in the subspace Pin is in high level.
12. according to claim 7-11 any one of them devices, which is characterized in that the server is pushed to user terminal The use state information of target object further includes one below or multiple:
The location information of the holding time of the subspace of any seizure condition, target object in target object type, target object.
CN201710362126.7A 2017-05-22 2017-05-22 Target object use state management method and device Active CN108259550B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710362126.7A CN108259550B (en) 2017-05-22 2017-05-22 Target object use state management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710362126.7A CN108259550B (en) 2017-05-22 2017-05-22 Target object use state management method and device

Publications (2)

Publication Number Publication Date
CN108259550A true CN108259550A (en) 2018-07-06
CN108259550B CN108259550B (en) 2021-08-24

Family

ID=62721497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710362126.7A Active CN108259550B (en) 2017-05-22 2017-05-22 Target object use state management method and device

Country Status (1)

Country Link
CN (1) CN108259550B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110867023A (en) * 2019-11-28 2020-03-06 福建工程学院 Sharing method and device for use state of squatting pan of toilet
CN112655007A (en) * 2018-09-06 2021-04-13 皇家飞利浦有限公司 Monitoring movable entities in a predetermined area
CN113742402A (en) * 2020-05-27 2021-12-03 纬创资通股份有限公司 Equipment detection system and equipment detection method
CN115689838A (en) * 2022-09-28 2023-02-03 广州市保伦电子有限公司 Method, device, storage medium and system for supervising use of office building toilet seats

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140060895A (en) * 2012-11-13 2014-05-21 부산광역시 북구청 Sign lamp for public toilet
CN104363304A (en) * 2014-12-02 2015-02-18 上海斐讯数据通信技术有限公司 System and method for inquiring squatting positions in public toilet
CN104464127A (en) * 2014-12-04 2015-03-25 上海斐讯数据通信技术有限公司 Vacancy reminding device
CN104698886A (en) * 2015-02-12 2015-06-10 国家电网公司 Occupation status display system of toilet cubicle
CN204557129U (en) * 2015-04-14 2015-08-12 上海为彪汽配制造有限公司 For the time controlled system of communal bathroom
CN205334172U (en) * 2015-12-17 2016-06-22 上海科勒电子科技有限公司 Monitoring system for public bathroom
CN106127323A (en) * 2016-08-01 2016-11-16 京东方科技集团股份有限公司 A kind of online reserving method, Apparatus and system
CN106156861A (en) * 2015-03-26 2016-11-23 深圳酷派技术有限公司 A kind of lavatory service condition sharing method, device and terminal
CN106292314A (en) * 2015-06-26 2017-01-04 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN206100012U (en) * 2016-09-30 2017-04-12 杭州华三通信技术有限公司 Communication equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140060895A (en) * 2012-11-13 2014-05-21 부산광역시 북구청 Sign lamp for public toilet
CN104363304A (en) * 2014-12-02 2015-02-18 上海斐讯数据通信技术有限公司 System and method for inquiring squatting positions in public toilet
CN104464127A (en) * 2014-12-04 2015-03-25 上海斐讯数据通信技术有限公司 Vacancy reminding device
CN104698886A (en) * 2015-02-12 2015-06-10 国家电网公司 Occupation status display system of toilet cubicle
CN106156861A (en) * 2015-03-26 2016-11-23 深圳酷派技术有限公司 A kind of lavatory service condition sharing method, device and terminal
CN204557129U (en) * 2015-04-14 2015-08-12 上海为彪汽配制造有限公司 For the time controlled system of communal bathroom
CN106292314A (en) * 2015-06-26 2017-01-04 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN205334172U (en) * 2015-12-17 2016-06-22 上海科勒电子科技有限公司 Monitoring system for public bathroom
CN106127323A (en) * 2016-08-01 2016-11-16 京东方科技集团股份有限公司 A kind of online reserving method, Apparatus and system
CN206100012U (en) * 2016-09-30 2017-04-12 杭州华三通信技术有限公司 Communication equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112655007A (en) * 2018-09-06 2021-04-13 皇家飞利浦有限公司 Monitoring movable entities in a predetermined area
CN110867023A (en) * 2019-11-28 2020-03-06 福建工程学院 Sharing method and device for use state of squatting pan of toilet
CN113742402A (en) * 2020-05-27 2021-12-03 纬创资通股份有限公司 Equipment detection system and equipment detection method
CN115689838A (en) * 2022-09-28 2023-02-03 广州市保伦电子有限公司 Method, device, storage medium and system for supervising use of office building toilet seats

Also Published As

Publication number Publication date
CN108259550B (en) 2021-08-24

Similar Documents

Publication Publication Date Title
CN108259550A (en) A kind of target object use state management method and device
Viani et al. Wireless architectures for heterogeneous sensing in smart home applications: Concepts and real implementation
CN104452926B (en) A kind of health monitoring systems based on intelligent closestool
Paek et al. Energy-efficient rate-adaptive GPS-based positioning for smartphones
CN100468390C (en) Digital-signal intelligent monitoring method and application system thereof
CN105242600B (en) Individualized intelligent toilet seat control system and its control method and intellectual water closet
CN107851364B (en) System and method for monitoring objects in a premises
CN105744479B (en) A kind of apparatus control method and relevant apparatus based on adaptive geography fence technology
CN109067879A (en) A kind of Internet of Things multi-parameter water quality on-line monitoring system
CN103167414A (en) Meteorological information service system based on intelligent mobile phone participating in perception and implementing method thereof
CN106850796B (en) Wireless tracking monitoring method and system based on Internet of things
CN106407317A (en) Washroom information acquisition method and device
US10264420B2 (en) System and method for providing a descriptive location of a user device
KR101017824B1 (en) System and its method for space information service in ubiquitous environment
Naguib et al. Location information managment
Ahmed et al. Guardianangel: An rfid-based indoor guidance and monitoring system
Curran Hybrid passive and active approach to tracking movement within indoor environments
CN109782674A (en) A kind of structure based on NB-IoT can configure the monitoring device and method of wisdom toilet
JP2018109847A (en) Evaluation system, evaluation method, and program
US20230326612A1 (en) Methods and Software for Contact Tracing and Exposure-Event Suppression Using Indoor Positioning
JP2018005354A (en) Information system, facility use information management server and program collecting/providing information by anonymous communication using beacon and user authentication communication
KR20230022807A (en) Pet management system and method
JP2010015255A (en) Management system, computer program and management method
Barsocchi et al. Monitoring user position in the GiraffPlus AAL environment
JP2011258109A (en) Sensing method and sensor network system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant