Summary of the invention
Embodiments provide monitoring method and the device of a kind of hotel room seizure condition, at least to solve to be correlated with
Technology causes the relatively low technical problem of monitoring precision with sky for the seizure condition of time granularity monitoring hotel room.
An aspect according to embodiments of the present invention, it is provided that the monitoring method of a kind of hotel room seizure condition, including:
Obtaining hotel room predetermined moves in the date, predetermined moves in moment and predetermined date of checking out, predetermined checks out the moment;Sentence
Disconnected predetermined to move in the date the most identical with the predetermined date of checking out, and whether makes a reservation for move in the moment early than the first predetermined time, in advance
Whether moment of surely checking out is later than the second predetermined time;And the seizure condition in room is determined according to judged result, wherein,
Predetermined move in the date different with the predetermined date of checking out in the case of, determine that room is moved in the date check out to making a reservation for predetermined
The previous day on date is occupied, moves in the moment early than the first predetermined time if predetermined, it is determined that room is to move in the date previous
It is occupied, if the predetermined moment of checking out is later than the second predetermined time, it is determined that room is occupied on the predetermined date of checking out,
If the predetermined moment of checking out is not later than the second predetermined time, it is determined that room is unoccupied on the predetermined date of checking out.
Further, after determine the seizure condition in room according to judged result, the method also includes: according to room
Seizure condition statistics room sell number at night, wherein, the number at night of selling in room is that room is in occupied state
Lasting natural law, selling in the every day being distributed in a night in room occupied period of room.
Further, determine that the seizure condition in room includes according to judged result: move in the date predetermined and make a reservation for check out
In the case of date is identical, moves in the moment be later than the first predetermined time and the predetermined moment of checking out is later than second and presets if predetermined
In the moment, it is determined that room is occupied on the predetermined date of checking out, move in the moment be later than the first predetermined time and predetermined if predetermined
Moment of checking out is not later than the second predetermined time, then room type rented a house by day and be changed into hourly paid hotel room, and labelling room exists
Predetermined move in the moment to predetermined moment of checking out during in occupied.
Further, obtain hotel room predetermined move in the date, predetermined move in moment and predetermined date of checking out,
After the predetermined moment of checking out, the method also includes: obtains room actual and moves in the date, actual moves in moment and reality
Border check out the date, actual check out the moment;And utilize after order completes actual move in the date, actual move in the moment with
And actual date of checking out, actual moment of checking out determine the seizure condition in room, including: move in the moment early than in advance actual
When being incorporated into the moment, use and actual move in the moment and replace predetermined moving in the moment and determining the seizure condition in room;Move back actual
The room moment be later than predetermined check out the moment time, using the actual moment of checking out to replace, the predetermined moment of checking out determines room takies shape
State.
Further, obtain hotel room predetermined move in the date, predetermined move in moment and predetermined date of checking out,
Before the predetermined moment of checking out, the method also includes: obtaining the sequence information in room, wherein, sequence information includes making a reservation for
Move in the date, make a reservation for move in moment and predetermined date of checking out, make a reservation for check out the moment;Generate the door lock password in room,
Wherein, door lock password is effective in making a reservation for move in the moment to predetermined time period in moment of checking out;And door lock password is sent
To the predesignated subscriber in room.
Further, before obtaining the sequence information in room, the method also includes: arrange between the adjacent order in room
Buffer time, wherein, the time of moving in of the check-out time of the first order and the second order is separated by buffer time, wherein,
First order and the second order are the adjacent order that room is corresponding.
Another aspect according to embodiments of the present invention, additionally provides the monitoring device of a kind of hotel room seizure condition, bag
Include: the first acquisition module, predetermined move in the date for obtain hotel room, predetermined move in the moment and predetermined check out
Date, predetermined check out the moment;Judge module, is used for judging that predetermined to move in the date the most identical with the date that makes a reservation for check out,
Predetermined whether moving in the moment early than the first predetermined time, whether the predetermined moment of checking out is later than the second predetermined time;And the
One determines module, for determining the seizure condition in room according to judged result, wherein, moves in the date with predetermined predetermined
In the case of date difference of checking out, determine that to move in the date occupied to predetermined the previous day on date of checking out predetermined in room, if
Predetermined move in the moment early than the first predetermined time, it is determined that to move in the previous day on date occupied, check out if predetermined in room
Moment is later than the second predetermined time, it is determined that room is occupied on the predetermined date of checking out, if the predetermined moment of checking out is not later than
Second predetermined time, it is determined that room is unoccupied on the predetermined date of checking out.
Further, this device also includes: statistical module, at the seizure condition determining room according to judged result
Afterwards, selling number at night according to what the seizure condition in room added up room, wherein, the number at night of selling in room is room
It is in the natural law that occupied state is lasting, selling in the every day being distributed in a night in room occupied period of room.
Further, first determines that module includes: the first son determines module, for moving in the date predetermined and make a reservation for move back
In the case of the room date is identical, moves in the moment be later than the first predetermined time and to be later than second pre-the predetermined moment of checking out if predetermined
If the moment, it is determined that room is occupied on the predetermined date of checking out, move in the moment be later than the first predetermined time and pre-if predetermined
Surely moment of checking out is not later than the second predetermined time, then room type rented a house by day and be changed into hourly paid hotel room, and labelling room
Predetermined move in the moment to predetermined moment of checking out during in occupied.
Further, this device also includes: the second acquisition module, for obtain hotel room predetermined move in the date,
After making a reservation for move in moment and predetermined date of checking out, predetermined moment of checking out, obtain the actual of room and move in date, reality
Move in moment and actual date of checking out, actual check out the moment in border;And second determine module, for completing at order
Rear utilize actual move in the date, actual move in moment and actual date of checking out, the actual moment of checking out determines accounting for of room
By state, wherein, second determines that module includes: the first generation replaces module, for moving in the moment early than being incorporated in advance actual
When living the moment, use and actual move in the moment and replace predetermined moving in the moment and determining the seizure condition in room;The second filial generation replaces module,
For the actual moment of checking out be later than predetermined check out the moment time, use the actual moment of checking out to replace the predetermined moment of checking out to determine
The seizure condition in room.
In embodiments of the present invention, use and obtain hotel room predetermined and move in the date, predetermined move in moment and predetermined
Check out the date, predetermined check out the moment, predetermined in the case of to move in the date different with the date that makes a reservation for check out labelling room exist
Make a reservation for move in the date occupied to predetermined the previous day on date of checking out;Judge predetermined to move in the moment when whether presetting early than first
Carving, whether the predetermined moment of checking out is later than the second predetermined time;And the seizure condition in room is determined according to judged result,
Wherein, predetermined move in the moment early than the first predetermined time in the case of, room to move in the previous day on date occupied,
In the case of the predetermined moment of checking out is later than the second predetermined time, room is occupied on the predetermined date of checking out, and moves back predetermined
In the case of the room moment is not later than the second predetermined time, room is in predetermined date unappropriated mode of checking out, by setting
Put the control parameter for monitoring hotel room seizure condition, the i.e. first predetermined time and the second predetermined time, respectively will
Predetermined move in moment and the first predetermined time, the moment that makes a reservation for check out compares with the second predetermined time, has reached with little
Time be time granularity monitoring hotel room seizure condition purpose, it is achieved thereby that improve hotel room seizure condition prison
Survey accuracy technique effect, and then solve correlation technique with sky for time granularity monitoring hotel room seizure condition
Cause the technical problem that monitoring precision is relatively low.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with in the embodiment of the present invention
Accompanying drawing, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that described embodiment
It is only the embodiment of a present invention part rather than whole embodiments.Based on the embodiment in the present invention, ability
The every other embodiment that territory those of ordinary skill is obtained under not making creative work premise, all should belong to
The scope of protection of the invention.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, "
Two " it is etc. for distinguishing similar object, without being used for describing specific order or precedence.Should be appreciated that this
Sample use data can exchange in the appropriate case, in order to embodiments of the invention described herein can with except
Here the order beyond those illustrating or describing is implemented.Additionally, term " includes " and " having " and they
Any deformation, it is intended that cover non-exclusive comprising, such as, contain series of steps or the process of unit, side
Method, system, product or equipment are not necessarily limited to those steps or the unit clearly listed, but can include the clearest
List or for intrinsic other step of these processes, method, product or equipment or unit.
According to embodiments of the present invention, it is provided that the embodiment of the method for the monitoring method of a kind of hotel room seizure condition, need
Being noted that can be at the computer of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing
System performs, and, although show logical order in flow charts, but in some cases, can be with not
It is same as the step shown or described by order execution herein.
It should be noted that the monitoring method of the hotel room seizure condition of the embodiment of the present invention can apply to hotel room
Between in management, the monitoring method of hotel room seizure condition of the application embodiment of the present invention can design Hospitality management system,
To realize accurately adding up number at night between room seizure condition and room.
Fig. 1 is the flow chart of the monitoring method of hotel room seizure condition according to embodiments of the present invention, as it is shown in figure 1,
The method comprises the steps:
Step S102, obtaining hotel room predetermined moves in the date, predetermined moves in moment and predetermined date of checking out, pre-
Surely check out the moment.
In the scheme that step S102 provides, client can realize hotel by mobile phone or computer before moving in hotel
Making a reservation for of room, client can reserve a room in an order, it is also possible to predetermined multiple rooms in an order
Between, each room all corresponding unique room identification, such as the room door trade mark in hotel, room identification is used for distinguishing hotel
In not chummery.The sequence information of client can include making a reservation for move in the date, make a reservation for move in the moment and make a reservation for check out
Date, predetermined check out the moment, the monitoring method of the hotel room seizure condition of this embodiment in terms of existing technologies,
Add the function selecting to move in time and check-out time when client's reservation, wherein, make a reservation for move in the moment with pre-
Surely moment of checking out is client's moment that timing selects in advance, is promoted to be accurate to hour from being accurate to sky by the order time,
Be conducive to hotel management personnel that room is carried out accurately allocation manager, it is to avoid to occur surpassing and sell or refuse sending out of the phenomenons such as list
Raw.
Alternatively, before step S102, the monitoring method of the hotel room seizure condition of this embodiment can also include
Following steps:
Step S1, obtains the sequence information in room, and wherein, sequence information includes predetermined moving in the date, predetermined when moving in
Carve and the predetermined date of checking out, predetermined check out the moment.
It should be noted that sequence information can also include personal information and the room information etc. of client, client's
Personal information can be ID (identity number) card No., phone number etc., and room information can be room type, the room door trade mark etc..
The sequence information of chummery can not use room identification, and the such as room door trade mark makes a distinction, and the sequence information in room can
With by network delivery to Hospitality management system, after the sequence information getting room, the hotel room of this embodiment
Between the monitoring method of seizure condition can will receive the room of the sequence information in room and this sequence information and this room
The corresponding relation of mark stores, in order to follow-up operate this sequence information accordingly, and such as, client does
Reason moves in formality or check-out etc..
Step S2, generates the door lock password in room, and wherein, door lock password is moved in the moment check out the moment to predetermined predetermined
In time period effectively.
Confirm an order information, after Hospitality management system receives sequence information, the hotel room of this embodiment client
The monitoring method of seizure condition can generate the door lock password in room corresponding to the room identification in sequence information, this door lock
Password is the door lock password of Hospitality management system stochastic generation, and this door lock password predetermined is moved in what predetermined information indicated
In moment to predetermined time period in moment of checking out effectively.This embodiment can be corresponding by the room identification in sequence information
The intelligent door lock in room realizes moving in this order being accurately positioned of time and check-out time, and then can be more accurately
Grasp the seizure condition of hotel room.
Step S3, is sent to the predesignated subscriber in room by door lock password.
After the door lock password in room corresponding to the room identification generated in sequence information, the hotel room of this embodiment
Client corresponding for the door lock password transmission of generation to this sequence information can also such as be sent out by the monitoring method of seizure condition
Deliver to the telephone number of client in sequence information.The monitoring method of the hotel room seizure condition of this embodiment is by Gu
Visitor sends the door lock password notification client room in predetermined room and makes a reservation for successfully.The hotel room seizure condition of this embodiment
Monitoring method can be by the door in room corresponding to detection client's room identification of whether being successfully received in sequence information
Lock cipher judges whether this order is disposed.
Alternatively, before step S1 obtains the sequence information in room, the prison of the hotel room seizure condition of this embodiment
Survey method can also include: arranges the buffer time between the adjacent order in room, wherein, the check-out time of the first order
Being separated by buffer time with the time of moving in of the second order, wherein, the first order and the second order are corresponding adjacent in room
Order.Buffer time in this embodiment can be according to practical situation set time, this buffer time with hour
For unit, at least 1 hour, it is also possible to be 2 hours or 3 hours etc..The hotel room of this embodiment takies shape
The monitoring method of state can be used to the previous client in this room and handles by arranging buffer time and check out between laggard having sexual intercourse
Sweep and arrange.It should be noted that buffer time has no effect on the statistics of room seizure condition, only affect the next one
What order can select predetermined moves in the time.Such as, buffer time is 1 hour, if make a reservation in the first order check out
Carving is 2 pm, then make a reservation for the time of moving in the second order the earliest for point in afternoon 3.
It should be noted that the monitoring method of the hotel room seizure condition of this embodiment can arrange buffer time, also
Can be not provided with buffer time, buffer time and time length thereof are not specifically limited by the present invention.
In the scheme that step S102 provides, make a reservation for move in the date identical with predetermined date possibility of checking out, it is also possible to different.
The seizure condition of the predetermined situation hotel room accordingly that to move in the date identical and different with the date that makes a reservation for check out is different, because of
This, in order to accurately determine the seizure condition in hotel's room rate, the embodiment of the present invention passes through step S104 to subscribing order
Predetermined in information move in the date, subscribe and move in moment and predetermined date of checking out, subscribe the moment of checking out and judge.
Step S104, it is judged that predetermined to move in the date the most identical with the predetermined date of checking out, make a reservation for move in the moment whether early than
First predetermined time, whether the predetermined moment of checking out be later than the second predetermined time.
In the technical scheme that step S104 provides, the monitoring method of the hotel room seizure condition of this embodiment is provided with
For adding up the control parameter of hotel room seizure condition, the i.e. first predetermined time and the second predetermined time.Need explanation
, the first predetermined time and the second predetermined time can be adjusted correspondingly according to actual hotel management so that wine
In shop management system, the statistics of room seizure condition is more coincide practical situation, also be able to avoid simultaneously adjacent order due to
The predetermined moment of checking out moves in, early than predetermined, the predetermined conflict that the moment causes.Such as first predetermined time can be 8 a.m.,
Second predetermined time can be 2 pm.After obtaining the predetermined information of hotel room, the hotel room of this embodiment
Between seizure condition monitoring method by judge in sequence information predetermined to move in the date the most identical with the predetermined date of checking out,
Predetermined whether moving in the moment early than the first predetermined time, whether the predetermined moment of checking out in sequence information is later than second is preset
Moment, to reach to judge the purpose of the seizure condition in this room.
The date is moved in and the predetermined date of checking out can be on the same day, it is also possible to be not on the same day it should be noted that predetermined.
When predetermined move in the date and the predetermined date of checking out be on the same day time, the first predetermined time and the second predetermined time are on the same day
Moment, when predetermined move in the date and the predetermined date of checking out be not on the same day time, when the first predetermined time and second is preset
Carve as the moment in not same date.This embodiment, in order to realize the unified management to hotel room, is preferably set up every day
Be the first predetermined time and the second predetermined time for the control parameter adding up hotel room seizure condition.
Step S106, determines the seizure condition in room, wherein, moves in the date predetermined and make a reservation for move back according to judged result
In the case of room date difference, determine that to move in the date occupied, if in advance to predetermined the previous day on date of checking out predetermined in room
Be incorporated into the moment early than the first predetermined time, it is determined that room to move in the previous day on date occupied, if predetermined when checking out
It is later than the second predetermined time quarter, it is determined that room is occupied on the predetermined date of checking out, if the predetermined moment of checking out is not later than the
Two predetermined time, it is determined that room is unoccupied on the predetermined date of checking out.
In the scheme that step S106 provides, it is determined the seizure condition in room according to the judged result of step S104,
Specifically: judge predetermined to move in the date and date the most identical may determine that make a reservation for check out is being incorporated in advance by step S104
Firmly the date is to the seizure condition in predetermined room the previous day on date of checking out, and i.e. moves in the date predetermined and make a reservation for check out the date not
In the case of Tong, determine that to move in the date occupied to predetermined the previous day on date of checking out predetermined in room.By step S104
Judge predetermined to move in the moment and whether may determine that early than the first predetermined time and move in taking of room the previous day on date predetermined
State, moves in the moment early than the first predetermined time if i.e. predetermined, then may determine that this room predetermined move in the date before
One day occupied, moves in the moment be no earlier than the first predetermined time if predetermined, and the previous day on date is moved in predetermined in this room
Unoccupied.Judge whether the predetermined moment of checking out is later than the second predetermined time and may determine that and move back predetermined by step S104
The seizure condition in room date room, if the i.e. predetermined moment of checking out is later than the second predetermined time, this predetermined room is in advance
Surely date of checking out is occupied, if the predetermined moment of checking out is not later than the second predetermined time, this predetermined room is in advance
Surely date of checking out is unoccupied.
The monitoring method of the hotel room seizure condition of this embodiment, after obtaining sequence information, moves in the date predetermined
May determine that in the case of different from the predetermined date of checking out that predetermined room is before making a reservation for move in the date to predetermined date of checking out
One day occupied, predetermined whether moves in the moment early than the first predetermined time by judging, whether the predetermined moment of checking out is later than
Second predetermined time determines predetermined moves in the previous day on date and predetermined date of checking out is the most occupied, the most greatly
Improve the monitoring precision of room seizure condition, and then ensured that the accuracy of number at night is sold in statistics room.
Alternatively, after the seizure condition according to judged result monitoring room, the hotel room of this embodiment takies shape
The monitoring method of state can also include: sells number at night, wherein, room according to what the seizure condition in room added up room
Number at night of selling be the natural law that room is in that occupied state is lasting, it is occupied that the selling of room is distributed in room a night
In every day in period.The monitoring method of the hotel room seizure condition of this embodiment is united according to the seizure condition in room
Meter room sell number at night, sell the statistic algorithm of number at night relative to prior art room, this embodiment improves
An accuracy that night, number was added up is sold in room, and then has reached accurately to manage the effect of hotel room.
Fig. 2 is the schematic diagram of the judgment rule of room seizure condition according to embodiments of the present invention, as in figure 2 it is shown, the
One predetermined time is T1, and the second predetermined time is T2, and moving in the moment is CI, and the moment of checking out is that CO, Fig. 2 include
Three consecutive days, respectively consecutive days 1, consecutive days 2 and consecutive days 3, the start time of each consecutive days is 0:00,
End time is 24:00, in conjunction with Fig. 2 by the following several situations hotel room seizure condition to the embodiment of the present invention
Monitoring method introduce further:
As CI < TI, between calculated room, during number at night, increase by 1 night, this 1 the previous day counting the CI place date night;
As T2 < CO, increase by 1 night between calculated room during number at night, count the CO place date at this 1 night.Such as in Fig. 2 first
Shown in lines, client moved in early than the time of T1 in consecutive days 2, and room is in the previous day consecutive days 2, i.e. consecutive days 1
Occupied, client checked out in the moment that consecutive days 3 is later than T2, and room is occupied on same day consecutive days 3, and this client is altogether
Take night between 3, respectively consecutive days 1, consecutive days 2 and consecutive days 3.
When TI < CI, CO≤T2 and (T2-T1)≤23 hour, i.e. CI and CO are all in same intersection, as
In Fig. 2 shown in the second lines when moved in for this same day in the case of of checking out the same day, if according to above-mentioned judgment rule,
TI < CI moves in the moment and is later than the first predetermined time, then move in the previous day on date (consecutive days 1) unoccupied, CO
≤ T2, the moment of checking out is early than the second predetermined time, then unoccupied in date of checking out (consecutive days 2) room,
It is to say, room is the most unoccupied.But, this statistics does not tally with the actual situation, and does not also meet hotel's pipe
The use habit of reason person.Therefore, the monitoring method of the hotel room seizure condition of the embodiment of the present invention was moved in for the same day
Checked out the same day and the situation of TI < CI, CO≤T2, when monitoring number at night between room seizure condition and statistics room, it is stipulated that
The room on the same day is occupied, i.e. room is occupied in consecutive days 2, and night, number was 1, was distributed in consecutive days 2.Need
Bright, the monitoring method of the hotel room seizure condition of the embodiment of the present invention check out for moving in the same day same day and
Can be rented a house by day and be changed into hourly paid hotel room sale in this room by the situation of TI < CI, CO≤T2, to reach to improve room profit
By the effect of rate.
As CI < T1, T1≤CO≤T2, and (T2-T1)≤23 hour, as shown in the 3rd lines in Fig. 2, CI < T1
Move in the moment early than the first predetermined time, then move in the previous day on date (consecutive days 1) occupied, CO≤T2, move back
The room moment is early than the second predetermined time, then unoccupied, then between room in date of checking out (consecutive days 2) room
Night, number was 1 night, was distributed in consecutive days 1.
As T1≤CI≤T2, T2≤CO, and (T2-T1)≤23 hour, as shown in the 4th lines in Fig. 2, T1≤CI
Moving in the moment is later than the first predetermined time, then move in the previous day on date (consecutive days 1) unoccupied, T2≤CO,
Moment of checking out is later than the second predetermined time, then occupied, then between room in date of checking out (consecutive days 3) room
Night, number was 2 nights, was distributed in consecutive days 2 and consecutive days 3.
Statistics room is sold number at night and first can be positioned at by CI and CO in concrete consecutive days according to above-mentioned judgment rule,
Such as, CI is positioned at D1, CO and is positioned at D2, then sell number at night=D2-D1+1, sell and be distributed in D1 extremely a night
In every day in D2, between the every day in D1 to D2, night is 1.Such as, as shown in the first lines in Fig. 2, CO
Being positioned at D2 (consecutive days 3), CI is positioned at D1 (consecutive days 1), then sell number at night=D2-D1+1=3, sell
Between night be distributed in consecutive days 1, consecutive days 2, consecutive days 3.
It should be noted that the first predetermined time T1 different in judgment rule, the second predetermined time T2, same order
Corresponding room seizure condition is with to sell night number different.Tables 1 and 2 represents different respectively and accounts for for adding up room
With room seizure condition corresponding to the control parameter of state, for identical sequence information, i.e. Zhang Wuji, guest under line,
Enter from time 2015-09-24 09:00 to 2015-09-25 13:00, room 1002, T1=08:00 in table 1,
T2=14:00, then to take the cell that 2015-09-24 is corresponding, i.e. room occupied at 2015-09-24 for this order,
Selling number at night is 1 night, sells and is distributed in 2015-09-24 a night.T1=10:00, T2=14:00 in table 2,
Then this order take the cell that 2015-09-24 with 2015-09-25 is corresponding, i.e. room at 2015-09-24 and
2015-09-25 is occupied, and selling number at night is 2 nights, sells and is distributed in 2015-09-24,2015-09-25 a night.
Table 1
Table 2
As one embodiment alternatively, judge that predetermined to move in the date the most identical with the date that makes a reservation for check out in step S104,
Predetermined whether move in the moment early than the first predetermined time, after whether the predetermined moment of checking out is later than the second predetermined time, as
Fruit judges that predetermined to move in the date identical with the date that makes a reservation for check out, then step S106 determines accounting for of room according to judged result
With state may include that predetermined move in the date identical with the predetermined date of checking out in the case of, if making a reservation for move in evening in moment
It is later than the second predetermined time in the first predetermined time and predetermined moment of checking out, then may determine that to check out the date predetermined in room
Occupied, move in the moment be later than the first predetermined time and the predetermined moment of checking out is not later than the second predetermined time, then if predetermined
Room type can be rented a house by day and be changed into hourly paid hotel room, and labelling room is moved in the moment check out the moment to predetermined predetermined
In period occupied.
Make a reservation for move in the date and predetermined checking out moved in situation about checking out the same day the identical corresponding same day on date.If entering the same day
Living situation about checking out the same day, the monitoring method of the hotel room seizure condition of the embodiment of the present invention is preferably by room simultaneously
As rent a house day and hourly paid hotel room sell.Such as, if client is later than T2 the check-out time, then taking the date of checking out ought
At night between it hotel, the same day, room cannot be sold according still further to the mode rented a house day, but remaining time still may be used in this room
To sell as hourly paid hotel room;The night between the hotel of date whereas if the check-out time early than T2, is then not take up checking out,
The same day, this room still can be sold according to the mode rented a house day, but the time of moving in only can select after the T2 moment time
Between.In this way, the monitoring method of the hotel room seizure condition of the embodiment of the present invention can realize room simultaneously
Sell with hourly paid hotel room mode and the day mode of renting a house, it is achieved the utilization to hotel room resource maximal efficiency.
It should be noted that the monitoring method of the hotel room seizure condition of the embodiment of the present invention can be using room as clock
Point room is sold, the situation as shown in Fig. 2 the second lines, and room can be sold in room by the hour, sells in statistics room
Can process according to the situation being not take up night between any one day when going out number at night, in the case, the hourly paid hotel room of this period
Have no effect on and sell as the room rented a house day on the previous day and the same day, but can not sell continuously in same order.
Further, for the hotel room rented a house day and hourly paid hotel room hybrid mode is sold, the embodiment of the present invention is used
The monitoring method of hotel room seizure condition can realize the automatic judgement whether hotel room can sell, it is to avoid the weight in room
Sell again and surpass and sell, if the hourly paid hotel room check-out time is later than T2, then automatically the seizure condition in this room on the same day is set to
Occupied, i.e. have been sold out, this room cannot function as sale of renting a house day the same day, and within this day, other times only can be as hourly paid hotel room
Sell.
As one embodiment alternatively, after step s 102, the monitoring of the hotel room seizure condition of this embodiment
Method can also include: obtain room actual moves in the date, actual moves in moment and actual date of checking out, reality
Check out the moment;Utilize after order completes and actual move in the date, actual move in moment and actual date of checking out, reality
Moment of checking out determines the seizure condition in room, specifically may include that actual move in the moment early than predetermined move in the moment time,
Use and actual move in the moment and replace predetermined moving in the moment and determining the seizure condition in room;It is later than predetermined in the actual moment of checking out
Check out the moment time, use the actual moment of checking out to replace the predetermined moment of checking out to determine the seizure condition in room.Use actual enter
Living the moment replaces predetermined moving in the moment and determining that the seizure condition in room is step S104 and performs to judge actual to move in the moment
Whether early than the first predetermined time;The actual moment of checking out is used to replace the predetermined moment of checking out to determine the seizure condition in room i.e.
Perform to judge whether the actual moment of checking out is later than the second predetermined time for step S104.
It should be noted that the moment CI and the moment CO that checks out that moves in the embodiment of the present invention is subscribing order middle finger
When being to subscribe, the predetermined of customer selecting moves in the moment and makes a reservation for check out the moment, for the order performed, or client
Early check-in occurs in moving in, delays and move in, check out in advance, delay situation about checking out, monitoring room seizure condition
The determination methods moving in moment CI and the moment CO that checks out used when selling number at night with statistics room is as follows:
Move in if handling in advance, then move in the moment as moving in moment CI to determine room seizure condition and statistics using actual
Number at night is sold in room;
If normally moving in or postponing to move in, then move in the moment as moving in moment CI to determine room seizure condition using predetermined
Number at night is sold with statistics room;
If normally checking out or checking out in advance, then check out the moment as the moment CO that checks out to determine that room takies shape using predetermined
Number at night is sold in state and statistics room;
Check out if delaying, then using the actual moment of checking out as the moment CO that checks out to determine room seizure condition and statistics room
Sell number at night.
By above-mentioned steps, the monitoring method of the hotel room seizure condition of the embodiment of the present invention is by self-defined for really
The seizure condition and statistics room that determine hotel room are sold number at night and are carried out by the control parameter of seizure condition of booking room
Optimize, make hotel room order move in the moment and the moment of checking out can be as accurate as hour, make the hotel room manager can
Grasping room seizure condition and order situation more accurately, the hotel room seizure condition of the embodiment of the present invention simultaneously
Hotel room can be rented a house or hourly paid hotel room by monitoring method as day, compatible can rent a house day and hourly paid hotel room mixing is sold
Scene, drastically increase the utilization rate of hotel room and sell rate.The hotel room of the embodiment of the present invention takies shape
The monitoring method of state solves correlation technique and causes monitoring accurately with sky for the seizure condition of time granularity monitoring hotel room
Spend relatively low technical problem, it is achieved that improve the monitoring precision of hotel room seizure condition, improve hotel room and sell
Between night number statistical accuracy, improve hotel room utilization rate technique effect.
According to embodiments of the present invention, additionally provide the device embodiment of the monitoring device of a kind of hotel room seizure condition,
It should be noted that the monitoring device of this hotel room seizure condition may be used for performing the hotel in the embodiment of the present invention
The monitoring method of room seizure condition, the monitoring method of the hotel room seizure condition in the embodiment of the present invention can be at this
The monitoring device of hotel room seizure condition performs.
Fig. 3 is the schematic diagram of the monitoring device of hotel room seizure condition according to embodiments of the present invention, as it is shown on figure 3,
This device may include that
First acquisition module 22, predetermined moves in the date for obtain hotel room, predetermined move in the moment and predetermined move back
The room date, predetermined check out the moment;Judge module 24, is used for judging predetermined moving in the date and making a reservation for check out date whether phase
With, predetermined whether move in the moment early than the first predetermined time, whether the predetermined moment of checking out is later than the second predetermined time;With
And first determine module 26, for determining the seizure condition in room according to judged result, wherein, move in the date predetermined
In the case of different from the predetermined date of checking out, determine that to move in the date occupied to predetermined the previous day on date of checking out predetermined in room
With, move in the moment early than the first predetermined time if predetermined, it is determined that room is to move in the previous day on date occupied, if in advance
Surely moment of checking out is later than the second predetermined time, it is determined that room is occupied on the predetermined date of checking out, and checks out the moment if predetermined
It is not later than the second predetermined time, it is determined that room is unoccupied on the predetermined date of checking out.
It should be noted that the first acquisition module 22 in this embodiment may be used for performing the step in the embodiment of the present application
Rapid S102, the judge module 24 in this embodiment may be used for performing step S104 in the embodiment of the present application, and this is real
Execute in example first and determine that module 26 may be used for performing step S106 in the embodiment of the present application.Above-mentioned module is with right
The example that the step answered is realized is identical with application scenarios, but is not limited to above-described embodiment disclosure of that.
Alternatively, this device can also include: statistical module, for taking shape determine room according to judged result
After state, selling number at night according to what the seizure condition in room added up room, wherein, the number at night of selling in room is room
Between be in the natural law that occupied state is lasting, selling in the every day being distributed in a night in room occupied period of room.
Alternatively, first determines that module 26 may include that the first son determines module, for moving in the date with pre-predetermined
Surely check out the date identical in the case of, move in the moment be later than the first predetermined time and the predetermined moment of checking out is later than the if predetermined
Two predetermined time, it is determined that room is occupied on the predetermined date of checking out, move in the moment be later than the first predetermined time if predetermined
And predetermined moment of checking out is not later than the second predetermined time, then room type was rented a house by day and be changed into hourly paid hotel room, and labelling
Room predetermined move in the moment to predetermined moment of checking out during in occupied.
Alternatively, this device also includes: the second acquisition module, for obtain hotel room predetermined move in the date,
After making a reservation for move in moment and predetermined date of checking out, predetermined moment of checking out, obtain the actual of room and move in date, reality
Move in moment and actual date of checking out, actual check out the moment in border;And second determine module, for completing at order
Rear utilize actual move in the date, actual move in moment and actual date of checking out, the actual moment of checking out determines accounting for of room
By state, wherein, second determines that module includes: the first generation replaces module, for moving in the moment early than being incorporated in advance actual
When living the moment, use and actual move in the moment and replace predetermined moving in the moment and determining the seizure condition in room;The second filial generation replaces module,
For the actual moment of checking out be later than predetermined check out the moment time, use the actual moment of checking out to replace the predetermined moment of checking out to determine
The seizure condition in room.
Alternatively, this device can also include: the 3rd acquisition module, for moving in day in acquisition the predetermined of hotel room
Phase, predetermined move in moment and predetermined date of checking out, predetermined moment of checking out before, obtain the sequence information in room, its
In, sequence information includes making a reservation for move in the date, make a reservation for move in moment and predetermined date of checking out, make a reservation for check out the moment;
Generation module, for generating the door lock password in room, wherein, door lock password moves in the moment to when making a reservation for check out predetermined
In time period at quarter effectively;And sending module, for door lock password being sent to the predesignated subscriber in room.
Alternatively, this device can also include: arranges module, for arranging the buffer time between the adjacent order in room,
Wherein, the time of moving in of the check-out time of the first order and the second order is separated by buffer time, wherein, the first order with
Second order is the adjacent order that room is corresponding.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not has in certain embodiment
The part described in detail, may refer to the associated description of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents, can be passed through other
Mode realize.Wherein, device embodiment described above is only schematically, the division of the most described unit,
Can be that a kind of logic function divides, actual can have other dividing mode, the most multiple unit or assembly when realizing
Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not performs.Another point, institute
The coupling each other shown or discuss or direct-coupling or communication connection can be by some interfaces, unit or mould
The INDIRECT COUPLING of block or communication connection, can be being electrical or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit
The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to
On multiple unit.Some or all of unit therein can be selected according to the actual needs to realize the present embodiment scheme
Purpose.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated
Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit is using the form realization of SFU software functional unit and as independent production marketing or use,
Can be stored in a computer read/write memory medium.Based on such understanding, technical scheme essence
On the part that in other words prior art contributed or this technical scheme completely or partially can be with software product
Form embodies, and this computer software product is stored in a storage medium, including some instructions with so that one
Platform computer equipment (can be for personal computer, server or the network equipment etc.) performs each embodiment institute of the present invention
State all or part of step of method.And aforesaid storage medium includes: USB flash disk, read only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD
Etc. the various media that can store program code.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For Yuan, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, these improve and profit
Decorations also should be regarded as protection scope of the present invention.