Movatterモバイル変換


[0]ホーム

URL:


CN115295357B - Control method and device of electric switch, switch control equipment - Google Patents

Control method and device of electric switch, switch control equipment

Info

Publication number
CN115295357B
CN115295357BCN202210928432.3ACN202210928432ACN115295357BCN 115295357 BCN115295357 BCN 115295357BCN 202210928432 ACN202210928432 ACN 202210928432ACN 115295357 BCN115295357 BCN 115295357B
Authority
CN
China
Prior art keywords
switch
electric
trigger action
electric control
action information
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
CN202210928432.3A
Other languages
Chinese (zh)
Other versions
CN115295357A (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.)
Lumi United Technology Co Ltd
Original Assignee
Lumi United 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 Lumi United Technology Co LtdfiledCriticalLumi United Technology Co Ltd
Priority to CN202210928432.3ApriorityCriticalpatent/CN115295357B/en
Publication of CN115295357ApublicationCriticalpatent/CN115295357A/en
Application grantedgrantedCritical
Publication of CN115295357BpublicationCriticalpatent/CN115295357B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The embodiment of the invention discloses a control method and device of an electric control switch and switch control equipment, relates to the technical field of control, and aims to solve the problems of poor control effectiveness and inflexibility of the electric control switch in the prior art. The method comprises the steps that a switch control device obtains an electric control switch configuration mapping relation configured in a client, wherein the electric control switch configuration mapping relation is used for representing a binding relation between any electric control switch in the switch device and trigger action information for controlling the electric control switch to execute opening and closing operations, if a first control instruction for controlling the switch device is received, a target electric control switch matched with target trigger action information in the first control instruction is searched based on the electric control switch configuration mapping relation, and a second control instruction is sent to the target electric control switch so as to control the target electric control switch to execute the opening and closing operations. The control method is mainly used for the electric control switch.

Description

Control method and device of electric control switch and switch control equipment
Technical Field
The present invention relates to the field of control technologies, and in particular, to a control method and apparatus for an electric control switch, and a switch control device.
Background
With the rapid development of intelligent devices, in order to ensure the intelligent switching function of the devices, an electric control switch is generally used as a control element of hardware devices such as home devices. In particular, a plurality of electronic control switches and trigger elements can be arranged in the switch device serving as the cassette, and the switch control elements serving as the plurality of hardware devices can control the electronic control switches to open and close the corresponding hardware devices by controlling the trigger elements.
At present, a plurality of electric control switches arranged in the existing switch equipment are generally directly connected with a uniquely-bound trigger element in a wire connection mode so as to trigger the hardware equipment to be opened and closed, for example, after one electric control switch wire is connected with a single click button, the electric control switch is touched by the single click button to open and close the hardware equipment corresponding to the electric control switch. The existing connection mode between the trigger element and the electric control switch is fixed, and flexibility is not enough.
Disclosure of Invention
The invention provides a control method and device of an electric control switch and switch control equipment, which are used for solving the problems of fixed and inflexible connection mode of the electric control switch in the prior art.
To achieve one or a part or all of the above or other objects, the present invention provides a control method of an electric control switch, comprising:
Acquiring an electric control switch configuration mapping relation, wherein the electric control switch configuration mapping relation is used for representing a binding relation between any electric control switch in the switch equipment and trigger action information for controlling the electric control switch to execute opening and closing operations;
If a first control instruction for controlling the switching equipment is received, searching a target electric control switch matched with target trigger action information in the first control instruction based on the electric control switch configuration mapping relation;
And sending a second control instruction to the target electric control switch so as to control the target electric control switch to execute opening and closing operations.
To achieve one or a part or all of the above or other objects, the present invention provides another control method of an electrically controlled switch, including:
acquiring trigger action information expected to be used for controlling each electric control switch in the switch equipment to execute opening and closing operations;
acquiring at least one electric control switch which is expected to bind the triggering action information, and establishing an electric control switch configuration mapping relation;
And sending the electric control switch configuration mapping relation to determine a target electric control switch with target trigger action information matching based on the electric control switch configuration mapping relation, and controlling the target electric control switch to execute opening and closing operations.
To achieve one or a part or all of the above or other objects, the present invention provides a control device of an electric control switch, comprising:
The electronic control switch configuration mapping relation is used for representing the binding relation between any electronic control switch in the switch equipment and trigger action information for controlling the electronic control switch to execute opening and closing operation;
the searching module is used for searching a target electric control switch matched with target trigger action information in the first control instruction based on the electric control switch configuration mapping relation when receiving the first control instruction for controlling the switch equipment;
And the sending module is used for sending a second control instruction to the target electric control switch so as to control the target electric control switch to execute opening and closing operations.
In an exemplary embodiment, a triggering element is provided in the switching device, wherein the triggering element is capable of being triggered by different triggering actions, and the search module comprises:
The analysis unit is used for analyzing the message or the pulse signal in the first control instruction, wherein the message is generated by generating the pulse signal under the target triggering action of the triggering element;
and the determining unit is used for determining target trigger action information of the target trigger action according to the message or the pulse signal.
In an exemplary embodiment, the apparatus further comprises:
The receiving module is used for receiving and storing the electric control switch configuration mapping relation established by the client, wherein the same trigger action information in the electric control switch configuration mapping relation has a binding relation with one or more electric control switches, or the same electric control switch has a binding relation with one or more trigger action information.
In an exemplary embodiment of the present invention,
The acquisition module is further used for acquiring the opening and closing states of the target electric control switches if the target trigger action information is matched with at least two target electric control switches;
And the sending module is further used for sending a state synchronization instruction to the target electric control switches if the opening and closing states of at least two target electric control switches are different, so as to control the opening and closing operations to be synchronously executed after the opening and closing states of the target electric control switches are the same.
In an exemplary embodiment, the trigger element comprises any one of a knob, a button, a knob button assembly.
To achieve one or a part or all of the above or other objects, the present invention provides another control device for an electrically controlled switch, comprising:
The acquisition module is used for acquiring trigger action information expected to be used for controlling each electric control switch in the switch equipment to execute opening and closing operations;
the building module is used for obtaining at least one electric control switch which is expected to bind the triggering action information and building an electric control switch configuration mapping relation;
And the sending module is used for sending the electric control switch configuration mapping relation so as to determine a target electric control switch with target trigger action information matched based on the electric control switch configuration mapping relation and control the target electric control switch to execute opening and closing operations.
In an exemplary embodiment, a trigger element is disposed in the switch device, where the trigger element can be triggered by different trigger actions, and the obtaining module is specifically configured to display information of each trigger action of the trigger element, obtain a trigger action selection operation instruction, where the trigger action selection operation instruction is used to indicate selection content of the trigger action information, and determine trigger action information to be bound according to the selection content of the trigger action information.
In an exemplary embodiment, the establishing module includes:
the display unit is used for displaying the identification information of each electric control switch, and the identification information is used for representing the identity of the corresponding electric control switch;
the device comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring an identification selection operation instruction, and the identification selection operation instruction is used for indicating the selection content of the identification information;
a first establishing unit, configured to determine the identification information to be bound based on the selected content of the identification information, and bind the electric control switch corresponding to the identification information with the trigger action information to establish an electric control switch configuration mapping relationship, or,
The second establishing unit is used for binding the electric control switch corresponding to the identification information with the trigger action information based on a preset ordering rule, and establishing an electric control switch configuration mapping relation;
The same trigger action information and one or more electric control switches in the electric control switch configuration mapping relation have binding relation, or the same electric control switch and one or more trigger action information have binding relation.
In an exemplary embodiment, the obtaining module is further configured to obtain an association configuration instruction, where the association configuration instruction is used to indicate a joint synchronization state of at least two electronic switches bound to the same trigger action information, so that the at least two electronic switches are synchronized to the joint synchronization state when the corresponding trigger action information is triggered and the open and closed states of the at least two electronic switches are not synchronized, and mark the association configuration instruction in the electronic switch configuration mapping relationship.
To achieve one or a part or all of the above or other objects, the present invention provides a storage medium having at least one executable instruction stored therein, where the executable instruction causes a processor to execute operations corresponding to the control method of an electronic control switch.
To achieve one or a part or all of the above or other objects, the present invention provides a switch control device, including a processor, a memory, a communication interface, and a communication bus, where the processor, the memory, and the communication interface complete communication with each other through the communication bus;
The memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the control method of the electric control switch.
The implementation of the embodiment of the invention has the following beneficial effects:
After the control method and the device for the electric control switch and the switch control equipment are adopted, the electric control switch configuration mapping relation which is configured in the client and contains the binding relation between the electric control switch and the trigger action information is obtained through the switch control equipment, when a first control instruction for controlling the switch equipment is received, the target electric control switch matched with the target trigger action information is searched based on the electric control switch configuration mapping relation, so that a second control instruction is sent to the target electric control switch, the aim of controlling the target electric control switch to execute the opening and closing operation is fulfilled, if the control mode of the electric control switch needs to be changed, the aim can be fulfilled by changing the electric control switch configuration mapping relation, wires connected with the electric control switch do not need to be detached and changed, the resource consumption of complex configuration of equipment hardware is reduced, the requirement on flexibility and diversity of controlling the electric control switch is met, and the control effectiveness of the electric control switch is greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Wherein:
FIG. 1 is a schematic diagram of an intelligent control system according to an embodiment;
Fig. 2 shows a flowchart of a control method of an electric control switch according to an embodiment of the present invention;
Fig. 3 shows a schematic side view of a switchgear according to an embodiment of the present invention;
Fig. 4 shows an integrated side view of a switchgear according to an embodiment of the present invention;
fig. 5 shows a rear-view split view of a switchgear provided by an embodiment of the present invention;
FIG. 6 is a flowchart of another control method of an electric control switch according to an embodiment of the present invention;
fig. 7 shows a schematic diagram of control data interaction of an electronic control switch according to an embodiment of the present invention;
Fig. 8 is a schematic diagram showing a correspondence relationship between an electric control switch and a trigger action according to an embodiment of the present invention;
Fig. 9 is a flowchart of a control method of another electric control switch according to an embodiment of the present invention;
Fig. 10 is a schematic diagram of an operation of binding an electric control switch and a trigger action according to an embodiment of the present invention;
FIG. 11 is a flowchart of a control method of another electronic control switch according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a control device of an electric control switch according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a control device of another electric control switch according to an embodiment of the present invention;
Fig. 14 shows a schematic structural diagram of a switch control device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The control method of the electric control switch provided by the application can be applied to an application environment shown in figure 1. Among them, fig. 1 provides an intelligent control system including an intelligent switching apparatus 001, a gateway 002 communicatively connected with the intelligent switching apparatus 001, a router 003, a server 004, and a terminal 005. The smart switching device 001 may be a wall switch or the like in a smart home, and is not limited herein.
The intelligent switch device 001 is connected to the gateway 002 in the intelligent control system, and communicates with the gateway 001 through its own configured communication module, and is further controlled by the gateway 002. In one embodiment, the intelligent switching apparatus 001 accesses the gateway 002 through a local area network path or a wide area network path, thereby being deployed in the gateway 002. The local area network may include ZIGBEE or bluetooth, and the wide area network may include 2G/3G/4G/5G/WIFI, etc.
Gateway 002 establishes a network connection with terminal 005 or server 004 through route 004, in one embodiment gateway 002 establishes a network connection with terminal 005 through a local area network or wide area network path. Interact with the terminal 005 through the network connection, thereby enabling the user to control the intelligent switching device of the access gateway 002 to perform a corresponding action by means of the terminal 005.
In one embodiment, the intelligent switching apparatus 001 and the terminal 005 may further communicate data through a local area network, wherein the local area network may include ZIGBEE or bluetooth.
The terminal 005 may be a smart phone, a notebook computer, a personal computer, a tablet computer, an intelligent control panel, or other electronic devices capable of implementing network connection, which is not limited herein. The server 004 can be implemented by using an independent server or a server cluster formed by combining a plurality of servers, specifically, an electric control switch configuration mapping relation between any electric control switch in the characterizing switch device and trigger action information for controlling the electric control switch to execute opening and closing operations is obtained, so that when a first control instruction for controlling the switch device is received, a target electric control switch matched with target trigger action information in the first control instruction is searched based on the electric control switch configuration mapping relation, and a second control instruction is sent to the target electric control switch, thereby realizing that the target electric control switch is controlled to execute opening and closing operations. Specifically, the electric control switch can be an electrical element such as a relay, a circuit breaker and the like.
If the binding relation between the electric control switch and the trigger element needs to be changed in the switch equipment, the lead connected with the electric control switch needs to be detached and changed, a large amount of hardware operation work can be generated, the requirements of diversity and flexibility of control of the electric control switch cannot be met, and the effectiveness of control of the electric control switch is reduced.
Based on the above-mentioned problems, the embodiment of the present application provides a control method for an electric control switch, which is described by taking the application of the method to a switch control device as an example, and the processing end serving as the current execution end is the switch control device, specifically, the switch control device may be an APP, a cloud server, a gateway, a control module in the switch device serving as an intelligent switch, or the switch device itself with an intelligent control function, and the application is not limited thereto. As shown in fig. 2, the method comprises the steps of:
101. and acquiring the configuration mapping relation of the electric control switch.
In the embodiment of the invention, the current execution end can acquire the configured electric control switch configuration mapping relation in a loading or downloading manner, wherein the electric control switch can be a switch element with an electronic control function, including but not limited to a relay, a circuit breaker and the like, and the electric control switch configuration mapping relation is used for representing the binding relation between any electric control switch in the switch equipment and trigger action information for controlling the electric control switch to execute an opening and closing operation, wherein the expression "controlling the electric control switch to execute the opening and closing operation" refers to controlling the electric control switch to execute the opening operation or execute the closing operation. Different electric control switches in the switch equipment can be bound with different trigger actions, and the binding between one electric control switch and a plurality of trigger actions can be included, and the binding between a plurality of electric control switches and one trigger action can also be included, so that the target electric control switch corresponding to the trigger action is determined from the electric control switch configuration mapping relation based on the trigger action corresponding to the trigger element of the switch equipment. For example, in the configuration mapping relationship of the electric control switches, a binding relationship between the single click trigger action information and the first path of electric control switches is configured, and a binding relationship between the double click trigger action information and the second path of electric control switches is configured.
In the embodiment of the invention, the current execution end can be an APP, a cloud server and a gateway, or can be a switch device serving as intelligent control equipment or a control module in the switch device, namely when the terminal device serving as a client cannot perform data communication with the switch device or the control module in the switch device, the current execution end serves as the cloud server or the gateway to acquire the configuration mapping relation of the electric control switch so as to judge when a control instruction of the switch device is received. When the terminal equipment serving as the client side is in communication connection with the current execution end through Bluetooth, zigBee and WIFI, the current execution end can be the switch equipment with an intelligent control function, and an electric control switch configuration mapping relation can be loaded for one control module in the switch equipment, so that judgment is carried out when a control instruction of the switch equipment is received, and the purpose of intelligent switch control is achieved.
102. And if a first control instruction for controlling the switching equipment is received, searching a target electric control switch matched with target trigger action information in the first control instruction based on the electric control switch configuration mapping relation.
In the embodiment of the invention, the switch equipment is provided with the trigger element and each electric control switch, and different hardware equipment, including but not limited to intelligent household equipment and the like, are controlled to be opened and closed by the switch circuit connected with the electric control switch. In a specific implementation scenario, as shown in fig. 3, the switch device is in a separated side view, that is, the part a is used as a separable knob of the trigger element, the part b is a wall-mounted casing containing a control module and at least one electric control switch, the part a and the part b can be completely separated, and in a separated state, the switch device can be used as a wireless switch, and signals between the part a and the part b can be transmitted wirelessly. As shown in fig. 4, i.e. the integrated side view of the switchgear, i.e. the fixed combination of the a part and the b part, a switchgear of the black box type is obtained, and the embodiment of the invention is not particularly limited. The switching device is provided with a trigger element, an electric control switch and a switching circuit connected with the electric control switch, so that a user can trigger the switch control through the trigger element. For example, in a scenario where the load is an intelligent lamp, as shown in a rear-view split diagram of a switching device in fig. 5, a plurality of electronically controlled switches in the switching device are connected with a load lamp line R, a live line L, and a neutral line N, so as to form a wall cassette, and perform power on/off control on the intelligent lamp. In addition, the trigger element includes any one of a knob, a button, and a knob button assembly, where when the trigger element is a knob, the knob may determine corresponding trigger action information by rotating a corresponding gear, when the trigger element is a button, the button may determine corresponding trigger action information by clicking an event, and when the trigger element is a knob button assembly, the trigger element may determine corresponding trigger action information by rotating and clicking.
When the user triggers the first control command for controlling the switch device, the control command carries target trigger action information for clicking, rotating or pressing the trigger element, including but not limited to clicking, double clicking, long-press action, rotating the first gear, rotating the second gear, pressing clockwise rotation, and the like. At this time, after the target trigger action information is determined, the target electric control switch matched with the target trigger action information can be searched according to the electric control switch configuration mapping relation.
103. And sending a second control instruction to the target electric control switch.
In the embodiment of the present invention, after the target electronic control switch is determined in step 102, the current executing terminal sends a second control instruction to the target electronic control switch, so as to control the target electronic control switch to execute the opening and closing operations based on the second control instruction. In addition, in the embodiment of the invention, the initial opening and closing state of the electric control switch in the switch device can be preconfigured, so that the opening and closing state of the electric control switch, namely the opening state or the closing state, is changed through the second control instruction.
The embodiment of the invention provides a control method of an electric control switch, which comprises the steps of acquiring an electric control switch configuration mapping relation containing binding relation between the electric control switch and trigger action information configured in a client through switch control equipment, searching a target electric control switch matched with target trigger action information based on the electric control switch configuration mapping relation when a first control instruction for controlling the switch equipment is received, sending a second control instruction to the target electric control switch, realizing the purpose of controlling the target electric control switch to execute opening and closing operation, reducing the resource consumption of complex equipment hardware configuration, and if the control mode of the electric control switch is required to be changed, the method can be realized by modifying the electric control switch configuration mapping relation, and the wires and the like between a trigger element and the electric control switch are not required to be detached and replaced, so that the complexity of hardware replacement of the switch equipment is avoided, the requirements on flexibility and diversity of controlling the electric control switch are met, and the control effectiveness of the electric control switch is greatly improved.
In an exemplary embodiment, for further definition and explanation, as shown in fig. 6, the step of searching for a target electronic control switch matching the target trigger action information in the first control command based on the electronic control switch configuration mapping relation includes:
201. analyzing a message or a pulse signal in the first control instruction;
202. And determining target trigger action information of the target trigger action according to the message or the pulse signal.
In a specific application scenario, the trigger element includes any one of a knob, a button and a knob button combination element, after the trigger element is triggered, a corresponding pulse signal is generated, when wireless transmission such as WIFI, zigBee or bluetooth is performed between the trigger element and a current cloud server, the pulse signal generated by the trigger element is converted into a message, and the cloud server receives the message in the first control instruction, so as to determine target trigger action information according to the message. When wireless transmission is performed, if transfer is required based on the gateway, the message is a gateway message, and the embodiment of the invention is not particularly limited.
When the trigger element and the current switch equipment or the control module perform wired transmission, namely, the part a and the part b are in a combined state, the pulse signal of the trigger element is directly sent to the control module or the switch equipment so that the control module or the switch equipment determines target trigger action information. In addition, when the triggering element and the current switching device or the control module perform wireless transmission, after triggering the triggering element, a corresponding pulse signal is generated, and a first control instruction received by the current switching device or the control module contains a message converted from the pulse signal.
Therefore, in order to accurately determine the target electric control switch based on the target trigger action information carried in the first control instruction, when the electric control switch is a relay in an application scenario corresponding to the solid line flow shown in fig. 7, wireless communication is performed between the current cloud server and the knob, and after the current execution end receives the first control instruction, the message carried in the first control instruction is analyzed first. The message is generated by the trigger element generating a pulse signal under the target trigger action, namely after the trigger element is triggered, the pulse signal generated by the trigger element is converted into the message aiming at wireless transmission and is transmitted, so that the current execution end determines target action trigger information triggered by the target action according to the message. For example, after the trigger element is clicked, a short-time pulse is generated, when the cloud end and the knob are in wireless communication, the knob converts the short-time pulse into a message, a first control instruction containing the message is generated, the gateway forwards the first control instruction carrying the message to a current cloud end server, and the target action trigger information is determined to be clicked in the cloud end server according to the message.
In another specific application scenario, as in the application scenario corresponding to the dashed flow shown in fig. 7, when the electric control switch is a relay, the client APP directly generates the electric control switch configuration mapping relationship to the current control module in a bluetooth mode, a wifi mode or the like, and the trigger element knob can be connected with the control module in a wired or wireless mode. At this time, if the connection is wired, after the trigger element knob is triggered, the knob generates a corresponding pulse signal, and the control module currently serving as the execution end receives the pulse signal of the trigger element in a wired connection manner and directly analyzes the pulse signal to obtain the target trigger action information for determining the target trigger action. For example, after the trigger element is double-clicked, a double-short-time pulse signal is generated, and the current control module determines that the target trigger action information corresponding to the target trigger action is double-clicked according to the double-short-time pulse signal.
It should be noted that, the current executing end may be preconfigured with target trigger actions corresponding to different pulse signals or messages, so as to match the trigger actions with trigger action information.
In an exemplary embodiment, for further defining and describing, before the step of obtaining the mapping relationship of the electronically controlled switch configuration, the method further includes:
And receiving and storing the electric control switch configuration mapping relation established by the client, wherein the same trigger action information in the electric control switch configuration mapping relation has a binding relation with one or more electric control switches, or the same electric control switch has a binding relation with one or more trigger action information.
In the embodiment of the invention, in order to prestore the electric control switch configuration mapping relation in the current execution end, when a first control instruction is received, the target electric control switch is directly searched based on the electric control switch configuration mapping relation. Specifically, the mapping relation of the configuration of the electronic control switches established by the client is received and stored, and at this time, as shown in fig. 8, the same trigger action information can be bound to one or more electronic control switches, and the same electronic control switch can be bound by one or more trigger action information.
In an exemplary embodiment, for further definition and explanation, the steps further include:
If the target trigger action information is matched with at least two target electric control switches and the target electric control switches are associated electric control switches, acquiring the opening and closing states of the target electric control switches;
If the opening and closing states of at least two target electric control switches are different, a state synchronization instruction is sent to the target electric control switches so as to control the opening and closing operations to be synchronously executed after the opening and closing states of the target electric control switches are the same.
In order to realize flexible control of the electric control switch and meet the effective cooperative control requirement of the electric control switch, after determining the target trigger action information, if it is determined that at least two target electric control switches are matched with the target trigger action information based on the electric control switch configuration mapping relation, the current execution end further judges whether the at least two target electric control switches are associated electric control switches, specifically, the judgment can be performed based on the electric control switch configuration mapping relation, and the embodiment of the invention is not particularly limited. If the target trigger action information is matched with at least two target electric control switches and the target electric control switches are associated electric control switches, the opening and closing states of all the target electric control switches serving as the associated electric control switches are acquired in order to realize control of the combined opening and closing states of the electric control switches. If the opening and closing states of all the target electric control switches are different, in order to realize the joint control of the joint opening and closing states, the current execution end sends a state synchronization instruction to all the target electric control switches serving as the joint electric control switches so as to control the opening and closing states of all the target electric control switches to be adjusted to be the same. And then, sending a second control instruction to all the target electric control switches to execute synchronous opening and closing operations.
It should be noted that, in the embodiment of the present invention, a state synchronization instruction is sent to a target electric control switch to adjust the opening and closing states of the target electric control switch, which may be a specified all-opening control instruction or all-closing control instruction sent to the electric control switch to unify the opening and closing states, or a to-be-synchronized electric control switch to be adjusted to be an opening and closing state based on a real-time opening and closing state fed back by each electric control switch after responding to the state synchronization instruction is screened, and a specified control switching instruction is sent to adjust the opening and closing states of the to-be-synchronized electric control switch to be the same as the opening and closing states of other electric control switches.
The embodiment of the invention provides another control method of the electric control switch, wherein the control method comprises the steps of acquiring an electric control switch configuration mapping relation containing a binding relation between the electric control switch and trigger action information configured in a client through switch control equipment, searching a target electric control switch matched with target trigger action information based on the electric control switch configuration mapping relation when a first control instruction for controlling the switch equipment is received, sending a second control instruction to the target electric control switch, realizing the purpose of controlling the target electric control switch to execute opening and closing operation, reducing the resource consumption of complex configuration of equipment hardware, avoiding the complexity of hardware replacement of the switch equipment, meeting the requirements on flexibility and diversity of controlling the electric control switch, and greatly improving the control effectiveness of the electric control switch.
Based on the above-mentioned problems, the embodiment of the present application provides another control method of an electronic control switch, and the method is applied to an electronic device, which may be a client, etc., for example, and the application is not limited thereto. As shown in fig. 9, the method includes the steps of:
301. Trigger action information expected to be used for controlling each electric control switch in the switch equipment to execute opening and closing operations is obtained.
In one embodiment of the present invention, the current client is configured to execute the electronic control switch control method in steps 301 to 303 in the current embodiment, and during the process of performing electronic control switch control or configuration, the current client first obtains trigger action information based on the current client, so as to establish the mapping relationship of the electronic control switch configuration. The obtained trigger action information is action content which is expected by a user to be used for controlling one or more electric control switches in the switch equipment to execute opening and closing operations, wherein the trigger action information which is expected to be used for controlling each electric control switch in the switch equipment to execute opening and closing operations refers to trigger action information for which the user plans to establish an electric control switch configuration mapping relation, for example, a plurality of trigger action information which can be selected by the user are provided, and the user can select one or more trigger action information which is planned to be used from the trigger action information and establish the electric control switch configuration mapping relation. The switch device is provided with a trigger element, the trigger element comprises any one of a knob, a button and a knob button assembly, corresponding trigger action information is obtained by triggering the trigger element, and the trigger action information comprises but is not limited to single click, double click, long press action, first gear rotation, second gear rotation, pressing rotation and the like.
In the embodiment of the invention, when the current client can communicate with the control module in the switch device or the switch device itself through bluetooth and WIFI, the current client can directly communicate with the control module or the switch device itself, and if the current client cannot directly communicate with the control module or the switch device via bluetooth and WIFI, the current client can communicate with the cloud server via internet networking, thereby communicating with the current client via the cloud server.
302. And acquiring at least one electric control switch which is expected to bind the triggering action information, and establishing an electric control switch configuration mapping relation.
As shown in fig. 10, the acquired trigger action information may be displayed in the current client, and the user selects and binds at least one trigger action information displayed in the application APP and a plurality of electronic switches in the switch device, or the current client adaptively binds the trigger action information with each electronic switch, so as to establish an electronic switch configuration mapping relationship. For example, in the configuration mapping relationship of the electric control switches, a binding relationship between click trigger action information and the first path of electric control switches is configured, and a binding relationship between double click trigger action information and the second path of electric control switches is configured.
In the embodiment of the invention, in order to bind the trigger action information with each electric control switch, after or before the user selects the trigger action information which is expected to be used, the user can select the electric control switch which is expected to be bound with the trigger action information, so as to bind the selected electric control switch with the selected trigger action information to form an electric control switch configuration mapping relation.
It should be noted that, because different types of electronic control switches are provided in different switch devices, before binding the electronic control switches in the current client, a user selects the electronic control switch which is expected to bind with the trigger action information in the switch device from the displayed plurality of electronic control switches, so as to accurately bind the corresponding trigger action information with each electronic control switch in different switch devices.
303. And sending the electric control switch configuration mapping relation to determine a target electric control switch with target trigger action information matching based on the electric control switch configuration mapping relation, and controlling the target electric control switch to execute opening and closing operations.
In the embodiment of the invention, after the current client establishes the configuration mapping relation of the electric control switch, the configuration mapping relation of the electric control switch is sent out, so that after a first control instruction is obtained, the target electric control switch is determined according to the carried target trigger action information, and the target electric control switch is controlled to be opened or closed. In one embodiment, the configuration mapping relationship may be sent to an executing end (such as a cloud server, a gateway) or the switching device (the switching device itself or a control module in the switching device) that controls the opening and closing of the electronic control switch, so that the executing end or the switching device determines the target electronic control switch based on the first control instruction and the electronic control switch configuration mapping relationship, and controls the opening or closing of the electronic control switch.
The embodiment of the invention provides a control method of an electric control switch, which comprises the steps of acquiring trigger action information for controlling each electric control switch in a switch device to expect to execute opening and closing operation through a client, acquiring at least one electric control switch binding the trigger action information, establishing an electric control switch configuration mapping relation, sending the electric control switch configuration mapping relation so that a processing end or the switch device determines a target electric control switch matched with target trigger action information based on the electric control switch configuration mapping relation, and controlling the target electric control switch to execute opening and closing operation, thereby realizing the purpose of controlling the target electric control switch to execute opening and closing operation, reducing resource consumption of complex configuration of equipment hardware, avoiding complexity of hardware replacement of the switch device, meeting the requirements on flexibility and diversity of control of the electric control switch, and greatly improving the effectiveness of electric control of the electric control switch.
In an exemplary embodiment, for further definition and explanation, the step of obtaining trigger action information intended for controlling each electronically controlled switch in a switchgear to perform an open-close operation includes:
displaying the trigger action information of the trigger element;
Acquiring a trigger action selection operation instruction, wherein the trigger action selection operation instruction is used for indicating the selection content of the trigger action information;
And determining trigger action information to be bound according to the selected content of the trigger action information.
In the embodiment of the invention, in order to facilitate a user to configure an electric control switch configuration mapping relation according to the self requirement in a current client, specifically, first, each piece of trigger action information of a trigger element is displayed in a front page of the client, including but not limited to trigger action information such as clicking, double clicking, long pressing action, rotating a first gear, rotating a second gear, pressing rotation and the like, so as to instruct the user to select. After the current client acquires the trigger action selection operation instruction, the trigger action information to be bound is determined according to the selection content for indicating the trigger action information, and at this time, the trigger action information may be one or more, and the embodiment of the invention is not particularly limited. As shown in fig. 10, each triggering action information of the triggerable triggering element 1 is displayed in a left triggering action information field, and each matchable electric control switch is displayed in a right electric control switch information field, wherein the left triggering action information field and the right electric control switch information field can be displayed in the same front end page or in different pages. Different trigger action information can be selected by a user in the left trigger action information field, corresponding display forms of the right electric control switch information field and to-be-selected electric control switches can be the same or different, so that the user can select the trigger action information in the current client, and the current client establishes an electric control switch configuration mapping relation through binding.
In a specific scenario, the current client displays trigger action information of the trigger element a in a left trigger action information field in the front page, including actions such as clicking, double clicking, long pressing, rotating, pressing and rotating, and meanwhile, the current client may or may not display a plurality of electric control switches to be bound in a right electric control switch information field in the front page. When a user clicks the single-click trigger action information in a left trigger action information column in a front-end page, the current client acquires a trigger action selection operation instruction generated after clicking the single-click trigger action information, and determines that trigger action information to be bound is single-click according to selection of the single-click trigger action information, so that selection of an electric control switch corresponding to the single-click is performed.
In addition, the user can also determine the trigger element matched with each electric control switch in an autonomous selection mode, for example, after selecting the knob, the user loads trigger gear information of each gear corresponding to the trigger gear of the display knob, and selects based on the displayed trigger gear information, for example, 3 trigger gear information of the knob is obtained.
In a specific scenario, the current executing end may determine the trigger elements for binding the electronically controlled switch randomly or according to the sequence of the trigger elements, for example, the current executing end is configured with a button a and a knob button assembly b, and then trigger action information of clicking and double clicking on the button a and the loading button a may be determined in sequence. The knob button assembly is then determined and the trigger action information for the knob button assembly b to perform the rotary gear 1, single click is loaded.
In an exemplary embodiment, for further defining and describing, as shown in fig. 11, the step of obtaining at least one of the electrically controlled switches binding the trigger action information, the step of establishing an electrically controlled switch configuration mapping relationship includes:
401. Displaying the identification information of each electric control switch;
402. Acquiring an identification selection operation instruction;
403a, determining the identification information to be bound based on the selected content of the identification information, binding the electric control switch corresponding to the identification information with the trigger action information, and establishing an electric control switch configuration mapping relationship, or,
403B, binding the electric control switch corresponding to the identification information with the trigger action information based on a preset ordering rule, and establishing an electric control switch configuration mapping relation.
In the embodiment of the invention, in order to accurately establish the configuration mapping relation of the electric control switch, the corresponding electric control switch is controlled based on the configuration method intelligently and flexibly, and specifically, when the configuration mapping relation of the electric control switch is established, the identification information of the electric control switch to be bound with the triggering action information is firstly displayed in a front page so as to be convenient for a user to select. In the right electronic control switch information bar shown in fig. 10, identification information of a plurality of electronic control switches is displayed, and a user can select the electronic control switches to be bound in a clicking manner. The identification information is used for representing the identity of the electric control switch, and a plurality of electric control switches are arranged in the switch equipment, so that each electric control switch has corresponding unique identification information for distinguishing. When the user selects the identification information, the current client acquires a generated identification selection operation instruction, and at the moment, the identification selection operation instruction is used for indicating the selected content of the identification information, so that the electric control switch of the trigger action information to be bound, which is selected by the user, is determined according to the selected content.
In a specific application scenario, in the current client, after the user selects through the displayed identification information of each electric control switch, the selected electric control switch and the selected trigger action information are bound, so that an electric control switch mapping relation is established. At this time, the user may select the identification information of each electronic control switch and the trigger action information that is expected to be bound from the left trigger action information field and the right electronic control switch information field of a front page, so that the current client binds the trigger action information with the electronic control switch, and establishes an electronic control switch configuration mapping relationship, for example, the current client binds the selected identification information electronic control switch s with the selected single-click trigger action information, so that the electronic control switch s is bound with the single-click trigger action in the established electronic control switch configuration mapping relationship.
In a specific application scenario, the current execution end presets a sequencing rule, so that identification information of each electric control switch is bound to each triggering action information of the triggering element according to the sequencing rule. At this time, the preset ordering rule may be a random rule, or may be a sequential ordering rule, which is not specifically limited in the embodiment of the present invention. For example, after determining that the identification information of the electric control switch is J-a, J-b and J-c, binding the J-a, J-b and J-c with a single click, a double click and a first rotation file in the trigger action information according to the sequence to obtain the configuration mapping relation of the electric control switch.
It should be noted that, since one switch device may include a plurality of electronic switches, and the trigger element may be triggered by a plurality of trigger actions, the same trigger action information in the configuration mapping relationship of the electronic switches may have a binding relationship with one or more electronic switches, or the same electronic switch may have a binding relationship with one or more trigger action information, and embodiments of the present invention are not limited specifically.
In an exemplary embodiment, for further defining and describing, the step of obtaining at least one of the electrically controlled switches binding the trigger action information, after establishing the electrically controlled switch configuration mapping relationship, the method further includes:
Displaying a plurality of electric control switches in the electric control switch configuration mapping relation, and acquiring an associated configuration instruction, wherein the associated configuration instruction is used for indicating the joint synchronous state of at least two electric control switches bound to the same trigger action information, so that when the corresponding trigger action information of at least two electric control switches is triggered and the opening and closing states of at least two electric control switches are not synchronous, the at least two electric control switches are firstly synchronous to the joint synchronous state;
marking the associated configuration instruction in the configuration mapping relation of the electric control switch.
In order to meet the flexible control of the electronic control switches, the current client side can provide configuration of the associated electronic control switches for a user, so that the executing end or the switching device synchronously controls the opening and closing states of the plurality of associated electronic control switches after determining that the target electronic control switch is the plurality of associated electronic control switches. Specifically, after the current client establishes the electric control switch configuration mapping relation, firstly, a plurality of bound electric control switches in the electric control switch configuration mapping relation are displayed so as to be convenient for a user to perform association selection. When a user triggers an associated configuration instruction, the associated configuration instruction is used for indicating the joint synchronous state of at least two electric control switches (namely, associated power saving devices) bound to the same triggering action information. After the configuration of the associated electric control switch is completed, in order to enable the execution end or the switch equipment to synchronously control the associated electric control switch, an associated configuration instruction is marked in the electric control switch configuration mapping relation and is sent to the execution end or the switch equipment. When the same trigger action information is bound with a plurality of electric control switches, the executing end can acquire the current states of the plurality of target electric control switches when acquiring the trigger action information, the current states of the plurality of target electric control switches can be different, some target electric control switches are in an on state, and some target electric control switches are in an off state, so that the executing end can unify the states of the plurality of target electric control switches to a joint synchronous state based on the associated configuration instructions in the electric control switch configuration mapping relation.
In a specific application scenario, a user enters a front-end page of a client APP for configuring a switch device to control and configure a plurality of electric control switches in the switch device. The switch device comprises a control module, a trigger element and at least three electric control switches. After entering the front page of the APP, as shown in fig. 10, trigger action information of the trigger element is displayed in a left trigger action information field of the page, including clicking, double clicking, long pressing, clockwise rotation, anticlockwise rotation, clockwise rotation, and identification information of at least four paths of electric switches is displayed in a right electric control switch information field. After the user selects the single click, the APP determines that the single click is trigger action information according to a trigger action selection operation instruction corresponding to the single click, after the user selects the second path of electric control switch identification information from the right electric control switch information field, the single click is bound with the second path of electric control switch, an electric control switch configuration mapping relation is established, and the electric control switch configuration mapping relation is sent to a control module in the switch equipment. The control module receives the configuration mapping relation of the electric control switch and stores the configuration mapping relation, when the control module receives a first control instruction of the trigger element based on wireless or limited, the control module analyzes a pulse signal or a message in the first control instruction, and searches a target electric control switch which is matched with the target trigger action information in a clicking way based on the configuration mapping relation of the electric control switch to be a second electric control switch. Therefore, the control module sends a second control instruction to the second path of electric control switch so as to enable the second path of electric control switch to execute opening and closing operations.
The embodiment of the invention provides a control method of an electric control switch, which comprises the steps of acquiring trigger action information expected to be used for controlling each electric control switch in a switch device to execute opening and closing operations through a client, acquiring at least one electric control switch expected to bind the trigger action information, establishing an electric control switch configuration mapping relation, sending the electric control switch configuration mapping relation so that a processing end or the switch device determines a target electric control switch matched with target trigger action information based on the electric control switch configuration mapping relation, controlling the target electric control switch to execute the opening and closing operations, realizing the purpose of controlling the target electric control switch to execute the opening and closing operations, reducing resource consumption of complex configuration of equipment hardware, avoiding complexity of hardware replacement of the switch device, meeting the requirements on flexibility and diversity of control of the electric control switch, and greatly improving the effectiveness of electric control.
Based on the above-mentioned problems, an embodiment of the present invention provides a control device for an electronically controlled switch, as shown in fig. 12, the method includes:
The obtaining module 51 is configured to obtain an electrical control switch configuration mapping relationship, where the electrical control switch configuration mapping relationship is used to characterize a binding relationship between any electrical control switch in the switching device and trigger action information for controlling the electrical control switch to execute an opening and closing operation;
The searching module 52 is configured to search, when a first control instruction for controlling the switching device is received, for a target electronic control switch that matches target trigger action information in the first control instruction based on the electronic control switch configuration mapping relationship;
and the sending module 53 is configured to send a second control instruction to the target electronic control switch, so as to control the target electronic control switch to perform an opening and closing operation.
In an exemplary embodiment, a triggering element is provided in the switching device, wherein the triggering element is capable of being triggered by different triggering actions, and the search module comprises:
The analysis unit is used for analyzing the message or the pulse signal in the first control instruction, wherein the message is generated by generating the pulse signal under the target triggering action of the triggering element;
and the determining unit is used for determining target trigger action information of the target trigger action according to the message or the pulse signal.
In an exemplary embodiment, the apparatus further comprises:
The receiving module is used for receiving and storing the electric control switch configuration mapping relation established by the client, wherein the same trigger action information in the electric control switch configuration mapping relation has a binding relation with one or more electric control switches, or the same electric control switch has a binding relation with one or more trigger action information.
In an exemplary embodiment of the present invention,
The acquisition module is further used for acquiring the opening and closing states of the target electric control switches if the target trigger action information is matched with at least two target electric control switches and the target electric control switches are associated electric control switches;
And the sending module is further used for sending a state synchronization instruction to the target electric control switches if the opening and closing states of at least two target electric control switches are different, so as to control the opening and closing operations to be synchronously executed after the opening and closing states of the target electric control switches are the same.
In an exemplary embodiment, the trigger element comprises any one of a knob, a button, a knob button assembly.
The embodiment of the invention provides a control device of an electric control switch, which is configured in a client and comprises an electric control switch configuration mapping relation of binding relation between the electric control switch and trigger action information, wherein when a first control instruction for controlling the switch equipment is received, a target electric control switch matched with target trigger action information is searched based on the electric control switch configuration mapping relation so as to send a second control instruction to the target electric control switch, thereby realizing the purpose of controlling the target electric control switch to execute opening and closing operation, reducing the resource consumption of complex configuration of equipment hardware, reducing the complexity of hardware operation, meeting the requirements on flexibility and diversity of controlling the electric control switch and greatly improving the control effectiveness of the electric control switch.
Based on the above-mentioned problems, an embodiment of the present invention provides another control device for an electronically controlled switch, as shown in fig. 13, the method includes:
An acquisition module 61, configured to acquire trigger action information that is expected to be used for controlling each electronic control switch in the switching device to perform an opening and closing operation;
the establishing module 62 is configured to obtain at least one of the electric control switches that is expected to bind the trigger action information, and establish an electric control switch configuration mapping relationship;
And the sending module 63 is configured to send the electrical control switch configuration mapping relationship, so that the processing end or the switching device determines a target electrical control switch with target trigger action information matched based on the electrical control switch configuration mapping relationship, and controls the target electrical control switch to execute an opening and closing operation.
In an exemplary embodiment, a trigger element is disposed in the switch device, where the trigger element can be triggered by different trigger actions, and the obtaining module is specifically configured to display information of each trigger action of the trigger element, obtain a trigger action selection operation instruction, where the trigger action selection operation instruction is used to indicate selection content of the trigger action information, and determine trigger action information to be bound according to the selection content of the trigger action information.
In an exemplary embodiment, the establishing module includes:
the display unit is used for displaying the identification information of each electric control switch, and the identification information is used for representing the identity of the corresponding electric control switch;
the device comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring an identification selection operation instruction, and the identification selection operation instruction is used for indicating the selection content of the identification information;
A first establishing unit, configured to determine the identification information to be bound based on the selected content of the identification information, and bind the identification information with the trigger action information to establish an electronically controlled switch configuration mapping relationship, or,
The second establishing unit is used for binding the identification information and the trigger action information based on a preset ordering rule and establishing an electric control switch configuration mapping relation;
The same trigger action information and one or more electric control switches in the electric control switch configuration mapping relation have binding relation, or the same electric control switch and one or more trigger action information have binding relation.
In an exemplary embodiment, the obtaining module is further configured to display a plurality of electronic switches in the configuration mapping relationship of the electronic switches, and obtain an association configuration instruction, where the association configuration instruction is used to indicate a joint synchronization state of at least two electronic switches bound to the same trigger action information, so that the at least two electronic switches are synchronized to the joint synchronization state when the corresponding trigger action information is triggered and the open and close states of the at least two electronic switches are not synchronized, and mark the association configuration instruction in the configuration mapping relationship of the electronic switches.
The embodiment of the invention provides a control device of an electric control switch, which comprises the steps of acquiring trigger action information for controlling each electric control switch in a switch device to expect to execute opening and closing operation through a client, acquiring at least one electric control switch binding the trigger action information, establishing an electric control switch configuration mapping relation, sending the electric control switch configuration mapping relation so that a processing end or the switch device determines a target electric control switch matched with target trigger action information based on the electric control switch configuration mapping relation, and controlling the target electric control switch to execute opening and closing operation, thereby realizing the purpose of controlling the target electric control switch to execute opening and closing operation, reducing the resource consumption of complex configuration of equipment hardware, reducing the complexity of hardware operation, meeting the requirements on flexibility and diversity of controlling the electric control switch, and greatly improving the control effectiveness of the electric control switch.
According to an aspect of the present invention, there is provided a storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the control method of an electronic control switch as described above.
In one embodiment, a computer program product or computer program is provided that includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-described method embodiments.
Fig. 14 is a schematic structural diagram of a switch control device according to an embodiment of the present invention, and the embodiment of the present invention is not limited to the specific implementation of the switch control device.
As shown in fig. 14, the switch control device may include a processor (processor) 702, a communication interface (Communications Interface) 704, a memory (memory) 706, and a communication bus 708.
Wherein the processor 702, the communication interface 704, and the memory 706 communicate with each other via a communication bus 708.
A communication interface 704 for communicating with network elements of other devices, such as clients or other servers.
Processor 702 is configured to execute program 710, and may specifically perform relevant steps in the above-described emotion recognition processing method embodiment.
In particular, program 710 may include program code including computer-operating instructions.
The processor 702 may be a Central Processing Unit (CPU) or an Application-specific integrated Circuit (ASIC) or one or more integrated circuits configured to implement embodiments of the present invention. The one or more processors included in the electronic device may be the same type of processor, such as one or more CPUs, or different types of processors, such as one or more CPUs and one or more ASICs.
Memory 706 for storing programs 710. The memory 706 may comprise high-speed RAM memory or may further comprise non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 710 may be specifically configured to cause the processor 702 to execute the control method of the electronically controlled switch in the above embodiments.
In one embodiment, another computer program product or computer program is provided that includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-described method embodiments.
Those skilled in the art will appreciate that implementing all or part of the above described embodiment methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed may comprise the steps of embodiments of the above described methods. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The non-volatile memory may include read-only memory (ROM), programmable ROM (ROM), electrically Programmable ROM (EPROM), erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing disclosure is illustrative of the present invention and is not to be construed as limiting the scope of the invention, which is defined by the appended claims.

Claims (13)

Translated fromChinese
1.一种电控开关的控制方法,其特征在于,包括:1. A control method for an electric control switch, comprising:获取电控开关配置映射关系,所述电控开关配置映射关系用于表征开关设备中任一电控开关与控制所述电控开关执行开启闭合操作的触发动作信息之间的绑定关系,所述开关设备中设置有触发元件和多个电控开关;Acquire an electric-controlled switch configuration mapping relationship, where the electric-controlled switch configuration mapping relationship is used to characterize a binding relationship between any electric-controlled switch in a switch device and trigger action information for controlling the electric-controlled switch to perform an opening and closing operation, wherein the switch device is provided with a trigger element and a plurality of electric-controlled switches;若接收到对所述开关设备的触发元件控制的第一控制指令,所述第一控制指令中携带有对所述触发元件的目标触发动作信息,基于所述电控开关配置映射关系查找与所述第一控制指令中的目标触发动作信息匹配的目标电控开关;If a first control instruction for controlling the trigger element of the switch device is received, the first control instruction carries target trigger action information for the trigger element, searching for a target electric-controlled switch matching the target trigger action information in the first control instruction based on the electric-controlled switch configuration mapping relationship;向所述目标电控开关发送第二控制指令,以控制所述目标电控开关执行开启闭合操作。A second control instruction is sent to the target electronically controlled switch to control the target electronically controlled switch to perform an opening and closing operation.2.根据权利要求1所述的方法,其特征在于,所述触发元件能够通过不同触发动作进行触发,所述基于所述电控开关配置映射关系查找与所述第一控制指令中的目标触发动作信息匹配的目标电控开关包括:2. The method according to claim 1, characterized in that the trigger element can be triggered by different trigger actions, and searching for a target electrically controlled switch matching the target trigger action information in the first control instruction based on the electrically controlled switch configuration mapping relationship comprises:解析所述第一控制指令中的报文或脉冲信号,所述报文为所述触发元件在目标触发动作下产生脉冲信号生成的;parsing a message or a pulse signal in the first control instruction, wherein the message is generated by the trigger element generating a pulse signal under a target trigger action;根据所述报文或所述脉冲信号确定所述目标触发动作的目标触发动作信息。The target triggering action information of the target triggering action is determined according to the message or the pulse signal.3.根据权利要求2所述的方法,其特征在于,所述获取电控开关配置映射关系之前,所述方法还包括:3. The method according to claim 2, characterized in that before obtaining the electronically controlled switch configuration mapping relationship, the method further comprises:接收并存储所述电控开关配置映射关系,所述电控开关配置映射关系中相同触发动作信息与一个或多个电控开关具有绑定关系,或相同电控开关与一个或多个触发动作信息具有绑定关系。The electronically controlled switch configuration mapping relationship is received and stored, wherein the same trigger action information has a binding relationship with one or more electronically controlled switches, or the same electronically controlled switch has a binding relationship with one or more trigger action information.4.根据权利要求1所述的方法,其特征在于,所述方法还包括:4. The method according to claim 1, characterized in that the method further comprises:若所述目标触发动作信息匹配至少两个目标电控开关,则获取各个所述目标电控开关的开启闭合状态;If the target trigger action information matches at least two target electric-controlled switches, then the open and closed states of each of the target electric-controlled switches are obtained;若至少两个所述目标电控开关的开启闭合状态不相同,则向所述目标电控开关发送状态同步指令,以控制所有的所述目标电控开关的开启闭合状态相同后同步执行开启闭合操作。If the open and closed states of at least two of the target electric-controlled switches are different, a state synchronization instruction is sent to the target electric-controlled switches to control all the target electric-controlled switches to have the same open and closed states and then synchronously perform the open and close operations.5.根据权利要求2-4任一项所述的方法,其特征在于,所述触发元件包括旋钮、按钮、旋钮按钮组合件中任意一个。5. The method according to any one of claims 2 to 4, characterized in that the trigger element comprises any one of a knob, a button, and a knob-button combination.6.一种电控开关的控制方法,其特征在于,包括:6. A control method for an electric control switch, characterized by comprising:获取预期用于控制开关设备中各电控开关执行开启闭合操作的触发动作信息,所述开关设备中设置有触发元件和多个电控开关;Acquiring trigger action information expected to be used to control each electric-controlled switch in the switch device to perform an opening and closing operation, wherein the switch device is provided with a trigger element and a plurality of electric-controlled switches;获取预期绑定所述触发动作信息的至少一个所述电控开关,建立电控开关配置映射关系;Acquire at least one of the electronically controlled switches expected to be bound with the trigger action information, and establish a configuration mapping relationship of the electronically controlled switches;发送所述电控开关配置映射关系,以基于所述电控开关配置映射关系及控制指令中携带的对所述触发元件的目标触发动作信息匹配目标电控开关,并控制所述目标电控开关执行开启闭合操作。The electronically controlled switch configuration mapping relationship is sent to match the target electronically controlled switch based on the electronically controlled switch configuration mapping relationship and the target trigger action information for the trigger element carried in the control instruction, and control the target electronically controlled switch to perform an opening and closing operation.7.根据权利要求6所述的方法,其特征在于,所述触发元件能够通过不同触发动作进行触发,所述获取预期用于控制开关设备中各电控开关执行开启闭合操作的触发动作信息包括:7. The method according to claim 6, characterized in that the trigger element can be triggered by different trigger actions, and the obtaining of trigger action information expected to be used to control each electronically controlled switch in the switch device to perform an opening and closing operation comprises:展示所述触发元件的各触发动作信息;Displaying each trigger action information of the trigger element;获取触发动作选取操作指令,所述触发动作选取操作指令用于指示对所述触发动作信息的选取内容;Acquire a trigger action selection operation instruction, where the trigger action selection operation instruction is used to indicate the selection content of the trigger action information;根据所述触发动作信息的选取内容确定待绑定的触发动作信息。The trigger action information to be bound is determined according to the selected content of the trigger action information.8.根据权利要求6或7所述的方法,其特征在于,获取绑定所述触发动作信息的至少一个所述电控开关,建立电控开关配置映射关系包括:8. The method according to claim 6 or 7, characterized in that acquiring at least one of the electronically controlled switches bound to the trigger action information and establishing the electronically controlled switch configuration mapping relationship comprises:展示各所述电控开关的标识信息,所述标识信息用于表征对应所述电控开关的身份;Displaying identification information of each of the electric-controlled switches, wherein the identification information is used to represent the identity of the corresponding electric-controlled switch;获取标识选取操作指令,所述标识选取操作指令用于指示对所述标识信息的选取内容;Obtaining an identification selection operation instruction, wherein the identification selection operation instruction is used to indicate the selection content of the identification information;基于对所述标识信息的选取内容确定待绑定的所述标识信息,并将所述标识信息对应的电控开关与所述触发动作信息进行绑定,建立电控开关配置映射关系;或,Determine the identification information to be bound based on the selected content of the identification information, and bind the electric control switch corresponding to the identification information with the trigger action information to establish an electric control switch configuration mapping relationship; or,基于预设排序规则将所述标识信息对应的电控开关与所述触发动作信息进行绑定,建立电控开关配置映射关系;Binding the electric-controlled switch corresponding to the identification information with the trigger action information based on a preset sorting rule to establish an electric-controlled switch configuration mapping relationship;其中,所述电控开关配置映射关系中相同触发动作信息与一个或多个电控开关具有绑定关系,或相同电控开关与一个或多个触发动作信息具有绑定关系。Among them, in the electronically controlled switch configuration mapping relationship, the same trigger action information has a binding relationship with one or more electronically controlled switches, or the same electronically controlled switch has a binding relationship with one or more trigger action information.9.根据权利要求6所述的方法,其特征在于,获取绑定所述触发动作信息的至少一个所述电控开关,建立电控开关配置映射关系之后,所述方法还包括:9. The method according to claim 6, characterized in that after acquiring at least one of the electronically controlled switches bound to the trigger action information and establishing a configuration mapping relationship of the electronically controlled switches, the method further comprises:获取关联配置指令,所述关联配置指令用于指示绑定于同一个触发动作信息的至少两个电控开关的联合同步状态,以使所述至少两个电控开关在对应的所述触发动作信息被触发且所述至少两个电控开关的开启闭合状态不同步时,先同步至所述联合同步状态;Acquire an associated configuration instruction, where the associated configuration instruction is used to indicate a joint synchronization state of at least two electric-controlled switches bound to the same trigger action information, so that when the corresponding trigger action information is triggered and the open and closed states of the at least two electric-controlled switches are not synchronized, the at least two electric-controlled switches are first synchronized to the joint synchronization state;将所述关联配置指令标记于所述电控开关配置映射关系中。The associated configuration instruction is marked in the electronically controlled switch configuration mapping relationship.10.一种电控开关的控制装置,其特征在于,包括:10. A control device for an electric switch, comprising:获取模块,用于获取电控开关配置映射关系,所述电控开关配置映射关系用于表征开关设备中任一电控开关与控制所述电控开关执行开启闭合操作的触发动作信息之间的绑定关系,所述开关设备中设置有触发元件和多个电控开关;an acquisition module, used for acquiring an electric-controlled switch configuration mapping relationship, wherein the electric-controlled switch configuration mapping relationship is used for characterizing a binding relationship between any electric-controlled switch in a switch device and trigger action information for controlling the electric-controlled switch to perform an opening and closing operation, wherein the switch device is provided with a trigger element and a plurality of electric-controlled switches;查找模块,用于在接收到对所述开关设备的触发元件控制的第一控制指令的情况下,所述第一控制指令中携带有对所述触发元件的目标触发动作信息,基于所述电控开关配置映射关系查找与所述第一控制指令中的目标触发动作信息匹配的目标电控开关;a search module, configured to, upon receiving a first control instruction for controlling a trigger element of the switch device, wherein the first control instruction carries target trigger action information for the trigger element, search for a target electric-controlled switch matching the target trigger action information in the first control instruction based on the electric-controlled switch configuration mapping relationship;发送模块,用于向所述目标电控开关发送第二控制指令,以控制所述目标电控开关执行开启闭合操作。The sending module is used to send a second control instruction to the target electronically controlled switch to control the target electronically controlled switch to perform an opening and closing operation.11.一种电控开关的控制装置,其特征在于,包括:11. A control device for an electric switch, comprising:获取模块,用于获取预期用于控制开关设备中各电控开关执行开启闭合操作的触发动作信息,所述开关设备中设置有触发元件和多个电控开关;An acquisition module, used to acquire trigger action information expected to be used to control each electric-controlled switch in the switch device to perform an opening and closing operation, wherein the switch device is provided with a trigger element and a plurality of electric-controlled switches;建立模块,用于获取绑定所述触发动作信息的至少一个所述电控开关,建立电控开关配置映射关系;An establishing module, used for acquiring at least one of the electric-controlled switches bound with the trigger action information, and establishing a mapping relationship between the electric-controlled switches;发送模块,用于发送所述电控开关配置映射关系,以基于所述电控开关配置映射关系及控制指令中携带的对所述触发元件的目标触发动作信息匹配目标电控开关,并控制所述目标电控开关执行开启闭合操作。The sending module is used to send the electronically controlled switch configuration mapping relationship, so as to match the target electronically controlled switch based on the electronically controlled switch configuration mapping relationship and the target trigger action information of the trigger element carried in the control instruction, and control the target electronically controlled switch to perform an opening and closing operation.12.一种存储介质,其特征在于,所述存储介质中存储有至少一可执行指令,所述可执行指令使处理器执行如权利要求1-9中任一项所述的电控开关的控制方法对应的操作。12. A storage medium, characterized in that at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to execute an operation corresponding to the control method of an electric-controlled switch according to any one of claims 1 to 9.13.一种开关控制设备,其特征在于,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;13. A switch control device, characterized in that it comprises: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus;所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行如权利要求1-9中任一项所述的电控开关的控制方法对应的操作。The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute an operation corresponding to the control method of the electric-controlled switch according to any one of claims 1-9.
CN202210928432.3A2022-08-032022-08-03 Control method and device of electric switch, switch control equipmentActiveCN115295357B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210928432.3ACN115295357B (en)2022-08-032022-08-03 Control method and device of electric switch, switch control equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210928432.3ACN115295357B (en)2022-08-032022-08-03 Control method and device of electric switch, switch control equipment

Publications (2)

Publication NumberPublication Date
CN115295357A CN115295357A (en)2022-11-04
CN115295357Btrue CN115295357B (en)2025-07-15

Family

ID=83827132

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210928432.3AActiveCN115295357B (en)2022-08-032022-08-03 Control method and device of electric switch, switch control equipment

Country Status (1)

CountryLink
CN (1)CN115295357B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111221273A (en)*2020-01-182020-06-02武汉领普科技有限公司Control method, system, gateway, wall switch and cloud based on wireless switch

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2002093271A (en)*2000-09-132002-03-29Clarion Co LtdSwitch panel device
TWI545895B (en)*2010-03-102016-08-11旺玖科技股份有限公司Contact-less switch and its control method
CN206194648U (en)*2016-11-292017-05-24北京金风科创风电设备有限公司Controlling means of contactor
JP6965182B2 (en)*2018-02-212021-11-10中部電力株式会社 Diagnosis method of operation abnormality in power switch
CN110656824A (en)*2018-06-282020-01-07南京铭富信息科技有限公司Electronic lock of shopping cart
CN111625106B (en)*2019-02-272023-06-20惠州佳达隆电子科技有限公司Method and device capable of customizing trigger position of keyboard switch
CN112572319B (en)*2019-09-302022-10-18比亚迪股份有限公司Method, device, system and medium for automatically adjusting pressing force of vehicle switch
CN113745056B (en)*2020-05-292025-10-03深圳绿米联创科技有限公司 Switch control method, switch control device, switch and computer-readable storage medium
CN113745055B (en)*2020-05-292025-08-22深圳绿米联创科技有限公司 Working mode setting method and switch, switch system control method and switch system
CN119002354A (en)*2020-09-242024-11-22深圳绿米联创科技有限公司Load device control method, device and system, electronic device and storage medium
CN216213085U (en)*2021-11-012022-04-05上海良信电器股份有限公司Drive assembly and isolator

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111221273A (en)*2020-01-182020-06-02武汉领普科技有限公司Control method, system, gateway, wall switch and cloud based on wireless switch

Also Published As

Publication numberPublication date
CN115295357A (en)2022-11-04

Similar Documents

PublicationPublication DateTitle
CN108259598B (en)Perception device unified access method based on heterogeneous fusion and cloud analysis technology
CN111796896B (en) Application page theme switching method and related equipment
CN113168334A (en) Data processing method, apparatus, electronic device and readable storage medium
CN110377199A (en)Message treatment method and device, storage medium and electronic device
CN111741538B (en)Communication link establishing method based on gateway, equipment control method and device
CN104333598A (en)Two-dimension code and network adaption based mobile terminal and web terminal interconnection method
JP2015041219A (en)Remote support device, electronic apparatus, remote supply method, and computer program
CN116431719A (en)Internet of things data processing method and device, computer equipment and storage medium
WO2017059703A1 (en)Method of controlling network appliance, network appliance, feature phone, and system
CN112632420A (en)Interface skipping method and device, storage medium and electronic device
CN111212154A (en)Service binding method, device, terminal, server and storage medium
CN111984248B (en)Page editing method and device, storage medium and electronic device
CN108885435B (en)Control method, host, slave, mobile terminal and control system
CN115295357B (en) Control method and device of electric switch, switch control equipment
CN111399817A (en)Method and system for generating intelligent equipment control panel through real-time preview
CN114024851B (en)Network access configuration information generation method, network access configuration device and electronic equipment
CN111885182A (en) Method and apparatus, system, and device for scene instantiation
CN108259477B (en)Network access control method and device based on SDN and computer equipment
CN106685943A (en)Control method and system for exposure of SOA service interface of server and server
CN104852832A (en)Method and system for testing performance of stun server in socket cluster
Rendon et al.A mashup-based approach for virtual SDN management
CN114172940B (en)Control method and device of cooking equipment, storage medium and terminal
CN110838959B (en)Smart home equipment binding method and device, electronic equipment and storage medium
CN116170832A (en)Network configuration method, user terminal, intelligent hardware device and storage medium
CN104468645A (en)Control method, electronic equipment, and information transmission method and device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp