CN108508775B - Guest room management method, device and system - Google Patents

Guest room management method, device and system Download PDF

Info

Publication number
CN108508775B
CN108508775B CN201810413832.4A CN201810413832A CN108508775B CN 108508775 B CN108508775 B CN 108508775B CN 201810413832 A CN201810413832 A CN 201810413832A CN 108508775 B CN108508775 B CN 108508775B
Authority
CN
China
Prior art keywords
input
type
input signal
determining
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810413832.4A
Other languages
Chinese (zh)
Other versions
CN108508775A (en
Inventor
姚周军
刘广卫
李伟
杨鹏
刘希伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Bit Intelligent Technology Co ltd
Original Assignee
Shandong Bit Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Bit Intelligent Technology Co ltd filed Critical Shandong Bit Intelligent Technology Co ltd
Priority to CN201810413832.4A priority Critical patent/CN108508775B/en
Publication of CN108508775A publication Critical patent/CN108508775A/en
Application granted granted Critical
Publication of CN108508775B publication Critical patent/CN108508775B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a guest room management method, which comprises the steps of determining an input type according to an input ID of a current input signal; calling a corresponding processing program to process the current input signal according to the input type; and outputting the processing result of the current input signal through an output port corresponding to the input ID. The method can meet various input and output requirements under the condition that the program firmware is not modified, realize multipath input and output, and break through the limitation that the input and output are fixed and the number is limited. The invention also discloses a guest room management device, a guest room management system and a computer readable storage medium, which all have the technical effects.

Description

Guest room management method, device and system
Technical Field
The invention relates to the field of guest room management, in particular to a guest room management method; it also relates to a room management apparatus, a room management system and a computer-readable storage medium.
Background
With the increasing development of science and technology, the increasing severity of energy conservation and environmental protection, the continuous improvement of the requirements on the comfort level of guest consumption and the continuous improvement of the management awareness of hotels, the intellectualization of hotels becomes more and more a hot topic. On the one hand, the staff of hotel needs to know the information and the demand of guest in time to for the guest provides perfect thoughtful hotel service, on the other hand, hotel management personnel still hope when providing the service of thoughtful hotel, and the maximum rational utilization energy reduces unnecessary extravagant. Based on this, the guest room management system is produced. At present, in a control scheme of a guest room management system, signals such as keys and door magnets are input through a fixed IO port, so when the key demand of a hotel changes, a program needs to be customized again and programmed again, thereby increasing workload. In addition, in the existing control scheme, the number of signals which can be input is small, and the existing control scheme only has six paths, so that various types of room service requirements cannot be met.
Therefore, how to solve the above problems is a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
The invention aims to provide a guest room management method which can meet various input and output requirements under the condition that program firmware is not modified; another object of the present invention is to provide a guest room management apparatus, system and computer readable storage medium, all having the above technical effects.
In order to solve the technical problem, the invention provides a guest room management method, which comprises the following steps:
determining an input type according to an input ID of a current input signal;
calling a corresponding processing program to process the current input signal according to the input type;
and outputting the processing result of the current input signal through an output port corresponding to the input ID.
Optionally, the determining the input type according to the input ID of the current input signal includes:
comparing the input ID with a configuration file;
if the input ID is consistent with the first input ID, determining that the input type is the first input type;
and if the input ID is consistent with a second input ID, determining that the input type is a second input type.
Optionally, the method further includes:
and displaying the processing result of the current input signal.
In order to solve the above technical problem, the present invention further provides a guest room management apparatus, including:
the determining module is used for determining the input type according to the input ID of the current input signal;
the processing module is used for calling a corresponding processing program to process the current input signal according to the input type;
and the output module is used for outputting the processing result of the current input signal through the output port corresponding to the input ID.
Optionally, the determining module includes:
the comparison submodule is used for comparing the input ID with the configuration file;
the first determining submodule is used for determining the input type as a first input type if the input ID is consistent with the first input ID;
and the second determining submodule is used for determining the input type as the second input type if the input ID is consistent with the second input ID.
Optionally, the method further includes:
and the display module is used for displaying the processing result of the current input signal.
In order to solve the above technical problem, the present invention further provides a guest room management system, including:
an input device for inputting a current input signal;
a processor for determining an input type according to an input ID of a current input signal; calling a corresponding processing program to process the current input signal according to the input type; outputting the processing result of the current input signal through an output port corresponding to the input ID;
and the output equipment is used for outputting the processing result of the current input signal.
To solve the technical problem, the present invention further provides a computer-readable storage medium, having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of the room management method as described above.
The guest room management method provided by the invention comprises the steps of determining an input type according to an input ID of a current input signal; calling a corresponding processing program to process the current input signal according to the input type; and outputting the processing result of the current input signal through an output port corresponding to the input ID.
Compared with the traditional mode of inputting control signals through a fixed IO port and distinguishing different inputs through the IO port, the method provided by the invention configures the input ID for each input signal, can distinguish the type of the input signal through the input ID of the input signal when receiving the input signal, further calls the related program script to analyze and process the input signal, further outputs the processing result and controls the related equipment. When the input requirement of the hotel is changed, only respective input IDs are required to be configured for each input in a matched mode, and program firmware does not need to be modified, so that the workload is effectively reduced, meanwhile, the number of the input IDs can be configured according to the number of the inputs, so that multi-path input and output can be realized, the limitation that the number of the inputs and the outputs is fixed and limited is broken, and the requirement for various and complex guest room management is met.
The guest room management device, the guest room management system and the computer readable storage medium provided by the invention have the technical effects.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a flow chart illustrating a room management method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a room management apparatus according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a room management system according to an embodiment of the present invention.
Detailed Description
The core of the invention is to provide a guest room management method which can meet various input and output requirements under the condition that program firmware is not modified; another core of the present invention is to provide a guest room management apparatus, a guest room management system and a computer-readable storage medium, all having the above technical effects.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a room management method according to an embodiment of the invention; referring to fig. 1, the method may include the steps of:
s100: determining an input type according to an input ID of a current input signal;
specifically, in order to Control various Room devices, such as curtains, lighting lamps, etc., the RCU (Room controller) first needs to be configured accordingly. Specifically, RCUTool issues a lookup instruction, such as a TOOL _ DEVICE _ FIND instruction, to lookup the guest room DEVICE. Further, the RCU reports the ID of each guest room DEVICE through a related instruction, for example, reports the ID of each guest room DEVICE through a tol _ DEVICE _ exit instruction, and furthermore, the rcutol may name each DEVICE, map a control relationship that may EXIST, and learn an infrared module that may EXIST, thereby generating a DEVICE configuration file and importing the DEVICE configuration file into a room control server. Additionally, rcutol sends a touch _ INPUT _ CFG command to the RCU to configure the enabling conditions, control devices and associated outputs for buttons, infrared, door magnets, etc., e.g., a button is enabled when pressed to control a window covering to open while the corresponding indicator lights are on.
After the above-mentioned relevant configuration is completed, the guest room management system can start to work, when an input signal is input, the processor firstly determines the input type according to the input signal, namely the input ID of the current input signal, and since the relevant configuration is already performed in the earlier stage, the corresponding input type can be determined according to the input ID of the input signal, for example, the input ID of 0x0800000 is already configured for the light key in the earlier stage, and when a signal is input in 0x0800000ID, the input type at this moment can be judged to be the key type input.
Of course, in practical applications, the service requirements are different, and the input types may differ, for example, the input types may only include the key type and the door magnet type, or include other types of input types on the basis of including the key type and the door magnet type.
Optionally, determining the input type according to the input ID of the current input signal includes: comparing the input ID with the configuration file; if the input ID is consistent with the first input ID, determining that the input type is the first input type; and if the input ID is consistent with the second input ID, determining that the input type is the second input type.
Specifically, in this embodiment, two input types are set, namely, a first input type and a second input type, so-called the first input type, namely, a key input; the second input type is a gate magnet type input. After comparing the input ID with the configuration file, if the input ID is consistent with the first input ID, determining that the input type is the first input type; and if the input ID is consistent with the second input ID, determining that the input type is the second input type. And then, after the input type is determined, subsequent operations are performed.
The first input ID and the second input ID are only generic names of one type of ID, and are not limited in terms of number, order, level, and the like. For example, the first input ID may include 0x0800000, 0x0800001, and 0x0800002, and when the input ID matches any one of the IDs, the input ID matches the first input ID.
S200: calling a corresponding processing program to process the current input signal according to the input type;
specifically, after the input type is determined, a corresponding processing program can be called according to the input type. Because the processing logic of the key-type input is different from that of the gate-type input, the related processing procedures are different. Therefore, when the input type is the key type, the processing program of the key type can be called to process the current input signal; similarly, when the input type is a door magnet type, a door magnet type processing program can be called to process the current input signal. Of course, in the case of input types other than the above two types, only the corresponding processing programs need to be called.
S300: and outputting the processing result of the current input signal through the output port corresponding to the input ID.
Specifically, the input and the output are in a one-to-one correspondence relationship, that is, the input ID and the controlled device are in a one-to-one correspondence relationship, and when a signal is input to a certain input ID, the processing result is output from the output port corresponding to the input ID, so as to control the corresponding controlled device.
The controlled device can be controlled by a plurality of input signals, for example, the room curtain is controlled by two keys, when one key is pressed, the room curtain can be controlled to be opened, and when the other key is pressed, the room curtain can be controlled to be closed. For another example, when the brightness of the light is adjusted by using two keys, one of the keys can be pressed for a long time to enable the illuminating lamp to be gradually lightened; when another key is pressed for a long time, the illuminating lamp is gradually darkened.
In summary, the method provided by the present invention configures an ID for each input signal, and when an input signal is received, the type of the input signal can be distinguished through the ID of the input signal, and then the related program script is invoked to analyze and process the input signal, and further output the processing result, and control the related device. When the input requirement of the hotel is changed, only respective input IDs are required to be configured for each input in a matched mode, and program firmware does not need to be modified, so that the workload is effectively reduced, meanwhile, the number of the IDs can be configured according to the number of the inputs, therefore, multi-path input and output can be realized, the limitation that the number of the inputs and the outputs is fixed and limited is broken, and the requirement for various and complex guest room management is met.
On the basis of the foregoing embodiment, optionally, the method further includes: and displaying the processing result of the current input signal.
Specifically, the processing result of the current input signal is output through the corresponding output port, and the processing result can be displayed through the display device while the relevant equipment is controlled. For example, when the curtain is controlled to be opened, the processing result of the curtain opening can be displayed through the display screen; or the processing result of the curtain opening is displayed by the lighting of the corresponding indicator light of the curtain. Thereby being convenient for knowing the running state of each guest room device.
The invention also provides a guest room management device, which can be correspondingly referred to with the method described in the specification. Referring to fig. 2, fig. 2 is a schematic diagram of a guest room management apparatus according to an embodiment of the present invention; as can be seen in fig. 2, the apparatus may include:
a determining module 10, configured to determine an input type according to an input ID of a current input signal;
the processing module 20 is configured to invoke a corresponding processing program to process the current input signal according to the input type;
and the output module 30 is configured to output a processing result of the current input signal through the output port corresponding to the input ID.
On the basis of the foregoing embodiment, optionally, the determining module 10 includes:
the comparison submodule is used for comparing the input ID with the configuration file;
the first determining submodule is used for determining the input type as the first input type if the input ID is consistent with the first input ID;
and the second determining submodule is used for determining the input type as the second input type if the input ID is consistent with the second input ID.
On the basis of the above embodiment, optionally, the method may further include:
and the display module is used for displaying the processing result of the current input signal.
Referring to fig. 3, fig. 3 is a schematic diagram of a guest room management system according to an embodiment of the present invention; as can be seen from fig. 3, the system may include:
an input device 1 for inputting a current input signal;
a processor 2 for determining an input type according to an input ID of a current input signal; calling a corresponding processing program to process the current input signal according to the input type;
and the output device 3 is used for outputting the processing result of the current input signal through the output port corresponding to the input ID.
For the introduction of the room management system provided by the present invention, please refer to the embodiment of the above method, which is not described herein again.
The present invention also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
determining an input type according to an input ID of a current input signal; calling a corresponding processing program to process the current input signal according to the input type; and outputting the processing result of the current input signal through the output port corresponding to the input ID.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
For the introduction of the computer-readable storage medium provided by the present invention, please refer to the above method embodiments, which are not described herein again.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device and the computer-readable storage medium disclosed by the embodiments correspond to the method disclosed by the embodiments, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The guest room management method, device, system and computer readable storage medium provided by the present invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (6)

1. A method of room management, the method comprising:
determining an input type according to an input ID of a current input signal;
calling a corresponding processing program to process the current input signal according to the input type;
outputting the processing result of the current input signal through an output port corresponding to the input ID;
further comprising:
and displaying the processing result of the current input signal.
2. The method of claim 1, wherein determining the input type based on the input ID of the current input signal comprises:
comparing the input ID with a configuration file;
if the input ID is consistent with the first input ID, determining that the input type is the first input type;
and if the input ID is consistent with a second input ID, determining that the input type is a second input type.
3. A room management apparatus, the apparatus comprising:
the determining module is used for determining the input type according to the input ID of the current input signal;
the processing module is used for calling a corresponding processing program to process the current input signal according to the input type;
the output module is used for outputting the processing result of the current input signal through the output port corresponding to the input ID;
further comprising:
and the display module is used for displaying the processing result of the current input signal.
4. The apparatus of claim 3, wherein the determining module comprises:
the comparison submodule is used for comparing the input ID with the configuration file;
the first determining submodule is used for determining the input type as a first input type if the input ID is consistent with the first input ID;
and the second determining submodule is used for determining the input type as the second input type if the input ID is consistent with the second input ID.
5. A room management system, comprising:
an input device for inputting a current input signal;
a processor for determining an input type according to an input ID of a current input signal; calling a corresponding processing program to process the current input signal according to the input type;
and the output equipment is used for outputting the processing result of the current input signal through the output port corresponding to the input ID.
6. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the room management method according to claim 1 or 2.
CN201810413832.4A 2018-05-03 2018-05-03 Guest room management method, device and system Active CN108508775B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810413832.4A CN108508775B (en) 2018-05-03 2018-05-03 Guest room management method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810413832.4A CN108508775B (en) 2018-05-03 2018-05-03 Guest room management method, device and system

Publications (2)

Publication Number Publication Date
CN108508775A CN108508775A (en) 2018-09-07
CN108508775B true CN108508775B (en) 2020-08-21

Family

ID=63399558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810413832.4A Active CN108508775B (en) 2018-05-03 2018-05-03 Guest room management method, device and system

Country Status (1)

Country Link
CN (1) CN108508775B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5745759A (en) * 1994-10-14 1998-04-28 Qnx Software Systems, Ltd. Window kernel
CN100558142C (en) * 2006-06-23 2009-11-04 华为技术有限公司 A kind of method, application and device that changes application state in a plurality of current service
CN101667807B (en) * 2009-10-12 2011-09-07 浙江华章科技有限公司 Motor control method based on DCS system
CN102637108B (en) * 2011-02-10 2018-03-02 张苏渝 A kind of compound input control method
CN102833221A (en) * 2011-06-17 2012-12-19 深圳市鑫海诺科技有限公司 Method, client side, server and system for realizing intelligent remote control of household appliances
US9706621B2 (en) * 2013-08-15 2017-07-11 Osram Sylvania Inc. Multi-standard lighting control interface circuit
CN204287916U (en) * 2014-10-21 2015-04-22 内蒙古包钢钢联股份有限公司 Illumination of plant building controller
CN204707207U (en) * 2015-06-17 2015-10-14 北京德普视讯科技有限公司 Based on the tiled display control system of cloud computing technology
US9805232B2 (en) * 2015-10-21 2017-10-31 Disney Enterprises, Inc. Systems and methods for detecting human-object interactions

Also Published As

Publication number Publication date
CN108508775A (en) 2018-09-07

Similar Documents

Publication Publication Date Title
US12014117B2 (en) Grouping devices for voice control
US20150128050A1 (en) User interface for internet of everything environment
US11099534B2 (en) Configuration user interface for a home automation system
US8310335B2 (en) Network-based access and control of home automation systems
CN106814639A (en) Speech control system and method
CN102223435A (en) Method for displaying connection state of communication component in electric equipment and electric equipment
CN106980436A (en) Record screen method and record screen terminal
CN109189295A (en) display control method, device and terminal device
CN106226102A (en) A kind of refrigerator commodity device for detecting performance, system, method and refrigerator
KR100643301B1 (en) System and method for outputting icons by hot-key input
CN108508775B (en) Guest room management method, device and system
CN105402987B (en) A kind of refrigerator and its control method
CN112506401B (en) Intelligent household appliance control method, terminal, device and storage medium based on Internet of things
CN105717437A (en) Control panel automatic test system and method
CN108922276A (en) A kind of intelligence display screen and its application method
CN115951973A (en) Model processing method and device, terminal device and storage medium
US9990054B2 (en) Control panel and controlling method thereof
US11782523B2 (en) Method for controlling Internet of Things device, and terminal device
CN105468136B (en) A kind of information processing method and electronic equipment
KR100797030B1 (en) Remote controller able to link macro function to control button
CN103728119B (en) The test system of shutter type 3 D spectacles and method of testing thereof
CN108170607B (en) Control device and control method of OTP switch
WO2023055120A1 (en) Method and apparatus for controlling a remote device in an internet of things (iot) environment
CN106060274A (en) Method and device for reporting ambient light sensor data and mobile terminal
CN105913788A (en) Detection circuit of liquid crystal display panel and detection method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant