CN109324531B - Guest room control method, Guest room controller and Guest room control system - Google Patents
Guest room control method, Guest room controller and Guest room control system Download PDFInfo
- Publication number
- CN109324531B CN109324531B CN201811207384.9A CN201811207384A CN109324531B CN 109324531 B CN109324531 B CN 109324531B CN 201811207384 A CN201811207384 A CN 201811207384A CN 109324531 B CN109324531 B CN 109324531B
- Authority
- CN
- China
- Prior art keywords
- virtual
- physical
- loop
- key
- server
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme 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)
- Selective Calling Equipment (AREA)
Abstract
The invention is suitable for the technical field of control systems, and provides a guest room control method, a guest room controller and a guest room control system, wherein the guest room control method comprises the steps of searching a virtual key corresponding to a physical key in a guest room after receiving trigger information of the physical key, searching a virtual circuit corresponding to the virtual key according to the searched virtual key, searching a physical circuit corresponding to the virtual circuit according to the searched virtual circuit, and controlling the on-off of the searched physical circuit according to the trigger information. The invention can obtain the controlled physical loop by searching the virtual key and the virtual loop on the guest room controller when the switch panel and the illumination loop are respectively connected with any input port and any output port of the guest room controller, thereby controlling the connection and disconnection of the guest room controller, being beneficial to improving the construction efficiency and reducing the error rate of the switch panel and the illumination loop when the switch panel and the illumination loop are connected with the guest room controller.
Description
Technical Field
The present invention relates to the field of control systems, and in particular, to a method for controlling guest rooms, a guest room controller, a guest room control system, and a computer-readable storage medium.
Background
The hotel room control system utilizes the technologies of computer control, communication, management and the like, and is based on a special network formed by intelligent controllers in the rooms, so that the security system, the access control system, the central air conditioning system, the intelligent lighting system, the service system, the background music system and the like of the hotel rooms are intelligently managed and controlled, the room state, the guest demand, the service condition, the equipment condition and the like are reflected in real time, and the aim of assisting the hotel in carrying out real-time control analysis on room equipment and internal resources is fulfilled. Due to the abundant functions, strong compatibility and the interface with the hotel management system, the intelligent hotel management system becomes an essential part for comprehensive intelligence.
However, in the prior art, when the switch panel and the lighting circuit are respectively connected to the input port and the output port of the guest room controller, the specified port is usually required to be connected strictly according to the design drawing, and the flexibility is poor; and with the continuous increase of the number of the lighting loops, wiring errors are easy to occur, and the configuration efficiency is low.
Therefore, a new technical solution is needed to solve the above technical problems.
Disclosure of Invention
In view of this, embodiments of the present invention provide a guest room control method, a guest room controller, and a guest room control system, which can obtain a controlled physical loop by searching for a virtual key and a virtual loop on the guest room controller when a switch panel and an illumination loop are respectively connected to any input port and any output port of the guest room controller, thereby controlling the on/off of the controlled physical loop, and facilitating reduction of error rate of the switch panel and the illumination loop when the switch panel and the illumination loop are connected to the guest room controller.
A first aspect of an embodiment of the present invention provides a method for controlling guest rooms, including:
after receiving triggering information of a physical key in a guest room, searching a virtual key corresponding to the physical key;
searching a virtual circuit corresponding to the virtual key according to the searched virtual key;
searching a physical loop corresponding to the virtual loop according to the searched virtual loop;
and controlling the on-off of the searched physical loop according to the trigger information.
A second aspect of an embodiment of the present invention provides a guest room controller, including:
the system comprises a plurality of virtual keys and a plurality of virtual loops, wherein each virtual key corresponds to one or more virtual loops according to a preset rule;
the first searching module is used for searching a virtual key corresponding to the physical key after receiving the triggering information of the physical key in the guest room;
the second searching module is used for searching a virtual circuit corresponding to the virtual key according to the searched virtual key;
the third searching module is used for searching a physical circuit corresponding to the virtual circuit according to the searched virtual circuit;
and the control module is used for controlling the on-off of the searched physical loop according to the trigger information.
A third aspect of an embodiment of the present invention provides a guest room control system, including:
the guest room controller comprises a plurality of virtual keys and a plurality of virtual loops, each virtual key corresponds to one or more virtual loops according to a preset rule, and the guest room controller is respectively connected with the physical keys and the physical loops.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the method mentioned in the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: in this embodiment, after receiving trigger information of a physical key in a guest room, a virtual key corresponding to the physical key is searched for, then a virtual loop corresponding to the virtual key is searched for according to the searched virtual key, then a physical loop corresponding to the virtual loop is searched for according to the searched virtual loop, and finally the on-off of the searched physical loop is controlled according to the trigger information. Compared with the prior art, the embodiment of the invention can obtain the controlled physical loop by searching the virtual key and the virtual loop on the guest room controller when the switch panel and the illumination loop are respectively connected with any input port and any output port of the guest room controller, thereby controlling the on-off of the physical loop, being beneficial to improving the construction efficiency, reducing the error rate of the switch panel and the illumination loop when being connected with the guest room controller and having stronger usability and practicability.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions 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-a is a schematic flow chart of a method for room control according to an embodiment of the present invention;
FIG. 1-b is a schematic diagram illustrating an application of a method for controlling guest rooms according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a room control method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a room controller according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a guest room control system according to a fourth embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
It should be understood that, the sequence numbers of the steps in this embodiment do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
It should be noted that, the descriptions of "first" and "second" in this embodiment are used to distinguish different regions, modules, and the like, and do not represent a sequential order, and the descriptions of "first" and "second" are not limited to be of different types.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example one
Fig. 1-a is a schematic flow chart of a method for controlling guest rooms according to an embodiment of the present invention, which may include the following steps:
s101: and after receiving the triggering information of the physical keys in the guest room, searching the virtual keys corresponding to the physical keys.
It should be noted that the method is mainly applied to the room controller. The guest room controller, abbreviated as rcu (roomcontrol unit), is generally used in the hotel or smart home industry, etc. The triggering information is used for indicating that the physical key is triggered.
In one embodiment, the physical key may be activated by pressing the physical key.
In one embodiment, the physical key may be activated after the room controller is operated for a period of time.
In one embodiment, the correspondence between the physical keys and the virtual keys may be stored in advance.
In one embodiment, the virtual key may be a program or code having a key function.
In one embodiment, the program or code with key function described above may be run on the room controller.
In one embodiment, if the room controller includes a plurality of processors, the program or code with the key function may be executed on the plurality of processors, respectively.
In one embodiment, the physical keys comprise a switch panel.
In one embodiment, the number of physical keys is plural.
In one embodiment, any of the physical keys may have random access to any of the input ports of the room controller.
S102: and searching a virtual loop corresponding to the virtual key according to the searched virtual key.
In one embodiment, the virtual circuit corresponding to the virtual key may be searched for by a preset rule. It should be noted that after finding the virtual key corresponding to the physical key, the guest room controller triggers a preset rule related to the virtual key, so as to find the virtual circuit corresponding to the virtual key. The preset rule may be generated while generating the virtual key and the virtual circuit, and is used to indicate a correspondence between the virtual key and the virtual circuit, where the correspondence includes one-to-one and one-to-many, that is: each virtual key can correspond to one or more virtual loops according to a preset rule.
S103: and searching a physical loop corresponding to the virtual loop according to the searched virtual loop.
In one embodiment, the correspondence between the physical loop and the virtual loop may be stored in advance.
In one embodiment, the type of physical circuit includes all light fixtures in the guest room, for example: desk lamps, porch lamps, bedroom lamps, bathroom lamps, and the like.
In one embodiment, the number of physical loops is a complex number.
In one embodiment, any of the physical loops has random access to any of the output ports of the room controller.
S104: and controlling the on-off of the searched physical loop according to the trigger information.
In an embodiment, a corresponding control instruction may be generated according to the trigger information, and the control instruction is sent to the found physical loop, so as to control the on/off of the found physical loop.
Taking a specific application scenario as an example, as shown in fig. 1-b, in the process of operating the guest room controller, if a message that the physical key 1 is pressed is received, first, the virtual key 2 corresponding to the physical key 1 is searched, then, the virtual circuit 2 corresponding to the virtual key 2 is searched according to the searched virtual key 2, then, the physical circuit 1 corresponding to the virtual circuit 2 is searched according to the searched virtual circuit 2, and then, a corresponding control instruction is generated according to the trigger information to control the on-off of the physical circuit 1. It should be noted that the reference numbers of the virtual key and the virtual circuit in fig. 1-b are only used for assisting illustration, and the physical key 1 in practical application may establish a corresponding relationship with any virtual key.
As can be seen from the above, in the embodiment of the present invention, after receiving the trigger information of the physical key in the guest room, the virtual key corresponding to the physical key is searched, then the virtual loop corresponding to the virtual key is searched according to the searched virtual key, then the physical loop corresponding to the virtual loop is searched according to the searched virtual loop, and finally the on-off of the searched physical loop is controlled according to the trigger information. Compared with the prior art, the embodiment of the invention can obtain the controlled physical loop by searching the corresponding virtual key and the virtual loop on the guest room controller when the switch panel and the illumination loop are respectively connected with any input port and any output port of the guest room controller, thereby controlling the on-off of the physical loop, being beneficial to improving the construction efficiency, reducing the error rate of the switch panel and the illumination loop when being connected with the guest room controller and having stronger usability and practicability.
Example two
The flow diagram of the method for controlling guest rooms provided in the second embodiment of the present invention is further detailed and explained with respect to steps S101 and S103 in the first embodiment, and the method may include the following steps:
s201: and establishing connection with a server, downloading a preset template from the server or receiving the preset template sent by the server, and operating the preset template, wherein the preset template comprises the virtual keys, the virtual circuit and a preset rule.
In one embodiment, a template containing virtual keys, virtual loops, and preset rules may be first created on the server using an installation and debugging tool, and then sent to the room controller via the network interface.
In one embodiment, the server includes, but is not limited to, a computer, a tablet, and a notebook.
S202: and storing the corresponding relation between the physical keys and the virtual keys.
In one embodiment, the storing the correspondence between the physical keys and the virtual keys includes:
after receiving trigger information of a first physical key, sending first information containing the number, position and type of the first physical key to a server, so that an installation and debugging tool on the server creates a first corresponding relation according to the first information, wherein the first corresponding relation comprises the corresponding relation between the first physical key and a first virtual key;
and receiving and storing the first corresponding relation sent by the server.
In one embodiment, the first information may further include a panel number and a panel type where the first physical key is located.
S203: after receiving the trigger information of the physical keys in the guest room, searching the virtual keys corresponding to the physical keys according to the stored corresponding relationship between the physical keys and the virtual keys.
Since the number of the physical keys in the actual application may be more than one, in order to ensure that all the physical keys have the corresponding relationship with the virtual keys, after the corresponding relationship between the first physical key and the first virtual key is established, whether the physical keys still have the corresponding relationship with the virtual keys is determined, and corresponding operation is executed. Specifically, in one embodiment, after receiving trigger information of a second physical key, sending second information including a number, a position, and a type of the second physical key to a server, so that an installation and debugging tool on the server creates a second corresponding relationship according to the second information, where the second physical key is any one of the other physical keys except for the first physical key, and the second corresponding relationship includes a corresponding relationship between the second physical key and the second virtual key; and receiving and storing the second corresponding relation sent by the server.
In one embodiment, the second information may further include a panel number and a panel type where the second physical key is located.
It should be understood that after the correspondence between the second physical key and the second virtual key is created, the second correspondence includes not only the previously created correspondence between the first physical key and the first virtual key but also the correspondence between the second physical key and the second virtual key.
It should also be understood that, after repeating the above operations for a plurality of times, the second correspondence relationship may include correspondence relationships between all physical keys and virtual keys.
It should be noted that, it is considered that the virtual keys and the virtual loops may be created on the server in advance, so in practical applications, if the number of the virtual keys is not enough to correspond to the physical keys and/or the number of the virtual loops is not enough to correspond to the physical loops, a plurality of virtual keys and virtual loops may be created on the server again and applied to the room controller.
It should be further noted that, because the virtual key may correspond to one or more virtual circuits according to a preset rule, in practical applications, the physical key may establish a corresponding relationship with only one virtual key, or the physical circuit may establish a corresponding relationship with only one virtual circuit.
S204; and searching a virtual loop corresponding to the virtual key according to the searched virtual key.
The step S204 is the same as the step S102 in the first embodiment, and the specific implementation process thereof can refer to the description of the step S102, which is not repeated herein.
S205: and storing the corresponding relation between the physical loop and the virtual loop.
In one embodiment, the storing the correspondence between the physical loop and the virtual loop comprises:
sending fourth information containing the number and the type of each output port to a server, so that an installation and debugging tool on the server sends a first test message to a first output port of the room controller according to the fourth information;
feeding back the working state of a first physical loop connected to a first output port to the server, so that an installation and debugging tool on the server creates a third corresponding relation according to the fed back working state of the first physical loop, wherein the third corresponding relation comprises a corresponding relation between the first physical loop and the first virtual loop;
and receiving and storing the third corresponding relation sent by the server.
In one embodiment, the installation and debugging tool on the server can obtain information of all output ports of the room controller at irregular time.
In one embodiment, the operational state of the physical circuit includes on or off.
In practical applications, since the physical circuit is connected to the output port of the room controller, the correspondence between the physical circuit and the virtual circuit can be indirectly established by establishing the correspondence between the output port and the virtual circuit.
Since the number of physical circuits in practical application may be more than one, in order to ensure that all the physical circuits have a corresponding relationship with the virtual circuits, after the corresponding relationship between the first physical circuit and the first virtual circuit is established, it may be determined whether there are physical circuits that have not established a corresponding relationship with the virtual circuits, and corresponding operations are performed. Specifically, in one embodiment, fourth information including the number and type of each output port is sent to the server, so that the installation and debugging tool on the server sends second test information to a second output port of the room controller according to the fourth information; if the second test message is received, feeding back a working state of a second physical loop connected to a second output port to the server, so that an installation and debugging tool on the server creates a fourth corresponding relationship according to the fed back working state of the second physical loop, where the second output port is any one of the output ports except the first output port, the second physical loop is any one of the physical loops except the first physical loop, and the fourth corresponding relationship includes a corresponding relationship between the second physical loop and a second virtual loop; and receiving and storing the fourth corresponding relation sent by the server.
In one embodiment, information for all output ports except the first output port may be sent to the server.
In one embodiment, the installation and debugging tool on the server may obtain information of all output ports except the first output port in the room controller at irregular time.
It should be understood that, after the correspondence relationship between the second physical loop and the second virtual loop is created, the fourth correspondence relationship includes not only the previously created correspondence relationship between the first physical loop and the first virtual loop but also the correspondence relationship between the second physical loop and the second virtual loop.
It should also be understood that, after repeating the above operations for a plurality of times, the second correspondence relationship may include correspondence relationships between all physical loops and virtual loops.
S206: and searching a physical loop corresponding to the virtual loop according to the searched virtual loop and the corresponding relation between the stored physical loop and the virtual loop.
S207: and controlling the on-off of the searched physical loop according to the trigger information.
The step S207 is the same as the step S104 in the first embodiment, and the specific implementation process thereof can refer to the description of the step S104, which is not repeated herein.
Therefore, compared with the first embodiment, the embodiment of the invention provides a specific implementation mode for searching the physical keys and the physical loops, and can obtain the controlled physical loops by quickly searching the corresponding virtual keys and the virtual loops on the guest room controller when the switch panel and the lighting loops are respectively connected to any input port and any output port of the guest room controller, so as to control the on-off of the controlled physical loops, thereby being beneficial to improving the control efficiency, reducing the error rate when the switch panel and the lighting loops are connected to the guest room controller, and having stronger usability and practicability.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a room controller according to a third embodiment of the present invention, and only the parts related to the third embodiment of the present invention are shown for convenience of illustration.
The guest room controller can be a software unit, a hardware unit or a combination unit which is arranged in the guest room control system, and can also be integrated into the guest room control system as an independent pendant.
The guest room controller includes:
the first searching module 31 is configured to search for a virtual key corresponding to a physical key in a guest room after receiving trigger information of the physical key;
the second searching module 32 is configured to search a virtual loop corresponding to the virtual key according to the searched virtual key;
a third searching module 33, configured to search, according to the searched virtual circuit, a physical circuit corresponding to the virtual circuit;
and the control module 34 is used for controlling the on-off of the found physical loop according to the trigger information.
Example four
Fig. 4 is a schematic structural diagram of a guest room control system according to a fourth embodiment of the present invention, which may include:
The guest room controller includes a plurality of virtual keys and a plurality of virtual loops, each virtual key corresponds to one or more virtual loops according to a preset rule, and the guest room controller 41 is connected to the physical key 42 and the physical loop 43, respectively.
The room controller 41, the physical button 42 and the physical loop 43 can refer to the related descriptions in the above embodiments.
As can be seen from the above, in the embodiment of the present invention, when the switch panel and the illumination loop are respectively connected to any input port and any output port of the guest room controller, the physical button can be used to send the trigger information to the guest room controller, the guest room controller searches for the virtual button and the virtual loop on the guest room controller after receiving the trigger information of the physical button, so as to obtain the controlled physical loop, and further send the control instruction to the controlled physical loop, and the controlled physical loop responds to the control instruction after receiving the control instruction to implement the on-off function, which is beneficial to reducing the error rate of the switch panel and the illumination loop when being connected to the guest room controller, and improving the flexibility of the switch panel and the illumination loop when being connected to the guest room controller, and has strong usability and practicability.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art would appreciate that the modules, elements, and/or method steps of the various embodiments described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. 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.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected as required to achieve the purpose of the solution of the present embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave information, telecommunications information, and software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, such as legislation and patent practice, the computer readable medium does not include electrical carrier wave information and telecommunications information.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (8)
1. A method of room control, comprising:
after receiving triggering information of a physical key in a guest room, searching a virtual key corresponding to the physical key;
searching a virtual circuit corresponding to the virtual key according to the searched virtual key;
searching a physical loop corresponding to the virtual loop according to the searched virtual loop;
controlling the on-off of the searched physical loop according to the trigger information;
before receiving the triggering information of the physical key, the method further comprises the following steps:
establishing connection with a server;
downloading a preset template from the server or receiving the preset template sent by the server, and operating the preset template, wherein the preset template comprises the virtual key, a virtual loop and a preset rule;
after the downloading a preset template from the server or receiving the preset template sent by the server and operating the preset template, the method further comprises the following steps:
storing the corresponding relation between the physical keys and the virtual keys;
the storing of the correspondence between the physical keys and the virtual keys includes:
after receiving trigger information of a first physical key, sending first information containing the number, position and type of the physical key to a server, so that an installation and debugging tool on the server creates a first corresponding relation according to the first information, wherein the first corresponding relation comprises the corresponding relation between the first physical key and a first virtual key;
and receiving and storing the first corresponding relation sent by the server.
2. The method of claim 1, wherein storing the correspondence between the physical keys and the virtual keys further comprises:
after receiving trigger information of a second physical key, sending second information containing the number, position and type of the second physical key to a server, so that an installation and debugging tool on the server creates a second corresponding relation according to the second information, wherein the second physical key is any one of the rest physical keys except the first physical key in the physical keys, and the second corresponding relation comprises a corresponding relation between the second physical key and a second virtual key;
and receiving and storing the second corresponding relation sent by the server.
3. The method according to claim 1, wherein before the finding a physical loop corresponding to the virtual loop according to the found virtual loop, further comprising:
and storing the corresponding relation between the physical loop and the virtual loop.
4. The method of claim 3, wherein storing the correspondence between the physical loops and the virtual loops comprises:
sending third information containing the number and the type of each output port to a server, so that an installation and debugging tool on the server sends a first test message to a first output port of the room controller according to the third information;
feeding back the working state of a first physical loop connected to a first output port to the server, so that an installation and debugging tool on the server creates a third corresponding relation according to the fed back working state of the first physical loop, wherein the third corresponding relation comprises a corresponding relation between the first physical loop and a first virtual loop;
and receiving and storing the third corresponding relation sent by the server.
5. The method of claim 4, wherein storing the correspondence between the physical loop and the virtual loop further comprises:
sending fourth information containing the number and the type of each output port to a server, so that an installation and debugging tool on the server sends a second test message to a second output port of the room controller according to the fourth information;
if the second test message is received, feeding back a working state of a second physical loop connected to a second output port to the server, so that an installation and debugging tool on the server creates a fourth corresponding relationship according to the fed back working state of the second physical loop, where the second output port is any one of the output ports except the first output port, the second physical loop is any one of the physical loops except the first physical loop, and the fourth corresponding relationship includes a corresponding relationship between the second physical loop and a second virtual loop;
and receiving and storing the fourth corresponding relation sent by the server.
6. A room controller, comprising:
the system comprises a plurality of virtual keys and a plurality of virtual loops, wherein each virtual key corresponds to one or more virtual loops according to a preset rule;
the first searching module is used for searching a virtual key corresponding to the physical key after receiving the triggering information of the physical key in the guest room;
the second searching module is used for searching a virtual circuit corresponding to the virtual key according to the searched virtual key;
the third searching module is used for searching a physical circuit corresponding to the virtual circuit according to the searched virtual circuit;
the control module is used for controlling the on-off of the searched physical loop according to the trigger information;
the room controller is further configured to:
establishing connection with a server;
downloading a preset template from the server or receiving the preset template sent by the server, and operating the preset template, wherein the preset template comprises the virtual key, a virtual loop and a preset rule;
storing the corresponding relation between the physical keys and the virtual keys;
after receiving trigger information of a first physical key, sending first information containing the number, position and type of the physical key to a server, so that an installation and debugging tool on the server creates a first corresponding relation according to the first information, wherein the first corresponding relation comprises the corresponding relation between the first physical key and a first virtual key;
and receiving and storing the first corresponding relation sent by the server.
7. A room control system, comprising:
the room controller of claim 6, wherein the room controller comprises a plurality of virtual buttons and a plurality of virtual loops, each virtual button corresponding to one or more virtual loops according to a predetermined rule, the room controller being connected to the physical buttons and the physical loops, respectively.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811207384.9A CN109324531B (en) | 2018-10-17 | 2018-10-17 | Guest room control method, Guest room controller and Guest room control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811207384.9A CN109324531B (en) | 2018-10-17 | 2018-10-17 | Guest room control method, Guest room controller and Guest room control system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109324531A CN109324531A (en) | 2019-02-12 |
CN109324531B true CN109324531B (en) | 2020-05-05 |
Family
ID=65262365
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811207384.9A Active CN109324531B (en) | 2018-10-17 | 2018-10-17 | Guest room control method, Guest room controller and Guest room control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109324531B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112269329B (en) * | 2020-09-08 | 2024-04-26 | 上海奥宜电子科技有限公司 | Control method for separating key and switch |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180062654A (en) * | 2016-12-01 | 2018-06-11 | 삼성전자주식회사 | Electronic apparatus having a combined button and control method thereof |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101673115B (en) * | 2009-09-23 | 2011-12-21 | 上海易同科技股份有限公司 | Intelligent home device control system and method |
FR2956224B1 (en) * | 2010-02-09 | 2012-11-02 | Somfy Sas | METHOD FOR OPERATING A DEVICE FOR CONTROLLING DOMOTIC EQUIPMENT |
CN103713812B (en) * | 2013-12-31 | 2017-01-11 | 中国科学院深圳先进技术研究院 | Networked intelligent interactive system |
CN103997688B (en) * | 2014-04-28 | 2018-09-04 | 小米科技有限责任公司 | intelligent interactive system, device and method |
US9665309B2 (en) * | 2014-06-27 | 2017-05-30 | International Business Machines Corporation | Extending existing storage devices in virtualized environments |
CN107634887B (en) * | 2017-09-27 | 2020-12-29 | 深圳市欧瑞博科技股份有限公司 | Message processing method and device and intelligent control system |
-
2018
- 2018-10-17 CN CN201811207384.9A patent/CN109324531B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180062654A (en) * | 2016-12-01 | 2018-06-11 | 삼성전자주식회사 | Electronic apparatus having a combined button and control method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN109324531A (en) | 2019-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021196608A1 (en) | Display scene switching method, intelligent display screen and readable storage medium | |
CN108090006A (en) | A kind of method of one key switching PCIE Switch operating modes | |
US20220210882A1 (en) | Navigational dynamic lighting | |
US20200064402A1 (en) | Server and debugging method therefor | |
CN110764978A (en) | Hard disk lighting method and device, electronic equipment and storage medium | |
CN108399136B (en) | Control method and device of serial interface and host | |
CN109618315A (en) | A kind of control method of lighting apparatus, device, storage medium and intelligent terminal | |
WO2007019284A2 (en) | Methods and arrangements for managing automated switching | |
CN116628913B (en) | Method, device, equipment and medium for configuring physical space layout of lamp | |
CN111090568A (en) | Method and equipment for lighting back plate CPLD | |
CN109324531B (en) | Guest room control method, Guest room controller and Guest room control system | |
CN117093465B (en) | Server log collection method, device, communication equipment and storage medium | |
CN113727497B (en) | Positioning identification method, system, light control device, equipment and storage medium | |
CN114095351B (en) | Method, device and system for configuring equipment functions | |
CN111007815B (en) | Centralized control host supporting dual-computer hot standby | |
CN108989058A (en) | A kind of server operation method and device | |
CN109271266A (en) | Document transmission method, device and terminal device | |
CN108153676A (en) | Debugging management method, apparatus, storage medium and terminal device | |
WO2021057511A1 (en) | Infrared proximity sensor control method and device, and mobile terminal | |
CN106502612B (en) | Equipment display management method and device | |
CN111399871A (en) | System updating method, device, equipment and medium for HBA card | |
US12001833B2 (en) | Method and apparatus for maintaining software of a control unit for an industrial control system | |
CN109582265A (en) | More computer method for handover control, storage medium, control device and its system | |
CN106155731B (en) | System and method for automatically replacing peripheral device | |
CN107402624B (en) | A kind of control method and electronic equipment of power supply indicator |
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 |