CN104867198A - Queuing time acquiring method and queuing time acquiring apparatus - Google Patents

Queuing time acquiring method and queuing time acquiring apparatus Download PDF

Info

Publication number
CN104867198A
CN104867198A CN201510114297.9A CN201510114297A CN104867198A CN 104867198 A CN104867198 A CN 104867198A CN 201510114297 A CN201510114297 A CN 201510114297A CN 104867198 A CN104867198 A CN 104867198A
Authority
CN
China
Prior art keywords
time
duration
target place
watch
dog
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510114297.9A
Other languages
Chinese (zh)
Other versions
CN104867198B (en
Inventor
高利佳
肖挺莉
张立斌
李涛
余彦培
徐连明
解晖
王文杰
王蒙
张晓海
刘文龙
任红梅
梁旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Wisdom Figure Science And Technology Ltd Co
BEIJING CAPITAL INTERNATIONAL AIRDROME Co Ltd
Original Assignee
Beijing Wisdom Figure Science And Technology Ltd Co
BEIJING CAPITAL INTERNATIONAL AIRDROME 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 Beijing Wisdom Figure Science And Technology Ltd Co, BEIJING CAPITAL INTERNATIONAL AIRDROME Co Ltd filed Critical Beijing Wisdom Figure Science And Technology Ltd Co
Priority to CN201510114297.9A priority Critical patent/CN104867198B/en
Publication of CN104867198A publication Critical patent/CN104867198A/en
Application granted granted Critical
Publication of CN104867198B publication Critical patent/CN104867198B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME 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/00Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
    • G07C1/10Registering, 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

Queuing duration acquisition methods and device
Technical field
The present invention relates to field of computer technology, particularly one queuing duration acquisition methods and device.
Background technology
At present, all there is the problem that user needs to wait in line in a lot of place.Such as, user is when airport security, and user needs to wait 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 wait in line.
Remind to realize the queuing duration required in target place to user and then help user reasonably to arrange trip, how obtaining this queuing duration has become the current urgent problem of computer realm technician.
Summary of the invention
In order to solve in prior art the problem how obtaining user's queuing duration required in target place, embodiments provide a kind of queuing duration acquisition methods and device.Described technical scheme is as follows:
First aspect, provides a kind of queuing duration acquisition methods, comprising:
Obtain the access initial time of each user in access destination place according to the terminal that user carries and access the end time;
The stay time of each user in target place is determined according to access initial time and access end time;
The queuing duration corresponding to target place is obtained according to each stay time.
Alternatively, obtain the access initial time of each user in access destination place according to the terminal that user carries and access the end time, comprising:
Obtain terminal that each user uses with the broadcast singal that preset frequency sends in target place, broadcast singal comprises adopting wireless fidelity technology Wi-Fi signal and/or Bluetooth signal;
According to the acquisition time of each broadcast singal, determine access initial time and access end time.
Alternatively, according to the acquisition time of each broadcast singal, determine access initial time and access end time, comprising:
If be provided with a watch-dog in target place, then acquisition time watch-dog being got first broadcast singal is defined as accessing initial time, and acquisition time watch-dog being got for the last time broadcast singal is defined as accessing the end time;
If the entrance and exit of target place is respectively arranged with the first watch-dog and the second watch-dog, the acquisition time then the first watch-dog being got first broadcast singal is defined as accessing initial time, and the acquisition time the second watch-dog being got for the last time broadcast singal is defined as accessing the end time.
Alternatively, obtain the queuing duration corresponding to target place according to each stay time, comprising:
Obtain the business processing duration corresponding to target place;
By the stay time of each user in target place and the difference of business processing duration, as the reference queuing duration of user in target place;
The queuing duration corresponding to target place is obtained according to each reference queuing duration calculated.
Alternatively, obtain the queuing duration corresponding to target place according to each reference queuing duration calculated, comprising:
According to each distribution of duration with reference to queuing duration of each duration acquiring size with reference to queuing duration;
Each is removed with reference to the interference queuing duration in queuing duration according to duration distribution;
Calculate the mean value of each reference queuing duration remaining, mean value is defined as the queuing duration corresponding to target place.
Second aspect, provide a kind of queuing duration acquisition device, this device comprises:
Time-obtaining module, the terminal for carrying according to user obtains access initial time and the access end time of each user in access destination place;
Stay time determination module, determines the stay time of each user in target place for the access initial time got according to time-obtaining module with the access end time;
Queuing duration acquisition module, each stay time for determining according to stay time determination module obtains the queuing duration corresponding to target place.
Alternatively, this time-obtaining module, comprising:
Signal acquiring unit, for obtaining terminal that each user uses with the broadcast singal that preset frequency sends in target place, broadcast singal comprises 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, determines access initial time and access end time.
Alternatively, this time acquisition unit, comprising:
First obtains subelement, during for being provided with a watch-dog in target place, acquisition time watch-dog being got first broadcast singal is defined as accessing initial time, and acquisition time watch-dog being got for the last time broadcast singal is defined as accessing the end time;
Second obtains subelement, for when the entrance and exit of target place is respectively arranged with the first watch-dog and the second watch-dog, the acquisition time first watch-dog being got first broadcast singal is defined as accessing initial time, and the acquisition time the second watch-dog being got for the last time broadcast singal is defined as accessing the end time.
Alternatively, this queuing duration acquisition module, comprising:
First acquiring unit, for obtaining the business processing duration corresponding to target place;
Second acquisition unit, for by the stay time of each user in target place and the difference of business processing duration, as the reference queuing duration of user in target place;
3rd acquiring unit, each reference queuing duration for calculating according to second acquisition unit obtains the queuing duration corresponding to target place.
Alternatively, the 3rd acquiring unit, comprising:
Duration distributed acquisition subelement, for distributing according to each duration with reference to queuing duration of each duration acquiring size with reference to queuing duration;
Interference duration removes subelement, removes each with reference to the interference queuing duration in queuing duration for the duration distribution acquired according to duration distributed acquisition subelement;
Queuing duration obtains subelement, for calculating the mean value of each reference queuing duration remaining, mean value is defined as the queuing duration corresponding to target place.
The beneficial effect of the technical scheme that the embodiment of the present invention provides is:
By obtaining the access start time of each user in target place and access end time, then determine the stay time of each user in target place according to access start time and access end time, obtain the queuing duration corresponding to target place according to each stay time; Solve the problem how obtaining queuing duration in prior art; Reach the effect that can obtain the queuing duration of user in target place.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram of the queuing duration acquisition methods that one embodiment of the invention provides;
Fig. 2 is the method flow diagram of the queuing duration acquisition methods that another embodiment of the present invention provides;
Fig. 3 is the method flow diagram of the queuing duration acquisition methods that yet another embodiment of the invention provides;
Fig. 4 is the block diagram of the queuing duration acquisition device that one embodiment of the invention provides;
Fig. 5 A is the block diagram of the queuing duration acquisition device that another embodiment of the present invention provides;
Fig. 5 B is the block diagram of the time acquisition unit that another embodiment of the present invention provides;
Fig. 5 C is the block diagram of the 3rd acquiring unit that another embodiment of the present invention provides.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the present invention is described in further detail, and obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, it illustrates the method flow diagram of the queuing duration acquisition methods that one embodiment of the invention provides, as shown in Figure 1, this queuing duration acquisition methods can comprise:
Step 101, obtains the access initial time of each user in access destination place according to the terminal that user carries and accesses the end time.
Step 102, determines the stay time of each user in target place according to access initial time and access end time.
Step 103, obtains the queuing duration corresponding to target place according to each stay time.
In sum, the queuing duration acquisition methods that the present embodiment provides, by obtaining the access start time of each user in target place and access end time, then determine the stay time of each user in target place according to access start time and access end time, obtain the queuing duration corresponding to target place according to each stay time; Solve the problem how obtaining queuing duration in prior art; Reach the effect that can obtain the queuing duration of user in target place.
It should be noted that, above-mentioned queuing duration acquisition methods may be used in supervisory system, and when actual realization, this supervisory system can comprise:
(1), watch-dog.
(2), watch-dog and the server that is connected with this watch-dog by wired or wireless network.
So, followingly will to be described above-mentioned two situations respectively in different embodiments.
Please refer to Fig. 2, it illustrates the method flow diagram of the queuing duration acquisition methods that one embodiment of the invention provides, the present embodiment with this queuing duration acquisition methods for comprise watch-dog supervisory system in illustrate.As shown in Figure 2, this queuing duration acquisition methods can comprise:
Step 201, watch-dog obtains terminal that each user uses with the broadcast singal that preset frequency sends in target place, and broadcast singal comprises Wi-Fi signal and/or Bluetooth signal.
When Wi-Fi (wireless fidelity, the adopting wireless fidelity technology) function in terminal is opened, terminal can constantly send Wi-Fi signal with preset frequency; When the Bluetooth function in terminal is opened, terminal constantly can send Bluetooth signal with preset frequency.
Watch-dog can be installed in target place by trade company, and after user's carried terminal enters the guarded region corresponding to watch-dog, this watch-dog can get the broadcast singal that terminal constantly sends with preset frequency.Broadcast singal can be Wi-Fi signal or Bluetooth signal, and can MAC (the Media Access Control of carried terminal in broadcast singal, media interviews control) address, watch-dog can distinguish the broadcast singal of different terminals transmission by the MAC Address of the terminal of carrying in broadcast singal.
In addition, target place can be: airport security mouth, ticketing spot, station, station are called a taxi region, restaurant, tourist attractions, library or market etc.Watch-dog in target place can be arranged on the optional position in the entrance of target place, outlet or target place.
In the application scenarios of reality, watch-dog can have one also can have multiple.Such as, a watch-dog can be installed respectively at the entrance and exit of target place by trade company.And in order to avoid the guarded region corresponding to a watch-dog cannot the problem of Zone Full in coverage goal place, trade company can in target place the multiple watch-dog of distributed installation; Certainly, two or more watch-dog can also be installed simultaneously by trade company at same position, the present embodiment does not limit this.
Step 202, watch-dog, according to the acquisition time of each broadcast singal, determines access initial time and access end time.
After watch-dog gets each broadcast singal of each terminal transmission, watch-dog can record the acquisition time of each broadcast singal getting each terminal and send, and the acquisition time of each broadcast singal sent according to each terminal determines that each user accesses access initial time and the access end time of this target place.
Alternatively, this step can comprise:
(1) if be provided with a watch-dog in target place, the acquisition time then watch-dog being got first broadcast singal is defined as accessing initial time, and acquisition time watch-dog being got for the last time broadcast singal is defined as accessing the end time.
If only have a watch-dog in target place, then when this watch-dog receives the broadcast singal sent from certain terminal first, illustrate that this terminal has just arrived this target place, now the time getting this broadcast singal can be defined as the access initial time in this user's access destination place by watch-dog.
Because terminal constantly can send broadcast singal with preset frequency, thus terminal camps at target place time watch-dog can receive multiple broadcast singals that this terminal sends continuously accordingly.And when user leaves target place, terminal may away from the guarded region of watch-dog, also namely watch-dog possibly cannot get the broadcast singal of this terminal transmission, so the acquisition time getting broadcast singal for the last time can be defined as accessing the end time by watch-dog.
Wherein, the last broadcast singal obtained refers to: last broadcast singal in the multiple broadcast singals obtained with preset frequency, wherein, does not exist other broadcast singals in the predetermined amount of time after this last broadcast singal.
Such as, after watch-dog gets multiple broadcast singal continuously, continue within 5 minutes, not continue to receive the new broadcast singal from same terminal, then now, the acquisition time of last broadcast singal in the multiple broadcast singals got continuously before getting can be defined as the access end time that user accesses this target place by watch-dog.
(2) if the entrance and exit of target place is respectively arranged with the first watch-dog and the second watch-dog, the acquisition time then the first watch-dog being got first broadcast singal is defined as accessing initial time, and the acquisition time the second watch-dog being got for the last time broadcast singal is defined as accessing the end time.
If the entrance and exit of target place is respectively arranged with the first watch-dog and the second watch-dog, then similar with above-mentioned implementation, the acquisition time getting the broadcast singal that terminal sends first can be defined as the access initial time in user's access destination place by the first watch-dog.
Similar, when the second watch-dog being arranged on outlet obtains the broadcast singal sent less than terminal, second watch-dog can determine that this terminal may leave this target place, so the acquisition time getting broadcast singal for the last time can be defined as accessing the end time by the second watch-dog.
Wherein, the last broadcast singal obtained refers to: last broadcast singal in the multiple broadcast singals obtained with preset frequency, wherein, does not exist other broadcast singals in the predetermined amount of time after this last broadcast singal.
Step 203, watch-dog determines the stay time of each user in target place according to access initial time and access end time.
After the access start time that watch-dog gets each user and access end time, watch-dog can determine the stay time of each user in target place according to access start time and access end time.
Alternatively, when watch-dog only has one, for each user, watch-dog can calculate the access end time of this user and the difference of access start time, using this difference as the stay time of this user in target place.
When watch-dog comprises the first watch-dog and the second watch-dog, can arrange one of them watch-dog is main watch-dog, another watch-dog is from watch-dog, send time of getting to main watch-dog from watch-dog, main watch-dog is according to the time received and the stay time of each user of Time Calculation in target place self obtained before.
Such as, with the second watch-dog for main watch-dog, the first watch-dog is for being example from watch-dog, and the first watch-dog is after the access initial time getting user, and the first watch-dog can send this access initial time to the second watch-dog.After this, when the second watch-dog gets the access end time of this user, the second watch-dog can calculate the difference of access end time and access initial time, using this difference as the stay time of this user in target place.
Step 204, watch-dog obtains the queuing duration corresponding to target place according to each stay time.
After watch-dog gets the stay time of each user in target place, watch-dog can obtain queuing duration corresponding to target place according to each stay time.
Alternatively, this step can comprise:
(1), distribute according to the duration of each stay time of acquiring size of each stay time.
Watch-dog can carry out rank according to the duration size of each stay time to each stay time.
(2) the interference stay time in each stay time, is removed according to duration distribution.
Alternatively, this step can comprise:
A) rank, is removed in front N% and the rank stay time at rear M%.
Due to stay time is long or stay time too short may be all because individual subscriber reason cause, watch-dog the Normal residence situation of domestic consumer can not be reacted, so can remove rank in each stay time in front N% and the rank stay time at rear M%.Wherein, N and M can be the same or different.Such as, watch-dog remove rank front 5% and rank rear 10% stay time.
B), remove rank in top N and rank the stay time in rear M position.
Similar with above-mentioned implementation, watch-dog can also remove rank in top N and rank the stay time in rear M position.
C), according to rank number percent divide a predetermined number interval, carry out rank according to the difference of stay time in each interval, remove the stay time of rank in the interval of rear n position.Wherein, n is less than predetermined number.
Such as, each stay time is divided to 4 intervals according to rank number percent by watch-dog, also namely rank is in 0 ~ 25%, 25% ~ 50%, 50% ~ 75% and 75% ~ 100%4 interval, and the difference of the stay time in each interval is respectively 15 minutes, 8 minutes, 7 minutes and 20 minutes; Then because the interval that difference is less illustrates that the stay time of each user is more close, watch-dog more can react the Normal residence duration of user, so can remove wherein rank in rear n position as namely latter 2 be also in 0 ~ 25% and 75% ~ 100% stay time in interval.
The number of the stay time D), in the unit of account time interval, carries out rank according to the number of stay time, removes the stay time of rank in the unit time of rear m position.
Such as, with the minimum stay time of duration in each stay time as 12 minutes for starting point, calculating is every the number of the stay time of 5 minutes, also namely calculate 12 ~ 17 minutes, 17 ~ 22 minutes, 22 minutes ~ 27 minutes .... the number of the stay time in each section, then carry out rank according to the number of stay time; Because in unit interval, the number of stay time is more, illustrate that the user stopping this stay time in target place is also more, more can react the Normal residence duration of user, so in order to remove interference stay time, watch-dog can remove the stay time of rank in each section of latter 4.
Certainly, when actual realization, watch-dog can also remove the interference stay time in each stay time by other minimizing technology, and the present embodiment, just for above-mentioned several possible implementation, does not limit the removing method of its actual realization.
(3), calculate the mean value of each stay time remaining, mean value is defined as the queuing duration corresponding to target place.
After each interference stay time of removal, watch-dog can calculate the mean value of each stay time remaining, the mean value calculated is defined as the queuing duration corresponding to target place.
Because user usually needs certain traffic handling time during transacting business in target place, also namely the queuing duration of user's reality is the stay time of user in target place and the difference of business processing duration, so alternatively, this step can also be embodied as:
(1) the business processing duration corresponding to target place, is obtained.
This business processing duration is that each user is required on average consuming time during transacting business in target place.Such as, for a certain restaurant, the average meal time of each user is 30 minutes, then this business processing duration is 30 minutes; For airport, the average safety check duration of user is 5 minutes, then this business processing duration is 5 minutes.
(2), by the stay time of each user in target place and the difference of business processing duration, as the reference queuing duration of user in target place.
(3), the queuing duration corresponding to target place is obtained according to each reference queuing duration calculated.
Alternatively, this step can comprise:
A), according to each distribution of duration with reference to queuing duration of each duration acquiring size with reference to queuing duration.
B), each is removed with reference to the interference queuing duration in queuing duration according to duration distribution.
C), calculate remaining each with reference to the mean value of queuing duration, mean value is defined as the queuing duration corresponding to target place.
This and above-mentioned implementation are similar, and the present embodiment does not repeat them here.
What need supplementary notes is a bit, because the flow of the people in place same in different time sections may be different, also namely the queuing duration of user may be different, so the accuracy in order to improve the current queuing duration got, watch-dog can calculate queuing duration according to the stay time leaving each user of target place in predetermined amount of time before, and also namely step 204 can comprise: watch-dog obtains the queuing duration corresponding to target place according to the stay time of each user leaving target place in nearest predetermined amount of time.Concrete, watch-dog can be selected to access the stay time of end time before predetermined amount of time is before such as in 10 minutes in each stay time, obtains the queuing duration corresponding to target place according to the stay time selecting to obtain.Certainly, watch-dog also directly can calculate the stay time of each user of access end time in predetermined amount of time before in step 203, direct each stay time according to determining obtains the queuing duration corresponding to target place in step 204 afterwards, and this enforcement does not limit this.
Need to illustrate on the other hand, after watch-dog gets queuing duration, in order to realize reminding user, watch-dog can show this queuing duration, and like this, the queuing duration that user can show according to watch-dog reasonably arrange oneself trip.Or grow to server when watch-dog can also send the queuing got, push this queuing duration by server to user, user carrys out the trip of reasonable arrangement oneself according to the queuing duration received.
In an application scenarios of the present embodiment, take target place as airport security mouth be example, according to everybody, watch-dog can wait for that the Wi-Fi signal that the mobile phone that the passenger of safety check carry send or Bluetooth signal determine the stay time of every passenger in security check, then obtain according to the stay time leaving the individual passenger of security check in 10 minutes before the queuing duration that this security check current may need.Like this, other need the user of safety check after knowing the queuing duration needed for each security check, and safety check is carried out in the security check that user can select queuing duration shorter.Or judge whether to start to wait in line safety check according to the boarding time of oneself.
In the Another application scene of the present embodiment, be that the region of calling a taxi at station is for example with target place, the Wi-Fi signal that watch-dog sends according to the mobile phone waiting the individual passenger of calling a taxi or Bluetooth signal determine every passenger wait call a taxi wait duration, then calculate user to queue up the queuing duration of calling a taxi required according to the duration that waits getting to passenger that car leaves in 5 minutes before.Like this, when watch-dog needs the user called a taxi to show this queuing duration to other, user can decide to be queue up to call a taxi to go home according to queuing duration, still rides in a bus and goes home.
In an application scenarios again of the present embodiment, take target place as restaurant be example, the Wi-Fi signal that watch-dog sends according to the mobile phone carrying out the every guest had dinner in restaurant or Bluetooth signal, determine that every guest is from waiting dining to the total duration terminated of having dinner, calculate the difference of total duration and the duration of normally having dinner leaving the guest in this restaurant for first 20 minutes, using this difference as the front equipotential duration leaving the guest in this restaurant for 20 minutes, last queuing duration needed for each this restaurant of equipotential duration calculation, and this queuing duration is sent to server.Like this after server receives the queuing duration in Duo Jia restaurant, server duration of each can being queued up is pushed to user, and which restaurant user can decide according to the queuing duration in each restaurant is had dinner.
In sum, the queuing duration acquisition methods that the present embodiment provides, by obtaining the access start time of each user in target place and access end time, then determine the stay time of each user in target place according to access start time and access end time, obtain the queuing duration corresponding to target place according to each stay time; Solve the problem how obtaining queuing duration in prior art; Reach the effect that can obtain the queuing duration of user in target place.
The present embodiment, after the stay time determining each user, calculates the difference of each stay time and business processing duration, and then obtains queuing duration according to each calculating with reference to queuing duration, improves the accuracy of the queuing duration of acquisition.
Meanwhile, after watch-dog gets queuing duration, watch-dog can provide this queuing duration to user, reaches and can provide by the queuing duration required in target place to user, and then helps user reasonably to arrange the effect of going on a journey.
Please refer to Fig. 3, it illustrates the method flow diagram of the queuing duration acquisition methods that one embodiment of the invention provides, the present embodiment with this queuing duration acquisition methods for comprise watch-dog and server supervisory system in illustrate.As shown in Figure 3, this queuing duration acquisition methods can comprise:
Step 301, watch-dog obtains terminal that each user uses with the broadcast singal that preset frequency sends in target place, and broadcast singal comprises Wi-Fi signal and/or Bluetooth signal.
When the Wi-Fi function in terminal is opened, terminal can constantly send Wi-Fi signal with preset frequency; When the Bluetooth function in terminal is opened, terminal constantly can send Bluetooth signal with preset frequency.
Watch-dog can be installed in target place by trade company, and after user's carried terminal enters the guarded region corresponding to watch-dog, this watch-dog can get the broadcast singal that terminal constantly sends with preset frequency.Broadcast singal can be Wi-Fi signal or Bluetooth signal, and can the MAC Address of carried terminal in broadcast singal, and watch-dog can distinguish by the MAC Address of the terminal of carrying in broadcast singal the broadcast singal that different terminals sends.
Step 302, watch-dog, according to the acquisition time of each broadcast singal, determines access initial time and access end time.
After watch-dog gets each broadcast singal of each terminal transmission, watch-dog can record the acquisition time of each broadcast singal getting each terminal and send, and the acquisition time of each broadcast singal sent according to each terminal determines that each user accesses access initial time and the access end time of this target place.
Alternatively, this step can comprise:
(1) if be provided with a watch-dog in target place, the acquisition time then watch-dog being got first broadcast singal is defined as accessing initial time, and acquisition time watch-dog being got for the last time broadcast singal is defined as accessing the end time.
(2) if the entrance and exit of target place is respectively arranged with the first watch-dog and the second watch-dog, the acquisition time then the first watch-dog being got first broadcast singal is defined as accessing initial time, and the acquisition time the second watch-dog being got for the last time broadcast singal is defined as accessing the end time.
Step 303, watch-dog sends the access initial time of each user got and accesses the end time to server.
Alternatively, when watch-dog has one, this watch-dog directly can send the access initial time and access end time that get to server.
Alternatively, when watch-dog comprises the first watch-dog and the second watch-dog, the first watch-dog can send the access initial time of user to server, and sends the access end time of this user to server by the second watch-dog.The present embodiment does not limit this.
Step 304, the access initial time that server sends according to watch-dog determines the stay time of each user in target place with the access end time.
Accordingly, server receives access initial time and the access end time of each user that watch-dog sends, and for each user, server can calculate the difference of access end time and access start time, using the difference that calculates as the stay time of this user in target place.
Step 305, server obtains the queuing duration corresponding to target place according to each stay time.
After server gets the stay time of each user in target place, server can obtain queuing duration corresponding to target place according to each stay time.
Alternatively, this step can comprise:
(1), distribute according to the duration of each stay time of acquiring size of each stay time.
Watch-dog carries out rank according to the size of each stay time to each stay time.
(3) the interference stay time in each stay time, is removed according to duration distribution.
Alternatively, this step can comprise:
A) rank, is removed in front N% and the rank stay time at rear M%.
B), remove rank in top N and rank the stay time in rear M position.
C), according to rank number percent divide a predetermined number interval, carry out rank according to the difference of stay time in each interval, remove the stay time of rank in the interval of rear n position.Wherein, n is less than predetermined number.
The number of the stay time D), in the unit of account time interval, carries out rank according to the number of stay time, removes the stay time of rank in the unit time of rear m position.
Certainly, when actual realization, watch-dog can also remove the interference stay time in each stay time by other minimizing technology, and the present embodiment, just for above-mentioned several possible implementation, does not limit the removing method of its actual realization.
(3), calculate the mean value of each stay time remaining, mean value is defined as the queuing duration corresponding to target place.
After each interference stay time of removal, watch-dog can calculate the mean value of each stay time remaining, the mean value calculated is defined as the queuing duration corresponding to target place.
Because user usually needs certain business handling time in target place during transacting business, also namely the queuing duration of user's reality is the stay time of user in target place and the difference of business handling duration, so alternatively, this step can also be embodied as:
(1) the business processing duration corresponding to target place, is obtained.
(3), by the stay time of each user in target place and the difference of business processing duration, as the reference queuing duration of user in target place.
(3), the queuing duration corresponding to target place is obtained according to each reference queuing duration calculated.
Alternatively, this step can comprise:
A), according to each distribution of duration with reference to queuing duration of each duration acquiring size with reference to queuing duration.
B), each is removed with reference to the interference queuing duration in queuing duration according to duration distribution.
C), calculate remaining each with reference to the mean value of queuing duration, mean value is defined as the queuing duration corresponding to target place.
Step 305 is similar with the step 204 in above-described embodiment, and detailed technology detail with reference above-described embodiment, the present embodiment does not repeat them here.
What need supplementary notes is a bit, because the flow of the people in place same in different time sections may be different, also namely the queuing duration of user may be different, so the accuracy in order to improve the current queuing duration got, server can calculate queuing duration according to the stay time leaving each user of target place in predetermined amount of time before, and also namely step 305 can comprise: server obtains the queuing duration corresponding to target place according to the stay time of each user leaving target place in nearest predetermined amount of time.Concrete, server can be selected to access the stay time of end time before predetermined amount of time is before such as in 10 minutes in each stay time, obtains the queuing duration corresponding to target place according to the stay time selecting to obtain.Certainly, server also directly can calculate the stay time of each user of access end time in predetermined amount of time before in step 304, direct each stay time according to determining obtains the queuing duration corresponding to target place in step 305 afterwards, and this enforcement does not limit this.
Needing to illustrate on the other hand, after server gets queuing duration, in order to realize reminding user, growing to user when server can send this queuing, like this, user reasonably can arrange oneself trip according to the queuing duration received.Server grows to watch-dog when can also send the queuing got, and shows that this queuing duration is to user by watch-dog, and the queuing duration that user can show according to watch-dog carrys out the trip of reasonable arrangement oneself.
What need supplementary notes is more again, the present embodiment just sends access initial time for watch-dog and accesses the end time to server, alternatively, watch-dog is after the acquisition time determining each broadcast singal getting the transmission of each terminal, each acquisition time can be sent to server, determined access initial time and the access end time of each user according to each acquisition time received by server, the present embodiment does not limit this; Alternatively, watch-dog can also after determining the stay time of each user in target place, and directly send the stay time of each user to server, the present embodiment does not also limit this.
In sum, the queuing duration acquisition methods that the present embodiment provides, by obtaining the access start time of each user in target place and access end time, then determine the stay time of each user in target place according to access start time and access end time, obtain the queuing duration corresponding to target place according to each stay time; Solve the problem how obtaining queuing duration in prior art; Reach the effect that can obtain the queuing duration of user in target place.
The present embodiment, after the stay time determining each user, calculates the difference of each stay time and business processing duration, and then obtains queuing duration according to each calculating with reference to queuing duration, improves the accuracy of the queuing duration of acquisition.
Meanwhile, after watch-dog gets queuing duration, watch-dog can provide this queuing duration to user, reaches and can provide by the queuing duration required in target place to user, and then helps user reasonably to arrange the effect of going on a journey.
It should be noted that, the watch-dog related in each embodiment above-mentioned is not the watch-dog on the conventional meaning of such as camera, but can the equipment of broadcast singal that sends of detecting terminal.
Please refer to Fig. 4, it illustrates the block diagram of the queuing duration acquisition device that one embodiment of the invention provides, as shown in Figure 4, this queuing duration acquisition device can comprise: time-obtaining module 410, stay time determination module 420 and queuing duration acquisition module 430.
Time-obtaining module 410, the terminal for carrying according to user obtains access initial time and the access end time of each user in access destination place;
Stay time determination module 420, determines the stay time of each user in target place for the access initial time got according to time-obtaining module 410 with the access end time;
Queuing duration acquisition module 430, each stay time for determining according to stay time determination module 420 obtains the queuing duration corresponding to target place.
In sum, the queuing duration acquisition device that the present embodiment provides, by obtaining the access start time of each user in target place and access end time, then determine the stay time of each user in target place according to access start time and access end time, obtain the queuing duration corresponding to target place according to each stay time; Solve the problem how obtaining queuing duration in prior art; Reach the effect that can obtain the queuing duration of user in target place.
Please refer to Fig. 5 A, it illustrates the block diagram of the queuing duration acquisition device that one embodiment of the invention provides, as shown in Figure 5A, this queuing duration acquisition device can comprise: time-obtaining module 510, stay time determination module 520 and queuing duration acquisition module 530.
Time-obtaining module 510, the terminal for carrying according to user obtains access initial time and the access end time of each user in access destination place;
Stay time determination module 520, determines the stay time of each user in target place for the access initial time got according to time-obtaining module 510 with the access end time;
Queuing duration acquisition module 530, each stay time for determining according to stay time determination module 520 obtains the queuing duration corresponding to target place.
Alternatively, this time-obtaining module 510, comprising:
Signal acquiring unit 511, for obtaining terminal that each user uses with the broadcast singal that preset frequency sends in target place, broadcast singal comprises 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, determines access initial time and access end time.
Alternatively, please refer to Fig. 5 B, this time acquisition unit 512, comprising:
First obtains subelement 512a, during for being provided with a watch-dog in target place, acquisition time watch-dog being got first broadcast singal is defined as accessing initial time, and acquisition time watch-dog being got for the last time broadcast singal is defined as accessing the end time;
Second obtains subelement 512b, for when the entrance and exit of target place is respectively arranged with the first watch-dog and the second watch-dog, the acquisition time first watch-dog being got first broadcast singal is defined as accessing initial time, and the acquisition time the second watch-dog being got for the last time broadcast singal is defined as accessing the end time.
Alternatively, this queuing duration acquisition module 530, comprising:
First acquiring unit 531, for obtaining the business processing duration corresponding to target place;
Second acquisition unit 532, for by the stay time of each user in target place and the difference of business processing duration, as the reference queuing duration of user in target place;
3rd acquiring unit 533, each reference queuing duration for calculating according to second acquisition unit 532 obtains the queuing duration corresponding to target place.
Alternatively, please refer to Fig. 5 C, the 3rd acquiring unit 533, comprising:
Duration distributed acquisition subelement 533a, for distributing according to each duration with reference to queuing duration of each duration acquiring size with reference to queuing duration;
Interference duration removes subelement 533b, removes each with reference to the interference queuing duration in queuing duration for the duration distribution acquired according to duration distributed acquisition subelement 533a;
Queuing duration obtains subelement 533c, for calculating the mean value of each reference queuing duration remaining, mean value is defined as the queuing duration corresponding to target place.
In sum, the queuing duration acquisition device that the present embodiment provides, by obtaining the access start time of each user in target place and access end time, then determine the stay time of each user in target place according to access start time and access end time, obtain the queuing duration corresponding to target place according to each stay time; Solve the problem how obtaining queuing duration in prior art; Reach the effect that can obtain the queuing duration of user in target place.
The present embodiment, after the stay time determining each user, calculates the difference of each stay time and business processing duration, and then obtains queuing duration according to each calculating with reference to queuing duration, improves the accuracy of the queuing duration of acquisition.
Meanwhile, after watch-dog gets queuing duration, watch-dog can provide this queuing duration to user, reaches and can provide by the queuing duration required in target place to user, and then helps user reasonably to arrange the effect of going on a journey.
It should be noted that: the queuing duration acquisition device that above-described embodiment provides is when obtaining queuing duration, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by equipment is divided into different functional modules, to complete all or part of function described above.In addition, the embodiment of the method for the queuing duration acquisition device that above-described embodiment provides and queuing duration acquisition methods belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a queuing duration acquisition methods, is characterized in that, described method comprises:
Obtain the access initial time of each user in access destination place according to the terminal that user carries and access the end time;
The stay time of each user in described target place is determined according to described access initial time and described access end time;
The queuing duration corresponding to described target place is obtained according to each stay time.
2. method according to claim 1, is characterized in that, described terminal of carrying according to user obtains access initial time and the access end time of each user in access destination place, comprising:
Obtain terminal that each user uses with the broadcast singal that preset frequency sends in described target place, described broadcast singal comprises adopting wireless fidelity technology Wi-Fi signal and/or Bluetooth signal;
According to the acquisition time of each broadcast singal, determine described access initial time and described access end time.
3. method according to claim 2, is characterized in that, the described acquisition time according to each broadcast singal, determines described access initial time and described access end time, comprising:
If be provided with a watch-dog in described target place, the acquisition time then described watch-dog being got first described broadcast singal is defined as described access initial time, and the acquisition time described watch-dog being got for the last time described broadcast singal is defined as the described access end time;
If the entrance and exit of described target place is respectively arranged with the first watch-dog and the second watch-dog, then the acquisition time that described first watch-dog gets described broadcast singal is first defined as described access initial time, the acquisition time that described second watch-dog gets described broadcast singal is for the last time defined as the described access end time.
4. according to the arbitrary described method of claims 1 to 3, it is characterized in that, describedly obtain queuing duration corresponding to described target place according to each stay time, comprising:
Obtain the business processing duration corresponding to described target place;
By the stay time of each user in described target place and the difference of described business processing duration, as the reference queuing duration of described user in described target place;
The queuing duration corresponding to described target place is obtained according to each reference queuing duration calculated.
5. method according to claim 4, is characterized in that, each reference queuing duration that described basis calculates obtains the queuing duration corresponding to described target place, comprising:
Each distribution of duration with reference to queuing duration according to the duration acquiring size of each reference queuing duration described;
The interference queuing duration in each reference queuing duration described is removed according to described duration distribution;
Calculate the mean value of each reference queuing duration remaining, described mean value is defined as the queuing duration corresponding to described target place.
6. a queuing duration acquisition device, is characterized in that, described device comprises:
Time-obtaining module, the terminal for carrying according to user obtains access initial time and the access end time of each user in access destination place;
Stay time determination module, determines the stay time of each user in described target place for the described access initial time that gets according to described time-obtaining module and described access end time;
Queuing duration acquisition module, each stay time for determining according to described stay time determination module obtains the queuing duration corresponding to described target place.
7. device according to claim 6, is characterized in that, described time-obtaining module, comprising:
Signal acquiring unit, for obtaining terminal that each user uses with the broadcast singal that preset frequency sends in described target place, described broadcast singal comprises 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 described signal acquiring unit, determines described access initial time and described access end time.
8. device according to claim 7, is characterized in that, described time acquisition unit, comprising:
First obtains subelement, during for being provided with a watch-dog in described target place, the acquisition time described watch-dog being got first described broadcast singal is defined as described access initial time, and the acquisition time described watch-dog being got for the last time described broadcast singal is defined as the described access end time;
Second obtains subelement, for when the entrance and exit of described target place is respectively arranged with the first watch-dog and the second watch-dog, the acquisition time that described first watch-dog gets described broadcast singal is first defined as described access initial time, the acquisition time that described second watch-dog gets described broadcast singal is for the last time defined as the described access end time.
9., according to the arbitrary described device of claim 6 to 8, it is characterized in that, described queuing duration acquisition module, comprising:
First acquiring unit, for obtaining the business processing duration corresponding to described target place;
Second acquisition unit, for by the stay time of each user in described target place and the difference of described business processing duration, as the reference queuing duration of described user in described target place;
3rd acquiring unit, each reference queuing duration for calculating according to described second acquisition unit obtains the queuing duration corresponding to described target place.
10. device according to claim 9, is characterized in that, described 3rd acquiring unit, comprising:
Duration distributed acquisition subelement, for each distribution of duration with reference to queuing duration according to the duration acquiring size of each reference queuing duration described;
Disturb duration to remove subelement, the interference queuing duration in each reference queuing duration described is removed in the described duration distribution for acquiring according to described duration distributed acquisition subelement;
Queuing duration obtains subelement, for calculating the mean value of each reference queuing duration remaining, described mean value is defined as the queuing duration corresponding to described target place.
CN201510114297.9A 2015-03-16 2015-03-16 Queuing time acquiring method and queuing time acquiring apparatus Active CN104867198B (en)

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 true CN104867198A (en) 2015-08-26
CN104867198B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
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
CN110264497A (en) * 2019-06-11 2019-09-20 浙江大华技术股份有限公司 Track determination method and device, the storage medium, electronic device of duration
CN111755130A (en) * 2020-06-02 2020-10-09 RealMe重庆移动通信有限公司 Prevention and control method and device, terminal, prevention and control system and readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825342A (en) * 2005-02-26 2006-08-30 杜若平 Virtual queuing data processing method and system
CN101110136A (en) * 2007-04-24 2008-01-23 暨南大学 Intelligent queuing 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
CN102521909A (en) * 2011-12-07 2012-06-27 广州广电运通金融电子股份有限公司 Queuing service processing method and system
US20130260726A1 (en) * 2012-03-29 2013-10-03 Hon Hai Precision Industry Co., Ltd. Queue reminder system and queue reminder method
CN104103113A (en) * 2013-04-15 2014-10-15 株式会社日立制作所 Queuing server and queuing method
CN104254138A (en) * 2013-06-25 2014-12-31 深圳市易普森科技有限公司 Bluetooth queuing method
CN104331974A (en) * 2014-11-07 2015-02-04 福建联迪商用设备有限公司 Bluetooth number-taking method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825342A (en) * 2005-02-26 2006-08-30 杜若平 Virtual queuing data processing method and system
CN101110136A (en) * 2007-04-24 2008-01-23 暨南大学 Intelligent queuing 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
CN102521909A (en) * 2011-12-07 2012-06-27 广州广电运通金融电子股份有限公司 Queuing service processing method and system
US20130260726A1 (en) * 2012-03-29 2013-10-03 Hon Hai Precision Industry Co., Ltd. Queue reminder system and queue reminder method
CN104103113A (en) * 2013-04-15 2014-10-15 株式会社日立制作所 Queuing server and queuing method
CN104254138A (en) * 2013-06-25 2014-12-31 深圳市易普森科技有限公司 Bluetooth queuing method
CN104331974A (en) * 2014-11-07 2015-02-04 福建联迪商用设备有限公司 Bluetooth number-taking method and system

Cited By (5)

* Cited by examiner, † Cited by third party
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
CN110264497A (en) * 2019-06-11 2019-09-20 浙江大华技术股份有限公司 Track determination method and device, the storage medium, electronic device of duration
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

Also Published As

Publication number Publication date
CN104867198B (en) 2017-04-26

Similar Documents

Publication Publication Date Title
CN105139641B (en) A kind of vehicle dispatching method and system based on WiFi relay stations
US10083448B2 (en) System and method for intermediary agency to find better service providers
EP3133853A1 (en) Method and apparatus for resource scheduling in internet of vehicles system
CN105371861B (en) A kind of route navigation method and route guidance server
CN106713662B (en) Method and device for optimizing performance of positioning system and mobile terminal
CN111785017B (en) Bus scheduling method and device and computer storage medium
EP3364633A1 (en) Method and device for identifying address type
CN104867198A (en) Queuing time acquiring method and queuing time acquiring apparatus
CN109672628B (en) V2X data packet processing method, device, equipment and storage medium
CN107845253B (en) Reservation order early warning method and server
CN111064841B (en) Message sending method and device and server
EP3310093B1 (en) Traffic control method and apparatus
US10735984B2 (en) Systems and methods for identifying user density from network data
CN107205220B (en) method and device for determining number of regional people streams
WO2009131387A2 (en) Discontinuous access management method using waiting ticket for resource allocation control, waiting ticket management method, and resource allocation control method
CN107644390B (en) Method and device for obtaining passenger flow data of track platform
CN107527315B (en) System and method for improving efficiency in scheduling instant responses and ordering transportation services
CN104956420B (en) Watch for Train delay is notified
AU2017291713A1 (en) Method and apparatus for visualizing crime deterrent effects
CN114710411B (en) Bandwidth allocation method, device, gateway and storage medium
CN107426303B (en) Information processing method and device
CN108601098B (en) Network system identification method and device of dual-card terminal
CN113038489B (en) Configuration method and device of network equipment
EP3893531A1 (en) Data management apparatus, data management method, and data communication system
CN104753728A (en) User traffic monitoring method and user traffic monitoring system

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