CN104867198B - Queuing time acquiring method and queuing time acquiring apparatus - Google Patents
Queuing time acquiring method and queuing time acquiring apparatus Download PDFInfo
- Publication number
- CN104867198B CN104867198B CN201510114297.9A CN201510114297A CN104867198B CN 104867198 B CN104867198 B CN 104867198B CN 201510114297 A CN201510114297 A CN 201510114297A CN 104867198 B CN104867198 B CN 104867198B
- Authority
- CN
- China
- Prior art keywords
- time
- duration
- target place
- user
- queuing
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C1/00—Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
- G07C1/10—Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention discloses a queuing time acquiring method and a queuing time acquiring apparatus, and belongs to the technical field of computers. The method comprises: acquiring a visiting starting time and a visiting ending time of each user in the visited target place according to the terminal carried by the user; determining the staying time of each user in the target place according to the visiting starting time and the visiting ending time; and acquiring the queuing time corresponding to the target place according to each staying time. With the method and the apparatus of the present invention, the problem that how to acquire the queuing time in the prior art is solved, and the queuing time of the user in the target place can be achieved.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of queuing duration acquisition methods and device.
Background technology
At present, many places all have that user needs to wait in line.Such as, user is in airport security, user
Needs are waited in line;When user calls a taxi AT STATION, user needs to wait in line;When user goes to restaurant to have a meal, user needs to queue up
Wait.
In order to realize user being carried out reminding in the queuing duration needed for target place and then helps user reasonably to pacify
Row is discharged, the queuing duration how is obtained and is had become the current urgent problem of computer realm technical staff.
The content of the invention
How user is obtained in order to solve the problems, such as prior art in the queuing duration needed for target place, the present invention
Embodiment provides a kind of queuing duration acquisition methods and device.The technical scheme is as follows:
A kind of first aspect, there is provided queuing duration acquisition methods, including:
The access initial time and access that each user in access target place is obtained according to the terminal that user carries terminates
Time;
Determine stay time of each user in target place with the end time is accessed according to initial time is accessed;
Queuing duration according to corresponding to each stay time obtains target place.
Alternatively, access initial time and the visit of each user in access target place are obtained according to the terminal that user carries
The end time is asked, including:
Obtain the broadcast singal that the terminal that each user used is sent in target place with preset frequency, broadcast singal
Including adopting wireless fidelity technology Wi-Fi signal and/or Bluetooth signal;
According to the acquisition time of each broadcast singal, it is determined that accessing initial time and accessing the end time.
Alternatively, according to the acquisition time of each broadcast singal, it is determined that access initial time and access the end time, bag
Include:
If a monitoring device is provided with target place, when monitoring device to be got first the acquisition of broadcast singal
Between be defined as accessing initial time, the acquisition time that monitoring device last time gets broadcast singal is defined as access and terminates
Time;
If the entrance and exit of target place is respectively arranged with the first monitoring device and the second monitoring device, by the first prison
Control equipment get first the acquisition time of broadcast singal be defined as access initial time, by the second monitoring device last time obtain
The acquisition time for getting broadcast singal is defined as accessing the end time.
Alternatively, the queuing duration according to corresponding to each stay time obtains target place, including:
Obtain the Business Processing duration corresponding to target place;
By stay time of each user in target place and the difference of Business Processing duration, as user in target field
In reference queuing duration;
According to calculated each queuing duration with reference to corresponding to queuing duration obtains target place.
Alternatively, according to calculated each queuing duration with reference to corresponding to queuing duration obtains target place, bag
Include:
According to each, with reference to the duration acquiring size of queuing duration, each duration for referring to queuing duration is distributed;
Gone unless each with reference to the interference queuing duration in queuing duration according to duration distribution;
Calculate it is remaining each with reference to queuing duration meansigma methodss, queuing meansigma methodss being defined as corresponding to target place
Duration.
Second aspect, there is provided a kind of queuing duration acquisition device, the device includes:
Time-obtaining module, the terminal for being carried according to user obtains the access of each user in access target place and rises
Time beginning and access end time;
Stay time determining module, for the access initial time that got according to time-obtaining module and at the end of accessing
Between determine stay time of each user in target place;
Queuing duration acquisition module, each stay time for being determined according to stay time determining module obtains target field
Corresponding queuing duration.
Alternatively, the time-obtaining module, including:
Signal acquiring unit, for obtaining what the terminal that each user is used was sent in target place with preset frequency
Broadcast singal, broadcast singal includes adopting wireless fidelity technology Wi-Fi signal and/or Bluetooth signal;
Time acquisition unit, for getting the acquisition time of each broadcast singal according to signal acquiring unit, it is determined that visiting
Ask initial time and access the end time.
Alternatively, the time acquisition unit, including:
First obtains subelement, for being provided with target place during a monitoring device, monitoring device is obtained first
The acquisition time for getting broadcast singal is defined as accessing initial time, and monitoring device last time is got into obtaining for broadcast singal
The time of taking is defined as accessing the end time;
Second obtains subelement, for being respectively arranged with the first monitoring device and second in the entrance and exit of target place
During monitoring device, the acquisition time that the first monitoring device gets first broadcast singal is defined as to access initial time, by the
Two monitoring devices last time get broadcast singal the acquisition time be defined as access the end time.
Alternatively, the queuing duration acquisition module, including:
First acquisition unit, for obtaining the Business Processing duration corresponding to target place;
Second acquisition unit, for the stay time by each user in target place and the difference of Business Processing duration
Value, the reference queuing duration as user in target place;
3rd acquiring unit, for obtaining target field with reference to queuing duration according to calculated each of second acquisition unit
Corresponding queuing duration.
Alternatively, the 3rd acquiring unit, including:
Duration distributed acquisition subelement, for each reference to be queued up with reference to the duration acquiring size of queuing duration according to each
The duration distribution of duration;
Interference duration removes subelement, and the duration distribution for being acquired according to duration distributed acquisition subelement removes each
Interference queuing duration in individual reference queuing duration;
Queuing duration obtain subelement, for calculate it is remaining each with reference to queuing duration meansigma methodss, meansigma methodss are true
The queuing duration being set to corresponding to target place.
The beneficial effect of technical scheme provided in an embodiment of the present invention is:
By obtaining access time started and access end time of each user in target place, then according to visit
Ask that time started and access end time determine stay time of each user in target place, obtained according to each stay time
Take the queuing duration corresponding to target place;Solve the problems, such as queuing duration how is obtained in prior art;Having reached can be with
Obtain the effect of queuing duration of the user in target place.
Description of the drawings
Technical scheme in order to be illustrated more clearly that the embodiment of the present invention, below will be to making needed for embodiment description
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, can be obtaining other according to these accompanying drawings
Accompanying drawing.
Fig. 1 is the method flow diagram of the queuing duration acquisition methods that one embodiment of the invention is provided;
Fig. 2 is the method flow diagram of the queuing duration acquisition methods that another embodiment of the present invention is provided;
Fig. 3 is the method flow diagram of the queuing duration acquisition methods that yet another embodiment of the invention is provided;
Fig. 4 is the block diagram of the queuing duration acquisition device that one embodiment of the invention is provided;
Fig. 5 A are the block diagrams of the queuing duration acquisition device that another embodiment of the present invention is provided;
Fig. 5 B are the block diagrams of the time acquisition unit that another embodiment of the present invention is provided;
Fig. 5 C are the block diagrams of the 3rd acquiring unit that another embodiment of the present invention is provided.
Specific embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing the present invention is made into
One step ground is described in detail, it is clear that described embodiment is only present invention some embodiments, rather than the enforcement of whole
Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made
All other embodiment, belongs to the scope of protection of the invention.
Fig. 1 is refer to, the method flow diagram of the queuing duration acquisition methods of one embodiment of the invention offer is provided,
As shown in figure 1, the queuing duration acquisition methods can include:
Step 101, obtained according to the terminal that user carries each user in access target place access initial time and
Access the end time.
Step 102, stop of each user in target place is determined according to initial time is accessed with the end time is accessed
Duration.
Step 103, the queuing duration according to corresponding to each stay time obtains target place.
In sum, the queuing duration acquisition methods that the present embodiment is provided, by obtaining each user in target place
The access time started and access the end time, then according to access the time started and access the end time determine each user
Stay time in target place, the queuing duration according to corresponding to each stay time obtains target place;Solve existing
There is the problem that queuing duration how is obtained in technology;The effect of the queuing duration that can obtain user in target place is reached
Really.
It should be noted that above-mentioned queuing duration acquisition methods can be used in monitoring system, and when actually realizing,
The monitoring system can include:
(1), monitoring device.
(2), monitoring device and the server that is connected with the monitoring device by wired or wireless network.
So, it is following in different embodiments above-mentioned two situations to be illustrated respectively.
Fig. 2 is refer to, the method flow diagram of the queuing duration acquisition methods of one embodiment of the invention offer is provided,
The present embodiment is used to be illustrated in the monitoring system comprising monitoring device with the queuing duration acquisition methods.As shown in Fig. 2
The queuing duration acquisition methods can include:
Step 201, monitoring device obtains what the terminal that each user used was sent in target place with preset frequency
Broadcast singal, broadcast singal includes Wi-Fi signal and/or Bluetooth signal.
When Wi-Fi (wireless fidelity, the adopting wireless fidelity technology) function in terminal is opened, terminal can be with
Wi-Fi signal is constantly sent with preset frequency;When the Bluetooth function in terminal is opened, terminal can be continuous with preset frequency
Send Bluetooth signal.
Trade company can install monitoring device in target place, and in user's carried terminal the prison corresponding to monitoring device is entered
After control region, the monitoring device can get the broadcast singal that terminal is constantly sent with preset frequency.Broadcast singal can be with
For in Wi-Fi signal or Bluetooth signal, and broadcast singal can with the MAC of carried terminal (Media Access Control,
Media access control) address, monitoring device can be by the MAC Address of terminal that carries in broadcast singal distinguishing different terminals
The broadcast singal of transmission.
In addition, target place can be:Airport security mouth, station ticketing spot, station call a taxi region, restaurant, tourist attractions,
Library or market etc..Monitoring device in target place may be mounted at entrance, outlet or the target of target place
Optional position in place.
In actual application scenarios, monitoring device can have one can also have multiple.Such as, trade company can be in target
The entrance and exit in place is respectively mounted a monitoring device.And in order to avoid the monitor area corresponding to a monitoring device
Cannot coverage goal place Zone Full problem, trade company can in target place it is distributed install it is multiple monitoring set
It is standby;Certainly, trade company can to install two or more monitoring device simultaneously in same position, the present embodiment to this simultaneously
Do not limit.
Step 202, monitoring device is according to acquisition time of each broadcast singal, it is determined that accessing initial time and accessing knot
The beam time.
Monitoring device is got after each broadcast singal that each terminal sends, and monitoring device can be recorded and got respectively
The acquisition time of each broadcast singal that individual terminal sends, and the acquisition time of each broadcast singal sent according to each terminal
To determine that each user accesses the access initial time of the target place and access end time.
Alternatively, this step can include:
(1) if, be provided with a monitoring device in target place, monitoring device is got first obtaining for broadcast singal
The time of taking is defined as accessing initial time, and the acquisition time that monitoring device last time gets broadcast singal is defined as accessing
End time.
If only one of which monitoring device in target place, send out from certain terminal when the monitoring device is received first
During the broadcast singal for sending, illustrate that the terminal has just reached the target place, now monitoring device can will get the broadcast letter
Number time be defined as the access initial time in user's access target place.
Because terminal can constantly send broadcast singal with preset frequency, so monitoring when terminal rests on target place
Equipment can accordingly receive multiple broadcast singals that the terminal is continuously transmitted.And when user leaves target place, terminal
The monitor area of monitoring device may be had moved away from, namely monitoring device possibly cannot get the broadcast letter that the terminal sends
Number, so monitoring device can be defined as the acquisition time that last time gets broadcast singal accessing the end time.
Wherein, the broadcast singal that last time is obtained is referred to:With last in multiple broadcast singals that preset frequency is obtained
One broadcast singal, wherein, there are no other broadcast singals in the predetermined amount of time after last broadcast singal.
Such as, monitoring device is continuously acquired after multiple broadcast singals, continues not continuing to from same for 5 minutes
The new broadcast singal of terminal, then now, in multiple broadcast singals that monitoring device is continuously acquired before can getting
Acquisition time of last broadcast singal be defined as the access end time that user accesses the target place.
(2) if, the entrance and exit of target place be respectively arranged with the first monitoring device and the second monitoring device, by
One monitoring device get first the acquisition time of broadcast singal be defined as access initial time, by the second monitoring device last
The secondary acquisition time for getting broadcast singal is defined as accessing the end time.
It is and above-mentioned if the entrance and exit of target place is respectively arranged with the first monitoring device and the second monitoring device
Similarly, the first monitoring device can determine the acquisition time for getting the broadcast singal of terminal transmission first implementation
For the access initial time in user's access target place.
Similar, when the second monitoring device for being arranged on outlet obtains the broadcast singal less than terminal transmission, the second prison
Control equipment can determine that the terminal may have been moved off the target place, so the second monitoring device can obtain last time
The acquisition time to broadcast singal is defined as accessing the end time.
Wherein, the broadcast singal that last time is obtained is referred to:With last in multiple broadcast singals that preset frequency is obtained
One broadcast singal, wherein, there are no other broadcast singals in the predetermined amount of time after last broadcast singal.
Step 203, monitoring device determines each user in target place according to initial time and access end time is accessed
In stay time.
After monitoring device gets the access time started of each user and accesses the end time, monitoring device can be with
Determine stay time of each user in target place with the end time is accessed according to the time started is accessed.
Alternatively, when monitoring device only one of which, for each user, monitoring device can calculate the access of the user
End time and the difference for accessing the time started, using stay time of the difference as the user in target place.
When monitoring device includes the first monitoring device and the second monitoring device, can arrange one of monitoring device is
Main monitoring device, another monitoring device is, from monitoring device, the time for getting to be sent to main monitoring device from monitoring device,
Main monitoring device Time Calculation each user stopping in target place that itself is obtained according to the time for receiving and before
Stay duration.
Such as, the monitoring device based on the second monitoring device, the first monitoring device is the first monitoring from as a example by monitoring device
After the access initial time for getting user, the first monitoring device can send the access initial time to the second prison to equipment
Control equipment.Hereafter, when the second monitoring device gets the access end time of the user, the second monitoring device can calculate visit
Ask the end time and access the difference of initial time, using stay time of the difference as the user in target place.
Step 204, queuing duration of the monitoring device according to corresponding to each stay time obtains target place.
After monitoring device gets stay time of each user in target place, monitoring device can be according to each
Individual stay time obtains the queuing duration corresponding to target place.
Alternatively, this step can include:
(1), according to the duration distribution of each stay time of the acquiring size of each stay time.
Monitoring device can carry out ranking according to the duration size of each stay time to each stay time.
(2), the interference stay time gone in stay time unless each according to duration distribution.
Alternatively, this step can include:
A), remove ranking front N% and ranking rear M% stay time.
Because stay time is long or the too short individual subscriber reason that is all possibly due to of stay time causes, can not be anti-
The Normal residence situation of domestic consumer is answered, so monitoring device can go in stay time unless each ranking in front N% and row
Stay time of the name in rear M%.Wherein, N and M can be the same or different.Such as, monitoring device removes ranking front 5%
And ranking is in rear 10% stay time.
B), remove ranking top N and ranking rear M positions stay time.
With above-mentioned implementation similarly, monitoring device can also remove ranking in top N and ranking in rear M positions
Stay time.
C), predetermined number interval is divided according to ranking percentage ratio, is carried out according to the difference of stay time in each interval
Ranking, removes stay time of the ranking in the interval of rear n positions.Wherein, n is less than predetermined number.
Such as, each stay time is divided to 4 intervals by monitoring device according to ranking percentage ratio, namely ranking 0~
25%th, 25%~50%, 50%~75% and 75%~100%4 interval, the difference point of the stay time in each interval
Wei 15 minutes, 8 minutes, 7 minutes and 20 minutes;The stay time for then illustrating each user due to the less interval of difference is more
Be close to, can more react the Normal residence duration of user, thus monitoring device can to remove wherein ranking for example rear 2 in rear n positions
I.e. in 0~25% and 75%~100% stay time in interval.
D), the number of the stay time in unit of account time interval, according to the number of stay time ranking is carried out, and is removed
Stay time of the ranking in the unit time of rear m positions.
Such as, with the minimum stay time of duration in each stay time such as 12 minutes as starting point, calculating was every 5 minutes
The number of stay time, namely calculate 12~17 minutes, 17~22 minutes, 22 minutes~27 minutes .... the stop in each section
The number of duration, then according to the number of stay time carries out ranking;Because the number of stay time in unit interval is got over
It is many, illustrate that the user that the stay time is stopped in target place is also more, can more react the Normal residence duration of user, institute
So that in order to remove interference stay time, monitoring device can remove stay time of the ranking in each section of latter 4.
Certainly, when actually realizing, monitoring device can also be gone in stay time unless each by other minimizing technologies
Interference stay time, the present embodiment is the removing method to its actual realization by taking above-mentioned several possible implementations as an example
Do not limit.
(3) meansigma methodss of remaining each stay time, queuing meansigma methodss being defined as corresponding to target place, are calculated
Duration.
After going to disturb unless each stay time, monitoring device can calculate the average of remaining each stay time
Value, the queuing duration calculated meansigma methodss being defined as corresponding to target place.
Because user generally needs certain traffic handling time, namely user's reality in target place during transacting business
Queuing duration be stay time of the user in target place and Business Processing duration difference, so alternatively, this step
It is also implemented as:
(1) the Business Processing duration corresponding to target place, is obtained.
A length of each user is required during transacting business in target place during the Business Processing averagely takes.Such as,
For a certain restaurant, the average meal time of each user is 30 minutes, then the Business Processing duration is 30 minutes;It is right
For airport, a length of 5 minutes during the average safety check of user, then the Business Processing duration is 5 minutes.
(2) stay time, by each user in target place and the difference of Business Processing duration, as user in mesh
Reference queuing duration in mark place.
(3), according to calculated each queuing duration with reference to corresponding to queuing duration obtains target place.
Alternatively, this step can include:
A), according to each, with reference to the duration acquiring size of queuing duration, each duration for referring to queuing duration is distributed.
B), gone unless each with reference to the interference queuing duration in queuing duration according to duration distribution.
C), calculate it is remaining each with reference to queuing duration meansigma methodss, meansigma methodss are defined as corresponding to target place
Queuing duration.
This is similar with above-mentioned implementation, and the present embodiment will not be described here.
Require supplementation with explanation is a bit, because the flow of the people in same place in different time sections may be different,
Namely the queuing duration of user may be different, so the accuracy in order to improve the queuing duration for currently getting, prison
Control equipment can calculate queuing duration according to the stay time of each user that target place is left in predetermined amount of time before,
Namely step 204 can include:Monitoring device is stopped according to each user's that target place is left in nearest predetermined amount of time
Duration is stayed to obtain the queuing duration corresponding to target place.Specifically, monitoring device can select to be accessed in each stay time
Stay time of the end time before predetermined amount of time before is such as in 10 minutes, obtains according to the stay time for selecting to obtain
Take the queuing duration corresponding to target place.Certainly, monitoring device can also directly calculate in step 203 the access end time
The stay time of each user in predetermined amount of time before, afterwards in step 204 directly according to determine each stop
Duration is stayed to obtain the queuing duration corresponding to target place, this enforcement is not limited this.
Explanation is needed on the other hand, after monitoring device gets queuing duration, in order to realize that user is carried
Wake up, monitoring device can show the queuing duration, so, the queuing duration that user can show according to monitoring device is reasonably pacified
Arrange the trip of oneself.Or, monitoring device can also send the queuing duration for getting to server, by server to user
The queuing duration is pushed, user is according to the queuing duration for receiving come the trip of reasonable arrangement oneself.
In an application scenarios of the present embodiment, so that target place is for airport security mouth as an example, monitoring device can be with root
The Wi-Fi signal that sent of mobile phone that the passenger of safety check carries or Bluetooth signal is waited to determine every passenger in peace according to everybody
The stay time of inspection mouth, then left in 10 minutes according to before security check individual passenger stay time come obtain it is current this
The queuing duration that security check may need.So, other need the user of safety check in the queuing needed for knowing each security check
After length, user can select the shorter security check of queuing duration to carry out safety check.Or according to the boarding time of oneself judging
Whether start to wait in line safety check.
In another application scenarios of the present embodiment, as a example by the region of calling a taxi with target place as station, monitoring device
Wi-Fi signal that the mobile phone of individual passenger called a taxi according to waiting is sent or Bluetooth signal are determining every passenger in waiting
The waiting duration called a taxi, then got to the waiting duration of the passenger that car leaves in 5 minutes according to before and beats to calculate user and queue up
Queuing duration needed for car.So, monitoring device to other users for calling a taxi of needs show the queuing duration when, user can root
Determine it is to queue up to call a taxi to go home according to queuing duration, still ride in a bus and go home.
In another application scenarios of the present embodiment, so that target place is as restaurant as an example, monitoring device is according to coming restaurant just
The Wi-Fi signal that sent of mobile phone of every guest of meal or Bluetooth signal, determine every guest from waiting dining to having dinner
The total duration of end, calculates the total duration of the front guest for leaving the restaurant for 20 minutes and the difference of normal dining duration, and this is poor
Value as the front guest for leaving the restaurant for 20 minutes equipotential duration, finally according to needed for each equipotential duration calculation restaurant
Queuing duration, and the queuing duration is sent to server.So after the queuing duration that server receives Duo Jia restaurants, clothes
Each queuing duration can be pushed to user by business device, and which meal user can determine according to the queuing duration in each restaurant
Have dinner in shop.
In sum, the queuing duration acquisition methods that the present embodiment is provided, by obtaining each user in target place
The access time started and access the end time, then according to access the time started and access the end time determine each user
Stay time in target place, the queuing duration according to corresponding to each stay time obtains target place;Solve existing
There is the problem that queuing duration how is obtained in technology;The effect of the queuing duration that can obtain user in target place is reached
Really.
The present embodiment is it is determined that after the stay time of each user, calculate each stay time with Business Processing duration
Difference, so according to it is calculated each with reference to queuing duration obtaining queuing duration, improve the queuing duration of acquisition
Accuracy.
Meanwhile, after monitoring device gets queuing duration, monitoring device can provide a user with the queuing duration, reach
To can provide in the queuing duration needed for target place user, and then user is helped reasonably to arrange what is gone on a journey
Effect.
Fig. 3 is refer to, the method flow diagram of the queuing duration acquisition methods of one embodiment of the invention offer is provided,
The present embodiment is used to be illustrated in the monitoring system comprising monitoring device and server with the queuing duration acquisition methods.Such as
Shown in Fig. 3, the queuing duration acquisition methods can include:
Step 301, monitoring device obtains what the terminal that each user used was sent in target place with preset frequency
Broadcast singal, broadcast singal includes Wi-Fi signal and/or Bluetooth signal.
When the Wi-Fi functions in terminal are opened, terminal can constantly send Wi-Fi signal with preset frequency;Work as end
When Bluetooth function in end is opened, terminal can constantly send Bluetooth signal with preset frequency.
Trade company can install monitoring device in target place, and in user's carried terminal the prison corresponding to monitoring device is entered
After control region, the monitoring device can get the broadcast singal that terminal is constantly sent with preset frequency.Broadcast singal can be with
Be able to be passed through with the MAC Address of carried terminal, monitoring device in Wi-Fi signal or Bluetooth signal, and broadcast singal
In broadcast singal carry terminal MAC Address come distinguish different terminals transmission broadcast singal.
Step 302, monitoring device is according to acquisition time of each broadcast singal, it is determined that accessing initial time and accessing knot
The beam time.
Monitoring device is got after each broadcast singal that each terminal sends, and monitoring device can be recorded and got respectively
The acquisition time of each broadcast singal that individual terminal sends, and the acquisition time of each broadcast singal sent according to each terminal
To determine that each user accesses the access initial time of the target place and access end time.
Alternatively, this step can include:
(1) if, be provided with a monitoring device in target place, monitoring device is got first obtaining for broadcast singal
The time of taking is defined as accessing initial time, and the acquisition time that monitoring device last time gets broadcast singal is defined as accessing
End time.
(2) if, the entrance and exit of target place be respectively arranged with the first monitoring device and the second monitoring device, by
One monitoring device get first the acquisition time of broadcast singal be defined as access initial time, by the second monitoring device last
The secondary acquisition time for getting broadcast singal is defined as accessing the end time.
Step 303, monitoring device sends the access initial time of each user for getting and accesses the end time to clothes
Business device.
Alternatively, when monitoring device has one, the monitoring device can directly transmit the access initial time for getting
And the end time is accessed to server.
Alternatively, when monitoring device includes the first monitoring device and the second monitoring device, the first monitoring device can be sent out
The access initial time of user is sent to server, and the access end time of the user is sent to service by the second monitoring device
Device.The present embodiment is not limited this.
Step 304, the access initial time and access end time that server sends according to monitoring device determines each use
Stay time of the family in target place.
Accordingly, at the end of server receives the access initial time of each user that monitoring device sends and accesses
Between, and for each user, server can calculate the difference for accessing the end time and accessing the time started, will calculate
To stay time of the difference as the user in target place.
Step 305, queuing duration of the server according to corresponding to each stay time obtains target place.
After server gets stay time of each user in target place, server can stop according to each
Duration is stayed to obtain the queuing duration corresponding to target place.
Alternatively, this step can include:
(1), according to the duration distribution of each stay time of the acquiring size of each stay time.
Monitoring device carries out ranking according to the size of each stay time to each stay time.
(3), the interference stay time gone in stay time unless each according to duration distribution.
Alternatively, this step can include:
A), remove ranking front N% and ranking rear M% stay time.
B), remove ranking top N and ranking rear M positions stay time.
C), predetermined number interval is divided according to ranking percentage ratio, is carried out according to the difference of stay time in each interval
Ranking, removes stay time of the ranking in the interval of rear n positions.Wherein, n is less than predetermined number.
D), the number of the stay time in unit of account time interval, according to the number of stay time ranking is carried out, and is removed
Stay time of the ranking in the unit time of rear m positions.
Certainly, when actually realizing, monitoring device can also be gone in stay time unless each by other minimizing technologies
Interference stay time, the present embodiment is the removing method to its actual realization by taking above-mentioned several possible implementations as an example
Do not limit.
(3) meansigma methodss of remaining each stay time, queuing meansigma methodss being defined as corresponding to target place, are calculated
Duration.
After going to disturb unless each stay time, monitoring device can calculate the average of remaining each stay time
Value, the queuing duration calculated meansigma methodss being defined as corresponding to target place.
Because user generally needs certain business handling time in target place during transacting business, namely user's reality
Queuing when stay time of a length of user in target place and business handling duration difference, so alternatively, this step
It is also implemented as:
(1) the Business Processing duration corresponding to target place, is obtained.
(3) stay time, by each user in target place and the difference of Business Processing duration, as user in mesh
Reference queuing duration in mark place.
(3), according to calculated each queuing duration with reference to corresponding to queuing duration obtains target place.
Alternatively, this step can include:
A), according to each, with reference to the duration acquiring size of queuing duration, each duration for referring to queuing duration is distributed.
B), gone unless each with reference to the interference queuing duration in queuing duration according to duration distribution.
C), calculate it is remaining each with reference to queuing duration meansigma methodss, meansigma methodss are defined as corresponding to target place
Queuing duration.
Step 305 is similar with the step 204 in above-described embodiment, detailed technology detail with reference above-described embodiment, this reality
Apply example will not be described here.
Require supplementation with explanation is a bit, because the flow of the people in same place in different time sections may be different,
Namely the queuing duration of user may be different, so the accuracy in order to improve the queuing duration for currently getting, clothes
Business device can calculate queuing duration according to the stay time of each user that target place is left in predetermined amount of time before,
I.e. step 305 can include:Server is according to during the stop of each user for leaving target place in nearest predetermined amount of time
The long queuing duration obtained corresponding to target place.Specifically, at the end of server can select to be accessed in each stay time
Between stay time before predetermined amount of time before is such as in 10 minutes, target is obtained according to the stay time for selecting to obtain
Queuing duration corresponding to place.Certainly, server can also in step 304 directly calculate access the end time it is pre- before
The stay time of each user fixed time in section, directly obtains according to each stay time for determining in step 305 afterwards
The queuing duration corresponding to target place is taken, this enforcement is not limited this.
Need explanation on the other hand, after server gets queuing duration, in order to realize that user is reminded,
Server can send the queuing duration to user, and so, user can reasonably arrange oneself according to the queuing duration for receiving
Trip.Server can also send the queuing duration that gets to monitoring device, by monitoring device show the queuing duration to
User, user can be according to the queuing duration of monitoring device displaying come the trip of reasonable arrangement oneself.
Require supplementation with explanation is more again that the present embodiment is simply sent with monitoring device and accesses initial time and access
End time, alternatively, monitoring device was it is determined that get each broadcast singal that each terminal sends to server
It is true according to each acquisition time for receiving by server after the acquisition time, you can send each acquisition time to server
The access initial time of fixed each user and access end time, the present embodiment is not limited this;Alternatively, monitoring sets
It is standby can be with it is determined that after stay time of each user in target place, directly transmitting the stay time of each user extremely
Server, the present embodiment is not also limited this.
In sum, the queuing duration acquisition methods that the present embodiment is provided, by obtaining each user in target place
The access time started and access the end time, then according to access the time started and access the end time determine each user
Stay time in target place, the queuing duration according to corresponding to each stay time obtains target place;Solve existing
There is the problem that queuing duration how is obtained in technology;The effect of the queuing duration that can obtain user in target place is reached
Really.
The present embodiment is it is determined that after the stay time of each user, calculate each stay time with Business Processing duration
Difference, so according to it is calculated each with reference to queuing duration obtaining queuing duration, improve the queuing duration of acquisition
Accuracy.
Meanwhile, after monitoring device gets queuing duration, monitoring device can provide a user with the queuing duration, reach
To can provide in the queuing duration needed for target place user, and then user is helped reasonably to arrange what is gone on a journey
Effect.
It should be noted that the monitoring device being related in above-mentioned each embodiment is not the conventional meaning of such as photographic head
On monitoring device, but be capable of detecting terminal send broadcast singal equipment.
Fig. 4 is refer to, the block diagram of the queuing duration acquisition device of one embodiment of the invention offer is provided,
As shown in figure 4, the queuing duration acquisition device can include:Time-obtaining module 410, stay time determining module 420 and row
Team's duration acquisition module 430.
Time-obtaining module 410, the terminal for being carried according to user obtains the visit of each user in access target place
Ask initial time and access the end time;
Stay time determining module 420, for the access initial time that got according to time-obtaining module 410 and access
End time determines stay time of each user in target place;
Queuing duration acquisition module 430, each stay time for being determined according to stay time determining module 420 is obtained
Queuing duration corresponding to target place.
In sum, the queuing duration acquisition device that the present embodiment is provided, by obtaining each user in target place
The access time started and access the end time, then according to access the time started and access the end time determine each user
Stay time in target place, the queuing duration according to corresponding to each stay time obtains target place;Solve existing
There is the problem that queuing duration how is obtained in technology;The effect of the queuing duration that can obtain user in target place is reached
Really.
Fig. 5 A are refer to, the structure square frame of the queuing duration acquisition device of one embodiment of the invention offer is provided
Figure, as shown in Figure 5A, the queuing duration acquisition device can include:Time-obtaining module 510, stay time determining module 520
With queuing duration acquisition module 530.
Time-obtaining module 510, the terminal for being carried according to user obtains the visit of each user in access target place
Ask initial time and access the end time;
Stay time determining module 520, for the access initial time that got according to time-obtaining module 510 and access
End time determines stay time of each user in target place;
Queuing duration acquisition module 530, each stay time for being determined according to stay time determining module 520 is obtained
Queuing duration corresponding to target place.
Alternatively, the time-obtaining module 510, including:
Signal acquiring unit 511, is sent out in target place for obtaining the terminal that each user is used with preset frequency
The broadcast singal for sending, broadcast singal includes adopting wireless fidelity technology Wi-Fi signal and/or Bluetooth signal;
Time acquisition unit 512, for getting the acquisition time of each broadcast singal according to signal acquiring unit, it is determined that
Access initial time and access the end time.
Alternatively, Fig. 5 B are refer to, the time acquisition unit 512, including:
First obtains subelement 512a, for being provided with target place during a monitoring device, monitoring device is first
The secondary acquisition time for getting broadcast singal is defined as accessing initial time, and monitoring device last time is got into broadcast singal
The acquisition time be defined as access the end time;
Second obtain subelement 512b, for the entrance and exit of target place be respectively arranged with the first monitoring device and
During the second monitoring device, the acquisition time that the first monitoring device gets first broadcast singal is defined as to access initial time,
The acquisition time that second monitoring device last time gets broadcast singal is defined as accessing the end time.
Alternatively, the queuing duration acquisition module 530, including:
First acquisition unit 531, for obtaining the Business Processing duration corresponding to target place;
Second acquisition unit 532, for the stay time by each user in target place and Business Processing duration
Difference, the reference queuing duration as user in target place;
3rd acquiring unit 533, for being obtained with reference to queuing duration according to calculated each of second acquisition unit 532
Queuing duration corresponding to target place.
Alternatively, refer to Fig. 5 C, the 3rd acquiring unit 533, including:
Duration distributed acquisition subelement 533a, for according to each with reference to queuing duration duration acquiring size each reference
The duration distribution of queuing duration;
Interference duration removes subelement 533b, for the duration point acquired according to duration distributed acquisition subelement 533a
Cloth is gone unless each with reference to the interference queuing duration in queuing duration;
Queuing duration obtains subelement 533c, for calculate it is remaining each with reference to queuing duration meansigma methodss, will be average
Value is defined as the queuing duration corresponding to target place.
In sum, the queuing duration acquisition device that the present embodiment is provided, by obtaining each user in target place
The access time started and access the end time, then according to access the time started and access the end time determine each user
Stay time in target place, the queuing duration according to corresponding to each stay time obtains target place;Solve existing
There is the problem that queuing duration how is obtained in technology;The effect of the queuing duration that can obtain user in target place is reached
Really.
The present embodiment is it is determined that after the stay time of each user, calculate each stay time with Business Processing duration
Difference, so according to it is calculated each with reference to queuing duration obtaining queuing duration, improve the queuing duration of acquisition
Accuracy.
Meanwhile, after monitoring device gets queuing duration, monitoring device can provide a user with the queuing duration, reach
To can provide in the queuing duration needed for target place user, and then user is helped reasonably to arrange what is gone on a journey
Effect.
It should be noted that:Above-described embodiment provide queuing duration acquisition device obtain queuing duration when, only more than
The division for stating each functional module is illustrated, and in practical application, as desired can distribute above-mentioned functions by difference
Functional module complete, will the internal structure of equipment be divided into different functional modules, with complete it is described above whole or
Person's partial function.In addition, the queuing duration acquisition device that above-described embodiment is provided is implemented with the method for queuing duration acquisition methods
Example belongs to same design, and it implements process and refers to embodiment of the method, repeats no more here.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that realizing all or part of step of above-described embodiment can pass through hardware
To complete, it is also possible to which the hardware that correlation is instructed by program is completed, and described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read only memory, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not to limit the present invention, all spirit in the present invention and
Within principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.
Claims (6)
1. a kind of queuing duration acquisition methods, it is characterised in that methods described includes:
The access initial time of each user in access target place is obtained according to the terminal that user carries and the end time is accessed;
Stop of each user in the target place is determined according to the access initial time and the access end time
Duration;
Queuing duration according to corresponding to each stay time obtains the target place;
The access initial time of each user that access target place is obtained according to the terminal that user carries and access terminate
Time, including:
Obtain the broadcast singal that the terminal that each user used is sent in the target place with preset frequency, the broadcast
Signal includes adopting wireless fidelity technology Wi-Fi signal and/or Bluetooth signal;
According to the acquisition time of each broadcast singal, the access initial time and the access end time are determined;
The acquisition time according to each broadcast singal, determine the access initial time and the access end time,
Including:
If being provided with a monitoring device in the target place, the monitoring device is got into first the broadcast singal
The acquisition time be defined as the access initial time, by the monitoring device last time get obtaining for the broadcast singal
The time of taking is defined as the access end time;
If the entrance and exit of the target place is respectively arranged with the first monitoring device and the second monitoring device, by described
One monitoring device gets first the acquisition time of the broadcast singal and is defined as the access initial time, by the described second prison
Control equipment last time gets acquisition time of the broadcast singal and is defined as the access end time.
2. method according to claim 1, it is characterised in that described that the target place is obtained according to each stay time
Corresponding queuing duration, including:
Obtain the Business Processing duration corresponding to the target place;
By the difference of stay time of each user in the target place and the Business Processing duration, as the user
Reference queuing duration in the target place;
According to calculated each queuing duration with reference to corresponding to queuing duration obtains the target place.
3. method according to claim 2, it is characterised in that described to be obtained with reference to queuing duration according to calculated each
The queuing duration corresponding to the target place is taken, including:
Each is distributed with reference to the duration of queuing duration according to described each duration acquiring size with reference to queuing duration;
Interference queuing duration during each is with reference to queuing duration according to the duration is distributed and removes;
Calculate it is remaining each with reference to queuing duration meansigma methodss, the meansigma methodss are defined as corresponding to the target place
Queuing duration.
4. a kind of queuing duration acquisition device, it is characterised in that described device includes:
Time-obtaining module, when the terminal for being carried according to user obtains the access starting of each user in access target place
Between and access the end time;
Stay time determining module, for the access initial time that got according to the time-obtaining module and the visit
Ask that the end time determines stay time of each user in the target place;
Queuing duration acquisition module, each stay time for being determined according to the stay time determining module obtains the mesh
Queuing duration corresponding to mark place;
The time-obtaining module, including:
Signal acquiring unit, for obtaining what the terminal that each user is used was sent in the target place with preset frequency
Broadcast singal, the broadcast singal includes adopting wireless fidelity technology Wi-Fi signal and/or Bluetooth signal;
Time acquisition unit, for getting the acquisition time of each broadcast singal according to the signal acquiring unit, determines institute
State access initial time and the access end time;
The time acquisition unit, including:
First obtains subelement, for being provided with the target place during monitoring device, the monitoring device is first
The secondary acquisition time for getting the broadcast singal is defined as the access initial time, and monitoring device last time is obtained
The acquisition time for getting the broadcast singal is defined as the access end time;
Second obtains subelement, for being respectively arranged with the first monitoring device and second in the entrance and exit of the target place
During monitoring device, the acquisition time that first monitoring device gets first the broadcast singal is defined as into described access
Time beginning, the acquisition time that second monitoring device last time gets the broadcast singal is defined as into described access and is tied
The beam time.
5. device according to claim 4, it is characterised in that the queuing duration acquisition module, including:
First acquisition unit, for obtaining the Business Processing duration corresponding to the target place;
Second acquisition unit, for the stay time by each user in the target place and the Business Processing duration
Difference, the reference queuing duration as the user in the target place;
3rd acquiring unit, for obtaining the mesh with reference to queuing duration according to calculated each of the second acquisition unit
Queuing duration corresponding to mark place.
6. device according to claim 5, it is characterised in that the 3rd acquiring unit, including:
Duration distributed acquisition subelement, for each reference according to described each duration acquiring size with reference to queuing duration
The duration distribution of queuing duration;
Interference duration removes subelement, and the duration distribution for being acquired according to the duration distributed acquisition subelement is gone
Except it is described each with reference to the interference queuing duration in queuing duration;
Queuing duration obtain subelement, for calculate it is remaining each with reference to queuing duration meansigma methodss, the meansigma methodss are true
The queuing duration being set to corresponding to the target place.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510114297.9A CN104867198B (en) | 2015-03-16 | 2015-03-16 | Queuing time acquiring method and queuing time acquiring apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510114297.9A CN104867198B (en) | 2015-03-16 | 2015-03-16 | Queuing time acquiring method and queuing time acquiring apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104867198A CN104867198A (en) | 2015-08-26 |
CN104867198B true CN104867198B (en) | 2017-04-26 |
Family
ID=53913012
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510114297.9A Active CN104867198B (en) | 2015-03-16 | 2015-03-16 | Queuing time acquiring method and queuing time acquiring apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104867198B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108711082A (en) * | 2018-03-26 | 2018-10-26 | 广东小天才科技有限公司 | Recommend method, apparatus, Server for catering and storage medium in dining room |
CN108986254A (en) * | 2018-06-29 | 2018-12-11 | 百度在线网络技术(北京)有限公司 | Stop time-consuming statistical method, device, system and storage medium |
CN110264497B (en) * | 2019-06-11 | 2021-09-17 | 浙江大华技术股份有限公司 | Method and device for determining tracking duration, storage medium and electronic device |
CN111755130A (en) * | 2020-06-02 | 2020-10-09 | RealMe重庆移动通信有限公司 | Prevention and control method and device, terminal, prevention and control system and readable storage medium |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1825342A (en) * | 2005-02-26 | 2006-08-30 | 杜若平 | Virtual queuing data processing method and system |
CN100517394C (en) * | 2007-04-24 | 2009-07-22 | 暨南大学 | Intelligent queuing and number calling system |
CN101504780A (en) * | 2008-02-05 | 2009-08-12 | 黄金富 | Method and system for managing massive crowd gate entrance in queue by mobile phone short message |
CN101540016A (en) * | 2008-12-31 | 2009-09-23 | 深圳市奥拓电子有限公司 | Queueing time estimation method |
CN102129737A (en) * | 2010-01-14 | 2011-07-20 | 深圳市奥拓电子股份有限公司 | Acquiring method and system of queuing wait time |
CN102521909B (en) * | 2011-12-07 | 2014-10-22 | 广州广电运通金融电子股份有限公司 | queuing service processing method and system |
CN103366436A (en) * | 2012-03-29 | 2013-10-23 | 鸿富锦精密工业(深圳)有限公司 | Numbering system and numbering notification method |
CN104103113A (en) * | 2013-04-15 | 2014-10-15 | 株式会社日立制作所 | Queuing server and queuing method |
CN104254138B (en) * | 2013-06-25 | 2018-05-04 | 深圳易普森科技股份有限公司 | A kind of bluetooth queuing strategy |
CN104331974A (en) * | 2014-11-07 | 2015-02-04 | 福建联迪商用设备有限公司 | Bluetooth number-taking method and system |
-
2015
- 2015-03-16 CN CN201510114297.9A patent/CN104867198B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104867198A (en) | 2015-08-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104867198B (en) | Queuing time acquiring method and queuing time acquiring apparatus | |
EP4234060A1 (en) | Service processing method and apparatus, and storage medium | |
US9247394B2 (en) | Using neighboring access points to provide client device location data | |
CN105139641B (en) | A kind of vehicle dispatching method and system based on WiFi relay stations | |
US20110151828A1 (en) | Method and system for transmitting the notification message in earthquake and tsunami warning system | |
CN104247551B (en) | For the associated system and method for Basic Service Set | |
CN109688589B (en) | Method and device for planning wireless network capacity | |
KR102068918B1 (en) | Router address type identification method and device | |
CN104170336A (en) | System and methods for differentiated association service provisioning in wifi networks | |
CN110544001A (en) | Passenger flow early warning method and device, computer device and storage medium | |
CN104427632A (en) | Method, device and system for data transmission scheduling | |
CN108228363A (en) | A kind of message method and device | |
CN108737968A (en) | A method of passing through wireless technology sensing passengers abnormal behaviour | |
CN104516915B (en) | A kind of media data dissemination method and device based on microblogging timeline | |
GB2552423A (en) | Method and apparatus for improving dispatch of different types of law enforcement patrols for achieving a desired deterrent effect | |
CN106447425A (en) | Life service information recommendation method and apparatus | |
US20140236727A1 (en) | Information providing system, information providing apparatus, and information providing method | |
CN109218987A (en) | Information processing method, device, terminal and storage medium | |
US20140233550A1 (en) | Location determination | |
CN108600399A (en) | Information-pushing method and Related product | |
CN108076012A (en) | Abnormal login determination methods and device | |
Prasertsung et al. | How does coffee shop get crowded? Using WiFi footprints to deliver insights into the success of promotion | |
CN104137624B (en) | The paging method and equipment of wireless communication system | |
CN103476102B (en) | A kind of terminal and terminal D 2D communication means and terminal, system | |
CN103974296B (en) | Method and device for configuring minimum drive test for user equipment (UE) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |