CN110097204A - Lavatory information query method, device, medium and computer equipment - Google Patents

Lavatory information query method, device, medium and computer equipment Download PDF

Info

Publication number
CN110097204A
CN110097204A CN201910198368.6A CN201910198368A CN110097204A CN 110097204 A CN110097204 A CN 110097204A CN 201910198368 A CN201910198368 A CN 201910198368A CN 110097204 A CN110097204 A CN 110097204A
Authority
CN
China
Prior art keywords
lavatory
target
user
information
user terminal
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.)
Pending
Application number
CN201910198368.6A
Other languages
Chinese (zh)
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.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology 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 OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201910198368.6A priority Critical patent/CN110097204A/en
Publication of CN110097204A publication Critical patent/CN110097204A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Quality & Reliability (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Educational Administration (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of lavatory information query method, device, computer storage medium and computer equipments;This method comprises: receiving the lavatory information inquiring request that user terminal is sent, obtain and the lavatory information inquiring request association user position;Several target lavatories of the distance between determining and described user position within the scope of pre-determined distance;It determines that each target lavatory is corresponding and estimates queue number and lavatory position;By corresponding queue number and the lavatory position feedback estimated of each target lavatory to the user terminal.Technical solution through the invention, user can inquire queue number corresponding with the lavatory that it is closer and position, due to that can recognize the current queue number of each lavatory and position, user can voluntarily find the lavatory for being suitble to oneself actual conditions, effectively reduce user and go to toilet the time spent in queuing.

Description

Lavatory information query method, device, medium and computer equipment
Technical field
The present invention relates to computer fields, specifically, the present invention relates to a kind of lavatory information query methods, device, Jie Matter and computer equipment.
Background technique
Personnel in office building are numerous and lavatory quantity is very limited, cause the troop that will appear queuing of going to toilet very long Situation, this when employee goes to toilet but also waiting the time gone to toilet to become very long, if employee is because go to toilet cost Duration is excessive, this will affect the office efficiency of employee, also affects the office efficiency of enterprise indirectly, therefore needing one kind can Effectively reduction employee goes to toilet the method for required waiting time.
Summary of the invention
The present invention in view of the shortcomings of the prior art, provides a kind of lavatory information query method, device, medium and computer Equipment, technical solution through the invention, user can inquire queue number corresponding with the lavatory that it is closer and position, Due to that can recognize the current queue number of each lavatory and position, user, which can voluntarily find, is suitble to oneself actual conditions Lavatory, effectively reduce user and go to toilet the time it takes.
The embodiment of the present invention provides a kind of lavatory information query method according to first aspect, comprising:
The lavatory information inquiring request that user terminal is sent is received, is obtained and the lavatory information inquiring request association user Position;
Several target lavatories of the distance between determining and described user position within the scope of pre-determined distance;
It determines that each target lavatory is corresponding and estimates queue number and lavatory position;
By corresponding queue number and the lavatory position feedback estimated of each target lavatory to the user terminal.
Further, each target lavatory of the determination is corresponding estimates queue number and location information, comprising:
Obtain the monitor video data that monitor terminal corresponding with each target lavatory uploads;
The monitor video data are analyzed, determine the currently lavatory number in each target lavatory;
Corresponding queue number is estimated using the corresponding lavatory number of each target lavatory as its.
Further, it is described using the corresponding lavatory number of each target lavatory as its it is corresponding estimate queue number, packet It includes:
Determine that the corresponding lavatory information inquiry from other users terminal of each target lavatory is asked in predetermined time section The number of requests asked;
If the corresponding number of requests of target lavatory is lower than default number of requests threshold value, by the corresponding lavatory of the target lavatory Institute's number estimates queue number as corresponding;
If the corresponding number of requests of target lavatory is not less than default number of requests threshold value, corresponding to the target lavatory Number of requests is handled, and online request number is obtained;
It sums to online request number lavatory number corresponding with the target lavatory, is finally estimated people Number;
Using described number finally is estimated as the target lavatory is corresponding estimate queue number.
Further, it is described by the corresponding queue number and lavatory position feedback estimated of each target lavatory to institute State user terminal, comprising:
The lavatory position for determining the user position to each target lavatory is respectively necessary for the route shape used Formula;
If the user position needs the route form used for elevator form to the lavatory position of target lavatory, Obtain current elevator operation information, by the current elevator operation information it is corresponding with the target lavatory estimate queue number with And lavatory position feeds back to the user terminal together.
Further, it is described by the corresponding queue number and lavatory position feedback estimated of each target lavatory to institute State user terminal, comprising:
Obtain the user position to each target lavatory the corresponding route information in lavatory position;
By the route information and each target lavatory it is corresponding estimate it is anti-together with queue number and lavatory position It feeds the user terminal.
Further, it is described receive user terminal send lavatory information inquiring request, include: before
The user position bind request that user terminal is sent is received, the bind request includes the position that user fills in Information;
By the unique end of the location information and user terminal mark write-in terminal location mapping table.
Further, the acquisition and the lavatory information inquiring request association user position, comprising:
It is if the lavatory information inquiring request includes new location information, the location information is in place as user institute It sets;
If the lavatory information inquiring request does not include new location information, from preset terminal location mapping table Determine pre-binding location information corresponding with the unique end of user terminal mark;
Using the pre-binding location information as user position.
The embodiment of the present invention provides a kind of lavatory information query device according to second aspect, comprising:
User position obtains module, for receiving the lavatory information inquiring request of user terminal transmission, acquisition and institute State lavatory information inquiring request association user position;
Target lavatory determining module is in pre-determined distance range for the distance between determining and described user position Several interior target lavatories;
Number position determination module estimates queue number and lavatory position for determining that each target lavatory is corresponding;
Information feedback module, for estimating queue number and lavatory position feedback for each target lavatory is corresponding To the user terminal.
The embodiment of the present invention provides a kind of computer readable storage medium according to the third aspect, is stored thereon with computer Program, the program realize above-mentioned lavatory information query method when being executed by processor.
The embodiment of the present invention provides a kind of computer equipment according to fourth aspect, and the computer equipment includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes above-mentioned lavatory information query method.
In embodiments of the present invention, cloud server receives the lavatory information inquiring request that user terminal is sent, and obtains later It takes and the lavatory information inquiring request association user position, then the distance between determination and described user position Several target lavatories within the scope of pre-determined distance, and determine each target lavatory it is corresponding estimate queue number and Lavatory position, finally by corresponding queue number and the lavatory position feedback estimated of each target lavatory to user's end End, allows users to inquire queue number corresponding with the lavatory that it is closer and position, each due to that can recognize The current queue number of a lavatory and position, user can voluntarily find the lavatory for being suitble to oneself actual conditions, effectively reduce User goes to toilet the time it takes, and for enterprise, the embodiment of the present invention can improve the office efficiency of enterprise indirectly.
Furthermore the utilization rate of also balanced each lavatory of the embodiment of the present invention avoids the occurrence of previous because user did not knew about completely The queue number situation of other lavatories, fears to waste time and dare not arrive uncomprehending lavatory and observe conditions, can only be in fixation The part lavatory queue number that lavatory is lined up appearance is numerous, and the situation that part lavatory no one uses.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the lavatory information query method flow diagram of one embodiment of the invention;
Fig. 2 is the structural schematic diagram of the lavatory information query device of one embodiment of the invention;
Fig. 3 is the structural schematic diagram of the computer equipment of an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form, " first " used herein, " second " are only used for distinguishing same technology special Sign, is not limited the sequence of the technical characteristic and quantity etc..It is to be further understood that in specification of the invention The wording " comprising " used refers to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that depositing Or add other one or more features, integer, step, operation, element, component and/or their group.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
The embodiment of the invention provides a kind of lavatory information query methods, and it is numerous to be suitable for the personnel such as office building or market And in the less scene of lavatory resource.It describes in detail below in conjunction with attached drawing to a specific embodiment of the invention.Such as Fig. 1 institute Show, lavatory information query method provided in an embodiment of the present invention the following steps are included:
S110: receiving the lavatory information inquiring request that user terminal is sent, and obtains and closes with the lavatory information inquiring request It is combined family position.
S120: several target lavatories of the distance between determining and described user position within the scope of pre-determined distance Institute.
S130: it determines that each target lavatory is corresponding and estimates queue number and lavatory position.
S140: by corresponding queue number and the lavatory position feedback estimated of each target lavatory to user's end End.
In the present embodiment, when user needs to go to toilet, lavatory can be sent to cloud server by user terminal Information inquiring request, cloud server can obtain and the lavatory after the lavatory information inquiring request for receiving user terminal Information inquiring request association user position.Wherein, user position is in different application scenarios, the specific journey of position Degree can be different, for example, when the every floor area of office building is very big, from the different corners of same floor to the distance of the floor lavatory When distinguishing bigger, user position can be the specific Administrative Area in specific floor, and the Administrative Area can refer to pre- Several regions that first floor overall region is divided, such as 30 floor of the mansion A are divided into East, West, South and North etc.;And When the every floor area of office building is not that very greatly, the distance difference from the different corners of same floor to the floor lavatory is little When, user position can be specific floor, for example, 30 floor of the mansion A;Or floor lavatory negligible amounts, and floor When middle office worker's quantity is very much, has a user Nature calls and need to go the case where going to toilet to other floors across floor, At this time since the mode that arrive other floors includes walking stair and/or walking the modes such as elevator, thus also need in view of floor Each corner walk stair and/or walk elevator to the distance of other floor lavatories, therefore user position may need more Precisely, at this time user position can refer to enterprise or trade company charter region, for example, 30 floor of the mansion A 3010 etc..
After obtaining user position, cloud server can further determine that the distance between user position Several target lavatories within the scope of pre-determined distance, wherein the pre-determined distance range can be developer according to reality Border application scenarios are preconfigured, for example pre-determined distance range is in 3 floors, and user position is if it is 30 layers at this time, that Just all it regard the lavatory in 27 layers to 33 layers as target lavatory;Possibly, the pre-determined distance range can also refer to preset Time-consuming distance, for example, the distance within 5 minutes, the default time-consuming refers to that user walks and/or walks from user position Stair and/or the time span for walking cost required for elevator arrival target lavatory.
Then cloud server determines that each target lavatory is corresponding and estimates queue number and lavatory position, and will be true Corresponding queue number and the lavatory position feedback estimated of each target lavatory fixed is to the user terminal, user terminal User can be showed after receiving, so that user can recognize the queue number information and each lavatory of multiple lavatories Corresponding position, and then to go which lavatory to go to toilet according to own situation determination, help user to be reduced as far as lavatory thereon Spend in the time on being lined up.On the other hand, the present embodiment is capable of the utilization rate of balanced each lavatory, avoid the occurrence of it is previous because The queue number situation for not knowing about other lavatories completely for user, fears to waste time and dare not arrive uncomprehending lavatory and check Situation, the part lavatory queue number that can only be lined up appearance in fixed lavatory is numerous, and the situation that part lavatory no one uses.
In one embodiment, it in the S130, determines that each target lavatory is corresponding and estimates queue number, comprising:
S210: the monitor video data that monitor terminal corresponding with each target lavatory uploads are obtained.
S220: analyzing the monitor video data, determines the currently lavatory number in each target lavatory.
S230: corresponding queue number is estimated using the corresponding lavatory number of each target lavatory as its.
In the present embodiment, installation in advance can see the default prison of personnel's disengaging near each lavatory of each floor Control region is such as the monitoring camera in the necessary region that the personnel such as corridor enter lavatory outside lavatory, each monitoring camera with Cloud server is connected, and the monitor video data taken are just uploaded to cloud server at regular intervals, by cloud Server analyzes monitor video data, judges that the behavior of personnel is to belong to enter lavatory by default monitoring area from the outside Institute still goes to the external world from lavatory by default monitoring area, and corresponding data record is got off, according to personnel by default The record of monitoring area calculates how many personnel of lavatory, using the number calculated as the corresponding lavatory of each target lavatory Number, what the lavatory number referred to is exactly the calculated number in lavatory, and then cloud server is worked as what is determined The preceding lavatory number in each target lavatory estimates queue number as each target lavatory is corresponding.
It should be noted that in the present embodiment, lavatory refers to including the region between several lavatories, is lavatory between lavatory In be supplied to the compartment that people go to toilet, and personnel described above enter lavatory to refer to that personnel enter above-mentioned comprising several lavatories Between region.
Preferably, it is contemplated that when queue number is excessive, the troop of queuing can be discharged to outside lavatory in corridor, therefore can be with The number for being located at default monitoring area is also calculated in the lavatory number.
In a preferred embodiment, the S230: the corresponding lavatory number of each target lavatory is corresponding as its Estimate queue number, comprising:
S231: determine that the corresponding lavatory information from other users terminal of each target lavatory is looked into predetermined time section Ask the number of requests of request.
S232: if the corresponding number of requests of target lavatory is lower than default number of requests threshold value, by the target lavatory pair The lavatory number answered estimates queue number as corresponding.
S233: if the corresponding number of requests of target lavatory is not less than default number of requests threshold value, to the target lavatory Corresponding number of requests is handled, and online request number is obtained, corresponding with the target lavatory to the online request number Lavatory number sum, finally estimated number, to estimate number corresponding as the target lavatory using described finally Estimate queue number.
In the present embodiment, cloud server is determined currently after the lavatory number of each target lavatory, is determined pre- The number of requests for the corresponding lavatory information inquiring request from other users terminal of each target lavatory in section of fixing time, In, the number of requests of the corresponding lavatory information inquiring request from other users terminal of target lavatory refers to that lavatory takes beyond the clouds Device be engaged in after receiving the lavatory information inquiring request of other users terminal, determines it as the corresponding lavatory information of target lavatory Inquiry request number, for example, after cloud server receives the lavatory information inquiring request of user A1, A2, A3, according to each use The user position at family determines corresponding target lavatory for it, wherein the corresponding target lavatory of user A1 is lavatory B1, B2, The corresponding target lavatory of user A2 is lavatory B1, B3, and the corresponding target lavatory of user A3 is lavatory B1, B2, then lavatory B1 Corresponding number of requests is 3, and the corresponding number of requests of lavatory B2 is 2, and the corresponding number of requests of lavatory B3 is 1.
Later, if the corresponding number of requests of target lavatory is lower than default number of requests threshold value, just by the target lavatory Corresponding lavatory number can be developer's root as corresponding queue number of estimating, the default number of requests threshold value It is arranged according to concrete application scene, for example is set as 0 or 2 or 5 etc..
And in the lavatory information inquiring request due to receiving, there are many pseudo- requests, i.e., user looks into cloud server Lavatory information is ask, but finally does not go but to go to toilet and repetitive requests, i.e. certain customers pass through in preset time section User terminal repeatedly sends lavatory information inquiring request to cloud server, more accurate each in order to provide the user with Target lavatory estimates queue number, needs to be filtered all lavatory information inquiring requests received, the number made According to being more able to reflect out the true number that Nature calls.
Specifically, described that the corresponding number of requests of the target lavatory is handled, online request number is obtained, is wrapped It includes:
Using user terminal identification as differentiation foundation, determined from the corresponding number of requests of the target lavatory with it is described Several corresponding request users of target lavatory;
The quantity forwarded of determining lavatory information inquiring request corresponding with each request user;
It is that each request user determines corresponding authenticity rank according to the quantity forwarded;
It determines the corresponding request number of users of each authenticity rank and presets true coefficient;
Default calculating is carried out with true coefficient is preset to the request number of users, obtains online request number.
It should be noted that the authenticity rank and it is corresponding preset true coefficient can be according to concrete application scene It is configured, wherein according to the request number of users and true coefficient can be preset be calculated by following computation rule Online request number:
(the default true coefficient of the request number of users * level-one authenticity rank of level-one authenticity rank)+(second level is true Property rank request number of users * second level authenticity rank default true coefficient)+...+(the request use of N grade authenticity ranks The default true coefficient of N grades of authenticity ranks of amount amount *)=number is requested online.
It to the authenticity rank and presets true coefficient usage mode below by way of a specific example and is illustrated, but The specific example is only intended to illustrate, does not indicate authenticity rank described in the present embodiment and preset the user of true coefficient Formula is only limitted to the description in the specific example.
It is corresponding to preset true coefficient and be for example, preset 3 authenticity ranks, respectively level-one, second level and three-level 0.3,0.6 and 1.0, and in order to distinguish the corresponding authenticity rank of request user, it is arranged and presets quantity forwarded threshold value, specifically, When the quantity forwarded of the corresponding lavatory information inquiring request of request user is not more than 2, i.e., at 1-2 times, request user belongs to one Grade, quantity forwarded are not more than 5, i.e., at 3-5 time, and request user belongs to second level, when quantity forwarded is greater than 5, request user category In three-level;At this point, the number of requests for the lavatory information inquiring request from other users terminal that a certain target lavatory receives It shares 13 times, 13 lavatory information inquiring requests are sent by 4 user terminals, i.e., request number of users is 4, wherein requesting User A has sent 2 times, and request user B has sent 4 times, and user C is requested to have sent 6 times, and request user D has sent 1 time, root Can determine that request user A, B, C, D respectively correspond authenticity rank according to quantity forwarded is level-one, second level, three-level, level-one, is corresponded to Default true coefficient be 0.3,0.6,1.0,0.3, to request number of users and preset true coefficient and carry out default calculating, specifically It is (2*0.3)+(1*0.6)+(1*1.0)=2.2, i.e., the described online request number is 2.2 people.
It is corresponding with the target lavatory to the online request number after cloud server obtains online request number Lavatory number is summed, and number is finally estimated, and to estimate number corresponding pre- as the target lavatory using described finally Estimate queue number.
In one embodiment, queue number and lavatory the S140: are estimated by each target lavatory is corresponding Position feedback gives the user terminal, comprising:
S310: the lavatory position for determining the user position to each target lavatory is respectively necessary for the road used Line form.
S320: if the user position needs the route form used for elevator shape to the lavatory position of target lavatory Formula then obtains current elevator operation information, estimates queuing for the current elevator operation information is corresponding with the target lavatory Number and lavatory position feed back to the user terminal together.
In the present embodiment, the route form includes stair form, elevator form and walking form.Wherein, the building Trapezoidal refers to that user needs to walk and walk stair from user position to target lavatory;The elevator form refer to user from User position needs to walk and take elevator to target lavatory, or walks, takes elevator and walk stair;The walking Form refers to that user only needs to pass by foot from user position to target lavatory.Wherein, the elevator refer to need by The floor number to be reached moves up and down formula elevator.And the route form can be by manually first analyzing each possibility of each floor User position need the route form that uses to each lavatory, cloud server then is configured to regard to related data.
The elevator operation information includes the mobile trend that elevator is currently located floor and elevator, and the movement of the elevator becomes Gesture refers to that elevator is the information of uplink or downlink.
In one embodiment, queue number and lavatory the S140: are estimated by each target lavatory is corresponding Position feedback gives the user terminal, comprising:
S410: the corresponding route letter in the lavatory position for obtaining the user position to each target lavatory Breath.
S420: queue number and lavatory position one are estimated by the route information is corresponding with each target lavatory It rises and feeds back to the user terminal.
In the present embodiment, the route information can be in place by manually first analyzing each possible user institute of each floor The route that each lavatory needs to use is set, cloud server then is configured to regard to related data.Specifically, the route information It can be written form, graphic form, audio form and/or visual form.
In one embodiment, in the S110, the lavatory information inquiring request that user terminal is sent is received, is wrapped before It includes:
S101: receiving the user position bind request that user terminal is sent, and the bind request is filled in comprising user Location information.
S102: by the unique end of the location information and user terminal mark write-in terminal location mapping table.
In the present embodiment, it is contemplated that the position for having certain customers in office building or market is that comparison is fixed, than If the position of the employee of the enterprise staff in office building or tenant in market et al. is fixed.Therefore, through this embodiment The technical solution of offer can allow user to bind its position, to more easily inquire lavatory information.
In one embodiment, in the S110, acquisition and the lavatory information inquiring request association user position, Include:
S111: if the lavatory information inquiring request includes new location information, using the location information as user Position.
S112: it if the lavatory information inquiring request does not include new location information, is reflected from preset terminal location Pre-binding location information corresponding with the unique end of user terminal mark is determined in firing table, and the pre-binding position is believed Breath is used as user position.
In the present embodiment, cloud server first judges institute after receiving the lavatory information inquiring request of user terminal It states and whether contains new location information in lavatory information inquiring request, if so, so just making the new location information For user position, and if not new location information, the unique end mark of the user terminal is just obtained, from Pre-binding location information corresponding with the unique end of user terminal mark is determined in preset terminal location mapping table, it will The pre-binding location information is as user position.
Technical solution for a better understanding of the present invention, the present invention also provides a kind of lavatory information query device, such as Fig. 2 It is shown, comprising:
User position obtain module 110, for receive user terminal transmission lavatory information inquiring request, obtain with The lavatory information inquiring request association user position.
Target lavatory determining module 120 is in pre-determined distance for the distance between determining and described user position Several target lavatories in range.
Number position determination module 130 estimates queue number and lavatory position for determining that each target lavatory is corresponding It sets.
Information feedback module 140, for estimating queue number and lavatory position for each target lavatory is corresponding Feed back to the user terminal.
Through this embodiment, user can recognize that the queue number information of multiple lavatories and each lavatory are corresponding Position, and then to go which lavatory to go to toilet according to own situation determination, help user to be reduced as far as its cost of going to toilet Time in queuing.On the other hand, the present embodiment is capable of the utilization rate of balanced each lavatory, avoids the occurrence of previous because of user The queue number situation for not knowing about other lavatories completely, fears to waste time and dare not arrive uncomprehending lavatory and observe conditions, The part lavatory queue number that appearance can only be lined up in fixed lavatory is numerous, and the situation that part lavatory no one uses.
In one embodiment, the number position determination module 130, comprising:
Monitor video acquisition submodule 210, the monitoring uploaded for obtaining monitor terminal corresponding with each target lavatory Video data.
Lavatory number determines submodule 220, for analyzing the monitor video data, determines currently in each mesh Mark the lavatory number in lavatory.
Queue number determines submodule 230, for the corresponding lavatory number of each target lavatory is corresponding pre- as its Estimate queue number.
In one embodiment, the queue number determines submodule 230, comprising:
Number of requests determination unit 231, for determining, each target lavatory is corresponding from other in predetermined time section The number of requests of the lavatory information inquiring request of user terminal.
First queue number determination unit 232, for being lower than default number of requests when the corresponding number of requests of target lavatory When threshold value, queue number is estimated using the corresponding lavatory number of the target lavatory as corresponding.
Second queue number determination unit 233, for being not less than default number of request when the corresponding number of requests of target lavatory When measuring threshold value, the corresponding number of requests of the target lavatory is handled, online request number is obtained, to the online request Number lavatory number corresponding with the target lavatory is summed, and number is finally estimated, and finally estimates number for described Queue number is estimated as the target lavatory is corresponding.
Specifically, the second queue number determination unit 233 is also used to when the corresponding number of requests of target lavatory is not low When default number of requests threshold value, using user terminal identification as differentiation foundation, from the corresponding number of requests of the target lavatory In determine it is corresponding with the target lavatory several request users;Determine that lavatory information corresponding with each request user is looked into Ask the quantity forwarded of request;It is that each request user determines corresponding authenticity rank according to the quantity forwarded;It determines each The corresponding request number of users of authenticity rank and preset true coefficient;To the request number of users and preset true coefficient Default calculating is carried out, obtains online request number, lavatory number corresponding with the target lavatory to the online request number Sum, finally estimated number, using it is described finally estimate number as the target lavatory it is corresponding estimate be lined up people Number.
In one embodiment, the information feedback module 140, comprising:
Route form determines submodule 310, for determining the user position to the lavatory of each target lavatory Institute position is respectively necessary for the route form used.
The first information feeds back submodule 320, needs for the lavatory position when the user position to target lavatory When the route form used is elevator form, obtain current elevator operation information, by the current elevator operation information with it is described Target lavatory is corresponding to estimate queue number and lavatory position feeds back to the user terminal together.
In one embodiment, the information feedback module 140, comprising:
Route information acquisition submodule 410, for obtaining the user position to the lavatory of each target lavatory The corresponding route information in institute position.
Second information feeds back submodule 420, for estimating the route information is corresponding with each target lavatory Queue number and lavatory position feed back to the user terminal together.
In one embodiment, lavatory information query device provided by the invention is executing the user position acquisition Before the corresponding function of module 110, also execute with the corresponding function of lower module:
Bind request receiving module 101, it is described to tie up for receiving the user position bind request of user terminal transmission The location information that fixed request is filled in comprising user.
Processing module 102 is bound, for the unique end mark write-in of the location information and the user terminal is whole End position mapping table.
In one embodiment, the user position obtains module 110, comprising:
First user position acquisition submodule 111, for including new position when the lavatory information inquiring request When information, using the location information as user position.
Second user position acquisition submodule 112, for not including new when the lavatory information inquiring request When location information, pre- tie up corresponding with the unique end of user terminal mark is determined from preset terminal location mapping table Location information is determined, using the pre-binding location information as user position.
It is looked into it should be noted that lavatory information query device provided in an embodiment of the present invention can be realized above-mentioned lavatory information The function that embodiment of the method is realized is ask, the specific implementation of function is referring to the description in above-mentioned lavatory information query method, herein It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer program, the program Above-mentioned lavatory information query method is realized when being executed by processor.Wherein, the storage medium includes but is not limited to any type Disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, read-only memory), RAM (Random AcceSS Memory, immediately memory), EPROM (EraSable Programmable Read-Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically EraSable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or light card.It is, storage Medium includes by equipment (for example, computer) with any medium for the form storage or transmission information that can be read.It can be read-only Memory, disk or CD etc..
The embodiment of the present invention also provides a kind of computer equipment, and the computer equipment includes:
One or more processors 710;
Storage device 720, for storing one or more programs 700,
When one or more of programs 700 are executed by one or more of processors 710, so that one or more A processor 710 realizes above-mentioned lavatory information query method.
It is illustrated in figure 3 the structural schematic diagram of computer equipment of the present invention, including processor 710, storage device 720, defeated Enter the devices such as unit 730 and display unit 740.It will be understood by those skilled in the art that structure devices shown in Fig. 3 not structure The restriction of pairs of all computer equipments may include than illustrating more or fewer components, or the certain components of combination.Storage Device 720 can be used for storing application program 700 and each functional module, and the operation of processor 710 is stored in answering for storage device 720 With program 700, thereby executing the various function application and data processing of equipment.Storage device 720 can be built-in storage or External memory, or including both built-in storage and external memory.Built-in storage may include read-only memory, programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory or random storage Device.External memory may include hard disk, floppy disk, ZIP disk, USB flash disk, tape etc..Storage device disclosed in this invention includes but not It is limited to the storage device of these types.Storage device 720 disclosed in this invention is only used as example rather than as restriction.
Input unit 730 is used to receive the input of signal, and the correlations such as selection voice document for receiving user's input are asked It asks.Input unit 730 may include touch panel and other input equipments.Touch panel collects user on it or nearby Touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel or in touch panel Neighbouring operation), and corresponding attachment device is driven according to a pre-set procedure;Other input equipments may include but unlimited In one of physical keyboard, function key (for example playing control button, switch key etc.), trace ball, mouse, operating stick etc. or It is a variety of.Display unit 740 can be used for showing user input information or be supplied to user information and computer equipment it is each Kind menu.The forms such as liquid crystal display, Organic Light Emitting Diode can be used in display unit 740.Processor 710 is computer equipment Control centre be stored in storage by running or executing using the various pieces of various interfaces and the entire computer of connection Software program and/or module in device 720, and the data being stored in storage device are called, it performs various functions and locates Manage data.
In one embodiment, computer equipment includes one or more processors 710, and one or more storage dresses 720 are set, one or more application program 700, wherein one or more of application programs 700 are stored in storage device 720 In and be configured as being executed by one or more of processors 710, one or more of application programs 700 are configured to hold Lavatory information query method described in row above embodiments.
It should be understood that although each step in the flow chart of attached drawing is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, can execute in the other order.Moreover, at least one in the flow chart of attached drawing Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, execution sequence, which is also not necessarily, successively to be carried out, but can be with other At least part of the sub-step or stage of step or other steps executes in turn or alternately.
It should be understood that each functional unit in various embodiments of the present invention can be integrated in a processing module, It can be physically existed alone, can also be integrated in two or more units in a module with each unit.It is above-mentioned integrated Module both can take the form of hardware realization, can also be realized in the form of software function module.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of lavatory information query method characterized by comprising
The lavatory information inquiring request that user terminal is sent is received, is obtained and the lavatory information inquiring request association user place Position;
Several target lavatories of the distance between determining and described user position within the scope of pre-determined distance;
It determines that each target lavatory is corresponding and estimates queue number and lavatory position;
By corresponding queue number and the lavatory position feedback estimated of each target lavatory to the user terminal.
2. lavatory information query method as described in claim 1, which is characterized in that
The each target lavatory of determination is corresponding to estimate queue number and location information, comprising:
Obtain the monitor video data that monitor terminal corresponding with each target lavatory uploads;
The monitor video data are analyzed, determine the currently lavatory number in each target lavatory;
Corresponding queue number is estimated using the corresponding lavatory number of each target lavatory as its.
3. lavatory information query method as claimed in claim 2, which is characterized in that
It is described corresponding to estimate queue number using the corresponding lavatory number of each target lavatory as its, comprising:
Determine the corresponding lavatory information inquiring request from other users terminal of each target lavatory in predetermined time section Number of requests;
If the corresponding number of requests of target lavatory is lower than default number of requests threshold value, by the corresponding lavatory people of the target lavatory Number estimates queue number as corresponding;
If the corresponding number of requests of target lavatory is not less than default number of requests threshold value, request corresponding to the target lavatory Quantity is handled, and online request number is obtained;
It sums to online request number lavatory number corresponding with the target lavatory, is finally estimated number;
Using described number finally is estimated as the target lavatory is corresponding estimate queue number.
4. lavatory information query method as described in claim 1, which is characterized in that
It is described by corresponding queue number and the lavatory position feedback estimated of each target lavatory to the user terminal, packet It includes:
The lavatory position for determining the user position to each target lavatory is respectively necessary for the route form used;
If the user position needs the route form used for elevator form to the lavatory position of target lavatory, obtain Current elevator operation information estimates queue number and lavatory for the current elevator operation information is corresponding with the target lavatory Institute position feeds back to the user terminal together.
5. lavatory information query method as described in claim 1, which is characterized in that
It is described by corresponding queue number and the lavatory position feedback estimated of each target lavatory to the user terminal, packet It includes:
Obtain the user position to each target lavatory the corresponding route information in lavatory position;
Estimate corresponding with each target lavatory of the route information is fed back to together with queue number and lavatory position The user terminal.
6. lavatory information query method as described in claim 1, which is characterized in that
It is described receive user terminal send lavatory information inquiring request, include: before
The user position bind request that user terminal is sent is received, the bind request includes the position letter that user fills in Breath;
By the unique end of the location information and user terminal mark write-in terminal location mapping table.
7. lavatory information query method as described in claim 1, which is characterized in that
The acquisition and the lavatory information inquiring request association user position, comprising:
If the lavatory information inquiring request includes new location information, using the location information as user position;
If the lavatory information inquiring request does not include new location information, determined from preset terminal location mapping table Pre-binding location information corresponding with the unique end of user terminal mark;
Using the pre-binding location information as user position.
8. a kind of lavatory information query device characterized by comprising
User position obtains module, for receiving the lavatory information inquiring request of user terminal transmission, obtains and the lavatory Institute's information inquiring request association user position;
Target lavatory determining module, for the distance between determining and described user position within the scope of pre-determined distance Several target lavatories;
Number position determination module estimates queue number and lavatory position for determining that each target lavatory is corresponding;
Information feedback module, for by the corresponding queue number and lavatory position feedback estimated of each target lavatory to institute State user terminal.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor Such as claim 1-7 described in any item lavatory information query methods are realized when row.
10. a kind of computer equipment, which is characterized in that the computer equipment includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as the described in any item lavatory information query methods of claim 1-7.
CN201910198368.6A 2019-03-15 2019-03-15 Lavatory information query method, device, medium and computer equipment Pending CN110097204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910198368.6A CN110097204A (en) 2019-03-15 2019-03-15 Lavatory information query method, device, medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910198368.6A CN110097204A (en) 2019-03-15 2019-03-15 Lavatory information query method, device, medium and computer equipment

Publications (1)

Publication Number Publication Date
CN110097204A true CN110097204A (en) 2019-08-06

Family

ID=67443066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910198368.6A Pending CN110097204A (en) 2019-03-15 2019-03-15 Lavatory information query method, device, medium and computer equipment

Country Status (1)

Country Link
CN (1) CN110097204A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110766243A (en) * 2019-12-30 2020-02-07 恒大智慧科技有限公司 Scenic spot toilet recommendation method, device and system
CN111637891A (en) * 2020-05-06 2020-09-08 北京小趣智品科技有限公司 Toilet positioning method and system
CN112801514A (en) * 2021-01-30 2021-05-14 崔向棠 Toilet planning recommendation method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015043212A1 (en) * 2013-09-24 2015-04-02 Tencent Technology (Shenzhen) Company Limited Address information input method,acquisition method, apparatus,device and system
CN106652147A (en) * 2016-12-12 2017-05-10 上海斐讯数据通信技术有限公司 Queuing people number inquiring device and method
CN107766957A (en) * 2017-10-16 2018-03-06 深圳正品创想科技有限公司 A kind of recommendation method and device of lavatory
CN108376157A (en) * 2018-02-08 2018-08-07 腾讯科技(深圳)有限公司 Target user's querying method, system and device
CN108711082A (en) * 2018-03-26 2018-10-26 广东小天才科技有限公司 Recommend method, apparatus, Server for catering and storage medium in dining room

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015043212A1 (en) * 2013-09-24 2015-04-02 Tencent Technology (Shenzhen) Company Limited Address information input method,acquisition method, apparatus,device and system
CN106652147A (en) * 2016-12-12 2017-05-10 上海斐讯数据通信技术有限公司 Queuing people number inquiring device and method
CN107766957A (en) * 2017-10-16 2018-03-06 深圳正品创想科技有限公司 A kind of recommendation method and device of lavatory
CN108376157A (en) * 2018-02-08 2018-08-07 腾讯科技(深圳)有限公司 Target user's querying method, system and device
CN108711082A (en) * 2018-03-26 2018-10-26 广东小天才科技有限公司 Recommend method, apparatus, Server for catering and storage medium in dining room

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110766243A (en) * 2019-12-30 2020-02-07 恒大智慧科技有限公司 Scenic spot toilet recommendation method, device and system
CN111637891A (en) * 2020-05-06 2020-09-08 北京小趣智品科技有限公司 Toilet positioning method and system
CN112801514A (en) * 2021-01-30 2021-05-14 崔向棠 Toilet planning recommendation method and system

Similar Documents

Publication Publication Date Title
CN110097204A (en) Lavatory information query method, device, medium and computer equipment
CN106205186B (en) A kind of method and terminal for recommending parking position
CN109348237B (en) Live broadcast room management method and device, server and storage medium
US11961017B2 (en) Roomfinder platform
Marianov et al. Probabilistic, maximal covering location—allocation models forcongested systems
US9703285B2 (en) Fair share scheduling for mixed clusters with multiple resources
CN109978356A (en) Mark method for allocating tasks, device, medium and computer equipment
JP5028469B2 (en) Information processing apparatus, resource schedule method, and resource schedule program
US20110081634A1 (en) Behaviour Pattern Analysis System, Mobile Terminal, Behaviour Pattern Analysis Method, and Program
KR20080024155A (en) Facilitating automated meeting scheduling
CN110363319B (en) Resource allocation method, server, resource claim method and client
CN109597853A (en) Business scenario element sequence generation method, device, medium and computer equipment
US10990909B2 (en) Predicting resource availability based on user profile data
CN110968905B (en) House space area allocation method and device, storage medium and electronic equipment
CN110858423A (en) Queuing scheme, queue pushing method and processing system
CN109614347A (en) Processing method, device, storage medium and the server of multi-level buffer data
CN110287009A (en) A kind of working node selection method, device, storage medium and server
CN109152061A (en) Channel agility method, apparatus, server and storage medium
JP2012208613A (en) Behavior condition estimation system and method thereof
CN110287022A (en) A kind of scheduling node selection method, device, storage medium and server
CN111798013B (en) Conference reservation processing method and device
CN111428900A (en) Conference room management method and device, electronic equipment and storage medium
KR20130071755A (en) Service server and terminal for providing service based on prediction of user's behavior
CN112163684A (en) Visual room reservation navigation system and method based on campus indoor map
JP2011095942A (en) System for reservation of using shared facility

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
AD01 Patent right deemed abandoned

Effective date of abandoning: 20231229

AD01 Patent right deemed abandoned