CN111160775A - Intelligent house arranging method and device, computer equipment and storage medium - Google Patents
Intelligent house arranging method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN111160775A CN111160775A CN201911394058.8A CN201911394058A CN111160775A CN 111160775 A CN111160775 A CN 111160775A CN 201911394058 A CN201911394058 A CN 201911394058A CN 111160775 A CN111160775 A CN 111160775A
- Authority
- CN
- China
- Prior art keywords
- room
- information
- check
- arrangement scheme
- date
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000004364 calculation method Methods 0.000 claims abstract description 13
- 238000012545 processing Methods 0.000 claims description 3
- 230000014759 maintenance of location Effects 0.000 description 9
- 230000007704 transition Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 7
- 230000008859 change Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000012216 screening Methods 0.000 description 3
- 230000001413 cellular effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06315—Needs-based resource requirements planning or analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Development Economics (AREA)
- Educational Administration (AREA)
- Primary Health Care (AREA)
- Game Theory and Decision Science (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to an intelligent room arranging method, an intelligent room arranging device, computer equipment and a storage medium, wherein the intelligent room arranging method comprises the following steps: pre-storing characteristic information of all rooms, wherein the characteristic information comprises: room number information, room type information, room style information, floor information, room orientation information, and whether or not there is a vacancy; generating a room arrangement scheme according to the client demand information and a preset strategy, wherein the client demand information comprises: a target room type, a target room style, a target floor, a target room orientation, a check-in start date, and a check-in end date; and after the room arrangement scheme is selected, marking the corresponding room as a check-in state. Through the first room arrangement scheme list and the second room arrangement list that generate, can provide more room arrangement schemes and select, and through the mark to room check-in state and idle state for the calculation of room arrangement scheme can be more accurate, has improved room arrangement efficiency, and the room arrangement error is low, the room utilization rate is high.
Description
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to an intelligent room arranging method and device, computer equipment and a storage medium.
Background
At present, a lot of puerperae can choose to carry out postpartum recovery in the lunar center, in order to adapt to the demands of different puerperae, the lunar center can be equipped with the room of multiple room types and styles usually, because of the particularity of the trade, the puerperae can live in the lunar center more than 28 days usually, and also can make an appointment in advance, and current hotel management software, the room arrangement function is single, be difficult to satisfy the complicated room arrangement demand of the lunar center, consequently, the lunar center generally adopts artifical room arrangement at present, arrange the room on paper table or spreadsheet manually promptly, produce the error more easily, and often take place to miss row, arrange the mistake, arrange the room condition such as the low-usage.
Disclosure of Invention
The embodiment of the invention provides an intelligent room arranging method and device, computer equipment and a storage medium, and has the advantages of being rapid in room arranging, low in error and high in room utilization rate.
In order to solve the above technical problem, the embodiment of the present invention adopts a technical solution that: an intelligent house arranging method comprises the following steps:
pre-storing feature information of all rooms, wherein the feature information comprises: room number information, room type information, room style information, floor information, room orientation information, and whether or not there is a vacancy;
generating a room arrangement scheme according to customer demand information and a preset strategy, wherein the customer demand information comprises: a target room type, a target room style, a target floor, a target room orientation, a start date of occupancy, and an end date of occupancy, the predetermined policy comprising: sequentially searching rooms meeting the customer requirement information according to the room number information or the sequence of floors, generating a first room arrangement scheme list from a single room meeting the customer requirement information, and generating a second room arrangement scheme list from a room combination room meeting the customer requirement information after two rooms are combined;
and after the room arrangement scheme is selected, marking the corresponding room as a check-in state.
When the technical scheme is implemented, customer requirement information is input and compared with the characteristic information of all pre-stored rooms, rooms meeting the customer requirement information are selected from all the rooms in the idle state, and through the generated first room arrangement scheme list and the second room arrangement scheme list, for the first room arrangement scheme list, a customer does not need to change rooms during the living period, and for the second room arrangement scheme list, the customer needs to change rooms once in the living process, but the room utilization rate is higher, more room arrangement schemes can be provided for selection, and through the marks of the room living-in state and the idle state, the room arrangement schemes can be more accurately calculated; the house arranging efficiency is improved through the steps, and the house arranging error is low and the room utilization rate is high.
The embodiment of the present invention is further configured that generating a single room satisfying the customer requirement information into a first room arrangement scheme list specifically includes:
comparing the idle state of each room with the customer requirement information, and marking the room as a first room arrangement scheme when the room is in the idle state between the check-in starting date and the check-in ending date;
and arranging all rooms conforming to the first room arrangement scheme according to the room type sequence or the floor sequence to form the first room arrangement scheme list.
The embodiment of the present invention is further configured such that generating a room-sharing room meeting the customer requirement information after sharing two rooms into a second room arrangement scheme list specifically includes:
comparing the idle state of each room with the client requirement information, marking the first room splicing period from the initial check-in date to the first time check-in state date between the initial check-in date and the ending check-in date and marking the first room splicing period as a first room splicing period when the room is in the idle state at the initial check-in date and the check-in state exists between the initial check-in date and the ending check-in date, and marking the second room splicing period as a second room splicing period when the room is in the idle state between the first check-in state date and the ending check-in date of the first room splicing;
combining the first room splicing time period of the first room splicing room and the second room splicing time period of the second room splicing room to obtain a second room arrangement scheme;
and combining all rooms conforming to the second room arrangement scheme to obtain the second room arrangement scheme list.
The embodiment of the present invention is further configured to perform prompt marking on the first room-sharing room with the longest first room-sharing time period and/or the second room-sharing room with the longest second room-sharing time period after the second room-arrangement scheme list is generated.
By the technical scheme, the living experience is better when the user lives in one room for a long time, and the user is reminded of the room arrangement scheme through the prompt mark, so that the user can select the room arrangement scheme more conveniently.
The embodiment of the invention is further set that the customer requirement information also comprises a reservation period, if the user confirms to check in the reservation period, the selected room in the room arrangement scheme corresponding to the customer requirement information is marked as a check-in state, otherwise, the selected room in the room arrangement scheme corresponding to the customer requirement information is marked as a reservation state in the reservation period; and if the user does not confirm the check-in the reserved reservation period, re-marking the selected room in the room arrangement scheme corresponding to the client requirement information into an idle state after the reserved reservation period.
By the technical scheme, when the client does not confirm the check-in after the reservation retention period and gives up the check-in, the room is marked as an idle state again, so that the room arrangement is convenient to perform subsequently.
The embodiment of the invention is further configured to mark the room corresponding to the adjusted demand information as a check-in state when any demand information in the customer demand information is adjusted, and perform room arrangement scheme calculation on the room associated with the adjusted demand information again.
The embodiment of the invention is further configured that the room further comprises a standby transitional room, when the room arrangement scheme is calculated, if the room arrangement scheme cannot be generated in the pre-stored room according to the customer requirement information, the standby transitional room is added into the pre-stored room for room arrangement scheme calculation, and after the standby transitional room is used, the standby transitional room is deleted from the pre-stored room.
According to the technical scheme, the standby transition room is arranged, emergency use is carried out when other room arrangement schemes cannot be generated after customer demand information is adjusted, and the orderliness of room arrangement is guaranteed.
In order to solve the above technical problem, an embodiment of the present invention further provides an intelligent house arranging device, including:
the pre-storing unit is used for pre-storing the characteristic information of all rooms, and the characteristic information comprises: room number information, room type information, room style information, floor information, room orientation information, and whether or not there is a vacancy;
the system comprises a room arrangement generating unit, a room arrangement scheme generating unit and a room arrangement processing unit, wherein the room arrangement generating unit is used for generating a room arrangement scheme according to client demand information and a preset strategy, and the client demand information comprises: a target room type, a target room style, a target floor, a target room orientation, a start date of occupancy, and an end date of occupancy, the predetermined policy comprising: sequentially searching rooms meeting the customer requirement information according to the room number information or the sequence of floors, generating a first room arrangement scheme list from a single room meeting the customer requirement information, and generating a second room arrangement scheme list from a room combination room meeting the customer requirement information after two rooms are combined;
and the marking unit is used for marking the corresponding room as the check-in state after the room arrangement scheme is selected.
In order to solve the above technical problem, an embodiment of the present invention further provides a computer device, including a memory and a processor, where the memory stores computer-readable instructions, and the computer-readable instructions, when executed by the processor, cause the processor to execute the steps of the intelligent room scheduling method.
To solve the above technical problem, an embodiment of the present invention further provides a storage medium storing computer readable instructions, which when executed by one or more processors, cause the one or more processors to execute the steps of the intelligent housing arrangement method.
The embodiment of the invention has the beneficial effects that: when the room arrangement is carried out, customer requirement information is input, the customer requirement information is compared with the characteristic information of all pre-stored rooms, rooms meeting the customer requirement information are selected from all the rooms in the idle state, and through the generated first room arrangement scheme list and the second room arrangement scheme list, the customer does not need to change rooms during the living period for the first room arrangement scheme list, and the customer needs to change rooms once in the living process for the second room arrangement scheme list, so that the room utilization rate is higher, more room arrangement schemes can be provided for selection, and the calculation of the room arrangement schemes can be more accurate through the marks of the room check-in state and the idle state; the house arranging efficiency is improved through the steps, and the house arranging error is low and the room utilization rate is high.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a basic flow diagram of an intelligent house arranging method according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of generating a first house arrangement scheme list in the embodiment of the present invention.
Fig. 3 is a schematic flow chart of generating a second room arrangement scheme list in the embodiment of the present invention.
Fig. 4 is a schematic diagram of a basic structure of an intelligent room arranging device in the embodiment of the invention.
FIG. 5 is a block diagram of the basic structure of a computer device according to an embodiment of the present invention.
The corresponding part names indicated by the numbers and letters in the drawings:
400. a pre-storing unit; 500. a house arrangement generating unit; 600. and marking the unit.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.
In some of the flows described in the present specification and claims and in the above figures, a number of operations are included that occur in a particular order, but it should be clearly understood that these operations may be performed out of order or in parallel as they occur herein, with the order of the operations being indicated as 101, 102, etc. merely to distinguish between the various operations, and the order of the operations by themselves does not represent any order of performance. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As will be appreciated by those skilled in the art, "terminal" as used herein includes both devices that are wireless signal receivers, devices that have only wireless signal receivers without transmit capability, and devices that include receive and transmit hardware, devices that have receive and transmit hardware capable of performing two-way communication over a two-way communication link. Such a device may include: a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal" or "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. As used herein, a "terminal Device" may also be a communication terminal, a web terminal, a music/video playing terminal, such as a PDA, an MID (Mobile Internet Device) and/or a Mobile phone with music/video playing function, or a smart tv, a set-top box, etc.
Referring to fig. 1, fig. 1 is a schematic view of a basic flow of the intelligent house arranging method according to the embodiment.
An intelligent house arranging method comprises the following steps:
s100, pre-storing characteristic information of all rooms, wherein the characteristic information comprises: room number information, room type information, room style information, floor information, room orientation information, and whether or not there is a free room.
S200, generating a room arrangement scheme according to the client demand information and a preset strategy, wherein the client demand information comprises: a target room type, a target room style, a target floor, a target room orientation, a start date of occupancy, and an end date of occupancy, the predetermined policy comprising: rooms meeting the customer requirement information are sequentially searched according to the room number information or the sequence of floors, a single room meeting the customer requirement information is generated into a first room arrangement scheme list, and a room splicing room meeting the customer requirement information after two rooms are spliced is generated into a second room arrangement scheme list.
In this embodiment, when the target scheme is specifically matched, the check-in start date and the check-in end date are necessary requirement information, and on the basis of meeting the house arrangement scheme of the check-in start date and the check-in end date, other requirement information may be further added to perform screening of the house arrangement scheme, and it is usually preferable to adopt the first house arrangement scheme, and the second house arrangement scheme is an alternative scheme.
As shown in fig. 2, generating a single room satisfying the customer requirement information into a first room arrangement scheme list specifically includes:
s211, comparing the idle state of each room with the customer requirement information, and marking the room as a first room arrangement scheme when the room is in the idle state between the check-in starting date and the check-in ending date;
in this embodiment, when calculating the room arrangement scheme, the rooms are sequentially compared, and first, whether the room is in an idle state on the day of the check-in start date is compared, if the room is in the check-in state, the room is directly skipped to compare with the next room, then, whether the day of the check-in end date is in the idle state is compared, if the room is in the check-in state, the room is directly skipped to compare with the next room, and then, each day between the check-in start date and the check-in end date is sequentially compared, when the room is in the idle state between the check-in start date and the check-in end date, the room is determined as the first room arrangement scheme.
S212, arranging all rooms conforming to the first room arrangement scheme according to a room type sequence or a floor sequence to form a first room arrangement scheme list;
when a first house arrangement scheme list is formed, the house numbers of all the rooms conforming to the first house arrangement scheme are listed in a number table, and then the rooms are arranged according to the house types or the floor sequences, for example, the rooms belonging to the same house type or the same floor are arranged in the same row or the same column of the number table.
As shown in fig. 3, generating a room-sharing room meeting the client requirement information after sharing two rooms into a second room-arrangement scheme list specifically includes:
s221, when the room is in an idle state at the check-in starting date and the check-in state exists between the check-in starting date and the check-in ending date, marking the time interval from the check-in starting date to the first check-in state date between the check-in starting date and the check-in ending date as a first room splicing time interval, marking the room as a first room splicing room, and when the room is in an idle state between the first check-in state date and the check-in ending date of the first room splicing room, marking the time interval as a second room splicing time interval and marking the room as a second room splicing room.
Because each room has a scheduled time period when the rooms are arranged, most or even all single rooms have a complete check-in time period which cannot be arranged from the check-in starting date to the check-in ending date, and at the moment, idle time periods of the two rooms are combined, so that more combined room arranging schemes can be obtained, and more room arranging requirements are met; of course, in some embodiments, three, four, or more rooms may be fanned.
S22, combining the first room splicing time period of the first room splicing room and the second room splicing time period of the second room splicing room to obtain a second room arrangement scheme;
in this embodiment, the starting date of the first building-sharing period is the initial date of living, the ending date of the second building-sharing period is the ending date of living, and the ending date of the first building-sharing period is adjacent to the starting date of the second building-sharing period, so that the first building-sharing period and the second building-sharing period are combined into a complete living period from the initial date of living to the ending date of living, and two rooms with the same characteristic information or characteristic information among room type information, room style information, floor information and room orientation information are preferentially combined together when building-sharing is performed.
S223, combining all rooms according with the second room arrangement scheme to obtain a second room arrangement scheme list, and arranging and displaying two rooms which are spliced as a group when the second room arrangement scheme list is formed
S224, after the second room arrangement scheme list is generated, carrying out prompt marking on the first room splicing room with the longest first room splicing time period and/or the second room splicing room with the longest second room splicing time period, wherein the prompt marking can be a character mark, a pattern mark or a color mark and the like in the embodiment; as the living experience is better when the user lives in one of the rooms for a long time, the reminding of the room arrangement scheme is carried out on the user through the prompt mark, so that the user can select the room arrangement scheme more conveniently.
S300, after the room arrangement scheme is selected, the corresponding room is marked as a check-in state, and the room marked as the check-in state cannot be arranged when the room arrangement scheme is calculated next time.
In some embodiments, the client requirement information further includes a reservation retention period, if the user confirms to check in the reservation retention period, the selected room in the room arrangement scheme corresponding to the client requirement information is marked as a check-in state, otherwise, the selected room in the room arrangement scheme corresponding to the client requirement information is marked as a reservation state in the reservation retention period; and if the user does not carry out check-in confirmation in the reserved reservation period, re-marking the selected room in the room arrangement scheme corresponding to the client requirement information into an idle state after the reserved reservation period. When the client does not confirm the check-in after the reservation retention period and gives up the check-in, the room is marked as an idle state again, so that the room arrangement is convenient to carry out subsequently.
Further, when any one of the customer demand information is adjusted, the room corresponding to the adjusted demand information is marked as a check-in state, and the room arrangement scheme calculation is performed on the room associated with the adjusted demand information again.
In the present embodiment, the case where the customer demand information changes is as follows: when any client information changes, all subsequent room arrangement schemes related to the client information are affected, and therefore the related room arrangement schemes need to be recalculated to meet the subsequent room arrangement requirements.
In some embodiments, the rooms further include a standby transitional room, when the room arrangement scheme is calculated, if the room arrangement scheme cannot be generated in the pre-stored room according to the customer requirement information, the standby transitional room is added into the pre-stored room to perform room arrangement scheme calculation, and after the standby transitional room is used, the standby transitional room is deleted from the pre-stored room, and after the standby transitional room is deleted, in the room arrangement scheme which cannot be calculated, the room arrangement scheme calculation can be performed on the standby transitional room only by manually adding the standby transitional room into the pre-stored room; through setting up reserve transition room, carry out emergent use when unable other row's room schemes of generating behind adjustment customer demand information, guarantee the orderliness of arranging the room.
When the rooms are arranged, the client requirement information is input, the client requirement information is compared with the pre-stored characteristic information of all rooms, rooms meeting the client requirement information are selected from all the rooms in the idle state, and through the generated first room arrangement scheme list and the second room arrangement scheme list, for the first room arrangement scheme list, the client does not need to change rooms during the living period, and for the second room arrangement scheme list, the client needs to change rooms once in the living process, so that the room utilization rate is higher, more room arrangement schemes can be provided for selection, and the room arrangement schemes can be more accurately calculated through the marks of the room check-in state and the idle state; the house arranging efficiency is improved through the steps, and the house arranging error is low and the room utilization rate is high.
In order to solve the above technical problem, an embodiment of the present invention further provides an intelligent house arranging device, as shown in fig. 4, including: a pre-storing unit 400, configured to pre-store feature information of all rooms, where the feature information includes: room number information, room type information, room style information, floor information, room orientation information, and whether or not there is a vacancy; a room arrangement generating unit 500, configured to generate a room arrangement scheme according to a predetermined policy according to customer requirement information, where the customer requirement information includes: a target room type, a target room style, a target floor, a target room orientation, a start date of occupancy, and an end date of occupancy, the predetermined policy comprising: sequentially searching rooms meeting the customer requirement information according to the room number information or the sequence of floors, generating a first room arrangement scheme list from a single room meeting the customer requirement information, and generating a second room arrangement scheme list from a room splicing room meeting the customer requirement information after two rooms are spliced; and a marking unit 600 for marking the corresponding room as a check-in state after the room arrangement scheme is selected.
In some embodiments, the rooming generation unit 500 includes: the first comparison screening module is used for comparing the idle state of each room with the customer requirement information, and when the room is in the idle state between the check-in starting date and the check-in ending date, the room is marked as a first room arrangement scheme; and the first list generating module is used for arranging all the rooms which accord with the first room arrangement scheme according to the room type sequence or the floor sequence to form a first room arrangement scheme list.
In some embodiments, the rooming generation unit 500 further includes: the second comparison screening module is used for comparing the idle state of each room with the customer requirement information, marking the first room splicing time period from the start date of the room to the first time of the first room splicing state date between the start date of the room and the end date of the room as a first room splicing time period and marking the room as a first room splicing room when the room is in the idle state at the start date of the room and the room is in the idle state between the start date of the room and the end date of the room, and marking the time period as a second room splicing time period and marking the room as a second room splicing room when the room is in the idle state between the first time of the room splicing state date and the end date of the room; the splicing generation module is used for combining a first splicing time period of the first splicing room and a second splicing time period of the second splicing room to obtain a second room arrangement scheme; and the second list generation module is used for combining all the rooms meeting the second room arrangement scheme to obtain a second room arrangement scheme list, and when the second room arrangement scheme list is formed, arranging and displaying the two rooms which are spliced as a group.
In some embodiments, the house arrangement generating unit 500 further includes a prompt module, configured to perform prompt marking on the first splicing room with the longest first splicing time period and/or the second splicing room with the longest second splicing time period after the second house arrangement scheme list is generated, where the prompt marking in this embodiment may be a text marking, a pattern marking, a color marking, or the like; as the living experience is better when the user lives in one of the rooms for a long time, the reminding of the room arrangement scheme is carried out on the user through the prompt mark, so that the user can select the room arrangement scheme more conveniently.
In some embodiments, the customer requirement information further includes a reservation retention period, and the room arranging generating unit 500 further includes a state modifying module for modifying the room usage state. If the user checks in the reservation retention period, marking the selected room in the room arrangement scheme corresponding to the client requirement information as a check-in state, otherwise, marking the selected room in the room arrangement scheme corresponding to the client requirement information as a reservation state in the reservation retention period; and if the user does not carry out check-in confirmation in the reserved reservation period, re-marking the selected room in the room arrangement scheme corresponding to the client requirement information into an idle state after the reserved reservation period. When the client does not confirm the check-in after the reservation retention period and gives up the check-in, the room is marked as an idle state again, so that the room arrangement is convenient to carry out subsequently.
Further, when any one of the customer requirement information is adjusted, the room arrangement generating unit 500 is further configured to mark the room corresponding to the adjusted requirement information as a check-in state, and perform room arrangement scheme calculation on the room associated with the adjusted requirement information again.
In some embodiments, the rooms further include a standby transitional room, and the intelligent room arrangement device further includes a standby increasing and decreasing module, wherein the standby increasing and decreasing module is used for adding or deleting the standby transitional room into or from the pre-stored room; when the room arrangement scheme is calculated, if the room arrangement scheme cannot be generated in the pre-stored room according to the customer requirement information, adding the standby transition room into the pre-stored room for room arrangement scheme calculation, deleting the standby transition room from the pre-stored room after the standby transition room is used, and only manually adding the standby transition room into the pre-stored room in the room arrangement scheme which cannot be calculated after the standby transition room is deleted can the room arrangement scheme calculation be carried out on the standby transition room; through setting up reserve transition room, carry out emergent use when unable other row's room schemes of generating behind adjustment customer demand information, guarantee the orderliness of arranging the room.
To solve the above technical problem, an embodiment of the present invention further provides a computer device, as shown in fig. 5, including a processor, a non-volatile storage medium, a memory, and a network interface, which are connected by a system bus. The non-volatile storage medium of the computer device stores an operating system, a database and computer readable instructions, the database can store control information sequences, and the computer readable instructions can enable the processor to realize the intelligent room arranging method when being executed by the processor. The processor of the computer device is used for providing calculation and control capability and supporting the operation of the whole computer device. The memory of the computer device may have stored therein computer readable instructions that, when executed by the processor, may cause the processor to perform an intelligent room scheduling method. The network interface of the computer device is used for connecting and communicating with the terminal. Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In this embodiment, the processor is configured to execute specific functions of the pre-storage unit 400, the room arranging generation unit 500, and the marking unit 600 in fig. 4, and the memory stores program codes and various data required for executing the above modules. The network interface is used for data transmission to and from a user terminal or a server.
The present invention also provides a storage medium storing computer-readable instructions, which when executed by one or more processors, cause the one or more processors to perform the steps of the intelligent housing arrangement method according to any one of the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the computer program is executed. The storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random Access Memory (RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
Claims (10)
1. An intelligent house arranging method is characterized by comprising the following steps:
pre-storing feature information of all rooms, wherein the feature information comprises: room number information, room type information, room style information, floor information, room orientation information, and whether or not there is a vacancy;
generating a room arrangement scheme according to customer demand information and a preset strategy, wherein the customer demand information comprises: a target room type, a target room style, a target floor, a target room orientation, a start date of occupancy, and an end date of occupancy, the predetermined policy comprising: sequentially searching rooms meeting the customer requirement information according to the room number information or the sequence of floors, generating a first room arrangement scheme list from a single room meeting the customer requirement information, and generating a second room arrangement scheme list from a room combination room meeting the customer requirement information after two rooms are combined;
and after the room arrangement scheme is selected, marking the corresponding room as a check-in state.
2. The intelligent housing arrangement method according to claim 1, wherein the generating of the single room satisfying the customer requirement information into the first housing arrangement scheme list specifically comprises:
comparing the idle state of each room with the customer requirement information, and marking the room as a first room arrangement scheme when the room is in the idle state between the check-in starting date and the check-in ending date;
and arranging all rooms conforming to the first room arrangement scheme according to the room type sequence or the floor sequence to form the first room arrangement scheme list.
3. The intelligent room arrangement method according to claim 1 or 2, wherein the step of generating a room-pieced room which needs two rooms to be pieced together and meets the customer requirement information into a second room arrangement scheme list specifically comprises:
comparing the idle state of each room with the client requirement information, marking the first room splicing period from the initial check-in date to the first time check-in state date between the initial check-in date and the ending check-in date and marking the first room splicing period as a first room splicing period when the room is in the idle state at the initial check-in date and the check-in state exists between the initial check-in date and the ending check-in date, and marking the second room splicing period as a second room splicing period when the room is in the idle state between the first check-in state date and the ending check-in date of the first room splicing;
combining the first room splicing time period of the first room splicing room and the second room splicing time period of the second room splicing room to obtain a second room arrangement scheme;
and combining all rooms conforming to the second room arrangement scheme to obtain the second room arrangement scheme list.
4. The intelligent room arrangement method according to claim 3, wherein after the second room arrangement scheme list is generated, prompt marking is performed on the first room-pieced room with the longest first room-pieced time period and/or the second room-pieced time period with the longest second room-pieced time period.
5. The intelligent house arranging method according to claim 4, wherein the customer requirement information further comprises a reservation period, if the user confirms the house-in the reservation period, the selected room in the house arranging scheme corresponding to the customer requirement information is marked as a house-in state, otherwise, the selected room in the house arranging scheme corresponding to the customer requirement information is marked as a reservation state in the reservation period; and if the user does not confirm the check-in the reserved reservation period, re-marking the selected room in the room arrangement scheme corresponding to the client requirement information into an idle state after the reserved reservation period.
6. The intelligent room arrangement method according to claim 5, wherein when any one of the customer requirement information is adjusted, the room corresponding to the adjusted requirement information is marked as a check-in state, and the room arrangement scheme calculation is performed on the room associated with the adjusted requirement information again.
7. The intelligent room arrangement method according to claim 6, wherein the rooms further comprise a standby transitional room, when the room arrangement scheme is calculated, if the room arrangement scheme cannot be generated in the pre-stored room according to the customer requirement information, the standby transitional room is added into the pre-stored room for room arrangement scheme calculation, and after the standby transitional room is used, the standby transitional room is deleted from the pre-stored room.
8. An intelligent room arrangement device, comprising:
the pre-storing unit is used for pre-storing the characteristic information of all rooms, and the characteristic information comprises: room number information, room type information, room style information, floor information, room orientation information, and whether or not there is a vacancy;
the system comprises a room arrangement generating unit, a room arrangement scheme generating unit and a room arrangement processing unit, wherein the room arrangement generating unit is used for generating a room arrangement scheme according to client demand information and a preset strategy, and the client demand information comprises: a target room type, a target room style, a target floor, a target room orientation, a start date of occupancy, and an end date of occupancy, the predetermined policy comprising: sequentially searching rooms meeting the customer requirement information according to the room number information or the sequence of floors, generating a first room arrangement scheme list from a single room meeting the customer requirement information, and generating a second room arrangement scheme list from a room combination room meeting the customer requirement information after two rooms are combined;
and the marking unit is used for marking the corresponding room as the check-in state after the room arrangement scheme is selected.
9. A computer device comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the intelligent housing arrangement method of any one of claims 1 to 7.
10. A storage medium storing computer readable instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of the intelligent housing method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911394058.8A CN111160775B (en) | 2019-12-30 | 2019-12-30 | Intelligent house-arranging method, intelligent house-arranging device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911394058.8A CN111160775B (en) | 2019-12-30 | 2019-12-30 | Intelligent house-arranging method, intelligent house-arranging device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111160775A true CN111160775A (en) | 2020-05-15 |
CN111160775B CN111160775B (en) | 2023-06-23 |
Family
ID=70559060
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911394058.8A Active CN111160775B (en) | 2019-12-30 | 2019-12-30 | Intelligent house-arranging method, intelligent house-arranging device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111160775B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115222207A (en) * | 2022-06-22 | 2022-10-21 | 肯特智能技术(深圳)股份有限公司 | Active intelligent control method, system and intelligent device |
CN116307054A (en) * | 2022-12-27 | 2023-06-23 | 杭州聚秀科技有限公司 | Intelligent office configuration method based on greedy algorithm |
Citations (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH096839A (en) * | 1995-06-22 | 1997-01-10 | Fujitsu Ltd | Reservation management system |
US5970466A (en) * | 1997-10-06 | 1999-10-19 | Impromed, Inc. | Graphical computer system and method for appointment scheduling |
JP2001306905A (en) * | 2000-04-19 | 2001-11-02 | Almex Inc | Room reservation system for leisure type hotel |
US20040093290A1 (en) * | 2002-05-09 | 2004-05-13 | International Business Machines Corporation | Intelligent free-time search |
JP2006215835A (en) * | 2005-02-03 | 2006-08-17 | Hiroshi Okamoto | Leisure hotel vacant room information retrieval system |
CN103854060A (en) * | 2014-03-20 | 2014-06-11 | 沈阳化工大学 | Hotel room online booking system |
KR20140124557A (en) * | 2013-04-17 | 2014-10-27 | 전북대학교산학협력단 | System and method for reserving rooms |
JP2015079319A (en) * | 2013-10-16 | 2015-04-23 | 株式会社日立製作所 | Conference room reservation system |
CN104636339A (en) * | 2013-11-06 | 2015-05-20 | 华为技术有限公司 | Meeting room booking method and device |
US20160267402A1 (en) * | 2015-03-12 | 2016-09-15 | James Szabo | System and Method for Maximizing Hotel Room Occupancy |
CN106295831A (en) * | 2016-08-29 | 2017-01-04 | 徐月明 | Guest room reservation method and system and hotel information management platform |
JP2017134622A (en) * | 2016-01-28 | 2017-08-03 | 株式会社コシダカホールディングス | Online learning reservation system |
CN107203819A (en) * | 2017-05-23 | 2017-09-26 | 合肥昊思云科科技有限公司 | A kind of intelligent booking method of hotel guest room |
WO2018068761A1 (en) * | 2016-10-13 | 2018-04-19 | Intelletec Limited | Booking system and method of booking room |
CN108596352A (en) * | 2018-04-28 | 2018-09-28 | 深圳春沐源控股有限公司 | Room state method for tracing and system |
CN108764503A (en) * | 2018-04-08 | 2018-11-06 | 白跃兵 | A kind of hotel self-service moves in method |
CN109166055A (en) * | 2018-08-06 | 2019-01-08 | 陕西卓居未来智能科技有限公司 | A kind of unmanned hotel intelligently moves in system and method |
CN109409555A (en) * | 2018-10-31 | 2019-03-01 | 平安科技(深圳)有限公司 | Meeting room preordering method, device and computer equipment based on data analysis |
CN109961353A (en) * | 2019-02-21 | 2019-07-02 | 上海会宝信息技术有限公司 | A kind of confinement center shotgun house recommender system and its workflow |
CN110379082A (en) * | 2019-06-03 | 2019-10-25 | 广州日顺电子科技有限公司 | Hotel check-in system and user is facilitated quickly to position the method in room, storage medium |
-
2019
- 2019-12-30 CN CN201911394058.8A patent/CN111160775B/en active Active
Patent Citations (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH096839A (en) * | 1995-06-22 | 1997-01-10 | Fujitsu Ltd | Reservation management system |
US5970466A (en) * | 1997-10-06 | 1999-10-19 | Impromed, Inc. | Graphical computer system and method for appointment scheduling |
JP2001306905A (en) * | 2000-04-19 | 2001-11-02 | Almex Inc | Room reservation system for leisure type hotel |
US20040093290A1 (en) * | 2002-05-09 | 2004-05-13 | International Business Machines Corporation | Intelligent free-time search |
JP2006215835A (en) * | 2005-02-03 | 2006-08-17 | Hiroshi Okamoto | Leisure hotel vacant room information retrieval system |
KR20140124557A (en) * | 2013-04-17 | 2014-10-27 | 전북대학교산학협력단 | System and method for reserving rooms |
JP2015079319A (en) * | 2013-10-16 | 2015-04-23 | 株式会社日立製作所 | Conference room reservation system |
CN104636339A (en) * | 2013-11-06 | 2015-05-20 | 华为技术有限公司 | Meeting room booking method and device |
CN103854060A (en) * | 2014-03-20 | 2014-06-11 | 沈阳化工大学 | Hotel room online booking system |
US20160267402A1 (en) * | 2015-03-12 | 2016-09-15 | James Szabo | System and Method for Maximizing Hotel Room Occupancy |
JP2017134622A (en) * | 2016-01-28 | 2017-08-03 | 株式会社コシダカホールディングス | Online learning reservation system |
CN106295831A (en) * | 2016-08-29 | 2017-01-04 | 徐月明 | Guest room reservation method and system and hotel information management platform |
WO2018068761A1 (en) * | 2016-10-13 | 2018-04-19 | Intelletec Limited | Booking system and method of booking room |
CN107203819A (en) * | 2017-05-23 | 2017-09-26 | 合肥昊思云科科技有限公司 | A kind of intelligent booking method of hotel guest room |
CN108764503A (en) * | 2018-04-08 | 2018-11-06 | 白跃兵 | A kind of hotel self-service moves in method |
CN108596352A (en) * | 2018-04-28 | 2018-09-28 | 深圳春沐源控股有限公司 | Room state method for tracing and system |
CN109166055A (en) * | 2018-08-06 | 2019-01-08 | 陕西卓居未来智能科技有限公司 | A kind of unmanned hotel intelligently moves in system and method |
CN109409555A (en) * | 2018-10-31 | 2019-03-01 | 平安科技(深圳)有限公司 | Meeting room preordering method, device and computer equipment based on data analysis |
CN109961353A (en) * | 2019-02-21 | 2019-07-02 | 上海会宝信息技术有限公司 | A kind of confinement center shotgun house recommender system and its workflow |
CN110379082A (en) * | 2019-06-03 | 2019-10-25 | 广州日顺电子科技有限公司 | Hotel check-in system and user is facilitated quickly to position the method in room, storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115222207A (en) * | 2022-06-22 | 2022-10-21 | 肯特智能技术(深圳)股份有限公司 | Active intelligent control method, system and intelligent device |
CN116307054A (en) * | 2022-12-27 | 2023-06-23 | 杭州聚秀科技有限公司 | Intelligent office configuration method based on greedy algorithm |
CN116307054B (en) * | 2022-12-27 | 2023-08-25 | 杭州聚秀科技有限公司 | Intelligent office configuration method based on greedy algorithm |
Also Published As
Publication number | Publication date |
---|---|
CN111160775B (en) | 2023-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112508205B (en) | Federal learning scheduling method, device and system | |
US7707256B2 (en) | Suggesting meeting locations for conducting meetings | |
CN1722105B (en) | Method and system for determining display information on auxiliary display device according to environment change | |
CN101061475B (en) | Maintaining time-date information for syncing low fidelity devices | |
US20110173221A1 (en) | Calendar expand grid | |
US20090281843A1 (en) | Calendar scheduling systems | |
US20070162322A1 (en) | Social calendar | |
CN102246588A (en) | Access and management of cross-platform calendars | |
US20080162597A1 (en) | Method and apparatus for synchronizing databases connected by wireless interface | |
CN107861982A (en) | It is dynamically determined method, terminal, server and the system of application program page layout | |
US20090182847A1 (en) | Content management apparatus and computer-readable medium storing content management program | |
CN110335009A (en) | Report form generation method, device, computer equipment and storage medium | |
CN111160775A (en) | Intelligent house arranging method and device, computer equipment and storage medium | |
CN108510337B (en) | Order generation and inventory updating method, client and server | |
US9274687B1 (en) | Managing schedule changes for correlated calendar events | |
US20080162501A1 (en) | Method and apparatus for memory management in an electronic device | |
CN1822542B (en) | Presence management server and system | |
US8965462B2 (en) | Persistent display of priority information on a portable electronic device | |
US10311382B2 (en) | Online object reservation system and online object reservation method | |
CN101515279A (en) | Remote information synchronization method and system | |
CN110008187A (en) | File transmission dispatching method, device, equipment and computer readable storage medium | |
CN111044062A (en) | Path planning and recommending method and device | |
CN110389817A (en) | Dispatching method, device and the computer program product of cloudy system | |
EP1798644B1 (en) | Method and apparatus for memory management in an electronic device | |
CN112561742A (en) | Configuration method, system, device and medium for customizing travel service |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |