CN110427220B - Configuration method and device of device command, electronic device and storage medium - Google Patents

Configuration method and device of device command, electronic device and storage medium Download PDF

Info

Publication number
CN110427220B
CN110427220B CN201910523801.9A CN201910523801A CN110427220B CN 110427220 B CN110427220 B CN 110427220B CN 201910523801 A CN201910523801 A CN 201910523801A CN 110427220 B CN110427220 B CN 110427220B
Authority
CN
China
Prior art keywords
instruction
automation
gateway
automation instruction
executed
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
CN201910523801.9A
Other languages
Chinese (zh)
Other versions
CN110427220A (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 Ltd filed Critical Lumi United Technology Co Ltd
Priority to CN201910523801.9A priority Critical patent/CN110427220B/en
Publication of CN110427220A publication Critical patent/CN110427220A/en
Application granted granted Critical
Publication of CN110427220B publication Critical patent/CN110427220B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the application provides a method and a device for configuring a device command, an electronic device and a storage medium. The method comprises the following steps: the gateway acquires an automation instruction to be executed; determining whether the automation instructions are within a valid lifecycle range; if the current life cycle is within the effective life cycle range, the automatic instruction is triggered to be executed. Whether the automatic instruction is in the effective life cycle or not is determined, and whether the automatic instruction is executed or not is judged according to whether the automatic instruction is in the effective life cycle or not, so that the execution cycle of the automatic instruction can be prolonged, the problem that the automatic instruction is triggered to be executed at a single time at a single moment is solved, and the reliability and the stability of the operation of the automatic instruction are improved.

Description

Configuration method and device of device command, electronic device and storage medium
Technical Field
The present application relates to the field of smart home technologies, and in particular, to a method and an apparatus for configuring a device command, an electronic device, and a storage medium.
Background
With the development of computer science and internet of things technology, more and more internet of things access layer devices need to be configured with various application-related automatic execution commands, and the automatic execution commands can be used for realizing device control of families, enterprises and public institutions, so that the control purpose of intelligent buildings is achieved. However, because the network environment of the internet of things device is complex, the running environment of the device itself is unstable, and other factors may exist, and the created automation command is most likely to cause inconsistency between the execution result of the automation command and the expectation of the user under the conditions of specific device restart, communication network interruption, communication network abnormality, device delayed response, and the like, for example, the automation command is not smooth or suspended in the sending process, thereby affecting the stable and reliable effect of the execution of the automation command.
Disclosure of Invention
In view of the foregoing problems, the present application provides a method and an apparatus for configuring a device command, an electronic device, and a storage medium, so as to improve the foregoing problems.
In a first aspect, an embodiment of the present application provides a method for configuring a device command, where the method includes: the gateway acquires an automation instruction to be executed; determining whether the automation instructions are within a valid lifecycle range; if the current life cycle is within the effective life cycle range, the automatic instruction is triggered to be executed.
In a second aspect, an embodiment of the present application provides an apparatus for configuring a device command, where the apparatus includes: the instruction acquisition unit is used for acquiring an automation instruction to be executed by the gateway; the judging unit is used for determining whether the automation instruction is within the effective life cycle range; and the instruction processing unit is used for triggering and executing the automation instruction if the instruction is within the effective life cycle range.
In a third aspect, the present application provides an electronic device comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the method of the first aspect.
In a fourth aspect, the present application provides a computer readable storage medium having program code stored thereon, wherein the computer program when executed by a processor implements the method of the first aspect.
The embodiment of the application provides a method and a device for configuring a device command, an electronic device and a storage medium. The method comprises the steps of obtaining an automation instruction to be executed; determining whether the automation instructions are within a valid lifecycle range; and if the current life cycle is within the effective life cycle range, triggering to execute the automation instruction. Whether the automatic instruction is in the effective life cycle or not is determined, and whether the automatic instruction is executed or not is judged according to whether the automatic instruction is in the effective life cycle or not, so that the execution cycle of the automatic instruction can be prolonged, the problem that the automatic instruction is triggered to be executed at a single time at a single moment is solved, and the reliability and the stability of the operation of the automatic instruction are improved.
Drawings
The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
Fig. 1 shows an intelligent home system architecture diagram provided in an embodiment of the present application.
Fig. 2 shows another smart home system architecture diagram provided in an embodiment of the present application.
Fig. 3 shows a flowchart of a method for configuring a device command according to an embodiment of the present application.
Fig. 4 shows a schematic diagram of an effective lifecycle in an embodiment of the present application.
Fig. 5 is a flowchart illustrating a method for configuring a device command according to another embodiment of the present application.
Fig. 6 is a flowchart illustrating a method for configuring a device command according to another embodiment of the present application.
Fig. 7 shows a block diagram of a configuration apparatus for a device command according to an embodiment of the present application.
Fig. 8 shows a block diagram of an electronic device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The intelligent home system is a brand-new home life experience system which integrates individual requirements by utilizing advanced computer technology, network communication technology, intelligent cloud control, comprehensive wiring technology and medical electronic technology according to the principle of human engineering, organically combines various subsystems related to home life such as security protection, light control, curtain control, gas valve control, information household appliances, scene linkage, floor heating, health care, epidemic prevention, security protection and the like, and realizes people-oriented through networked comprehensive intelligent control and management.
With the development of the internet of things and smart home technology, smart home products gradually enter the lives of people. Generally, for device control in the smart home system, the method can be applied to control devices by configuring various application-associated automation instructions, so as to realize the intelligent performance of automation control.
The automation instructions associated with the various applications may be created local automation instructions, and the local automation instructions may reduce the complexity of the cloud server or the server actively generating the automation instructions and maintaining the automation instructions. By one approach, the local automation instructions may include timed automation instructions and signal event-triggered automation instructions.
The timing automation instruction is generally configured to be an execution mode based on one-time real-time or retransmission of the designated number of times of the automation instruction, but the local area network environment under the application of the internet of things is variable, and unstable wireless network and network communication states can cause that the timing automation instruction cannot be normally sent or is stopped to be sent in the sending process, so that the stability and reliability of the execution of the timing automation instruction are influenced, and the user experience is influenced.
When a signal event triggers an automation instruction, gateway equipment generated by a signal event triggering condition triggers and executes the signal event triggering automation instruction or sends the signal event triggering automation instruction to other gateway equipment, if a gateway equipment network receiving the signal event triggering automation instruction is abnormal or is in a restarting process or the like, the signal event cannot be normally received or is completely executed to trigger the automation instruction, the reliability of executing the signal event triggering automation instruction is influenced, and the user experience is reduced.
Therefore, after finding the above problems, the inventors propose a method, an apparatus, an electronic device, and a storage medium for configuring a device command, where the method for configuring a device command enables a gateway to obtain an automation instruction to be executed; determining whether the automation instructions are within a valid lifecycle range; if the current life cycle is within the effective life cycle range, the automatic instruction is triggered to be executed. Whether the automatic instruction is in the effective life cycle or not is determined, and whether the automatic instruction is executed or not is judged according to whether the automatic instruction is in the effective life cycle or not, so that the execution cycle of the automatic instruction can be prolonged, the problem that the automatic instruction is triggered to be executed at a single time at a single moment is solved, and the reliability and the stability of the operation of the automatic instruction are improved.
First, a configuration method of a device command and an application environment related to the apparatus provided in the embodiment of the present application are described below.
Referring to fig. 1, the smart home system shown in fig. 1 includes a mobile terminal 100, a gateway 1100, and a device 13. The mobile terminal 100 may be a mobile phone or a tablet computer, and the mobile terminal 100 stores a client for managing the device 13 and a user account that can be logged in the client. Gateway 1100 may enable data interaction by establishing a wireless network connection with device 13. The device 13 may include a triggering device (e.g., a pressure sensor, a temperature sensor, a humidity sensor, a door and window sensor, a smoke sensor, etc.) and a controlled device (e.g., various switches, sockets, lamps, infrared emitting devices, or camera devices, etc.), and optionally, the triggering device and the controlled device may be the same device or different devices.
In one mode, as the dashed box 11 shown in fig. 1 indicates that the gateway 1100 has not accessed the ethernet network, the mobile terminal 100 may wirelessly connect with the gateway 1100 to implement data interaction, so that the gateway 1100 may create an automation instruction locally, and then implement control over the device 13 through the automation instruction; the mobile terminal 100 may also implement data interaction with the device 13 through the data links between the server 113, the router 111, and the gateway 1100 after establishing connection with the router 111, and then the gateway 1100 will obtain the automation instruction created by the server 113 to implement control over the device 13. In the above manner, the automation instruction may be a timing automation instruction, or may be a signal event triggering automation instruction, and as a manner, if the gateway 1100 establishes a network connection with the server 113, the gateway may upload an execution result of the automation instruction to the server 113.
In another mode, as shown in fig. 2, in the smart home system, the gateway 1100 includes a plurality of (two or more, 3 are shown in the figure) gateways, different gateways access different wireless AP access points, optionally, the mobile terminal 100 may perform data interaction in a manner of establishing wireless connection with the router 111, in this case, a local area network is formed between the gateway a, the gateway B, and the gateway C, and the gateway that creates the automation instruction may send the automation instruction to the device connected thereto to implement control of the device, and may also send the automation instruction to other gateways and devices connected to the other gateways to implement device linkage control among multiple gateways. Alternatively, the mobile terminal 100 may also implement data interaction with the device 13 through a data link (wide area network) between the server 113, the router 111 and the gateway 1100 after establishing a network connection with the server 113. In the above manner, the automation instruction may be a signal event triggering automation instruction. If the gateway 1100 establishes a network connection with the server 113, the gateway may also upload the execution result of the automation instruction to the server 113.
Based on the smart home system introduced above, embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 3, a flowchart of a method for configuring a device command according to an embodiment of the present disclosure is provided, where the method according to the embodiment may be executed by a device for configuring a device command, and the device may be implemented by hardware and/or software and may be generally integrated in a gateway. An embodiment of the present application provides a method for configuring a device command, where the method includes:
step S110: the gateway obtains an automation instruction to be executed.
The automatic instruction is used for carrying out intelligent automatic control on equipment of the intelligent home system, and the automatic instruction can comprise a timing automatic instruction and a signal event trigger automatic instruction. The timing automation instruction refers to a configured automatic instruction which is sent once or retransmitted for a specified number of times in real time, and the signal event triggering automation instruction refers to a signal event triggering automation instruction which is generated by triggering of a triggering condition when the triggering condition of the signal event is met, wherein the signal event represents a corresponding signal event triggered by signals sent by various devices. For example, in a scenario of "door and window is opened, and automatically lights up", when the door and window sensor senses a door and window opening signal, a door and window opening event is triggered, and the door and window opening event triggers an execution action "automatically lights up" associated with the event, then "door and window is opened, and automatically lights up" can be understood as a signal event triggering an automation instruction.
It is to be understood that an automation instruction to be executed may refer to an automation instruction created locally that needs to wait for execution. Optionally, the execution of the automation instruction may be suspended due to the fact that the device is in a restarting process, a network exception of the device, and the like, or the automation instruction is not generated or executed. In this case, the gateway may obtain the automation instruction to be executed, and determine whether the automation instruction can be executed, so as to avoid that the automation instruction fails to be executed or is not generated or not executed.
In one implementation, if the automation instruction is a timing automation instruction, the gateway may acquire a timing automation task for controlling the device after establishing a network connection with the server, and the gateway creates the timing automation instruction according to the timing automation task, thereby acquiring the timing automation instruction to be executed.
In another implementation, if the automation instruction is a signal event triggered automation instruction, as a mode, if the gateway and the controlled device access the same wireless hotspot, when detecting that a local signal triggering event exists, the gateway may acquire the automation instruction corresponding to the signal triggering event, and use the automation instruction as the signal event triggered automation instruction to be executed. The controlled equipment comprises event signal triggering equipment for triggering the automation instruction by a signal event and automation instruction execution equipment.
If it is detected that the gateway and the controlled device are connected to different wireless hotspots, it can be understood that a plurality of gateways exist, and the controlled device is connected to other gateways other than the current gateway, and then the gateway can acquire the signal event triggering automation instruction and use the signal event triggering automation instruction as the signal event triggering automation instruction to be executed under the condition that the gateway fails to send the signal event triggering automation instruction to other gateways.
The gateway can detect whether the controlled device is connected to the same wireless hotspot in various ways. For example, as a mode, in the process of sending a control command to the controlled device, the gateway receives a command response message returned from the controlled device, where the message may include access information of a wireless hotspot accessed by the controlled device, so as to determine whether the gateway and the controlled device are connected to the same wireless hotspot. Optionally, if the gateways are not connected to the same wireless hotspot, it may be determined that multiple gateways exist and are respectively connected to different wireless hotspots.
Step S120: determining whether the automation instructions are within a valid lifecycle range.
For the obtained to-be-executed automation instruction, different execution modes exist for different automation instructions. In one mode, the timed automatic instruction may be configured to be executed only once, executed for a specified number of times, or repeatedly executed, etc., however, in some cases, due to a device restart, a network abnormality, etc., the timed automatic instruction may be configured to be executed only once, executed for a specified number of times, or repeatedly executed, etc., which may cause the timed automatic instruction to suspend execution, thereby affecting the stability of the execution of the timed automatic instruction.
For example, in a specific application scenario, a user wants to turn off all lights of a building after 10 pm, but since the gateway device generated by the timing automation instruction is in a reset state by coincidence at 10 pm, the time setting completion time is 10 pm after the reset, and at this time, the gateway device cannot generate the timing automation instruction, and the user can only perform manual intervention processing, which greatly affects the user experience.
Furthermore, for the event signal triggered automation instruction, in one mode, when the gateway device generated by the event signal triggering condition triggers the execution signal to trigger the automation instruction, and sends the event signal triggered automation instruction to other gateway devices, if the network of the gateway device receiving the event signal triggered automation instruction is abnormal (for example, communication between gateway devices is interrupted, etc.) or is in a restarting process, the event signal triggered automation instruction cannot be normally received or completely executed, so that the stability and reliability of the execution of the event signal triggered automation instruction are affected.
In order to improve the stability and reliability of the execution of the automation instruction and improve the user experience, the embodiment of the application can configure an effective life cycle for the automation instruction, and realize effective management on the generation and execution of the automation instruction through the effective life cycle, that is, when the automation instruction is within the effective life cycle range, the automation instruction is controlled to be generated or executed. Alternatively, the specific value of the life cycle may be set according to actual conditions, and may be, for example, 100 seconds, 200 seconds, 300 seconds, and the like, which are not listed here.
The effective life cycle comprises a starting time point and an ending time point of the automatic instruction, wherein the starting time point represents a time point of automatic instruction generation, and the ending time point represents a failure time point of the automatic instruction. As shown in fig. 4, an exemplary diagram of a lifecycle of a configuration is shown, where TS represents an automation lifecycle of the configuration when an automation is created, and a time T1 triggers or times generation of an automation instruction to be executed, and optionally, even if the gateway device is offline or in a clock-unsynchronized state at this time, if the gateway device is online within a time range from T1 to T2 and clock synchronization is successful, the automation instruction may be generated or the automation instruction may be executed (including being continuously executed).
By one approach, where a valid lifecycle is configured for automation instructions, after the automation instruction to be executed is obtained, it may be determined whether the automation instruction is within the valid lifecycle. As one way, whether the automation instruction is within the valid lifecycle range may be determined by detecting whether the current time is between a start time point and an end time point of the valid lifecycle, and if the current time is between the start time point and the end time point, it may be determined that the current time is within the valid lifecycle range, and if the current time is not between the start time point and the end time point, it may be determined that the current time is not within the valid lifecycle range. Whether the automatic instruction is within the effective life cycle range or not is judged, and whether the automatic instruction which is abnormally interrupted due to network and other reasons is generated or executed is determined, so that the problem that the automatic instruction is triggered or executed at a single time can be avoided, the stability and the reliability of the automatic instruction execution process are improved, and the frequency of manual operation and maintenance is reduced.
Step S130: and if the current time is within the effective life cycle range, triggering to execute the automation instruction.
As a way, if within the effective life cycle range, the execution of the automation instruction can be triggered, so as to realize the corresponding control process. In one implementation, if the automation instruction is a timed automation instruction, the gateway may trigger execution of the automation instruction; in another implementation, if the automation instruction is a signal event triggered automation instruction, the gateway or the server may trigger execution of the automation instruction. If the automatic instruction generation gateway fails to send the automatic instruction to other gateway devices, the gateway can upload the automatic instruction to the server, and the server triggers execution of the automatic instruction instead.
In the method for configuring the device command provided by this embodiment, an automation instruction to be executed is obtained; determining whether the automation instructions are within a valid lifecycle range; if the current life cycle is within the effective life cycle range, the automatic instruction is triggered to be executed. Whether the automatic instruction is in the effective life cycle or not is determined, and whether the automatic instruction is executed or not is judged according to whether the automatic instruction is in the effective life cycle or not, so that the execution cycle of the automatic instruction can be prolonged, the problem that the automatic instruction is triggered to be executed at a single time at a single moment is solved, and the reliability and the stability of the operation of the automatic instruction are improved.
Referring to fig. 5, another embodiment of the present application provides a method for configuring a device command, which is applicable to a gateway, and the method includes:
step S210: the gateway detects whether time synchronization with the server is completed.
Under the condition that the gateway and the server perform normal communication, the gateway and the server may implement Time synchronization through interaction of heartbeat messages, for example, implement NTP (Network Time Protocol) clock synchronization. It will be appreciated that the gateway can detect whether time synchronization is being accomplished with the server by detecting whether a clock heartbeat message is received from the server. It should be noted that, the detection manner of the gateway detecting whether to complete time synchronization with the server is not limited herein.
Step S220: and triggering the gateway to acquire a timing automation instruction to be executed.
As one way, if it is detected that the gateway and the server complete the time synchronization, the gateway may trigger to acquire the timing automation instruction to be executed. When the time synchronization (also can be understood as time synchronization) is completed between the gateway and the server, the timing task of the timing automation instruction can be triggered, and then the timing automation instruction is generated. The specific implementation of the gateway obtaining the timing automation instruction to be executed may refer to the description of the foregoing embodiment, and is not described herein again.
As another way, if it is detected that the time synchronization between the gateway and the server is not completed, in this case, the gateway or the gateway device may be in an offline state, the timing task of the timing automation instruction will not be triggered, and the timing automation instruction will not be generated, or it can be understood that in this case, the timing automation instruction will be in a locked state, so that it can be avoided that the gateway repeatedly polls whether there is a timing automation instruction to be executed, and thus, the operation and maintenance resources can be saved.
Step S230: determining whether the timing automation instructions are within a valid lifecycle range.
The description of determining whether the timed automation instruction is within the valid lifecycle with reference to the foregoing embodiments will not be repeated herein.
Step S240: and if the current time is within the effective life cycle range, the gateway acquires the running state of the controlled equipment.
Wherein the controlled device characterizes the devices connected to the gateway controlled by the timing automation instructions. In one mode, if the timing automation instruction is within the valid life cycle range, the gateway may acquire the operating state of the controlled device, and optionally, in this case, the controlled device may be in an online state, an offline state, or a dropped state, and in order to ensure the effectiveness of the acquired timing automation instruction to be executed, the gateway may first acquire the operating state of the controlled device, so as to further determine whether the timing automation instruction to be executed needs to be executed according to the operating state of the controlled device.
Step S250: and deleting the automation instruction.
In yet another approach, if the timed automation instruction is not within the valid lifecycle range, the timed automation instruction will be deleted.
Step S260: and judging whether to execute the automation instruction according to the running state of the controlled equipment.
The operation state of the controlled equipment comprises a normal operation state and an abnormal operation state. As a manner, the controlled device in the normal operation state may carry an identifier, where the identifier may be used to distinguish whether the controlled device is in the normal operation state, for example, the identifier may be determined according to a detected return value of the operation state of the controlled device, and optionally, if the controlled device carries the return value, the controlled device may be considered to carry the identifier regardless of a specific value of the value; accordingly, if the value is carried back, it can be considered that the controlled device does not carry the identifier.
Optionally, in a process of data interaction between the gateway and the controlled device, communication abnormality may occur in both the gateway and the controlled device. Optionally, if the gateway does not establish a normal network connection with the server, the gateway cannot complete time synchronization with the server, and cannot trigger the timing automation task, and in this case, the timing automation instruction cannot be generated normally, so that the controlled device cannot receive the timing automation instruction normally, and it can be determined that the controlled device is in an abnormal operation state.
Optionally, after the controlled device is connected to the gateway, the controlled device is offline due to a restart of the device, and even if the timing automation instruction sets the delay register, the controlled device needs to have a trigger condition to trigger the delay effect after being reset, so as to regenerate the timing automation task. If the controlled device is in an off-line state after being powered off, the timing automation command misses the generation condition of the timing automation command after the controlled device is powered on again, so that the control process expected by a user cannot be completed. Then, it is understood that it may be determined that the controlled device is in the offline state as the abnormal operation state.
Whether the timing automation instruction is executed or not is judged according to the running state of the controlled equipment, so that the timing automation instruction is prevented from being repeatedly sent or repeatedly executed due to the abnormal running state of the gateway or the controlled equipment under the condition that the timing automation instruction is in the effective life cycle, and the operation and maintenance cost is reduced.
Step S270: and if the controlled equipment is in a normal running state, executing the triggering and executing the automation instruction.
As a way, if the controlled device is in a normal operation state, the execution of the timing automation instruction may be triggered.
Step S280: and if the controlled equipment is in an abnormal operation state, canceling the execution of the automation instruction.
Alternatively, if the controlled device is in an abnormal operation state, the execution of the timing automation instruction is cancelled.
In the method for configuring the device command provided in this embodiment, whether time synchronization with the server is completed is detected through the gateway; then triggering the gateway to acquire a timing automation instruction to be executed; then determining whether the timing automation instruction is within the effective life cycle range; if the current time is within the effective life cycle range, the gateway acquires the running state of the controlled equipment; judging whether to execute an automation instruction according to the running state of the controlled equipment; if the controlled equipment is in a normal operation state, triggering and executing an automation instruction; and if the controlled equipment is in the abnormal operation state, canceling the execution of the automation instruction. Whether the automatic instruction is in the effective life cycle or not is determined, and whether the automatic instruction is executed or not is judged according to whether the automatic instruction is in the effective life cycle or not, so that the execution cycle of the automatic instruction can be prolonged, the problem that the automatic instruction is triggered to be executed at a single time at a single moment is solved, and the reliability and the stability of the operation of the automatic instruction are improved.
Referring to fig. 6, another embodiment of the present application provides a method for configuring a device command, which is applicable to a gateway, and the method includes:
step S310: the gateway obtains an automation instruction to be executed.
The controlled device is controlled by the automatic command triggered by the signal event, and the controlled device is controlled by the automatic command triggered by the signal event; the gateway can be provided with a plurality of gateways, in this case, the plurality of gateways are respectively connected to different wireless AP access points, and the gateways can trigger an automatic instruction through a signal event to control controlled equipment connected with the plurality of gateways so as to realize equipment automatic linkage control among the plurality of gateways.
As one way, the gateway may determine the status of the connected controlled device or other gateway devices connected during normal operation. Optionally, if the gateway is a gateway, the gateway may locally trigger and generate a signal event to trigger the automation instruction when receiving a signal event that triggers the automation instruction, and use the signal event as the automation instruction to be executed. Optionally, if the gateway is a plurality of gateways, as a mode, the gateway may perform the following steps:
step S320: the gateway detects whether a local network connection is established with the controlled device.
The establishment of the local network connection represents that the gateway and the controlled device are connected to the same wireless hotspot, and if the gateway and the controlled device are connected to different wireless hotspots, it can be determined that the local network connection is not established. Therefore, it can be understood that whether the gateway and the controlled device establish a network connection can be determined by detecting whether the gateway and the controlled device are connected to the same wireless hotspot.
Step S330: if not, detecting whether the gateway and the controlled equipment are connected to different wireless hotspots or not. And ending when the gateway and the controlled equipment are not connected with different wireless hotspots.
There are many ways to detect whether the gateway and the controlled device are connected to different wireless hotspots. As a mode, whether the gateway and the controlled device are connected to different wireless hotspots or not can be judged through a feedback signal received when the gateway sends an automation instruction to other gateways. Optionally, it is assumed that a gateway a, a gateway B, and a gateway C are respectively connected to different wireless AP access points, and when the gateway a sends an automation instruction to a controlled device connected to the gateway B, the gateway B returns a corresponding message after receiving the automation instruction, where the message may carry an identifier of the gateway B and access information of the wireless AP access point to which the gateway B is connected, where the identifier is used to uniquely identify the gateway B, and the identifiers of the different gateways are different, and then the gateway a may determine, according to the message, that the gateway a and the gateway B are connected to different wireless AP access points.
Step S340: and if the wireless network is connected with different wireless hotspots, the gateway uploads the signal event trigger automation instruction to a server so as to indicate the server to store the signal event trigger automation instruction.
As a manner, if the gateways are connected to different wireless hotspots (i.e., wireless AP access points), when a command source gateway (which may be understood as a gateway that sends a signal event triggering automation instruction) sends an automation instruction to a controlled device connected to another gateway to implement device linkage control between local area networks, the command source gateway receives an execution result of the automation instruction sent back by the other gateway by the controlled device, for example, if the communication between the command source gateway and the other gateway is interrupted, or the controlled device is in a reset state, the signal event triggering automation instruction may not successfully complete the execution process.
Optionally, if the execution result is not received or the received execution result is an execution failure, the command source gateway may upload the signal event trigger automation instruction to the server, and the server stores the signal event trigger automation instruction instead of the signal event trigger automation instruction, so that when the controlled device is in a normal operation state or the communication between the gateways returns to normal, the server may be instructed to execute the signal event trigger automation instruction instead of the signal event trigger automation instruction. The signal event trigger automation instruction is uploaded to the server to be stored and triggered to be executed, so that correct execution of the signal event trigger automation instruction can be guaranteed, stability and reliability of execution of the automation instruction are improved, meanwhile, the signal event trigger automation instruction generated locally by the gateway is uploaded to the server, complexity of actively generating the signal event trigger automation instruction by the server and maintaining the signal event trigger automation instruction can be reduced, and data transmission efficiency is improved.
Step S350: and the gateway triggers the server to determine whether the signal event triggering automation instruction is in an effective life cycle range, and if so, the server triggers and executes the signal event triggering automation instruction.
After the signal event triggered automation instruction is uploaded to the server, the server may instead determine whether the signal event triggered automation instruction is within the effective life cycle range, and the specific determination manner and determination process may refer to the corresponding description in the foregoing embodiments, which is not described herein again.
It should be noted that, if the signal event triggering automation instruction is within the effective life cycle range, in order to ensure the reliability of the execution of the signal event triggering automation instruction, the server may also determine the operation state of the controlled device, and the specific determination manner and determination process may also refer to the description in the foregoing embodiment, which is not described herein again.
It should be noted that if the signal event triggered automation instruction is not yet executed successfully, when the signal event triggered automation instruction is within the effective life cycle range, the gateway may trigger the automatic instruction to be cached, so that the gateway triggers the signal event triggered automation instruction to be executed again within the remaining effective life cycle range of the signal event triggered automation instruction and feeds back the execution result to the server; otherwise, the deleting signal event triggers an automation instruction.
Alternatively, if the gateway detects that the local network connection is established with the controlled device, the following steps may be performed:
step S360: if so, determining whether the automation instruction is within a valid life cycle range. If not, ending.
Step S370: and if the current time is within the effective life cycle range, triggering to execute the automation instruction.
In the method for configuring the device command provided by this embodiment, an automation instruction to be executed is obtained; then the gateway detects whether the controlled equipment is connected to different wireless hotspots or not; if the wireless hotspot is connected with different wireless hotspots, the gateway uploads the signal event trigger automation instruction to the server so as to instruct the server to store the signal event trigger automation instruction; and then the gateway triggering server determines whether the signal event triggering automation instruction is in the effective life cycle range, if so, the server triggers and executes the signal event triggering automation instruction, so that the complexity of actively generating the signal event triggering automation instruction by the server and maintaining the signal event triggering automation instruction can be reduced, and the data transmission efficiency is improved.
Referring to fig. 7, an embodiment of the present application provides an apparatus 400 for configuring a device command, which is operable in a gateway, where the apparatus 400 includes: an instruction fetch unit 410, a determination unit 420, and an instruction processing unit 430.
The instruction obtaining unit 410 is configured to obtain, by the gateway, an automation instruction to be executed.
In one manner, the automation instruction may include a timing automation instruction, and the instruction obtaining unit 410 may be configured to detect whether the time synchronization with the server is completed by the gateway, and if so, trigger the gateway to obtain the timing automation instruction to be executed.
In another manner, the automation instruction may include a signal event triggered automation instruction, and the instruction obtaining unit 410 may be configured to obtain, by the gateway, the signal event triggered automation instruction to be executed. Optionally, the configuration apparatus 400 may further include a detection unit, where the detection unit is configured to detect, by the gateway, whether to establish local network connection with the controlled device after the gateway obtains the signal event triggering automation instruction to be executed, and if not, the detection unit may continue to detect whether the gateway and the controlled device are connected to different wireless hotspots. Optionally, if the mobile terminal is connected to a different wireless hotspot, the gateway may upload the signal event-triggered automation instruction to the server, so as to instruct the server to store the signal event-triggered automation instruction. Optionally, if the gateway establishes a local network connection with the controlled device, the gateway may store the signal event trigger automation instruction.
A decision unit 420 for determining whether the automation instruction is within a valid lifecycle range.
By way of example, if the valid lifecycle range includes a start time point and an end time point of the automation instruction, then the determining unit 420 may be configured to detect whether the current time is between the start time point and the end time point of the lifecycle range of the automation instruction, and if so, determine that the automation instruction is within the valid lifecycle range.
The instruction processing unit 430 is configured to trigger execution of the automation instruction if the valid lifecycle is within the valid lifecycle range.
As a mode, the instruction processing unit 430 may be configured to, if the controlled device is in the effective life cycle range, obtain the running state of the controlled device by the gateway, determine whether to execute the automation instruction according to the running state of the controlled device, and optionally, determine to enter into triggering to execute the automation instruction if the controlled device is in the normal running state, where the controlled device in the normal running state may carry an identifier, and the identifier may be used to uniquely distinguish whether the controlled device is in the normal running state. Optionally, if the controlled device is in an abnormal operation state, the execution of the automation instruction is cancelled.
In one way, the configuration apparatus 400 may further include an instruction issuing unit, and the instruction issuing unit may be configured to determine, by the gateway trigger server, whether the signal event trigger automation instruction is within the valid lifecycle range, and if so, trigger execution of the signal event trigger automation instruction by the server.
Optionally, the configuration apparatus 400 may be further configured to, if the automation instruction is not successfully executed, trigger the gateway to cache the automation instruction when the automation instruction is within the valid life cycle range, so that the gateway may trigger the automation instruction to be executed again within the remaining valid life cycle range of the automation instruction and feed back the execution result to the server. And if the automation command is not within the effective life cycle range, the automation command can be deleted.
It should be noted that, as will be clear to those skilled in the art, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling. In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The electronic device (which may be a gateway or a mobile terminal) provided in the embodiment of the present application can implement each process implemented in the method embodiments of fig. 3 to fig. 6, and is not described herein again to avoid repetition.
In summary, according to the method and the device for configuring the device command provided by the present application, the automation instruction to be executed is obtained; determining whether the automation instructions are within a valid lifecycle range; if the current life cycle is within the effective life cycle range, the automatic instruction is triggered to be executed. Whether the automatic instruction is in the effective life cycle or not is determined, and whether the automatic instruction is executed or not is judged according to whether the automatic instruction is in the effective life cycle or not, so that the execution cycle of the automatic instruction can be prolonged, the problem that the automatic instruction is triggered to be executed at a single time at a single moment is solved, and the reliability and the stability of the operation of the automatic instruction are improved.
An embodiment of the present application further provides an electronic device (e.g., a gateway), which includes a processor and a memory, where the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the configuration method of the device command provided in the above method embodiment.
The memory may be used to store software programs and modules, and the processor may execute various functional applications and data processing by operating the software programs and modules stored in the memory. The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs needed by functions and the like; the storage data area may store data created according to use of the apparatus, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory may also include a memory controller to provide the processor access to the memory.
A gateway provided by the present application will be described with reference to fig. 8.
Fig. 8 is a block diagram of a hardware structure of a gateway of a method for configuring a device command according to an embodiment of the present application. As shown in fig. 8, the gateway 1100 may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 1110 (the processors 1110 may include but are not limited to a Processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 1130 for storing data, and one or more storage media 1120 (e.g., one or more mass storage devices) for storing applications 1123 or data 1122. Memory 1130 and storage medium 1120 may be, among other things, transient storage or persistent storage. The program stored in the storage medium 1120 may include one or more modules, each of which may include a series of instructions operating on a gateway. Still further, the processor 1110 may be configured to communicate with the storage medium 1120, and execute a series of instruction operations in the storage medium 1120 on the server 1100. The gateway 1100 may also include one or more power supplies 1160, wired or wireless network interfaces 1150 (including a wireless AP access point or Bluetooth interface based on WiFi protocols, etc., where the gateway 1100 may also include a wired network interface, not shown, if desired), one or more input-output interfaces 1140, and/or one or more operating systems 1121, such as Windows Server (TM), Mac OSXTM, Unix (TM), Linux (TM), Free BSDTM, etc.
The input output interface 1140 may be used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of gateway 1100. In one example, i/o Interface 1140 includes a Network adapter (NIC) that may be coupled to other Network devices via a base station to communicate with the internet. In one example, the input/output interface 1140 can be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
It will be understood by those skilled in the art that the structure shown in fig. 8 is only an illustration, and does not limit the structure of the gateway. For example, gateway 1100 may also include more or fewer components than shown in fig. 8, or have a different configuration than shown in fig. 8.
In summary, the gateway in the embodiment of the present application obtains the automation instruction to be executed; determining whether the automation instructions are within a valid lifecycle range; if the current life cycle is within the effective life cycle range, the automatic instruction is triggered to be executed. Whether the automatic instruction is in the effective life cycle or not is determined, and whether the automatic instruction is executed or not is judged according to whether the automatic instruction is in the effective life cycle or not, so that the execution cycle of the automatic instruction can be prolonged, the problem that the automatic instruction is triggered to be executed at a single time at a single moment is solved, and the reliability and the stability of the operation of the automatic instruction are improved.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned device command configuration method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element identified by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the present embodiments are not limited to those precise embodiments, which are intended to be illustrative rather than restrictive, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of the appended claims.

Claims (9)

1. A method for configuring a device command, the method comprising:
the method comprises the steps that a gateway obtains an automation instruction to be executed, wherein the automation instruction comprises a signal event trigger automation instruction and a timing automation instruction;
determining whether the automation instructions are within a valid lifecycle range;
if the current life cycle is within the effective life cycle range, triggering and executing the automation instruction;
when the to-be-executed automation instruction acquired by the gateway is a signal event triggered automation instruction, if the gateway detects that local network connection is not established with the controlled equipment and the gateway and the controlled equipment are connected to different wireless hotspots, the gateway uploads the signal event triggered automation instruction to the server;
and if the automation instruction is within the effective life cycle range, indicating the server to trigger the execution of the automation instruction.
2. The method of claim 1, wherein the step of triggering execution of the automation instructions if within a valid lifecycle range comprises:
if the current state is within the effective life cycle range, the gateway acquires the running state of the controlled equipment;
judging whether to execute the automation instruction according to the running state of the controlled equipment;
and if the controlled equipment is in a normal operation state, triggering and executing the automation instruction.
3. The configuration method according to claim 2, wherein when the obtained automation instruction to be executed is a timing automation instruction, the step of the gateway obtaining the automation instruction to be executed comprises:
the gateway detects whether time synchronization with a server is completed;
and if so, triggering the gateway to acquire a timing automation instruction to be executed.
4. The configuration method according to any one of claims 2 to 3, wherein the step of determining whether to execute the automation instruction according to the operation state of the controlled device includes:
if the controlled equipment is in a normal running state, judging to enter the step of triggering and executing the automation instruction, wherein the controlled equipment in the normal running state carries an identifier, and the identifier is used for distinguishing whether the controlled equipment is in the normal running state;
and if the controlled equipment is in an abnormal operation state, judging to cancel execution of the automation instruction.
5. The method of claim 1, wherein the step of triggering execution of the automation instructions if within a valid life cycle further comprises:
if the automation instruction is not successfully executed, when the automation instruction is within an effective life cycle range, the gateway triggers the cache of the automation instruction, so that the gateway triggers the execution of the automation instruction again within the remaining effective life cycle range of the automation instruction and feeds back an execution result to the server;
otherwise, deleting the automation instruction.
6. The configuration method of claim 1, wherein the valid lifecycle range includes a start time point and an end time point of the automation instruction, the step of determining whether the automation instruction is within the valid lifecycle range comprising:
detecting whether the current time is between the starting time point and the ending time point;
and if so, judging that the automation command is in the effective life cycle range.
7. An apparatus for configuring device commands, the apparatus comprising:
the system comprises an instruction acquisition unit, an instruction processing unit and an execution unit, wherein the instruction acquisition unit is used for acquiring an automation instruction to be executed by a gateway, and the automation instruction comprises a signal event trigger automation instruction and a timing automation instruction;
the judging unit is used for determining whether the automation instruction is within an effective life cycle range;
the instruction processing unit is used for triggering and executing the automation instruction if the instruction is within the effective life cycle range;
the detection unit is used for uploading the signal event triggering automation instruction to the server if the gateway detects that the local network connection is not established with the controlled equipment and the gateway and the controlled equipment are connected to different wireless hotspots when the automation instruction to be executed acquired by the gateway is the signal event triggering automation instruction; and if the automation instruction is within the effective life cycle range, indicating the server to trigger the execution of the automation instruction.
8. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201910523801.9A 2019-06-17 2019-06-17 Configuration method and device of device command, electronic device and storage medium Active CN110427220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910523801.9A CN110427220B (en) 2019-06-17 2019-06-17 Configuration method and device of device command, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910523801.9A CN110427220B (en) 2019-06-17 2019-06-17 Configuration method and device of device command, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN110427220A CN110427220A (en) 2019-11-08
CN110427220B true CN110427220B (en) 2022-08-19

Family

ID=68407694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910523801.9A Active CN110427220B (en) 2019-06-17 2019-06-17 Configuration method and device of device command, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN110427220B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830342A (en) * 2019-12-16 2020-02-21 联通物联网有限责任公司 Intelligent household equipment communication method and system
CN112987632A (en) * 2021-02-07 2021-06-18 重庆惠统智慧科技有限公司 Intelligent operation and maintenance system for equipment based on Internet of things
CN115134343A (en) * 2021-03-29 2022-09-30 深圳绿米联创科技有限公司 Equipment control method, system, device, server and storage medium
CN113938512B (en) * 2021-10-15 2023-06-09 四川启睿克科技有限公司 Multi-device linkage control method and system based on configurable gateway

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530179A (en) * 2013-09-30 2014-01-22 大唐移动通信设备有限公司 Method and device for processing timed task
CN107577591A (en) * 2016-07-05 2018-01-12 中兴通讯股份有限公司 A kind of method, apparatus and system of automatic test abnormal protection
CN107787034A (en) * 2017-10-19 2018-03-09 广东欧珀移动通信有限公司 Discontinuous receiving cycle collocation method, system, mobile terminal and storage medium
CN108762931A (en) * 2018-05-31 2018-11-06 康键信息技术(深圳)有限公司 Method for scheduling task, server based on distributed scheduling system and storage medium
CN109634693A (en) * 2018-11-12 2019-04-16 东软集团股份有限公司 Execution method, apparatus, server and the storage medium of business operation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530179A (en) * 2013-09-30 2014-01-22 大唐移动通信设备有限公司 Method and device for processing timed task
CN107577591A (en) * 2016-07-05 2018-01-12 中兴通讯股份有限公司 A kind of method, apparatus and system of automatic test abnormal protection
CN107787034A (en) * 2017-10-19 2018-03-09 广东欧珀移动通信有限公司 Discontinuous receiving cycle collocation method, system, mobile terminal and storage medium
CN108762931A (en) * 2018-05-31 2018-11-06 康键信息技术(深圳)有限公司 Method for scheduling task, server based on distributed scheduling system and storage medium
CN109634693A (en) * 2018-11-12 2019-04-16 东软集团股份有限公司 Execution method, apparatus, server and the storage medium of business operation

Also Published As

Publication number Publication date
CN110427220A (en) 2019-11-08

Similar Documents

Publication Publication Date Title
CN110427220B (en) Configuration method and device of device command, electronic device and storage medium
EP3557339A1 (en) Linked control method for internet-of-things gateway and internet-of-things gateway
CN111031565B (en) Method and device for identifying off-line state of ZigBee device
CN110839271B (en) Equipment connection method, system, platform and corresponding equipment
CN108366005A (en) The interlock method and device of electric room
CN104200629B (en) A kind of software systems based on GPRS monitor terminals
CN110688133A (en) Method, system and device for upgrading distributed firmware and electronic equipment
US10489055B2 (en) Z-wave controller shift in thermostats
CN111245677A (en) Communication abnormity reporting method and device, electronic equipment and storage medium
CN111767167B (en) Gateway data migration method, system, server and storage medium
CN112511392A (en) Intelligent home network Combo equipment gateway selection method and control system
CN104202395B (en) A kind of GPRS link establishments and the state machine implementation method for keeping task
CN106411574B (en) Management control method and device
CN114125005A (en) Data processing method and device based on intelligent building system
CN109245974A (en) Household electrical appliance distribution method, apparatus and computer readable storage medium
US20200213878A1 (en) Method and apparatus for controlling network sensors
JP6309809B2 (en) Controller, control system, and control system control method
CN104202394B (en) A kind of implementation method of the multitask application program based on GPRS monitor terminals
CN110324217A (en) Control method, device, electronic equipment and the storage medium of equipment triggering
CN112769658B (en) Terminal control system, method, device, gateway device and storage medium
CN112292874B (en) Optimizing network access initialization in ZigBee network
US10063388B2 (en) Lighting-control processor and method for operating a lighting-control processor
CN114584414B (en) Device control method, device, electronic device, and computer-readable storage medium
CN112147910B (en) Method and device for determining execution capacity, storage medium and electronic device
JP6541821B2 (en) Controller, control system, and control method of controller

Legal Events

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