WO2019128053A1 - Control method and control device for hotel rooms, computer device and storage medium - Google Patents

Control method and control device for hotel rooms, computer device and storage medium Download PDF

Info

Publication number
WO2019128053A1
WO2019128053A1 PCT/CN2018/087751 CN2018087751W WO2019128053A1 WO 2019128053 A1 WO2019128053 A1 WO 2019128053A1 CN 2018087751 W CN2018087751 W CN 2018087751W WO 2019128053 A1 WO2019128053 A1 WO 2019128053A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
control
mode
appliance
controlling
Prior art date
Application number
PCT/CN2018/087751
Other languages
French (fr)
Chinese (zh)
Inventor
关岩
Original Assignee
深圳春沐源控股有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳春沐源控股有限公司 filed Critical 深圳春沐源控股有限公司
Publication of WO2019128053A1 publication Critical patent/WO2019128053A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24024Safety, surveillance

Definitions

  • the invention belongs to the field of intelligent hotels, and particularly relates to a control method and a control device, a computer device and a storage medium of a hotel room.
  • the centralized control of the appliance does not meet or meet the needs of the user.
  • the user does not want to turn on the TV, but the television is turned on in the centralized control mode.
  • the user does not want to turn on the air conditioner at a certain moment.
  • the air conditioner is turned on, which leads to inconsistency with the user's needs, resulting in a poor user experience.
  • control of the existing hotel rooms has a problem that the control method is inflexible and the user experience is poor.
  • the invention provides a control method and a control device for a hotel room, a computer device and a storage medium, and aims to solve the problem that the control method existing in the control of the existing hotel room is inflexible and the user experience is poor.
  • a first aspect of the present invention provides a method for controlling a hotel room, which is applied to a control device, wherein the control device is connected to an electrical system, and the control method includes:
  • the preset integrated controlled appliance is controlled to be in a closed state.
  • control mode further includes a one-button sleep mode
  • control method includes:
  • control mode is the one-key sleep mode
  • the audio device in the middle plays the preset type of music at a preset volume for a preset period of time.
  • the first preset electrical appliance includes one or more of a lighting device, a television, and a curtain device
  • the second preset electrical appliance includes an air conditioner
  • the controlling the electrical system The first preset electrical appliance is in a closed state, and the second preset electrical appliance is in an open state, including:
  • the air conditioner is controlled to be in an open state, and the temperature of the air conditioner is adjusted to a preset temperature and/or the humidity of the air conditioner is adjusted to a preset humidity.
  • control mode further includes a decentralized control mode
  • control method includes:
  • control mode is the distributed control mode, determining a third preset electrical appliance in the electrical system corresponding to the control command;
  • the operating parameter of the third preset appliance is controlled to be adjusted to the target parameter according to the control instruction.
  • control mode further includes a scenario mode
  • control method includes:
  • control mode is the scene mode, controlling an operating state of the electrical appliance in the electrical system and controlling an output power of the electrical appliance in operation according to the control instruction.
  • the scene mode includes one or more of a shower mode, a movie theater mode, and a reading mode:
  • controlling the working state of the electrical appliance in the electrical system according to the control instruction and controlling the output power of the electrical appliance in operation include:
  • controlling the working state of the electrical appliance in the electrical system according to the control instruction and controlling the output power of the electrical appliance in operation include:
  • the controlling the working state of the electrical appliance in the electrical system according to the control instruction and controlling the output power of the working electrical appliance includes:
  • the temperature of the air conditioner is controlled to a third preset temperature and/or the curtain device is controlled to close the curtain and/or control the output power of the bedside lamp to a second predetermined power.
  • control method further includes:
  • the user is granted the right to control the room within a preset time period.
  • a second aspect of the present invention provides a control device for a hotel room, the control device being connected to the electrical system, wherein the control device comprises:
  • Determining a module configured to receive a control instruction, and determine a control mode corresponding to the control instruction
  • An obtaining module configured to acquire a current time when the control mode is a custom integration mode
  • a determining module configured to determine whether the current time is within a preset open time period of a preset integrated controlled appliance in the electrical system
  • control module configured to control the preset integrated controlled appliance to be turned on when the current time is within a preset opening period of the preset integrated controlled appliance in the electrical system
  • the control module is further configured to control the preset integrated controlled appliance to be in a closed state when the current time is not within a preset opening period of the integrated controlled appliance in the electrical system.
  • a third aspect of the present invention provides a computer apparatus, comprising: a processor, wherein the processor is configured to implement a method of controlling a hotel guest according to any of the above embodiments when executing a computer program stored in a memory.
  • a fourth aspect of the present invention provides a computer readable storage medium having stored thereon a computer program, wherein the computer program is executed by a processor to implement a method for controlling a hotel room according to any of the above embodiments.
  • the control mode corresponding to the control command can be identified first.
  • the control mode is recognized as the custom integration mode, the current time is acquired, and it is determined whether the current time is within a preset open period of the preset integrated controlled appliance in the electrical system.
  • the preset integrated controlled appliance may be one or more appliances, and the present invention may control the preset integration when the current time is within a preset opening period of the preset integrated controlled appliance in the electrical system.
  • the controlled electrical appliance is turned on, or when the current time is not within the preset opening period of the integrated controlled electrical appliance in the electrical system, the preset integrated controlled electrical appliance is controlled to be in a closed state.
  • the user can set and freely select the electrical appliances for centralized control in the hotel room in advance, and freely set the opening period of the electrical appliances. Therefore, the present invention can centrally control the electrical appliances in the electrical system, and at the same time meet the individual needs of the user and improve the user experience of the hotel room control.
  • FIG. 1 is a flowchart showing an implementation of a method for controlling a hotel room according to an embodiment of the present invention
  • FIG. 2 is a functional block diagram of a control device for a hotel room according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a computer apparatus according to an embodiment of the present invention.
  • Computer device 1 Hotel room control equipment 10 Memory 11 processor 12
  • Input and output device 13 Determination module 101 Acquisition module 102 Judgment module 103 Control module 104
  • FIG. 1 shows an implementation flow of a method for controlling a hotel room according to an embodiment of the present invention.
  • the order of the steps in the flowchart may be changed according to different requirements, and some steps may be omitted.
  • the parts related to the embodiment of the present invention are shown, which are detailed as follows:
  • control method of the hotel room is applied to the control device, wherein the control device includes a smart terminal, a smart tablet, and the like, and further includes a touch device such as a touch panel and a touch integrated device.
  • the control device is connected to the electrical system.
  • the control method of the hotel room includes:
  • Step S101 receiving a control instruction, and determining a control mode corresponding to the control instruction.
  • the control instruction is received by the control device.
  • the control command includes a touch operation of the user or a voice command of the user.
  • a control mode corresponding to the control command is determined. Different user requirements correspond to different control modes. In different control modes, the output power or operating parameters of the electrical appliances in the electrical system and the electrical appliances in the working state are not the same in most cases.
  • Step S102 Acquire a current time when the control mode is a custom integration mode.
  • the control mode includes at least a custom integration mode, in which the user can directly work on all or part of the electrical appliances of the hotel room by one-click operation or by voice command.
  • the operating parameters or output power are controlled.
  • the current time is acquired to determine which appliances are controlled, and the operating parameters or output power of the controlled appliances are determined.
  • the current time is a time at which the control instruction is received.
  • Step S103 Determine whether the current time is within a preset opening period of the preset integrated controlled appliance in the electrical system.
  • the preset integrated controlled appliance is a controlled appliance preset in a custom integration mode.
  • the hotel rooms can include many appliances, such as lighting, televisions, curtains and air conditioners.
  • users can set up lighting equipment, television equipment and curtain equipment as a centralized controlled appliance in a custom integrated mode.
  • the preset opening period is an opening period of a preset integrated controlled appliance set in advance. For example, the user can preset the lighting device to be turned on at 8:00 to 10:00 in the custom integration mode.
  • the TV is preset to be turned on from 10:00 to 12:00 or from 3 to 5 in the afternoon, and the curtain device is preset.
  • Step S104 Control the preset integrated controlled appliance to be in an open state when the current time is within a preset open period of the preset integrated controlled appliance in the electrical system.
  • the current time is 11 noon
  • the preset opening time of the TV is 10:00 am to 12:00 am
  • the preset air conditioning opening time is 9:00 am.
  • the current time is in the opening period of the television, and also in the opening period of the air conditioner.
  • the television and the air conditioner are controlled to be in an open state, for example, controlling a television program to play a preset channel, the preset channel is a preset channel; controlling the temperature of the air conditioner to 24°, controlling the humidity of the air conditioner to 70%, etc. .
  • Step S105 When the current time is not within the preset opening period of the integrated controlled appliance in the electrical system, the preset integrated controlled appliance is controlled to be in a closed state.
  • the current time is assumed to be four in the afternoon, and the preset opening time of the TV is from 10:00 am to 12:00 am, and the preset air conditioning opening time is from 9:00 am to 5:00 am.
  • the current time is not in the opening period of the TV, and is not in the opening period of the air conditioner.
  • the controlling the preset integrated controlled appliance to be in the off state may include: maintaining the closed state of the preset integrated controlled appliance when the preset integrated controlled appliance is currently in the off state; When the preset integrated controlled appliance is currently in an on state, the preset integrated controlled appliance is turned off.
  • control device further includes a timer, where the control method of the hotel room is further when the current time is not within the preset opening period of the preset integrated controlled appliance in the electrical system
  • the method includes: setting a timer according to a time difference between a current time and a preset on-time of the preset integrated controlled appliance, and starting a timer; after the timer expires, triggering the control instruction to start the preset integration Controlled electrical appliances.
  • step S104 and step S105 have no clear sequence of execution, in other embodiments, step S104 and step S105 may be performed simultaneously, or step S105 may be performed first, and then step S104 is performed; Or step S104 is performed first, and in step S105, FIG. 1 is merely an exemplary representation.
  • the user in the custom integration mode, can preset and freely select an appliance for centralized control, and preset an opening period of the appliance for centralized control, and obtain the current when receiving the control instruction.
  • Time when the current time is within a preset opening period of the preset integrated controlled appliance in the electrical system, controlling the preset integrated controlled appliance to be in an open state, and the current time is not in the electrical system
  • the preset integrated open time period of the integrated controlled appliance is preset
  • the preset integrated controlled appliance is controlled to be in a closed state. Therefore, the present invention can centrally control the electrical system while satisfying the individual needs of the user and improving the user experience.
  • control mode further includes a one-button sleep mode
  • control method further includes:
  • control mode is the one-key sleep mode
  • the audio device in the middle plays the preset type of music at a preset volume for a preset period of time.
  • the control mode in the embodiment of the present invention further includes a one-button sleep mode.
  • the first preset electrical appliance and the second preset electrical appliance are preset electrical appliances in a key sleep mode, for example, the first preset electrical appliance may be a lighting device or a television, etc., the second The preset appliances may be air conditioners, exhaust systems, and the like.
  • the audio device in the electrical system may include a smart sound, a smart alarm clock, and the like.
  • the first preset electrical appliance is a lighting device and/or a curtain device
  • the second preset electrical appliance is an air conditioner
  • the audio device in the electrical system is controlled to play a preset type of music at a preset volume within a preset time period, where the preset duration is a preset duration, for example, the duration may be preset to five minutes.
  • the preset volume is a preset volume.
  • the preset volume is 30% of the maximum volume of the audio device system.
  • the preset type of music is a preset music type, for example, a sleepy, more soothing music. Type to help improve the user's sleep quality and user experience.
  • the first preset electrical appliance includes one or more of a lighting device, a television, and a curtain device
  • the second preset electrical appliance includes an air conditioner
  • the controlling the electrical system The first preset electrical appliance is in a closed state, and the second preset electrical appliance is in an open state, including:
  • Controlling the lighting device and/or television broadcast is in a closed state and/or controlling the blind device to close the blind.
  • the lighting device is turned off, the control device is turned off, and the curtain device is controlled to close the curtain to create a good sleeping environment.
  • the air conditioner is controlled to be in an open state, and the temperature of the air conditioner is adjusted to a preset temperature and/or the humidity of the air conditioner is adjusted to a preset humidity.
  • the preset temperature is a preset temperature, for example 24°
  • the preset humidity is a preset humidity, for example, 70% humidity.
  • the air conditioner is turned on according to the control command, and the temperature of the air conditioner is adjusted to a preset temperature and/or the humidity of the air conditioner is adjusted to a preset humidity so that the user is in a comfortable temperature and humidity environment.
  • the lighting device in the one-key sleep mode, is controlled to be turned off, the television is turned off, and the curtain device is controlled to close the curtain, and the audio device in the electrical system is controlled to play the preset type at a preset volume within a preset time period.
  • control mode further includes a decentralized control mode
  • control method further includes:
  • control mode is the distributed control mode, determining a third preset electrical appliance in the electrical system corresponding to the control command.
  • the distributed control mode is to control an operating state of an electrical appliance in the electrical system according to the control command, or control an operating parameter of an electrical appliance in the electrical system.
  • the control mode is decentralized control
  • the third preset electrical appliance in the electrical system corresponding to the control command is determined.
  • the third preset electrical appliance is an electrical appliance preset and corresponding to the control instruction. For example, when the control mode is the decentralized control mode, if the determined electric appliance corresponding to the control instruction is a lighting device, the third preset electrical device is a lighting device, indicating that the user wants to control the lighting device.
  • the third preset electrical appliance in the electrical system corresponding to the control instruction that is, controlling the working state and/or the working parameter of the third preset electrical appliance according to the control instruction. For example, taking the above as an example, if it is determined that the determined electric appliance corresponding to the control instruction is a lighting device, the third preset electrical appliance is a lighting device, and then the working state of the lighting device is controlled according to the control instruction or Operating parameters, such as controlling the lighting device to turn on or off, or controlling the output power of the lighting device.
  • detecting current operating parameters of the lighting device For example, detecting the current output power of the lighting device.
  • the operating parameter of the third preset appliance is controlled to be adjusted to the target parameter according to the control instruction.
  • the current output power of the lighting device is 5 watts
  • the target parameter of the lighting device is output 10 watts
  • the output power of the lighting device is controlled to 5 watts to the target output power of 10 watts according to the control command. That is, the current operating parameter and the target parameter of the lighting device are different, and the operating parameter of the lighting device is controlled to be adjusted to the target parameter according to the control instruction.
  • the control mode when the control mode is the distributed control mode, the user can control the working state and working parameters of the single electrical appliance in the electrical system according to the control instruction. In this way, the user can be given a greater free choice of space, which is convenient for the user to separately control the electrical appliances in the electrical system to further improve the user experience.
  • control mode further includes a scenario mode
  • control method includes:
  • control mode is the scene mode, controlling an operating state of the electrical appliance in the electrical system and controlling an output power of the electrical appliance in operation according to the control instruction.
  • the control mode further includes a scene mode.
  • the scene mode is a mode corresponding to different scenarios, such as a shower mode when the user showers, a movie theater mode when the user watches a movie program, and a reading mode read by the user before going to bed.
  • the control mode may also include a conference mode.
  • the control mode is a different scene mode, different working states of different electrical appliances in the electrical system are controlled according to the control command, and output power of the electrical appliance in operation is controlled. For example, in the cinema mode, the lighting device is turned off, the television is turned on, the curtain device is turned off, and the curtain device is turned off; in the conference mode, the output power of the lighting device is controlled to a preset power value.
  • the scene mode includes one or more of a shower mode, a movie theater mode, and a reading mode.
  • the controlling the working state of the electrical appliance in the electrical system according to the control instruction and controlling the output power of the electrical appliance in operation include:
  • the output power of the shower fixture is controlled to a first preset output power and/or the temperature of the air conditioner is controlled to a first preset temperature.
  • the output power of the shower fixture is controlled to a first preset output power
  • the first preset output power is a preset output power
  • the first preset output power of the luminaire that can be pre-set in the shower is 5 watts.
  • the temperature of the air conditioner may be preset to a first preset temperature, wherein the first preset temperature is a preset temperature, for example, the temperature of the air conditioner may be preset to 22° in the shower mode.
  • the audio device in the control electrical system plays a preset type of music at a preset volume.
  • the preset volume is preset to be 30% of the maximum volume of the system of the audio device
  • the preset type of music is preset to be a more soothing and sleep-friendly music type.
  • controlling the working state of the electrical appliance in the electrical system according to the control instruction and controlling the output power of the electrical appliance in operation include:
  • the television program is controlled to play a preset type of movie and television program, for example, the preset type of movie and television program is preset as a movie, television or funny type of war, sci-fi or martial arts.
  • the talk show or music-related variety show, etc. can be preset according to their individual needs.
  • the curtain device is controlled to close the curtain and control the temperature of the air conditioner to a second preset temperature.
  • the second preset temperature is a preset temperature, and for example, the second preset temperature may be preset to be 22°.
  • the controlling the working state of the electrical appliance in the electrical system according to the control instruction and controlling the output power of the working electrical appliance includes:
  • the temperature of the air conditioner is controlled to a third preset temperature and/or the curtain device is controlled to close the curtain and/or control the output power of the bedside lamp to a second predetermined power.
  • the temperature of the air conditioner is controlled to a third preset temperature according to the control instruction, and the third preset temperature is a preset temperature, for example, the third pre-preset may be preset. Set the temperature to 23 °. Controlling the curtain device to close the curtain and controlling the output power of the bedside lamp to a second preset power, wherein the second preset power is a preset output power, for example, the second preset output power may be preset to be 6 watts In order to create a good reading environment for users, improve the user's reading experience.
  • the control mode further includes multiple scene modes. For example, shower mode, cinema mode, and reading mode.
  • the user can preset the working state of the electric appliance in different scene modes according to different scenarios and preset the output power of the electric appliance in operation. Therefore, the embodiment of the present invention can meet the personalized needs of different scenarios of the user, and further improve the user experience.
  • control method further includes:
  • the verification information includes the identity information of the user, such as the ID number of the user or the fingerprint of the user, and the verification information further includes the mobile phone number of the user.
  • the verification information also includes information composed of preset rules. For example, the information consisting of the hotel room number plus the last four digits of the mobile phone number of the user is the verification information.
  • the room number of the user is 023
  • the last four digits of the user's mobile phone number is 5366
  • the combination of the room number 023 and the last four digits of the mobile phone number 5366 is 0235366. Therefore, it is first necessary to receive authentication information input by the user to determine whether the user has the authority to control the hotel room.
  • the user is granted the right to control the room within a preset time period.
  • the preset verification information is pre-set verification information.
  • the preset verification information includes identity information of a user, a mobile phone number, or information composed of a preset rule. Assuming that the preset verification information is the mobile phone number 135****5366 of the user, and the verification information input by the user is the mobile phone number 135****5366 of the user, the verification information and the preset verification information input by the user are determined. Matching, at this time, the user is granted the right to control the room within a preset time period.
  • the preset time period is a preset time period.
  • the user's mobile phone number can be set as the default verification information, and the preset time period is set from 4 pm to 12 noon on the same day, if the user enters the verification information. Matching with the preset verification information, the user is granted the right to control the room within the preset time period, that is, from 4 pm on the same day to 12 noon on the next day.
  • the embodiments of the present invention can improve the security of hotel rooms and further improve the user experience.
  • FIG. 2 shows functional modules of a control device for a hotel room according to an embodiment of the present invention. For convenience of explanation, only parts related to the embodiment of the present invention are shown, which are described in detail as follows:
  • each module included in the control device 10 of the hotel room is used to perform various steps in the corresponding embodiment of FIG. 1.
  • the control device 10 of the hotel room includes a determining module 101, an obtaining module 102, a determining module 103, and a control module 104.
  • the determining module 101 is configured to receive a control instruction and determine a control mode corresponding to the control instruction.
  • the obtaining module 102 is configured to acquire a current time when the control mode is a custom integration mode.
  • the determining module 103 is configured to determine whether the current time is within a preset open period of a preset integrated controlled appliance in the electrical system.
  • the control module 104 is configured to control the preset integrated controlled appliance to be turned on when the current time is within a preset open period of the preset integrated controlled appliance in the electrical system.
  • the control module 104 is further configured to control the preset integrated controlled appliance to be in a closed state when the current time is not within a preset opening period of the integrated controlled appliance in the electrical system.
  • the user in the custom integration mode, can preset and freely select an appliance for centralized control, and preset an opening period of the appliance for centralized control, and the control module 104 is at the current time.
  • the preset integrated open time period of the preset integrated controlled electrical appliance in the electrical system is controlled, the preset integrated controlled electrical appliance is controlled to be in an open state, and the integrated controlled electrical appliance is not preset in the electrical system at the current time.
  • the preset open period is within, the preset integrated controlled appliance is controlled to be in a closed state. Therefore, the present invention can centrally control the electrical system while satisfying the individual needs of the user and improving the user experience.
  • control mode further includes a one-button sleep mode
  • control module 104 is further configured to:
  • control mode is the one-key sleep mode
  • the audio device in the middle plays the preset type of music at a preset volume for a preset period of time.
  • the first preset electrical appliance includes one or more of a lighting device, a television, and a curtain device
  • the second preset electrical appliance includes an air conditioner
  • the control module 104 is specifically configured to :
  • Controlling the lighting device and/or television broadcast is in a closed state and/or controlling the blind device to close the blind.
  • the air conditioner is controlled to be in an open state, and the temperature of the air conditioner is adjusted to a preset temperature and/or the humidity of the air conditioner is adjusted to a preset humidity.
  • the control module 104 controls the lighting device to turn off, controls the television to turn off, and controls the curtain device to close the curtain, and controls the audio device in the electrical system to preset within a preset time period.
  • the volume plays a preset type of music to create a comfortable sleeping environment, improve the user's sleep quality and user experience.
  • control mode further includes a distributed control mode
  • control device 10 of the hotel room further includes an electrical appliance determining module, a detecting module, and an adjusting module.
  • the appliance determining module is configured to determine a third preset appliance in the electrical system corresponding to the control command when the control mode is the distributed control mode.
  • the detecting module is configured to detect a current operating parameter of the third preset electrical appliance when the third preset electrical appliance is in an open state.
  • the adjusting module is configured to control, when the current operating parameter of the third preset electrical appliance is different from the target parameter, the operating parameter of the third preset electrical appliance to be adjusted to the target parameter according to the control instruction.
  • control mode when the control mode is the distributed control mode, the user can control the working state and working parameters of the single electrical appliance in the electrical system according to the control instruction. In this way, the user can be given a greater free choice of space, which is convenient for the user to separately control the electrical appliances in the electrical system.
  • control mode further includes a scenario mode
  • control module 104 is further configured to:
  • control mode is the scene mode, controlling an operating state of the electrical appliance in the electrical system and controlling an output power of the electrical appliance in operation according to the control instruction.
  • the scene mode includes one or more of a shower mode, a movie theater mode, and a reading mode.
  • control module 104 is specifically configured to:
  • the output power of the shower fixture is controlled to a first predetermined output power and/or the temperature of the air conditioner is controlled to a first preset temperature.
  • control module 104 is specifically configured to:
  • control module 104 is specifically configured to:
  • the temperature of the air conditioner is controlled to a third preset temperature and/or the curtain device is controlled to close the curtain and/or control the output power of the bedside lamp to a second predetermined power.
  • the control mode further includes multiple scene modes. For example, shower mode, cinema mode, and reading mode.
  • the user can preset the working state of the electric appliance in different scene modes according to different scenarios and preset the output power of the electric appliance in operation. Therefore, the embodiment of the present invention can meet the personalized requirements of different scenarios of the user, and further improve the user experience.
  • control device 10 of the hotel room further includes a receiving module and a rights granting module.
  • the receiving module is configured to receive verification information input by a user.
  • the authority granting module is configured to, when the verification information matches the preset verification information, grant the user the right to control the room within a preset time period.
  • the embodiments of the present invention can improve the security of hotel rooms and further improve the user experience.
  • FIG. 3 is a schematic structural diagram of a computer device 1 according to a preferred embodiment of a method for controlling a hotel room according to an embodiment of the present invention.
  • the computer device 1 includes a memory 11, a processor 12, and an input/output device 13.
  • the computer device 1 is a device capable of automatically performing numerical calculation and/or information processing according to an instruction set or stored in advance, and the hardware includes, but not limited to, a microprocessor, an application specific integrated circuit (ASIC). ), Field-Programmable Gate Array (FPGA), Digital Signal Processor (DSP), embedded devices, etc.
  • ASIC application specific integrated circuit
  • FPGA Field-Programmable Gate Array
  • DSP Digital Signal Processor
  • the computer device 1 can be any electronic product that can interact with a user, such as a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game machine, an interactive network television. (Internet Protocol Television, IPTV), smart wearable devices, etc.
  • the computer device 1 may be a server, including but not limited to a single network server, a server group composed of a plurality of network servers, or a cloud computing-based cloud composed of a large number of hosts or network servers, wherein the cloud Computation is a type of distributed computing, a super-virtual computer consisting of a cluster of loosely coupled computers.
  • the network in which the computer device 1 is located includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN), and the like.
  • VPN virtual private network
  • the memory 11 is used to store programs and various data of the control method of the hotel room, and realizes high-speed, automatic completion of access of programs or data during the operation of the computer device 1.
  • the memory 11 may be an external storage device and/or an internal storage device of the computer device 1. Further, the memory 11 may be a circuit having a storage function in a physical form, such as a RAM (Random-Access Memory), a FIFO (First In First Out), or the like, or the memory 11 It may be a storage device having a physical form, such as a memory stick, a TF card (Trans-flash Card), or the like.
  • the processor 12 can be a Central Processing Unit (CPU).
  • the CPU is a very large-scale integrated circuit, which is the computing core (Core) and the Control Unit of the computer device 1.
  • the processor 12 can execute an operating system of the computer device 1 and various types of installed applications, program codes, and the like, for example, execute an operating system in each module or unit of the control device 10 of the hotel room, and various installed applications and programs. Code to implement the control method of the hotel room.
  • the input/output device 13 is mainly used to implement an input/output function of the computer device 1, such as transceiving input digital or character information, or displaying information input by a user or information provided to a user and various menus of the computer device 1.
  • the modules/units integrated by the computer device 1 can be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the present invention implements all or part of the processes in the foregoing embodiments, and may also be completed by a computer program to instruct related hardware.
  • the computer program may be stored in a computer readable storage medium. The steps of the various method embodiments described above may be implemented when the program is executed by the processor.
  • the computer program comprises computer program code, which may be in the form of source code, object code form, executable file or some intermediate form.
  • the computer readable medium may include any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM). , random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. It should be noted that the content contained in the computer readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in a jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, computer readable media Does not include electrical carrier signals and telecommunication signals.
  • the above-described characteristic means of the present invention can be realized by an integrated circuit and control the function of the living body detecting method described in any of the above embodiments. That is, the integrated circuit of the present invention is mounted in the computer device 1 such that the computer device 1 functions as follows:
  • the preset integrated controlled appliance is controlled to be in a closed state.
  • the functions of the living body detecting method can be installed in the computer device 1 by the integrated circuit of the present invention, so that the computer device 1 can perform the living body detecting method in any of the embodiments.
  • the functions implemented are not detailed here.
  • the modules described as separate components may or may not be physically separated.
  • the components displayed as modules may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional module in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software function modules.

Abstract

A control method and a control device for hotel rooms, a computer device and a storage medium. In a self-defined integrated mode, a user may preset and freely select an electric appliance for centralized control, and preset a turn-on period of the electric appliance for centralized control. When a control instruction is received, the time is acquired, if the time is within the preset turn-on period of the preset integrated controlled electric appliance in an electric appliance system, the preset integrated controlled electric appliance is controlled to be in a turn-on state, and if the time is not within the preset turn-on period of the preset integrated controlled electric appliance in the electric appliance system, the preset integrated controlled electric appliance is controlled to be in a turn-off state. Therefore, the present invention can control the electric appliance in the electric appliance system in a centralized manner, satisfying the user's personalized demands, and improving user experience.

Description

酒店客房的控制方法和控制设备、计算机装置及存储介质Hotel room control method and control device, computer device and storage medium
本申请要求于2017年12月28日提交中国专利局,申请号为201711462610.3、发明名称为“酒店客房的控制方法和控制设备、计算机装置及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201711462610.3, the invention name is "Hotel Room Control Method and Control Equipment, Computer Device and Storage Medium", which is submitted to the Chinese Patent Office on December 28, 2017. This is incorporated herein by reference.
技术领域Technical field
本发明属于智能酒店领域,尤其涉及一种酒店客房的控制方法和控制设备、计算机装置及存储介质。The invention belongs to the field of intelligent hotels, and particularly relates to a control method and a control device, a computer device and a storage medium of a hotel room.
背景技术Background technique
人们在外出出差或者旅游时,在多数的情况下都会订购酒店,以便缓解疲劳。目前,酒店的发展越来越智能化,入住的用户只需要一键操作或者输入简单的指令,即可对酒店客房的电器进行集中控制。When people are on a business trip or traveling, they will order the hotel in most cases to ease the fatigue. At present, the development of the hotel is more and more intelligent, and the users who stay can only control the electrical appliances of the hotel rooms with one-click operation or simple instructions.
但是,有时对电器的集中控制并不能满足或者契合用户的需求,例如,用户本不想打开电视,但是在集中控制的模式下却开启了电视,再例如,用户在某一时刻并不想开启空调,但是在集中控制的模式下却开启了空调,这样就导致和用户的需求不一致,由此带来较差的用户体验。However, sometimes the centralized control of the appliance does not meet or meet the needs of the user. For example, the user does not want to turn on the TV, but the television is turned on in the centralized control mode. For example, the user does not want to turn on the air conditioner at a certain moment. However, in the centralized control mode, the air conditioner is turned on, which leads to inconsistency with the user's needs, resulting in a poor user experience.
因此,现有的酒店客房的控制存在控制方式不灵活、用户体验差的问题。Therefore, the control of the existing hotel rooms has a problem that the control method is inflexible and the user experience is poor.
发明内容Summary of the invention
本发明提供一种酒店客房的控制方法和控制设备、计算机装置及存储介质,旨在解决现有的酒店客房的控制存在的控制方式不灵活、用户体验差的问题。The invention provides a control method and a control device for a hotel room, a computer device and a storage medium, and aims to solve the problem that the control method existing in the control of the existing hotel room is inflexible and the user experience is poor.
本发明第一方面提供一种酒店客房的控制方法,应用于控制设备中,所述控制设备连接电器系统,其特征在于,所述控制方法包括:A first aspect of the present invention provides a method for controlling a hotel room, which is applied to a control device, wherein the control device is connected to an electrical system, and the control method includes:
接收控制指令,并确定所述控制指令对应的控制模式;Receiving a control instruction, and determining a control mode corresponding to the control instruction;
在所述控制模式为自定义集成模式时,获取当前时间;Obtaining a current time when the control mode is a custom integration mode;
判断所述当前时间是否在所述电器系统中的预设集成受控电器的预设开启时段内;Determining whether the current time is within a preset open period of a preset integrated controlled appliance in the electrical system;
在所述当前时间在所述电器系统中的预设集成受控电器的预设开启时段内时,控制所述预设集成受控电器处于开启状态;和/或Controlling the preset integrated controlled appliance to be in an open state when the current time is within a preset open period of the preset integrated controlled appliance in the electrical system; and/or
在所述当前时间不在所述电器系统中预设集成受控电器的预设开启时段内时,控制所述预设集成受控电器处于关闭状态。When the current time is not within the preset opening period of the integrated controlled appliance in the electrical system, the preset integrated controlled appliance is controlled to be in a closed state.
在较优的一实施例中,所述控制模式还包括一键睡眠模式,所述控制方法包括:In a preferred embodiment, the control mode further includes a one-button sleep mode, and the control method includes:
在所述控制模式为所述一键睡眠模式时,根据所述控制指令控制所述电器系统中的第一预设电器处于关闭状态、第二预设电器处于开启状态,并控制所述电器系统中的音响设备在预设时长内以预设音量播放预设类型的音乐。When the control mode is the one-key sleep mode, controlling, according to the control instruction, that the first preset electrical appliance in the electrical system is in a closed state, the second preset electrical appliance is in an open state, and controlling the electrical system The audio device in the middle plays the preset type of music at a preset volume for a preset period of time.
在较优的一实施例中,所述第一预设电器包括灯光设备、电视以及窗帘设备中的一种或者多种,所述第二预设电器包括空调,所述控制所述电器系统中的第一预设电器处于关闭状态、第二预设电器处于开启状态包括:In a preferred embodiment, the first preset electrical appliance includes one or more of a lighting device, a television, and a curtain device, and the second preset electrical appliance includes an air conditioner, and the controlling the electrical system The first preset electrical appliance is in a closed state, and the second preset electrical appliance is in an open state, including:
控制所述灯光设备和/或电视广播处于关闭状态和/或控制所述窗帘设备关闭窗帘;Controlling that the lighting device and/or television broadcast is in a closed state and/or controlling the blind device to close the blind;
控制所述空调处于开启状态,并调节所述空调的温度至预设温度及/或调节所述空调的湿度至预设湿度。The air conditioner is controlled to be in an open state, and the temperature of the air conditioner is adjusted to a preset temperature and/or the humidity of the air conditioner is adjusted to a preset humidity.
在较优的一实施例中,所述控制模式还包括分散控制模式,所述控制方法包括:In a preferred embodiment, the control mode further includes a decentralized control mode, and the control method includes:
在所述控制模式为分散控制模式时,确定与所述控制指令对应的电器系统中的第三预设电器;When the control mode is the distributed control mode, determining a third preset electrical appliance in the electrical system corresponding to the control command;
根据所述控制指令控制所述第三预设电器的工作状态和/或工作参数;Controlling an operating state and/or an operating parameter of the third preset appliance according to the control instruction;
在所述第三预设电器处于开启状态时,侦测所述第三预设电器的当前运行参数;Detecting a current operating parameter of the third preset appliance when the third preset appliance is in an open state;
在所述第三预设电器的当前运行参数与目标参数不同时,根据所述控制指令控制所述第三预设电器的工作参数调整至目标参数。When the current operating parameter of the third preset appliance is different from the target parameter, the operating parameter of the third preset appliance is controlled to be adjusted to the target parameter according to the control instruction.
在较优的一实施例中,所述控制模式还包括情景模式,所述控制方法包括:In a preferred embodiment, the control mode further includes a scenario mode, and the control method includes:
在所述控制模式为所述情景模式时,根据所述控制指令控制所述电器系统中电器的工作状态以及控制工作中的电器的输出功率。When the control mode is the scene mode, controlling an operating state of the electrical appliance in the electrical system and controlling an output power of the electrical appliance in operation according to the control instruction.
在较优的一实施例中,所述情景模式包括淋浴模式、电影院模式以及阅读 模式中的一种或者多种:In a preferred embodiment, the scene mode includes one or more of a shower mode, a movie theater mode, and a reading mode:
在所述情景模式为淋浴模式时,所述根据所述控制指令控制所述电器系统中电器的工作状态以及控制工作中的电器的输出功率包括:When the scene mode is a shower mode, the controlling the working state of the electrical appliance in the electrical system according to the control instruction and controlling the output power of the electrical appliance in operation include:
控制淋浴间灯具的输出功率至第一预设输出功率和/或控制空调的温度至第一预设温度;Controlling the output power of the shower fixture to a first preset output power and/or controlling the temperature of the air conditioner to a first preset temperature;
在所述情景模式为电影院模式时,所述根据所述控制指令控制所述电器系统中电器的工作状态以及控制工作中的电器的输出功率包括:When the scene mode is a movie theater mode, the controlling the working state of the electrical appliance in the electrical system according to the control instruction and controlling the output power of the electrical appliance in operation include:
控制电视播放预设类型的影视节目和/或控制窗帘设备关闭窗帘和/或控制空调的温度至第二预设温度;Controlling television to play a preset type of film and television program and/or controlling the curtain device to close the curtain and/or control the temperature of the air conditioner to a second preset temperature;
在所述情景模式为阅读模式时,所述根据所述控制指令控制所述电器系统中电器的工作状态以及控制工作中的电器的输出功率包括:When the scene mode is the reading mode, the controlling the working state of the electrical appliance in the electrical system according to the control instruction and controlling the output power of the working electrical appliance includes:
控制空调的温度至第三预设温度和/或控制窗帘设备关闭窗帘和/或控制床头灯的输出功率至第二预设功率。The temperature of the air conditioner is controlled to a third preset temperature and/or the curtain device is controlled to close the curtain and/or control the output power of the bedside lamp to a second predetermined power.
在较优的一实施例中,所述控制方法还包括:In a preferred embodiment, the control method further includes:
接收用户输入的验证信息;Receiving verification information input by the user;
在所述验证信息与预设验证信息相匹配时,授予所述用户在预设时段内控制客房的权限。When the verification information matches the preset verification information, the user is granted the right to control the room within a preset time period.
本发明第二方面提供一种酒店客房的控制设备,所述控制设备连接所述电器系统,其特征在于,所述控制设备包括:A second aspect of the present invention provides a control device for a hotel room, the control device being connected to the electrical system, wherein the control device comprises:
确定模块,用于接收控制指令,并确定所述控制指令对应的控制模式;Determining a module, configured to receive a control instruction, and determine a control mode corresponding to the control instruction;
获取模块,用于在所述控制模式为自定义集成模式时,获取当前时间;An obtaining module, configured to acquire a current time when the control mode is a custom integration mode;
判断模块,用于判断所述当前时间是否在所述电器系统中的预设集成受控电器的预设开启时段内;a determining module, configured to determine whether the current time is within a preset open time period of a preset integrated controlled appliance in the electrical system;
控制模块,用于在所述当前时间在所述电器系统中的预设集成受控电器的预设开启时段内时,则控制所述预设集成受控电器开启;a control module, configured to control the preset integrated controlled appliance to be turned on when the current time is within a preset opening period of the preset integrated controlled appliance in the electrical system;
所述控制模块,还用于在所述当前时间不在所述电器系统中预设集成受控电器的预设开启时段内时,则控制所述预设集成受控电器处于关闭状态。The control module is further configured to control the preset integrated controlled appliance to be in a closed state when the current time is not within a preset opening period of the integrated controlled appliance in the electrical system.
本发明第三方面提供一种计算机装置,所述计算机装置包括处理器,所述处理器用于执行存储器中存储的计算机程序时实现上述任一实施例所述酒店客 房的控制方法。A third aspect of the present invention provides a computer apparatus, comprising: a processor, wherein the processor is configured to implement a method of controlling a hotel guest according to any of the above embodiments when executing a computer program stored in a memory.
本发明第四方面提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一实施例所述酒店客房的控制方法。A fourth aspect of the present invention provides a computer readable storage medium having stored thereon a computer program, wherein the computer program is executed by a processor to implement a method for controlling a hotel room according to any of the above embodiments.
在本发明中,通过接收控制指令,可以先对控制指令所对应的控制模式进行识别。在所述控制模式被识别为自定义集成模式时,获取当前时间,并且判断所述当前时间是否在所述电器系统中的预设集成受控电器的预设开启时段内。预设的集成受控电器可以是一个或多个电器,在所述当前时间在所述电器系统中的预设集成受控电器的预设开启时段内时,本发明可以控制所述预设集成受控电器进行开启,或者在所述当前时间不在所述电器系统中预设集成受控电器的预设开启时段内时,控制所述预设集成受控电器处于关闭状态。本发明在自定义集成模式下,用户可以提前设置和自由选择酒店客房中用于集中控制的电器,以及自由设置电器的开启时段。因此,本发明可以对电器系统中的电器进行集中控制,同时满足用户的个性化需求,提高酒店客房控制的用户体验。In the present invention, by receiving the control command, the control mode corresponding to the control command can be identified first. When the control mode is recognized as the custom integration mode, the current time is acquired, and it is determined whether the current time is within a preset open period of the preset integrated controlled appliance in the electrical system. The preset integrated controlled appliance may be one or more appliances, and the present invention may control the preset integration when the current time is within a preset opening period of the preset integrated controlled appliance in the electrical system The controlled electrical appliance is turned on, or when the current time is not within the preset opening period of the integrated controlled electrical appliance in the electrical system, the preset integrated controlled electrical appliance is controlled to be in a closed state. In the custom integration mode, the user can set and freely select the electrical appliances for centralized control in the hotel room in advance, and freely set the opening period of the electrical appliances. Therefore, the present invention can centrally control the electrical appliances in the electrical system, and at the same time meet the individual needs of the user and improve the user experience of the hotel room control.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings can also be obtained from those skilled in the art based on these drawings without paying any creative effort.
图1是本发明实施例提供的酒店客房的控制方法的实现流程图;1 is a flowchart showing an implementation of a method for controlling a hotel room according to an embodiment of the present invention;
图2是本发明实施例提供的酒店客房的控制设备的功能模块图;2 is a functional block diagram of a control device for a hotel room according to an embodiment of the present invention;
图3是本发明实施例提供的计算机装置的结构示意图。FIG. 3 is a schematic structural diagram of a computer apparatus according to an embodiment of the present invention.
主要元件符号说明Main component symbol description
计算机装置Computer device 11
酒店客房的控制设备Hotel room control equipment 1010
存储器 Memory 1111
处理器 processor 1212
输入输出设备Input and output device 1313
确定模块 Determination module 101101
获取模块 Acquisition module 102102
判断模块 Judgment module 103103
控制模块 Control module 104104
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
图1示出了本发明实施例提供的酒店客房的控制方法的实现流程,根据不同的需求,该流程图中步骤的顺序可以改变,某些步骤可以省略。为了便于说明,仅示出了与本发明实施例相关的部分,详述如下:FIG. 1 shows an implementation flow of a method for controlling a hotel room according to an embodiment of the present invention. The order of the steps in the flowchart may be changed according to different requirements, and some steps may be omitted. For the convenience of description, only the parts related to the embodiment of the present invention are shown, which are detailed as follows:
在本发明实施例中,酒店客房的控制方法,应用于控制设备中,其中,所述控制设备包括智能手机、智能平板等智能终端,还包括触控面板、触控一体机等触控设备等,所述控制设备连接所述电器系统。In the embodiment of the present invention, the control method of the hotel room is applied to the control device, wherein the control device includes a smart terminal, a smart tablet, and the like, and further includes a touch device such as a touch panel and a touch integrated device. The control device is connected to the electrical system.
如图1所示,所述酒店客房的控制方法包括:As shown in FIG. 1, the control method of the hotel room includes:
步骤S101,接收控制指令,并确定所述控制指令对应的控制模式。Step S101, receiving a control instruction, and determining a control mode corresponding to the control instruction.
在本发明实施例中,通过所述控制设备接收控制指令。其中,所述控制指令包括用户的触控操作或者用户语音指令等。在接收到控制指令时,确定所述控制指令对应的控制模式。不同的用户需求对应不同的控制模式,在不同的控制模式下,电器系统中处于工作状态的电器以及处于工作状态的电器的输出功率或者运行参数,多数情况下并不相同。In an embodiment of the invention, the control instruction is received by the control device. The control command includes a touch operation of the user or a voice command of the user. When a control command is received, a control mode corresponding to the control command is determined. Different user requirements correspond to different control modes. In different control modes, the output power or operating parameters of the electrical appliances in the electrical system and the electrical appliances in the working state are not the same in most cases.
步骤S102,在所述控制模式为自定义集成模式时,获取当前时间。Step S102: Acquire a current time when the control mode is a custom integration mode.
在本发明实施例中,所述控制模式至少包括自定义集成模式,在所述自定义集成模式下,用户可以通过一键操作或者通过语音指令直接对酒店客房的全部或者部分电器的工作状态以及工作参数或者输出功率进行控制。在确定所述控制模式为自定义集成模式时,获取当前时间,以确定对哪些电器进行控制,以及确定受控电器的工作参数或者输出功率。其中,在所述自定义 集成模式下,所述当前时间为接收所述控制指令的时间。In the embodiment of the present invention, the control mode includes at least a custom integration mode, in which the user can directly work on all or part of the electrical appliances of the hotel room by one-click operation or by voice command. The operating parameters or output power are controlled. When it is determined that the control mode is the custom integration mode, the current time is acquired to determine which appliances are controlled, and the operating parameters or output power of the controlled appliances are determined. Wherein, in the custom integration mode, the current time is a time at which the control instruction is received.
步骤S103,判断所述当前时间是否在所述电器系统中的预设集成受控电器的预设开启时段内。Step S103: Determine whether the current time is within a preset opening period of the preset integrated controlled appliance in the electrical system.
所述预设集成受控电器为在自定义集成模式下预先设置的受控电器。酒店客房中可以包括很多电器,例如,灯光设备、电视、窗帘设备以及空调等电器。为了满足用户的个性化需求,用户可以设置灯光设备、电视设备以及窗帘设备作为自定义集成模式下的集中受控电器。所述预设开启时段为预先设置的预设集成受控电器的开启时段。例如,用户可以在自定义集成模式下预先设置灯光设备在晚上八点至十点开启,预先设置电视在上午十点至十二点开启或者下午三点至五点开启,以及预先设置窗帘设备在上午十二点至下午两点关闭窗帘等;或者预先设置灯光设备在晚上十点至第二天早上七点关闭、电视在晚上十点至第二天早上关闭、空调在晚上十点至第二天早上七点开启至恒定的温度以及恒定的湿度等,例如,在晚上十点至第二天早上七点之间,控制空调温度至24°以及控制空调湿度至70%等。在获取到当前时间时,即可根据用户在自定义集成模式下的预先设置,判断当前时间是否在预设集成受控电器的预设开启时段内。The preset integrated controlled appliance is a controlled appliance preset in a custom integration mode. The hotel rooms can include many appliances, such as lighting, televisions, curtains and air conditioners. In order to meet the individual needs of users, users can set up lighting equipment, television equipment and curtain equipment as a centralized controlled appliance in a custom integrated mode. The preset opening period is an opening period of a preset integrated controlled appliance set in advance. For example, the user can preset the lighting device to be turned on at 8:00 to 10:00 in the custom integration mode. The TV is preset to be turned on from 10:00 to 12:00 or from 3 to 5 in the afternoon, and the curtain device is preset. Close the curtains from 12:00 am to 2:00 pm; or set the lighting equipment to close at 10:00 pm to 7:00 the next morning, TV at 10:00 pm to the next morning, air conditioning at 10:00 to 2:00 It is turned on at 7:00 in the morning to a constant temperature and constant humidity. For example, between 10:00 pm and 7:00 am the next day, the air conditioning temperature is controlled to 24° and the air conditioning humidity is controlled to 70%. When the current time is obtained, it can be determined according to the preset setting of the user in the custom integration mode whether the current time is within the preset opening period of the preset integrated controlled appliance.
步骤S104,在所述当前时间在所述电器系统中的预设集成受控电器的预设开启时段内时,控制所述预设集成受控电器处于开启状态。Step S104: Control the preset integrated controlled appliance to be in an open state when the current time is within a preset open period of the preset integrated controlled appliance in the electrical system.
例如,在自定义集成模式下,假设当前时间为中午十一点,且预设设置的电视的开启时段为上午十点至上午十二点,以及预先设置的空调的开启时段为上午九点至上午十一点半,则所述当前时间在电视的开启时段、同时也在空调的开启时段。此时,则控制电视以及空调处于开启状态,例如控制电视播放预设频道的影视节目,所述预设频道为预先设置的频道;控制空调的温度至24°,控制空调的湿度至70%等。For example, in the custom integration mode, it is assumed that the current time is 11 noon, and the preset opening time of the TV is 10:00 am to 12:00 am, and the preset air conditioning opening time is 9:00 am. At 11:30 in the morning, the current time is in the opening period of the television, and also in the opening period of the air conditioner. At this time, the television and the air conditioner are controlled to be in an open state, for example, controlling a television program to play a preset channel, the preset channel is a preset channel; controlling the temperature of the air conditioner to 24°, controlling the humidity of the air conditioner to 70%, etc. .
步骤S105,在所述当前时间不在所述电器系统中预设集成受控电器的预设开启时段内时,控制所述预设集成受控电器处于关闭状态。Step S105: When the current time is not within the preset opening period of the integrated controlled appliance in the electrical system, the preset integrated controlled appliance is controlled to be in a closed state.
例如,在自定义集成模式下,假设当前时间为下午四点,且预设设置的电视的开启时段为上午十点至上午十二点,以及预先设置的空调的开启时段为上午九点至上午十一点半,则所述当前时间不在电视的开启时段,同时也不在空 调的开启时段。此时,则控制电视以及空调处于关闭状态。所述的控制所述预设集成受控电器处于关闭状态可以包括:在所述预设集成受控电器当前已经是处于关闭状态时,即维持所述预设集成受控电器的关闭状态;在所述预设集成受控电器当前是开启状态时,即关闭所述预设集成受控电器。For example, in the custom integration mode, the current time is assumed to be four in the afternoon, and the preset opening time of the TV is from 10:00 am to 12:00 am, and the preset air conditioning opening time is from 9:00 am to 5:00 am. At 11:30, the current time is not in the opening period of the TV, and is not in the opening period of the air conditioner. At this time, the TV and the air conditioner are turned off. The controlling the preset integrated controlled appliance to be in the off state may include: maintaining the closed state of the preset integrated controlled appliance when the preset integrated controlled appliance is currently in the off state; When the preset integrated controlled appliance is currently in an on state, the preset integrated controlled appliance is turned off.
此外,在进一步的实施方式中,所述控制设备还包括计时器,在当前时间不在所述电器系统中的预设集成受控电器的预设开启时段内时,所述酒店客房的控制方法还包括:根据当前时间与所述预设集成受控电器的预设开启时段的时间差设置计时器并启动计时器;在所述计时器计时结束后,触发所述控制指令去开启所述预设集成受控电器。In addition, in a further embodiment, the control device further includes a timer, where the control method of the hotel room is further when the current time is not within the preset opening period of the preset integrated controlled appliance in the electrical system The method includes: setting a timer according to a time difference between a current time and a preset on-time of the preset integrated controlled appliance, and starting a timer; after the timer expires, triggering the control instruction to start the preset integration Controlled electrical appliances.
另外,在本发明实施例中,步骤S104与步骤S105并无明确的先后执行顺序,在其他的实施例中,步骤S104与步骤S105可以同时执行,也可以先执行步骤S105,再执行步骤S104;或者先执行步骤S104,在执行步骤S105,图1仅仅是一种示例性的表示。In addition, in the embodiment of the present invention, step S104 and step S105 have no clear sequence of execution, in other embodiments, step S104 and step S105 may be performed simultaneously, or step S105 may be performed first, and then step S104 is performed; Or step S104 is performed first, and in step S105, FIG. 1 is merely an exemplary representation.
在本发明实施例中,在自定义集成模式下,用户可以预先设置和自由选择用于集中控制的电器,以及预先设置用于集中控制的电器的开启时段,在接收到控制指令时,获取当前时间,在当前时间在所述电器系统中的预设集成受控电器的预设开启时段内时,控制所述预设集成受控电器处于开启状态,在所述当前时间不在所述电器系统中预设集成受控电器的预设开启时段内时,控制所述预设集成受控电器处于关闭状态。因此,本发明可以对电器系统进行集中控制,同时满足用户的个性化需求,提高用户体验。In the embodiment of the present invention, in the custom integration mode, the user can preset and freely select an appliance for centralized control, and preset an opening period of the appliance for centralized control, and obtain the current when receiving the control instruction. Time, when the current time is within a preset opening period of the preset integrated controlled appliance in the electrical system, controlling the preset integrated controlled appliance to be in an open state, and the current time is not in the electrical system When the preset integrated open time period of the integrated controlled appliance is preset, the preset integrated controlled appliance is controlled to be in a closed state. Therefore, the present invention can centrally control the electrical system while satisfying the individual needs of the user and improving the user experience.
为了进一步的提高用户体验,在较优的一实施例中,所述控制模式还包括一键睡眠模式,所述控制方法还包括:In order to further improve the user experience, in a preferred embodiment, the control mode further includes a one-button sleep mode, and the control method further includes:
在所述控制模式为所述一键睡眠模式时,根据所述控制指令控制所述电器系统中的第一预设电器处于关闭状态、第二预设电器处于开启状态,并控制所述电器系统中的音响设备在预设时长内以预设音量播放预设类型的音乐。When the control mode is the one-key sleep mode, controlling, according to the control instruction, that the first preset electrical appliance in the electrical system is in a closed state, the second preset electrical appliance is in an open state, and controlling the electrical system The audio device in the middle plays the preset type of music at a preset volume for a preset period of time.
在多数的情况下,用户入住酒店是为了缓解疲劳、临时休息。因此,为了进一步的提高用户体验,本发明实施例中的控制模式还包括一键睡眠模式。其中,所述第一预设电器以及所述第二预设电器为在一键睡眠模式下预先设置的电器,例如,所述第一预设电器可以是灯光设备或者电视等,所述第二预设电 器可以是空调、排气系统等。所述电器系统中的音响设备可以包括智能音响、智能闹钟等。In most cases, the user stays in the hotel to relieve fatigue and rest. Therefore, in order to further improve the user experience, the control mode in the embodiment of the present invention further includes a one-button sleep mode. The first preset electrical appliance and the second preset electrical appliance are preset electrical appliances in a key sleep mode, for example, the first preset electrical appliance may be a lighting device or a television, etc., the second The preset appliances may be air conditioners, exhaust systems, and the like. The audio device in the electrical system may include a smart sound, a smart alarm clock, and the like.
在一键睡眠模式下,假设所述第一预设电器为灯光设备和/或窗帘设备、所述第二预设电器为空调,在接收到控制指令时,控制所述电器系统中的灯光设备处于关闭状态、控制空调处于开启状态,且控制空调温度至24°,控制空调湿度至70%。另外,控制所述电器系统中的音响设备在预设时长内以预设音量播放预设类型的音乐,所述预设时长为预先设置的时长,例如,可以预先设置时长为五分钟,所述预设音量为预先设置的音量,例如,预先设置音量为所述音响设备的系统最大音量的30%,预设类型的音乐为预先设置的音乐类型,例如有助于睡眠的、较为舒缓的音乐类型,以帮助提高用户的睡眠质量以及用户体验。In the one-button sleep mode, it is assumed that the first preset electrical appliance is a lighting device and/or a curtain device, and the second preset electrical appliance is an air conditioner, and when receiving a control instruction, controlling the lighting device in the electrical system It is in the off state, the air conditioner is controlled to be on, and the air conditioner temperature is controlled to 24°, and the air conditioner humidity is controlled to 70%. In addition, the audio device in the electrical system is controlled to play a preset type of music at a preset volume within a preset time period, where the preset duration is a preset duration, for example, the duration may be preset to five minutes. The preset volume is a preset volume. For example, the preset volume is 30% of the maximum volume of the audio device system. The preset type of music is a preset music type, for example, a sleepy, more soothing music. Type to help improve the user's sleep quality and user experience.
在较优的一实施例中,所述第一预设电器包括灯光设备、电视以及窗帘设备中的一种或者多种,所述第二预设电器包括空调,所述控制所述电器系统中的第一预设电器处于关闭状态、第二预设电器处于开启状态包括:In a preferred embodiment, the first preset electrical appliance includes one or more of a lighting device, a television, and a curtain device, and the second preset electrical appliance includes an air conditioner, and the controlling the electrical system The first preset electrical appliance is in a closed state, and the second preset electrical appliance is in an open state, including:
控制所述灯光设备和/或电视广播处于关闭状态和/或控制所述窗帘设备关闭窗帘。Controlling the lighting device and/or television broadcast is in a closed state and/or controlling the blind device to close the blind.
例如,在确定所述控制指令对应的模式为一键睡眠模式时,说明用户已准备休息。此时,根据用户的触控操作或者语音指令控制灯光设备关闭、控制电器关闭以及控制窗帘设备关闭窗帘,以便营造良好的睡眠环境。For example, when it is determined that the mode corresponding to the control instruction is the one-key sleep mode, it indicates that the user has prepared to rest. At this time, according to the user's touch operation or voice command, the lighting device is turned off, the control device is turned off, and the curtain device is controlled to close the curtain to create a good sleeping environment.
控制所述空调处于开启状态,并调节所述空调的温度至预设温度及/或调节所述空调的湿度至预设湿度。The air conditioner is controlled to be in an open state, and the temperature of the air conditioner is adjusted to a preset temperature and/or the humidity of the air conditioner is adjusted to a preset humidity.
另外,所述预设温度为预先设置的温度,例如24°,所述预设湿度为预先设置的湿度,例如70%的湿度。在一键睡眠模式下,根据控制指令控制空调处于开启状态,并调节空调的温度至预设温度及/或调节空调的湿度至预设湿度,以便用户处在舒适的温度和湿度环境中。In addition, the preset temperature is a preset temperature, for example 24°, and the preset humidity is a preset humidity, for example, 70% humidity. In the one-button sleep mode, the air conditioner is turned on according to the control command, and the temperature of the air conditioner is adjusted to a preset temperature and/or the humidity of the air conditioner is adjusted to a preset humidity so that the user is in a comfortable temperature and humidity environment.
在本发明实施例中,在一键睡眠模式下,控制灯光设备关闭、控制电视关闭以及控制窗帘设备关闭窗帘,并控制电器系统中的音响设备在预设时长内以预设音量播放预设类型的音乐,以给用户营造舒适的睡眠环境、提高用户的睡眠质量以及用户体验。In the embodiment of the present invention, in the one-key sleep mode, the lighting device is controlled to be turned off, the television is turned off, and the curtain device is controlled to close the curtain, and the audio device in the electrical system is controlled to play the preset type at a preset volume within a preset time period. Music to create a comfortable sleeping environment, improve the user's sleep quality and user experience.
为了进一步的提高用户体验,在较优的一实施例中,所述控制模式还包括分散控制模式,所述控制方法还包括:In order to further improve the user experience, in a preferred embodiment, the control mode further includes a decentralized control mode, and the control method further includes:
在所述控制模式为分散控制模式时,确定与所述控制指令对应的电器系统中的第三预设电器。When the control mode is the distributed control mode, determining a third preset electrical appliance in the electrical system corresponding to the control command.
在本发明实施例中,所述分散控制模式为根据控制指令控制电器系统中的一个电器的工作状态,或者控制电器系统中一个电器的工作参数。在所述控制模式为分散控制时,即确定与所述控制指令对应的电器系统中的第三预设电器。其中,所述第三预设电器为预先设置的,且与所述控制指令对应的电器。例如,在控制模式为分散控制模式时,假设确定的所述控制指令对应的电器为灯光设备,则所述第三预设电器即为灯光设备,说明用户欲对灯光设备进行控制。In the embodiment of the present invention, the distributed control mode is to control an operating state of an electrical appliance in the electrical system according to the control command, or control an operating parameter of an electrical appliance in the electrical system. When the control mode is decentralized control, the third preset electrical appliance in the electrical system corresponding to the control command is determined. The third preset electrical appliance is an electrical appliance preset and corresponding to the control instruction. For example, when the control mode is the decentralized control mode, if the determined electric appliance corresponding to the control instruction is a lighting device, the third preset electrical device is a lighting device, indicating that the user wants to control the lighting device.
根据所述控制指令控制所述第三预设电器的工作状态和/或工作参数。Controlling an operating state and/or an operating parameter of the third preset appliance according to the control instruction.
在确定控制指令对应的电器系统中的第三预设电器时,即根据所述控制指令控制所述第三预设电器的工作状态和/或工作参数。例如,同样以上述为例,假设确定的所述控制指令对应的电器为灯光设备,则所述第三预设电器即为灯光设备,则根据所述控制指令控制所述灯光设备的工作状态或者工作参数,例如控制所述灯光设备开启或者关闭,或者控制所述灯光设备的输出功率。When determining the third preset electrical appliance in the electrical system corresponding to the control instruction, that is, controlling the working state and/or the working parameter of the third preset electrical appliance according to the control instruction. For example, taking the above as an example, if it is determined that the determined electric appliance corresponding to the control instruction is a lighting device, the third preset electrical appliance is a lighting device, and then the working state of the lighting device is controlled according to the control instruction or Operating parameters, such as controlling the lighting device to turn on or off, or controlling the output power of the lighting device.
在所述第三预设电器处于开启状态时,侦测所述第三预设电器的当前运行参数。When the third preset appliance is in an open state, detecting a current operating parameter of the third preset appliance.
在所述灯光设备开启时,侦测所述灯光设备的当前运行参数。例如,侦测所述灯光设备的当前输出功率。When the lighting device is turned on, detecting current operating parameters of the lighting device. For example, detecting the current output power of the lighting device.
在所述第三预设电器的当前运行参数与目标参数不同时,根据所述控制指令控制所述第三预设电器的工作参数调整至目标参数。When the current operating parameter of the third preset appliance is different from the target parameter, the operating parameter of the third preset appliance is controlled to be adjusted to the target parameter according to the control instruction.
假设所述灯光设备的当前输出功率为5瓦特,而灯光设备的目标参数为输出10瓦特,即根据所述控制指令控制所述灯光设备的输出功率5瓦特至目标输出功率10瓦特。即所述灯光设备的当前运行参数和目标参数不相同,则根据所述控制指令控制所述灯光设备的工作参数调整至目标参数。It is assumed that the current output power of the lighting device is 5 watts, and the target parameter of the lighting device is output 10 watts, that is, the output power of the lighting device is controlled to 5 watts to the target output power of 10 watts according to the control command. That is, the current operating parameter and the target parameter of the lighting device are different, and the operating parameter of the lighting device is controlled to be adjusted to the target parameter according to the control instruction.
在本发明实施例中,在所述控制模式为分散控制模式时,用户可以根据控制指令控制电器系统中的单个电器的工作状态以及工作参数。这样,可以给予用户更大的自由选择的空间,方便用户对电器系统中的电器进行分别控制,进 一步提高用户体验。In the embodiment of the present invention, when the control mode is the distributed control mode, the user can control the working state and working parameters of the single electrical appliance in the electrical system according to the control instruction. In this way, the user can be given a greater free choice of space, which is convenient for the user to separately control the electrical appliances in the electrical system to further improve the user experience.
为了进一步的提高用户体验,在较优的一实施例中,所述控制模式还包括情景模式,所述控制方法包括:In order to further improve the user experience, in a preferred embodiment, the control mode further includes a scenario mode, and the control method includes:
在所述控制模式为所述情景模式时,根据所述控制指令控制所述电器系统中电器的工作状态以及控制工作中的电器的输出功率。When the control mode is the scene mode, controlling an operating state of the electrical appliance in the electrical system and controlling an output power of the electrical appliance in operation according to the control instruction.
为了进一步丰富酒店客房的控制功能,提高用户的体验,在较优的一实施例中,所述控制模式还包括情景模式。在本发明实施例中,所述情景模式为不同的情景对应的模式,例如用户淋浴时的淋浴模式、用户观看影视节目时的电影院模式以及用户睡前阅读的阅读模式等多种模式。另外,对于酒店大型的会议室,所述控制模式还可以包括会议模式。在所述控制模式为不同的情景模式时,根据控制指令控制所述电器系统中不同的电器不同的工作状态,以及控制处于工作中的电器的输出功率。例如,在电影院模式时控制灯光设备关闭,电视开启、窗帘设备关闭窗帘等;在会议模式控制灯光设备的输出功率至预先设置的功率值。In order to further enrich the control function of the hotel room and improve the user experience, in a preferred embodiment, the control mode further includes a scene mode. In the embodiment of the present invention, the scene mode is a mode corresponding to different scenarios, such as a shower mode when the user showers, a movie theater mode when the user watches a movie program, and a reading mode read by the user before going to bed. In addition, for a large conference room of the hotel, the control mode may also include a conference mode. When the control mode is a different scene mode, different working states of different electrical appliances in the electrical system are controlled according to the control command, and output power of the electrical appliance in operation is controlled. For example, in the cinema mode, the lighting device is turned off, the television is turned on, the curtain device is turned off, and the curtain device is turned off; in the conference mode, the output power of the lighting device is controlled to a preset power value.
在较优的一实施例中,所述情景模式包括淋浴模式、电影院模式以及阅读模式中的一种或者多种。In a preferred embodiment, the scene mode includes one or more of a shower mode, a movie theater mode, and a reading mode.
在多数的情况下,用户入住酒店都需要淋浴。因此,在所述情景模式为淋浴模式时,所述根据所述控制指令控制所述电器系统中电器的工作状态以及控制工作中的电器的输出功率包括:In most cases, a shower is required for the user to stay at the hotel. Therefore, when the scene mode is the shower mode, the controlling the working state of the electrical appliance in the electrical system according to the control instruction and controlling the output power of the electrical appliance in operation include:
控制淋浴间灯具的输出功率至第一预设输出功率和/或控制空调的温度至第一预设温度。The output power of the shower fixture is controlled to a first preset output power and/or the temperature of the air conditioner is controlled to a first preset temperature.
在本发明实施例中,在所述情景模式为淋浴模式时,控制淋浴间灯具的输出功率至第一预设输出功率,所述第一预设输出功率为预先设置的输出功率,例如,在淋浴模式下可以预先设置淋浴间的灯具的第一预设输出功率为5瓦特。另外,在淋浴模式下还可以预先设置空调的温度至第一预设温度,其中,所述第一预设温度为预先设置的温度,例如,在淋浴模式下可以预先设置空调的温度至22°。为了进一步提高用户体验,在较优的一实施例,在所述淋浴模式下,控制电器系统中的音响设备以预设音量播放预设类型的音乐。例如,预先设置所述预设音量为所述音响设备的系统最大音量的30%,预先设置所述预设类型 的音乐为较为舒缓的、有助睡眠的音乐类型。In the embodiment of the present invention, when the scene mode is the shower mode, the output power of the shower fixture is controlled to a first preset output power, and the first preset output power is a preset output power, for example, In the shower mode, the first preset output power of the luminaire that can be pre-set in the shower is 5 watts. In addition, in the shower mode, the temperature of the air conditioner may be preset to a first preset temperature, wherein the first preset temperature is a preset temperature, for example, the temperature of the air conditioner may be preset to 22° in the shower mode. . In order to further improve the user experience, in a preferred embodiment, in the shower mode, the audio device in the control electrical system plays a preset type of music at a preset volume. For example, the preset volume is preset to be 30% of the maximum volume of the system of the audio device, and the preset type of music is preset to be a more soothing and sleep-friendly music type.
在所述情景模式为电影院模式时,所述根据所述控制指令控制所述电器系统中电器的工作状态以及控制工作中的电器的输出功率包括:When the scene mode is a movie theater mode, the controlling the working state of the electrical appliance in the electrical system according to the control instruction and controlling the output power of the electrical appliance in operation include:
控制电视播放预设类型的影视节目和/或控制窗帘设备关闭窗帘和/或控制空调的温度至第二预设温度。Controlling the television to play a preset type of movie program and/or controlling the curtain device to close the curtain and/or control the temperature of the air conditioner to a second preset temperature.
在某些情况下,用户可能需要观看电视节目用于消遣。因此,在所述情景模式为电影院模式时,控制电视播放预设类型的影视节目,例如,预先设置所述预设类型的影视节目为战争类、科幻类或者武侠类的电影、电视或者搞笑类型的脱口秀节目或者和音乐相关的综艺节目等,用户可以根据自身的个性化需求预先设置。在电影院模式下,控制窗帘设备关闭窗帘以及控制空调的温度至第二预设温度。所述第二预设温度为预先设置的温度,例如,可以预先设置所述第二预设温度为22°。另外,在电影院模式下,还可以控制酒店客房内的所有灯光设备处于关闭状态,以此将酒店客房打造成类似电影院的环境,进一步提高用户体验。In some cases, a user may need to watch a television program for entertainment. Therefore, when the scene mode is the movie theater mode, the television program is controlled to play a preset type of movie and television program, for example, the preset type of movie and television program is preset as a movie, television or funny type of war, sci-fi or martial arts. The talk show or music-related variety show, etc., can be preset according to their individual needs. In the cinema mode, the curtain device is controlled to close the curtain and control the temperature of the air conditioner to a second preset temperature. The second preset temperature is a preset temperature, and for example, the second preset temperature may be preset to be 22°. In addition, in the cinema mode, it is also possible to control all the lighting equipment in the hotel room to be closed, thereby making the hotel room into a cinema-like environment, further improving the user experience.
在所述情景模式为阅读模式时,所述根据所述控制指令控制所述电器系统中电器的工作状态以及控制工作中的电器的输出功率包括:When the scene mode is the reading mode, the controlling the working state of the electrical appliance in the electrical system according to the control instruction and controlling the output power of the working electrical appliance includes:
控制空调的温度至第三预设温度和/或控制窗帘设备关闭窗帘和/或控制床头灯的输出功率至第二预设功率。The temperature of the air conditioner is controlled to a third preset temperature and/or the curtain device is controlled to close the curtain and/or control the output power of the bedside lamp to a second predetermined power.
在有些情况下,用户比较放松且闲暇的情况下,例如在晚上八点,用户可能有阅读的需求。因此,在所述情景模式为阅读模式时,根据所述控制指令控制空调的温度至第三预设温度,所述第三预设温度为预先设置的温度,例如可以预先设置所述第三预设温度为23°。控制窗帘设备关闭窗帘以及控制床头灯的输出功率至第二预设功率,所述第二预设功率为预先设置的输出功率,例如,可以预先设置所述第二预设输出功率为6瓦特,以此为用户营造良好的阅读环境,提高用户的阅读体验。In some cases, where the user is more relaxed and free, such as at 8 pm, the user may have a need to read. Therefore, when the scene mode is the reading mode, the temperature of the air conditioner is controlled to a third preset temperature according to the control instruction, and the third preset temperature is a preset temperature, for example, the third pre-preset may be preset. Set the temperature to 23 °. Controlling the curtain device to close the curtain and controlling the output power of the bedside lamp to a second preset power, wherein the second preset power is a preset output power, for example, the second preset output power may be preset to be 6 watts In order to create a good reading environment for users, improve the user's reading experience.
在本发明实施例中,为了满足用户的个性化需求,所述控制模式还包括多种情景模式。例如,淋浴模式、电影院模式以及阅读模式等。用户可以根据不同的情景,预先设置不同的情景模式下的电器的工作状态以及预先设置处于工作中的电器的输出功率。因此,本发明实施例可以满足用户不同情景的 个性化需求,进一步提高用户的体验。In the embodiment of the present invention, in order to meet the personalized needs of the user, the control mode further includes multiple scene modes. For example, shower mode, cinema mode, and reading mode. The user can preset the working state of the electric appliance in different scene modes according to different scenarios and preset the output power of the electric appliance in operation. Therefore, the embodiment of the present invention can meet the personalized needs of different scenarios of the user, and further improve the user experience.
为了提高酒店客房的安全性以及提高用户体验,在较优的一实施例中,所述控制方法还包括:In a preferred embodiment, the control method further includes:
接收用户输入的验证信息。Receive authentication information entered by the user.
目前,入住酒店都需要实名制登记,记录入住用户的身份信息或者手机号。在本发明实施例中,所述验证信息包括用户的身份信息,例如用户的身份证号或者用户的指纹等,所述验证信息还包括用户的手机号等。另外,为了保护用户的隐私、便于酒店客房的管理以及提高酒店客房的安全性,所述验证信息还包括以预设规律组成的信息。例如,以酒店房间号加上入住用户的手机号码的后四位数字组成的信息为验证信息。假设用户入住的房间号为023,且用户的手机号码的后四位为5366,则以房间号023与手机号码的后四位5366的组合0235366为验证信息。因此,首先需要接收用户输入的验证信息,以便确定用户是否具备控制酒店客房的权限。At present, hotel registration requires real-name registration, recording the identity information of the user or the mobile phone number. In the embodiment of the present invention, the verification information includes the identity information of the user, such as the ID number of the user or the fingerprint of the user, and the verification information further includes the mobile phone number of the user. In addition, in order to protect the privacy of the user, facilitate the management of the hotel room, and improve the security of the hotel room, the verification information also includes information composed of preset rules. For example, the information consisting of the hotel room number plus the last four digits of the mobile phone number of the user is the verification information. Assuming that the room number of the user is 023, and the last four digits of the user's mobile phone number is 5366, the combination of the room number 023 and the last four digits of the mobile phone number 5366 is 0235366. Therefore, it is first necessary to receive authentication information input by the user to determine whether the user has the authority to control the hotel room.
在所述验证信息与预设验证信息相匹配时,授予所述用户在预设时段内控制客房的权限。When the verification information matches the preset verification information, the user is granted the right to control the room within a preset time period.
在本发明实施例中,所述预设验证信息为预先设置的验证信息,例如,所述预设验证信息包括入住用户的身份信息、手机号或者以预设规律组成的信息。假设所述预设验证信息为入住用户的手机号135****5366,且用户输入的验证信息为用户的手机号135****5366,则确定用户输入的验证信息与预设验证信息相匹配,此时,即授予所述用户在预设时段内控制客房的权限。其中,所述预设时段为预先设置的时段。假设用户在当天下午四点入住酒店,则可以将用户的手机号设为预设验证信息,并且预先设置当天下午四点至第二天中午十二点为预设时段,若用户输入的验证信息与预设验证信息相匹配,则授予用户在该预设时段内,即当天下午四点至第二天中午十二点的时间段内控制客房的权限。In the embodiment of the present invention, the preset verification information is pre-set verification information. For example, the preset verification information includes identity information of a user, a mobile phone number, or information composed of a preset rule. Assuming that the preset verification information is the mobile phone number 135****5366 of the user, and the verification information input by the user is the mobile phone number 135****5366 of the user, the verification information and the preset verification information input by the user are determined. Matching, at this time, the user is granted the right to control the room within a preset time period. The preset time period is a preset time period. Assume that the user checks in the hotel at 4 pm that day, the user's mobile phone number can be set as the default verification information, and the preset time period is set from 4 pm to 12 noon on the same day, if the user enters the verification information. Matching with the preset verification information, the user is granted the right to control the room within the preset time period, that is, from 4 pm on the same day to 12 noon on the next day.
在本发明实施例中,在用户输入的验证信息与预设验证信息相匹配时,才会授予用户在预设时段内控制客房的权限。因此,本发明实施例可以提高酒店客房的安全性以及进一步提高用户的体验。In the embodiment of the present invention, when the verification information input by the user matches the preset verification information, the user is granted the right to control the room within the preset time period. Therefore, the embodiments of the present invention can improve the security of hotel rooms and further improve the user experience.
图2示出了本发明实施例提供的酒店客房的控制设备的功能模块,为了便 于说明,仅示出了与本发明实施例相关的部分,详述如下:FIG. 2 shows functional modules of a control device for a hotel room according to an embodiment of the present invention. For convenience of explanation, only parts related to the embodiment of the present invention are shown, which are described in detail as follows:
参考图2,所述酒店客房的控制设备10所包括的各个模块用于执行图1对应实施例中的各个步骤,具体请参阅图1以及图1对应实施例中的相关描述,此处不再赘述。本发明实施例中,所述酒店客房的控制设备10包括确定模块101、获取模块102、判断模块103以及控制模块104。Referring to FIG. 2, each module included in the control device 10 of the hotel room is used to perform various steps in the corresponding embodiment of FIG. 1. For details, please refer to the related description in the corresponding embodiment of FIG. 1 and FIG. Narration. In the embodiment of the present invention, the control device 10 of the hotel room includes a determining module 101, an obtaining module 102, a determining module 103, and a control module 104.
所述确定模块101,用于接收控制指令,并确定所述控制指令对应的控制模式。The determining module 101 is configured to receive a control instruction and determine a control mode corresponding to the control instruction.
所述获取模块102,用于在所述控制模式为自定义集成模式时,获取当前时间。The obtaining module 102 is configured to acquire a current time when the control mode is a custom integration mode.
所述判断模块103,用于判断所述当前时间是否在所述电器系统中的预设集成受控电器的预设开启时段内。The determining module 103 is configured to determine whether the current time is within a preset open period of a preset integrated controlled appliance in the electrical system.
所述控制模块104,用于在所述当前时间在所述电器系统中的预设集成受控电器的预设开启时段内时,则控制所述预设集成受控电器开启。The control module 104 is configured to control the preset integrated controlled appliance to be turned on when the current time is within a preset open period of the preset integrated controlled appliance in the electrical system.
所述控制模块104,还用于在所述当前时间不在所述电器系统中预设集成受控电器的预设开启时段内时,则控制所述预设集成受控电器处于关闭状态。The control module 104 is further configured to control the preset integrated controlled appliance to be in a closed state when the current time is not within a preset opening period of the integrated controlled appliance in the electrical system.
在本发明实施例中,在自定义集成模式下,用户可以预先设置和自由选择用于集中控制的电器,以及预先设置用于集中控制的电器的开启时段,所述控制模块104在当前时间在所述电器系统中的预设集成受控电器的预设开启时段内时,控制所述预设集成受控电器处于开启状态,在所述当前时间不在所述电器系统中预设集成受控电器的预设开启时段内时,控制所述预设集成受控电器处于关闭状态。因此,本发明可以对电器系统进行集中控制,同时满足用户的个性化需求,提高用户体验。In the embodiment of the present invention, in the custom integration mode, the user can preset and freely select an appliance for centralized control, and preset an opening period of the appliance for centralized control, and the control module 104 is at the current time. When the preset integrated open time period of the preset integrated controlled electrical appliance in the electrical system is controlled, the preset integrated controlled electrical appliance is controlled to be in an open state, and the integrated controlled electrical appliance is not preset in the electrical system at the current time. When the preset open period is within, the preset integrated controlled appliance is controlled to be in a closed state. Therefore, the present invention can centrally control the electrical system while satisfying the individual needs of the user and improving the user experience.
为了进一步提高用户体验,在较优的一实施例中,所述控制模式还包括一键睡眠模式,所述控制模块104,还用于:In order to further improve the user experience, in a preferred embodiment, the control mode further includes a one-button sleep mode, and the control module 104 is further configured to:
在所述控制模式为所述一键睡眠模式时,根据所述控制指令控制所述电器系统中的第一预设电器处于关闭状态、第二预设电器处于开启状态,并控制所述电器系统中的音响设备在预设时长内以预设音量播放预设类型的音乐。When the control mode is the one-key sleep mode, controlling, according to the control instruction, that the first preset electrical appliance in the electrical system is in a closed state, the second preset electrical appliance is in an open state, and controlling the electrical system The audio device in the middle plays the preset type of music at a preset volume for a preset period of time.
在较优的一实施例中,所述第一预设电器包括灯光设备、电视以及窗帘设备中的一种或者多种,所述第二预设电器包括空调,所述控制模块104具体用 于:In a preferred embodiment, the first preset electrical appliance includes one or more of a lighting device, a television, and a curtain device, the second preset electrical appliance includes an air conditioner, and the control module 104 is specifically configured to :
控制所述灯光设备和/或电视广播处于关闭状态和/或控制所述窗帘设备关闭窗帘。Controlling the lighting device and/or television broadcast is in a closed state and/or controlling the blind device to close the blind.
控制所述空调处于开启状态,并调节所述空调的温度至预设温度及/或调节所述空调的湿度至预设湿度。The air conditioner is controlled to be in an open state, and the temperature of the air conditioner is adjusted to a preset temperature and/or the humidity of the air conditioner is adjusted to a preset humidity.
在本发明实施例中,在一键睡眠模式下,所述控制模块104控制灯光设备关闭、控制电视关闭以及控制窗帘设备关闭窗帘,并控制电器系统中的音响设备在预设时长内以预设音量播放预设类型的音乐,以给用户营造舒适的睡眠环境、提高用户的睡眠质量以及用户体验。In the embodiment of the present invention, in the key sleep mode, the control module 104 controls the lighting device to turn off, controls the television to turn off, and controls the curtain device to close the curtain, and controls the audio device in the electrical system to preset within a preset time period. The volume plays a preset type of music to create a comfortable sleeping environment, improve the user's sleep quality and user experience.
为了进一步的提高用户体验,在较优的一实施例中,所述控制模式还包括分散控制模式,所述酒店客房的控制设备10还包括电器确定模块、侦测模块以及调整模块。In a preferred embodiment, the control mode further includes a distributed control mode, and the control device 10 of the hotel room further includes an electrical appliance determining module, a detecting module, and an adjusting module.
所述电器确定模块,用于在所述控制模式为分散控制模式时,确定与所述控制指令对应的电器系统中的第三预设电器。The appliance determining module is configured to determine a third preset appliance in the electrical system corresponding to the control command when the control mode is the distributed control mode.
所述侦测模块,用于在所述第三预设电器处于开启状态时,侦测所述第三预设电器的当前运行参数。The detecting module is configured to detect a current operating parameter of the third preset electrical appliance when the third preset electrical appliance is in an open state.
所述调整模块,用于在所述第三预设电器的当前运行参数与目标参数不同时,根据所述控制指令控制所述第三预设电器的工作参数调整至目标参数。The adjusting module is configured to control, when the current operating parameter of the third preset electrical appliance is different from the target parameter, the operating parameter of the third preset electrical appliance to be adjusted to the target parameter according to the control instruction.
在本发明实施例中,在所述控制模式为分散控制模式时,用户可以根据控制指令控制电器系统中的单个电器的工作状态以及工作参数。这样,可以给予用户更大的自由选择的空间,方便用户对电器系统中的电器进行分别控制。In the embodiment of the present invention, when the control mode is the distributed control mode, the user can control the working state and working parameters of the single electrical appliance in the electrical system according to the control instruction. In this way, the user can be given a greater free choice of space, which is convenient for the user to separately control the electrical appliances in the electrical system.
为了进一步的提高用户体验,在较优的一实施例中,所述控制模式还包括情景模式,所述控制模块104还用于:In order to further improve the user experience, in a preferred embodiment, the control mode further includes a scenario mode, and the control module 104 is further configured to:
在在所述控制模式为所述情景模式时,根据所述控制指令控制所述电器系统中电器的工作状态以及控制工作中的电器的输出功率。When the control mode is the scene mode, controlling an operating state of the electrical appliance in the electrical system and controlling an output power of the electrical appliance in operation according to the control instruction.
在较优的一实施例中,所述情景模式包括淋浴模式、电影院模式以及阅读模式中的一种或者多种。In a preferred embodiment, the scene mode includes one or more of a shower mode, a movie theater mode, and a reading mode.
在所述情景模式为淋浴模式时,所述控制模块104具体用于:When the scene mode is the shower mode, the control module 104 is specifically configured to:
控制淋浴间灯具的输出功率至第一预设输出功率和/或控制空调的温度至第 一预设温度。The output power of the shower fixture is controlled to a first predetermined output power and/or the temperature of the air conditioner is controlled to a first preset temperature.
在所述情景模式为电影院模式时,所述控制模块104具体用于:When the scene mode is the movie theater mode, the control module 104 is specifically configured to:
控制电视播放预设类型的影视节目和/或控制窗帘设备关闭窗帘和/或控制空调的温度至第二预设温度。Controlling the television to play a preset type of movie program and/or controlling the curtain device to close the curtain and/or control the temperature of the air conditioner to a second preset temperature.
在所述情景模式为阅读模式时,所述控制模块104具体用于:When the scene mode is the reading mode, the control module 104 is specifically configured to:
控制空调的温度至第三预设温度和/或控制窗帘设备关闭窗帘和/或控制床头灯的输出功率至第二预设功率。The temperature of the air conditioner is controlled to a third preset temperature and/or the curtain device is controlled to close the curtain and/or control the output power of the bedside lamp to a second predetermined power.
在本发明实施例中,为了满足用户的个性化需求,所述控制模式还包括多种情景模式。例如,淋浴模式、电影院模式以及阅读模式等。用户可以根据不同的情景,预先设置不同的情景模式下的电器的工作状态以及预先设置处于工作中的电器的输出功率。因此,本发明实施例可以满足用户不同情景的个性化需求,进一步提高用户的体验。In the embodiment of the present invention, in order to meet the personalized needs of the user, the control mode further includes multiple scene modes. For example, shower mode, cinema mode, and reading mode. The user can preset the working state of the electric appliance in different scene modes according to different scenarios and preset the output power of the electric appliance in operation. Therefore, the embodiment of the present invention can meet the personalized requirements of different scenarios of the user, and further improve the user experience.
为了提高酒店客房的安全性以及提高用户体验,在较优的一实施例中,所述酒店客房的控制设备10还包括接收模块和权限授予模块。In order to improve the security of the hotel room and improve the user experience, in a preferred embodiment, the control device 10 of the hotel room further includes a receiving module and a rights granting module.
所述接收模块,用于接收用户输入的验证信息。The receiving module is configured to receive verification information input by a user.
所述权限授予模块,用于在所述验证信息与预设验证信息相匹配时,授予所述用户在预设时段内控制客房的权限。The authority granting module is configured to, when the verification information matches the preset verification information, grant the user the right to control the room within a preset time period.
在本发明实施例中,在用户输入的验证信息与预设验证信息相匹配时,才会授予用户在预设时段内控制客房的权限。因此,本发明实施例可以提高酒店客房的安全性以及进一步提高用户的体验。In the embodiment of the present invention, when the verification information input by the user matches the preset verification information, the user is granted the right to control the room within the preset time period. Therefore, the embodiments of the present invention can improve the security of hotel rooms and further improve the user experience.
图3是本发明实施例提供的实现酒店客房的控制方法的较佳实施例的计算机装置1的结构示意图。如图3所示,计算机装置1包括存储器11、处理器12及输入输出设备13。FIG. 3 is a schematic structural diagram of a computer device 1 according to a preferred embodiment of a method for controlling a hotel room according to an embodiment of the present invention. As shown in FIG. 3, the computer device 1 includes a memory 11, a processor 12, and an input/output device 13.
所述计算机装置1是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程门阵列(Field-Programmable Gate Array,FPGA)、数字处理器(Digital Signal Processor,DSP)、嵌入式设备等。The computer device 1 is a device capable of automatically performing numerical calculation and/or information processing according to an instruction set or stored in advance, and the hardware includes, but not limited to, a microprocessor, an application specific integrated circuit (ASIC). ), Field-Programmable Gate Array (FPGA), Digital Signal Processor (DSP), embedded devices, etc.
所述计算机装置1可以是任何一种可与用户进行人机交互的电子产品, 例如,个人计算机、平板电脑、智能手机、个人数字助理(Personal Digital Assistant,PDA)、游戏机、交互式网络电视(Internet Protocol Television,IPTV)、智能式穿戴式设备等。所述计算机装置1可以是服务器,所述服务器包括但不限于单个网络服务器、多个网络服务器组成的服务器组或基于云计算(Cloud Computing)的由大量主机或网络服务器构成的云,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个超级虚拟计算机。所述计算机装置1所处的网络包括但不限于互联网、广域网、城域网、局域网、虚拟专用网络(Virtual Private Network,VPN)等。The computer device 1 can be any electronic product that can interact with a user, such as a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game machine, an interactive network television. (Internet Protocol Television, IPTV), smart wearable devices, etc. The computer device 1 may be a server, including but not limited to a single network server, a server group composed of a plurality of network servers, or a cloud computing-based cloud composed of a large number of hosts or network servers, wherein the cloud Computation is a type of distributed computing, a super-virtual computer consisting of a cluster of loosely coupled computers. The network in which the computer device 1 is located includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN), and the like.
存储器11用于存储酒店客房的控制方法的程序和各种数据,并在计算机装置1运行过程中实现高速、自动地完成程序或数据的存取。存储器11可以是计算机装置1的外部存储设备和/或内部存储设备。进一步地,存储器11可以是集成电路中没有实物形式的具有存储功能的电路,如RAM(Random-Access Memory,随机存取存储设备)、FIFO(First In First Out,)等,或者,存储器11也可以是具有实物形式的存储设备,如内存条、TF卡(Trans-flash Card)等等。The memory 11 is used to store programs and various data of the control method of the hotel room, and realizes high-speed, automatic completion of access of programs or data during the operation of the computer device 1. The memory 11 may be an external storage device and/or an internal storage device of the computer device 1. Further, the memory 11 may be a circuit having a storage function in a physical form, such as a RAM (Random-Access Memory), a FIFO (First In First Out), or the like, or the memory 11 It may be a storage device having a physical form, such as a memory stick, a TF card (Trans-flash Card), or the like.
处理器12可以是中央处理器(CPU,Central Processing Unit)。CPU是一块超大规模的集成电路,是计算机装置1的运算核心(Core)和控制核心(Control Unit)。处理器12可执行计算机装置1的操作系统以及安装的各类应用程序、程序代码等,例如执行酒店客房的控制设备10中的各个模块或者单元中的操作系统以及安装的各类应用程序、程序代码,以实现酒店客房的控制方法。The processor 12 can be a Central Processing Unit (CPU). The CPU is a very large-scale integrated circuit, which is the computing core (Core) and the Control Unit of the computer device 1. The processor 12 can execute an operating system of the computer device 1 and various types of installed applications, program codes, and the like, for example, execute an operating system in each module or unit of the control device 10 of the hotel room, and various installed applications and programs. Code to implement the control method of the hotel room.
输入输出设备13主要用于实现计算机装置1的输入输出功能,比如收发输入的数字或字符信息,或显示由用户输入的信息或提供给用户的信息以及计算机装置1的各种菜单。The input/output device 13 is mainly used to implement an input/output function of the computer device 1, such as transceiving input digital or character information, or displaying information input by a user or information provided to a user and various menus of the computer device 1.
所述计算机装置1集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方 法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。The modules/units integrated by the computer device 1 can be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the present invention implements all or part of the processes in the foregoing embodiments, and may also be completed by a computer program to instruct related hardware. The computer program may be stored in a computer readable storage medium. The steps of the various method embodiments described above may be implemented when the program is executed by the processor. Wherein, the computer program comprises computer program code, which may be in the form of source code, object code form, executable file or some intermediate form. The computer readable medium may include any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM). , random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. It should be noted that the content contained in the computer readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in a jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, computer readable media Does not include electrical carrier signals and telecommunication signals.
以上说明的本发明的特征性的手段可以通过集成电路来实现,并控制实现上述任意实施例中所述活体检测方法的功能。即,本发明的集成电路安装于所述计算机装置1中,使所述计算机装置1发挥如下功能:The above-described characteristic means of the present invention can be realized by an integrated circuit and control the function of the living body detecting method described in any of the above embodiments. That is, the integrated circuit of the present invention is mounted in the computer device 1 such that the computer device 1 functions as follows:
接收控制指令,并确定所述控制指令对应的控制模式;Receiving a control instruction, and determining a control mode corresponding to the control instruction;
在所述控制模式为自定义集成模式时,获取当前时间;Obtaining a current time when the control mode is a custom integration mode;
判断所述当前时间是否在所述电器系统中的预设集成受控电器的预设开启时段内;Determining whether the current time is within a preset open period of a preset integrated controlled appliance in the electrical system;
在所述当前时间在所述电器系统中的预设集成受控电器的预设开启时段内时,控制所述预设集成受控电器处于开启状态;和/或Controlling the preset integrated controlled appliance to be in an open state when the current time is within a preset open period of the preset integrated controlled appliance in the electrical system; and/or
在所述当前时间不在所述电器系统中预设集成受控电器的预设开启时段内时,控制所述预设集成受控电器处于关闭状态。在任意实施例中所述活体检测方法所能实现的功能都能通过本发明的集成电路安装于所述计算机装置1中,使所述计算机装置1发挥任意实施例中所述活体检测方法所能实现的功能,在此不再详述。When the current time is not within the preset opening period of the integrated controlled appliance in the electrical system, the preset integrated controlled appliance is controlled to be in a closed state. In any of the embodiments, the functions of the living body detecting method can be installed in the computer device 1 by the integrated circuit of the present invention, so that the computer device 1 can perform the living body detecting method in any of the embodiments. The functions implemented are not detailed here.
在本发明所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided by the present invention, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division, and the actual implementation may have another division manner.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方, 或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated. The components displayed as modules may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software function modules.
对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附关联图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个模块或装置也可以由一个模块或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It is apparent to those skilled in the art that the present invention is not limited to the details of the above-described exemplary embodiments, and the present invention can be embodied in other specific forms without departing from the spirit or essential characteristics of the invention. Therefore, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the invention is defined by the appended claims instead All changes in the meaning and scope of equivalent elements are included in the present invention. Any accompanying drawings in the claims should not be construed as limiting the claim. In addition, it is to be understood that the word "comprising" does not exclude other elements or steps. A plurality of modules or devices recited in the system claims may also be implemented by a module or device by software or hardware. The first, second, etc. words are used to denote names and do not denote any particular order.
最后应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或等同替换,而不脱离本发明技术方案的精神和范围。It should be noted that the above embodiments are only for explaining the technical solutions of the present invention and are not intended to be limiting, and the present invention will be described in detail with reference to the preferred embodiments. Modifications or equivalents are made without departing from the spirit and scope of the invention.

Claims (10)

  1. 一种酒店客房的控制方法,应用于控制设备中,所述控制设备连接电器系统,其特征在于,所述控制方法包括:A control method for a hotel room is applied to a control device, and the control device is connected to the electrical system, wherein the control method comprises:
    接收控制指令,并确定所述控制指令对应的控制模式;Receiving a control instruction, and determining a control mode corresponding to the control instruction;
    在所述控制模式为自定义集成模式时,获取当前时间;Obtaining a current time when the control mode is a custom integration mode;
    判断所述当前时间是否在所述电器系统中的预设集成受控电器的预设开启时段内;Determining whether the current time is within a preset open period of a preset integrated controlled appliance in the electrical system;
    在所述当前时间在所述电器系统中的预设集成受控电器的预设开启时段内时,控制所述预设集成受控电器处于开启状态;和/或Controlling the preset integrated controlled appliance to be in an open state when the current time is within a preset open period of the preset integrated controlled appliance in the electrical system; and/or
    在所述当前时间不在所述电器系统中预设集成受控电器的预设开启时段内时,控制所述预设集成受控电器处于关闭状态。When the current time is not within the preset opening period of the integrated controlled appliance in the electrical system, the preset integrated controlled appliance is controlled to be in a closed state.
  2. 如权利要求1所述的控制方法,其特征在于,所述控制模式还包括一键睡眠模式,所述控制方法包括:The control method according to claim 1, wherein the control mode further comprises a key sleep mode, the control method comprising:
    在所述控制模式为所述一键睡眠模式时,根据所述控制指令控制所述电器系统中的第一预设电器处于关闭状态、第二预设电器处于开启状态,并控制所述电器系统中的音响设备在预设时长内以预设音量播放预设类型的音乐。When the control mode is the one-key sleep mode, controlling, according to the control instruction, that the first preset electrical appliance in the electrical system is in a closed state, the second preset electrical appliance is in an open state, and controlling the electrical system The audio device in the middle plays the preset type of music at a preset volume for a preset period of time.
  3. 如权利要求2所述的控制方法,其特征在于,所述第一预设电器包括灯光设备、电视以及窗帘设备中的一种或者多种,所述第二预设电器包括空调,所述控制所述电器系统中的第一预设电器处于关闭状态、第二预设电器处于开启状态包括:The control method according to claim 2, wherein the first preset electrical appliance comprises one or more of a lighting device, a television, and a curtain device, the second preset electrical appliance comprises an air conditioner, and the control The first preset electrical appliance in the electrical system is in a closed state, and the second preset electrical appliance is in an open state, including:
    控制所述灯光设备和/或电视广播处于关闭状态和/或控制所述窗帘设备关闭窗帘;Controlling that the lighting device and/or television broadcast is in a closed state and/or controlling the blind device to close the blind;
    控制所述空调处于开启状态,并调节所述空调的温度至预设温度及/或调节所述空调的湿度至预设湿度。The air conditioner is controlled to be in an open state, and the temperature of the air conditioner is adjusted to a preset temperature and/or the humidity of the air conditioner is adjusted to a preset humidity.
  4. 如权利要求1所述的控制方法,其特征在于,所述控制模式还包括分散控制模式,所述控制方法包括:The control method according to claim 1, wherein the control mode further comprises a distributed control mode, the control method comprising:
    在所述控制模式为分散控制模式时,确定与所述控制指令对应的电器系统中的第三预设电器;When the control mode is the distributed control mode, determining a third preset electrical appliance in the electrical system corresponding to the control command;
    根据所述控制指令控制所述第三预设电器的工作状态和/或工作参数;Controlling an operating state and/or an operating parameter of the third preset appliance according to the control instruction;
    在所述第三预设电器处于开启状态时,侦测所述第三预设电器的当前运行参数;Detecting a current operating parameter of the third preset appliance when the third preset appliance is in an open state;
    在所述第三预设电器的当前运行参数与目标参数不同时,根据所述控制指令控制所述第三预设电器的工作参数调整至目标参数。When the current operating parameter of the third preset appliance is different from the target parameter, the operating parameter of the third preset appliance is controlled to be adjusted to the target parameter according to the control instruction.
  5. 如权利要求1所述的控制方法,其特征在于,所述控制模式还包括情景模式,所述控制方法包括:The control method according to claim 1, wherein the control mode further comprises a context mode, the control method comprising:
    在所述控制模式为所述情景模式时,根据所述控制指令控制所述电器系统中电器的工作状态以及控制工作中的电器的输出功率。When the control mode is the scene mode, controlling an operating state of the electrical appliance in the electrical system and controlling an output power of the electrical appliance in operation according to the control instruction.
  6. 如权利要求5所述的控制方法,其特征在于,所述情景模式包括淋浴模式、电影院模式以及阅读模式中的一种或者多种:The control method according to claim 5, wherein the scene mode comprises one or more of a shower mode, a movie theater mode, and a reading mode:
    在所述情景模式为淋浴模式时,所述根据所述控制指令控制所述电器系统中电器的工作状态以及控制工作中的电器的输出功率包括:When the scene mode is a shower mode, the controlling the working state of the electrical appliance in the electrical system according to the control instruction and controlling the output power of the electrical appliance in operation include:
    控制淋浴间灯具的输出功率至第一预设输出功率和/或控制空调的温度至第一预设温度;Controlling the output power of the shower fixture to a first preset output power and/or controlling the temperature of the air conditioner to a first preset temperature;
    在所述情景模式为电影院模式时,所述根据所述控制指令控制所述电器系统中电器的工作状态以及控制工作中的电器的输出功率包括:When the scene mode is a movie theater mode, the controlling the working state of the electrical appliance in the electrical system according to the control instruction and controlling the output power of the electrical appliance in operation include:
    控制电视播放预设类型的影视节目和/或控制窗帘设备关闭窗帘和/或控制空调的温度至第二预设温度;Controlling television to play a preset type of film and television program and/or controlling the curtain device to close the curtain and/or control the temperature of the air conditioner to a second preset temperature;
    在所述情景模式为阅读模式时,所述根据所述控制指令控制所述电器系统中电器的工作状态以及控制工作中的电器的输出功率包括:When the scene mode is the reading mode, the controlling the working state of the electrical appliance in the electrical system according to the control instruction and controlling the output power of the working electrical appliance includes:
    控制空调的温度至第三预设温度和/或控制窗帘设备关闭窗帘和/或控制床头灯的输出功率至第二预设功率。The temperature of the air conditioner is controlled to a third preset temperature and/or the curtain device is controlled to close the curtain and/or control the output power of the bedside lamp to a second predetermined power.
  7. 如权利要求1所述的控制方法,其特征在于,所述控制方法还包括:The control method according to claim 1, wherein the control method further comprises:
    接收用户输入的验证信息;Receiving verification information input by the user;
    在所述验证信息与预设验证信息相匹配时,授予所述用户在预设时段内控制客房的权限。When the verification information matches the preset verification information, the user is granted the right to control the room within a preset time period.
  8. 一种酒店客房的控制设备,所述控制设备连接所述电器系统,其特征在于,所述控制设备包括:A control device for a hotel room, the control device being connected to the electrical system, wherein the control device comprises:
    确定模块,用于接收控制指令,并确定所述控制指令对应的控制模式;Determining a module, configured to receive a control instruction, and determine a control mode corresponding to the control instruction;
    获取模块,用于在所述控制模式为自定义集成模式时,获取当前时间;An obtaining module, configured to acquire a current time when the control mode is a custom integration mode;
    判断模块,用于判断所述当前时间是否在所述电器系统中的预设集成受控电器的预设开启时段内;a determining module, configured to determine whether the current time is within a preset open time period of a preset integrated controlled appliance in the electrical system;
    控制模块,用于在所述当前时间在所述电器系统中的预设集成受控电器的预设开启时段内时,则控制所述预设集成受控电器开启;a control module, configured to control the preset integrated controlled appliance to be turned on when the current time is within a preset opening period of the preset integrated controlled appliance in the electrical system;
    所述控制模块,还用于在所述当前时间不在所述电器系统中预设集成受控电器的预设开启时段内时,则控制所述预设集成受控电器处于关闭状态。The control module is further configured to control the preset integrated controlled appliance to be in a closed state when the current time is not within a preset opening period of the integrated controlled appliance in the electrical system.
  9. 一种计算机装置,其特征在于,所述计算机装置包括处理器,所述处理器用于执行存储器中存储的计算机程序时实现如权利要求1至7中任意一项所述酒店客房的控制方法。A computer apparatus, comprising: a processor, wherein the processor is configured to implement a method of controlling a hotel room according to any one of claims 1 to 7 when executing a computer program stored in a memory.
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7中任意一项所述酒店客房的控制方法。A computer readable storage medium having stored thereon a computer program, wherein the computer program is executed by a processor to implement a method of controlling a hotel room according to any one of claims 1 to 7.
PCT/CN2018/087751 2017-12-28 2018-05-22 Control method and control device for hotel rooms, computer device and storage medium WO2019128053A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711462610.3A CN107942836A (en) 2017-12-28 2017-12-28 The control method and control device of hotel guest room, computer installation and storage medium
CN201711462610.3 2017-12-28

Publications (1)

Publication Number Publication Date
WO2019128053A1 true WO2019128053A1 (en) 2019-07-04

Family

ID=61939730

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/087751 WO2019128053A1 (en) 2017-12-28 2018-05-22 Control method and control device for hotel rooms, computer device and storage medium

Country Status (2)

Country Link
CN (1) CN107942836A (en)
WO (1) WO2019128053A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113031540A (en) * 2020-12-25 2021-06-25 浙江利尔达客思智能科技有限公司 Control system applied to intelligent energy-saving management of hotel guest room energy

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107942836A (en) * 2017-12-28 2018-04-20 深圳春沐源控股有限公司 The control method and control device of hotel guest room, computer installation and storage medium
CN112015100B (en) * 2020-08-14 2024-03-12 深圳市欧瑞博科技股份有限公司 Intelligent switch authority adjusting method and device, intelligent switch and storage medium
CN114333134B (en) * 2022-03-10 2022-05-31 深圳灏鹏科技有限公司 Cabin management method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202632077U (en) * 2012-05-24 2012-12-26 李强 Intelligent household master control host
CN104833170A (en) * 2015-06-04 2015-08-12 合肥华凌股份有限公司 Refrigerator, control method and control device
CN105120096A (en) * 2015-08-31 2015-12-02 深圳市金立通信设备有限公司 Contextual model setting method and terminal
CN106444403A (en) * 2016-10-29 2017-02-22 深圳智乐信息科技有限公司 Smart home scene setting and controlling method and system
US9671764B2 (en) * 2014-11-03 2017-06-06 D-Link Corporation Control system capable of periodically driving a corresponding device based on trigger policy and method thereof
CN107942836A (en) * 2017-12-28 2018-04-20 深圳春沐源控股有限公司 The control method and control device of hotel guest room, computer installation and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202632077U (en) * 2012-05-24 2012-12-26 李强 Intelligent household master control host
US9671764B2 (en) * 2014-11-03 2017-06-06 D-Link Corporation Control system capable of periodically driving a corresponding device based on trigger policy and method thereof
CN104833170A (en) * 2015-06-04 2015-08-12 合肥华凌股份有限公司 Refrigerator, control method and control device
CN105120096A (en) * 2015-08-31 2015-12-02 深圳市金立通信设备有限公司 Contextual model setting method and terminal
CN106444403A (en) * 2016-10-29 2017-02-22 深圳智乐信息科技有限公司 Smart home scene setting and controlling method and system
CN107942836A (en) * 2017-12-28 2018-04-20 深圳春沐源控股有限公司 The control method and control device of hotel guest room, computer installation and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113031540A (en) * 2020-12-25 2021-06-25 浙江利尔达客思智能科技有限公司 Control system applied to intelligent energy-saving management of hotel guest room energy

Also Published As

Publication number Publication date
CN107942836A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
WO2019128053A1 (en) Control method and control device for hotel rooms, computer device and storage medium
US11521469B2 (en) Server-provided visual output at a voice interface device
WO2020238385A1 (en) Apparatus service control method, cloud server, and smart home system
EP3535753B1 (en) Focus session at a voice interface device
JP2020127200A (en) User-defined scenes for home automation
EP2864953B1 (en) Systems, methods, apparatus, and articles of manufacture to provide a crowd-sourced playlist with guest access
JP2020510898A (en) Method and apparatus for controlling a smart device
US11722483B2 (en) Structure-based access control
CN113268005A (en) Intelligent scene control method, system, device and storage medium
CN110161875A (en) The control method and system of smart home operating system based on Internet of Things
JP2020504835A (en) Intelligent preset
Kim et al. Hivemind: social control-and-use of IoT towards democratization of public spaces
CN107291410B (en) Playing control method and device and media synchronous playing system and method
JP6323705B2 (en) Device control method, device control apparatus, and control server
CN113280491A (en) Control method and device of radiation air-conditioning system, terminal equipment and storage medium
WO2023005445A1 (en) User analysis method and system, storage medium, and terminal device
US10880284B1 (en) Repurposing limited functionality devices as authentication factors
CN117406610A (en) Intelligent household equipment linkage scheme recommendation method and related device
CN116045478A (en) Temperature control method and device, storage medium and temperature control equipment
CN115987704A (en) Control method, device and equipment of household appliance and storage medium
CN114967519A (en) Bathing adjusting method, device, system and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18895713

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17/11/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18895713

Country of ref document: EP

Kind code of ref document: A1