CN112698594B - Equipment control method and device - Google Patents

Equipment control method and device Download PDF

Info

Publication number
CN112698594B
CN112698594B CN202011476318.9A CN202011476318A CN112698594B CN 112698594 B CN112698594 B CN 112698594B CN 202011476318 A CN202011476318 A CN 202011476318A CN 112698594 B CN112698594 B CN 112698594B
Authority
CN
China
Prior art keywords
controlled device
preset
key value
time
event
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
CN202011476318.9A
Other languages
Chinese (zh)
Other versions
CN112698594A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202011476318.9A priority Critical patent/CN112698594B/en
Publication of CN112698594A publication Critical patent/CN112698594A/en
Application granted granted Critical
Publication of CN112698594B publication Critical patent/CN112698594B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The disclosure provides a device control method and device. The method is applied to the controlled equipment, and comprises the following steps: under the condition that a down event aiming at a target key sent by a main control device is received and an up event aiming at the target key is not received within a first preset time length after the down event is received, the connection state of a controlled device and the main control device is determined according to the current time of the controlled device and the recording time of a preset key value, the up event is sent to an application layer of the controlled device in response to the fact that the controlled device and the main control device are not connected, the up event is sent to the controlled device, the controlled device is supplemented, the phenomenon that the application layer continuously executes the operation corresponding to the down event in the related technology is avoided, and the accurate control of the controlled device by the main control device is guaranteed.

Description

Equipment control method and device
Technical Field
The present disclosure relates to the field of computer communication technologies, and in particular, to a device control method and apparatus.
Background
The key is arranged on the main control device, and the controlled device is controlled by using the key on the main control device. When a key on the main control equipment is pressed down, the main control equipment sends a down event of the key to the controlled equipment, when the pressed key is lifted up, the main control equipment sends an up event of the key to the controlled equipment, and the controlled equipment executes corresponding operation according to the received down event and up event, so that key control of the controlled equipment of the main control equipment is realized.
In some scenarios, after the controlled device receives the down event sent by the master control device, the controlled device cannot receive the up event sent by the master control device due to the fact that the master control device is far away from the controlled device or other reasons. In the related art, after receiving a down event, if an up event is not received all the time within a preset time duration, the controlled device continuously executes an operation corresponding to the down event to obtain a control effect that a key is continuously pressed, so that the main control device cannot accurately perform key control on the controlled device.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides an apparatus control method and device.
According to a first aspect of the embodiments of the present disclosure, there is provided an apparatus control method applied to a controlled apparatus, the method including:
in response to receiving a down event aiming at a target key sent by a main control device, determining whether an up event aiming at the target key is received within a first preset time length;
if it is determined that the up event is not received within the first preset duration, determining a connection state between the controlled device and the main control device according to the current time of the controlled device and the recording time of a preset key value, wherein the recording time comprises the time when the controlled device receives the preset key value or default recording time;
and in response to determining that the controlled device and the master control device are in an unconnected state, sending the up event to an application layer of the controlled device.
Optionally, the determining the connection state between the controlled device and the main control device according to the current time of the controlled device and the recording time of a preset key value includes:
determining whether the preset key value is received or not in the time period from the reception of the down event to the current time every interval of a second preset duration;
if so, calculating a first difference value between the current time and the time of receiving the preset key value, determining whether the first difference value is greater than or equal to a preset time threshold, and determining that the controlled device and the main control device are in an unconnected state in response to the first difference value being greater than or equal to the preset time threshold;
if not, calculating a second difference value between the current time and the default recording time, determining whether the second difference value is greater than or equal to the preset time threshold, and determining that the controlled device and the main control device are in an unconnected state in response to the second difference value being greater than or equal to the preset time threshold.
Optionally, the calculating a first difference between the current time and the time when the preset key value is received includes:
and under the condition that the controlled device receives the preset key value at a plurality of moments after receiving the down event, calculating a first difference value between the current time and the time of receiving the preset key value at last.
Optionally, the method further comprises:
in the process of determining the connection state, if the up event sent by the main control device is received, the connection state is stopped to be determined, and the up event is sent to the application layer.
Optionally, the method further comprises:
and in response to determining that the controlled device and the master control device are in a connection state, sending a target key value to the application layer, so that the application layer continues to execute the operation corresponding to the down event according to the target key value.
According to a second aspect of the embodiments of the present disclosure, there is provided a control method applied to a master control device, the method including:
in response to detecting that a target key is pressed, sending a down event aiming at the target key to a controlled device;
before the target key is detected to be lifted, sending a preset key value to the controlled device, so that the controlled device determines the connection state of the controlled device and the main control device according to the current time and the recording time of the preset key value, and determines whether to send the up event to an application layer of the controlled device according to the connection state, wherein the recording time comprises the time when the controlled device receives the preset key value or default recording time.
Optionally, the sending of the preset key value to the controlled device includes any one of:
responding to a third preset time length after the down event is sent to the controlled equipment, and sending the preset key value to the controlled equipment at intervals of a fourth preset time length;
and responding to the down event sent to the controlled equipment, and sending the preset key value to the controlled equipment at intervals of a fifth preset time.
According to a third aspect of the embodiments of the present disclosure, there is provided a control apparatus applied to a controlled device, the apparatus including:
the event determining module is configured to respond to receiving a down event which is sent by the main control equipment and aims at a target key, and determine whether an up event aiming at the target key is received within a first preset time length;
a connection state determining module configured to determine a connection state between the controlled device and the main control device according to the current time of the controlled device and a recording time of a preset key value if it is determined that the up event is not received within the first preset duration, where the recording time includes a time when the controlled device receives the preset key value or a default recording time;
a first event sending module configured to send the up event to an application layer of the controlled device in response to determining that the controlled device is in an unconnected state with the master device.
Optionally, the connection status determining module includes:
a key value determining sub-module configured to determine, every second preset duration, whether the preset key value is received within a time period from the reception of the down event to the current time;
a first difference value calculating sub-module configured to calculate a first difference value between the current time and the time when the preset key value is received if it is determined that the preset key value is received within a time period from the reception of the down event to the current time, determine whether the first difference value is greater than or equal to a preset time threshold value, and determine that the controlled device and the master device are in an unconnected state in response to the first difference value being greater than or equal to the preset time threshold value;
a second difference calculation sub-module configured to, if it is determined that the preset key value is not received within a time period from the reception of the down event to the current time, calculate a second difference between the current time and the default recording time, determine whether the second difference is greater than or equal to the preset time threshold, and determine that the controlled device and the main control device are in an unconnected state in response to the second difference being greater than or equal to the preset time threshold.
Optionally, the first difference calculating sub-module is configured to calculate a first difference between the current time and the time when the preset key value is received last when the controlled device receives the preset key value at multiple times after receiving the down event.
Optionally, the apparatus further comprises:
a second event sending module, configured to, in a process of determining the connection state at intervals, stop determining the connection state if the up event sent by the main control device is received, and send the up event to the application layer.
Optionally, the apparatus further comprises:
and the key value sending module is configured to send a target key value to the application layer in response to determining that the controlled device and the master control device are in a connected state, so that the application layer continues to execute the operation corresponding to the down event according to the target key value.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a control apparatus applied to a master control device, the apparatus including:
the event sending module is configured to respond to the detection that the target key is pressed, and send a down event aiming at the target key to the controlled device;
a key value sending module configured to send a preset key value to the controlled device before the target key is detected to be lifted, so that the controlled device determines a connection state between the controlled device and the main control device according to a current time and a recording time of the preset key value, and determines whether to send the up event to an application layer of the controlled device according to the connection state, where the recording time includes a time indicating that the controlled device receives the preset key value or a default recording time.
Optionally, the key value sending module includes any one of:
a first key value sending submodule configured to send the preset key value to the controlled device every fourth preset time period in response to a third preset time period after the down event is sent to the controlled device;
and the second key value sending submodule is configured to respond to the fact that the down event is sent to the controlled device, and send the preset key value to the controlled device at intervals of a fifth preset time.
According to a fifth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any one of the above first aspects.
According to a sixth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any one of the second aspects described above.
According to a seventh aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
in response to receiving a down event aiming at a target key sent by a main control device, determining whether an up event aiming at the target key is received within a first preset time length;
if it is determined that the up event is not received within the first preset duration, determining a connection state between the controlled device and the main control device according to the current time of the controlled device and the recording time of a preset key value, wherein the recording time comprises the time when the controlled device receives the preset key value or default recording time;
and in response to determining that the controlled device and the master control device are in an unconnected state, sending the up event to an application layer of the controlled device.
According to an eighth aspect of embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
in response to detecting that a target key is pressed, sending a down event aiming at the target key to a controlled device;
before the target key is detected to be lifted, sending a preset key value to the controlled device, so that the controlled device determines the connection state of the controlled device and the main control device according to the current time and the recording time of the preset key value, and determines whether to send the up event to an application layer of the controlled device according to the connection state, wherein the recording time comprises the time when the controlled device receives the preset key value or default recording time.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the embodiment of the disclosure, when the controlled device receives a down event sent by the main control device and directed to a target key, and determines that an up event directed to the target key is not received within a first preset time period after the down event is received, the connection state of the controlled device and the main control device is determined according to the current time of the controlled device and the recording time of a preset key value, and an up event is sent to an application layer of the controlled device in response to determining that the controlled device and the main control device are in the unconnected state, so that the controlled device re-sends the up event, the occurrence of an operation corresponding to the down event continuously executed by the application layer in the related technology is avoided, and the accurate control of the controlled device by the main control device is ensured.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
FIG. 1 is a flow chart illustrating a control method according to an exemplary embodiment;
FIG. 2 is a block flow diagram illustrating a control method according to an exemplary embodiment;
FIG. 3 is a flow chart illustrating another control method according to an exemplary embodiment;
FIG. 4 is a flow chart illustrating another control method according to an exemplary embodiment;
FIG. 5 is a block diagram illustrating a control device according to an exemplary embodiment;
FIG. 6 is a block diagram of another control device shown in accordance with an exemplary embodiment;
FIG. 7 is a schematic diagram of an electronic device shown in accordance with an exemplary embodiment;
fig. 8 is a schematic structural diagram illustrating another electronic device according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Fig. 1 is a flowchart illustrating a control method according to an exemplary embodiment, where the method illustrated in fig. 1 is applied to a controlled device, and the method includes:
in step 101, in response to receiving a down event for a target key sent by a master control device, it is determined whether an up event for the target key is received within a first preset time period.
It should be noted that, the key is provided on the main control device, and the user can use the main control device to control the controlled device to work by pressing the key on the main control device. There are many types of master control devices and controlled devices that can be used in cooperation, for example, the master control device may be a remote controller, and the controlled device may be any home device that can receive a controlled signal in an intelligent home scene, such as a television, an air conditioner, and a fan.
The target key is the key currently being pressed. The down event for the target key is an event that the target key is pressed, and the up event for the target key is an event that the target key is lifted after being pressed.
The method comprises the steps that when the main control device detects that a target key is pressed down, a down event aiming at the target key is sent to the controlled device, and then when the main control device detects that the target key is lifted up, an up event aiming at the target key is sent to the controlled device. In application, the down event for the target key corresponds to a key value, and the up event for the target key corresponds to a key value, and the master control device may send the key value corresponding to the down event for the target key to the controlled device and send the key value corresponding to the up event for the target key to the controlled device.
It should be noted that the first preset duration may be used to distinguish whether a long-press operation or a short-press operation is performed on the key, and a specific value of the first preset duration may be set according to needs and experience. For example, the first preset time duration is set to 500ms, if the time duration from the reception of the down event for the key to the reception of the up event for the key is less than 500ms, it is determined that the short-press operation is performed on the key, and if the time duration from the reception of the down event for the key to the reception of the up event for the key is greater than or equal to 500ms, it is determined that the long-press operation is performed on the key.
The controlled device may start a timer set for a first preset duration after receiving a down event for the target key, and determine whether an up event for the target key sent by the main control device is received in a timing process of the timer.
In step 102, if it is determined that an up event for the target key is not received within the first preset duration, the connection state between the controlled device and the main control device is determined according to the current time of the controlled device and the recording time of the preset key value.
The preset key value is used for the controlled device to determine the connection state of the controlled device and the master control device. The recording time of the preset key value may include: and the controlled device receives the preset key value or the default recording time of the preset key value.
The controlled device may record the time when the preset key value is received as the recording time of the preset key value. If the controlled device receives a preset key value at intervals after receiving the down event for the target key, the controlled device can record the time of receiving the preset key value at last as the recording time of the preset key value.
In one example, the master device sends a preset key value to the controlled device after sending a down event for the target key to the controlled device and before sending an up event for the target key. And the controlled equipment receives the preset key value sent by the main control equipment, and records the time of receiving the preset key value from the main control equipment as the recording time of the preset key value.
The master control device may send the preset key value to the controlled device at a certain interval after sending the down event for the target key to the controlled device and before sending the up event for the target key. The controlled device may record the time when the preset key value is last received from the master control device as the recording time of the preset key value.
The controlled device may set default recording time of the preset key value, and may set the default recording time to be earlier, so that the controlled device determines that the controlled device and the master control device are in an unconnected state according to the current time and the default recording time, and thus determines that an up event for the target key needs to be sent to an application layer of the controlled device.
In an embodiment, fig. 2 is a flowchart illustrating a control method according to an exemplary embodiment, and referring to fig. 2, the determining of the connection state between the controlled device and the master device according to the current time of the controlled device and the recording time of the preset key value may be implemented by:
in step 201, it is determined whether a preset key value is received in a period from the reception of the down event for the target key to the current time every second preset duration. If the preset key value sent by the main control device is determined to be received, step 202 is executed, and if the preset key value sent by the main control device is determined not to be received, step 206 is executed.
Under the influence of factors such as distance, environment, network and the like, in some scenes, the preset key value sent by the sending end cannot be transmitted to the controlled device, so that the controlled device does not receive the preset key value in the time period from the time when the down event aiming at the target key is received to the current time. The sending end can be a main control device or other terminals. And for two conditions that the controlled equipment receives the preset key value and does not receive the preset key value, the adopted modes for determining the connection state of the controlled equipment and the main control equipment are different.
The controlled device may start a timer defining a second preset duration after the first preset duration elapses, and the controlled device performs an operation of determining whether the preset key value is received within a time period from the reception of the down event for the target key to the current time every second preset duration. The second preset duration may be sized as desired and empirically, for example, the second preset duration is 50 ms.
In step 202, a first difference between the current time of the controlled device and the time when the preset key value is received is calculated. Step 203 is performed after step 202 is finished.
In one embodiment, the controlled device receives the preset key value at a plurality of moments after receiving the down event aiming at the target key. For example, after sending a down event for the target key to the controlled device and before sending an up event for the target key to the controlled device, the master device sends a preset key value to the controlled device at intervals, so that the controlled device receives the preset key value at multiple times after receiving the down event for the target key.
In this case, the recording time of the preset key value includes a time when the preset key value is last received, and the controlled device may calculate a first difference between the current time and the time when the preset key value is last received.
For example, after receiving a down event for a target key, the controlled device receives a plurality of preset key values in sequence, and the controlled terminal calculates a first difference between the current time and the time of receiving the preset key values at last.
For another example, the controlled device determines whether the preset key value is received in a time period from the time when the down event for the target key is received to the current time every second preset time, and if the controlled device receives a plurality of preset key values in the second preset time, calculates a first difference between the current time and the time when the preset key value is finally received in the second preset time.
In step 203, it is determined whether the first difference is greater than or equal to a preset time threshold. If the first difference is greater than or equal to the predetermined time threshold, step 204 is executed, and if the first difference is less than the predetermined time threshold, step 205 is executed.
The size of the preset time threshold may be set as desired and empirically. For example, the preset time threshold is 200ms, and when the first difference is greater than or equal to 200ms, it is determined that the controlled device does not receive the information sent by the controlled device for a long time, so as to determine that the controlled device and the master device are in an unconnected state.
In step 204, it is determined that the controlled device and the master device are in an unconnected state.
In step 205, it is determined that the controlled device and the master device are in a connected state, and step 201 is executed in a loop.
In step 206, a second difference between the current time of the controlled device and the default recording time of the preset key value is calculated. Step 207 is executed after step 207 is finished.
In step 207, it is determined whether the second difference is greater than or equal to a preset time threshold. If the second difference is greater than or equal to the predetermined time threshold, step 208 is executed, and if the second difference is less than the predetermined time threshold, step 209 is executed.
In step 208, it is determined that the controlled device is in an unconnected state with the master device.
In step 209, it is determined that the controlled device and the master device are in a connected state, and step 201 is executed in a loop.
In one embodiment, for example, the default recording time of the preset key value is earlier, the second difference between the current time of the controlled device and the default recording time of the preset key value is always greater than the preset time threshold, and it is always determined that the controlled device and the main control device are in an unconnected state according to the default recording time of the preset key value.
Illustratively, the default recording TIME of the preset key value is 1970, 1/0, 1970, 1/1970 is used as the epoch TIME of the UNIX TIME, and the UNIX timestamp takes 1970, 1/0 as the timing starting TIME. When the controlled device is used, a second difference value between the current time of the controlled device and the default recording time of the preset key value is very large, and the second difference value is always larger than the preset time threshold value.
In step 103, in response to determining that the controlled device and the master device are in an unconnected state, an up event for the target key is sent to an application layer of the controlled device.
When the fact that the controlled device and the main control device are in the unconnected state is determined, it is judged that the controlled device cannot receive the up event aiming at the target key, in order to complete the key control process and guarantee smooth proceeding of key control operation, the controlled device can send the up event aiming at the target key to the application layer, and the supplementary sending of the up event is achieved. Specifically, the up event for the target key corresponds to a key value, and the controlled device may send the key value corresponding to the up event for the target key to the application layer, so that the application layer executes a corresponding operation according to the received key value.
In an embodiment, in the process of determining the connection state between the controlled device and the main control device according to the current time of the controlled device and the recording time of the preset key value, if an up event for a target key sent by the main control device is received, the controlled device stops executing the operation for determining the connection state, and sends the up event for the target key to an application layer of the controlled device.
Based on the corresponding relationship between the up event of the target key and the key value, the controlled device may send the key value corresponding to the up event of the target key to the application layer.
In one embodiment, in the process that the controlled device determines the connection state of the controlled device and the main control device according to the current time of the controlled device and the recording time of a preset key value, if it is determined that the controlled device and the main control device are in the connection state, the controlled device sends a target key value to an application layer of the controlled device, so that the application layer continues to execute an operation corresponding to a down event of the target key according to the target key value.
The target key value has a function of indicating the application layer to continuously execute the operation corresponding to the down event of the target key. The down event for the target key corresponds to a key value, and the target key value may be a key value corresponding to the down event for the target key, or the target key may be another key value having the above indication function.
In the embodiment of the disclosure, when the controlled device receives a down event sent by the main control device and directed to a target key, and determines that an up event directed to the target key is not received within a first preset time period after the down event is received, the connection state of the controlled device and the main control device is determined according to the current time of the controlled device and the recording time of a preset key value, and an up event is sent to an application layer of the controlled device in response to determining that the controlled device and the main control device are in the unconnected state, so that the controlled device re-sends the up event, the occurrence of an operation corresponding to the down event continuously executed by the application layer in the related technology is avoided, and the accurate control of the controlled device by the main control device is ensured.
Fig. 3 is a flowchart illustrating another control method according to an exemplary embodiment, where the method illustrated in fig. 3 is applied to a master device, and the method includes:
in step 301, in response to detecting that the target key is pressed, a down event for the target key is sent to the controlled device.
The key is arranged on the main control equipment, and a user can control the controlled equipment to work by using the main control equipment through pressing the key on the main control equipment. There are many kinds of main control devices and controlled devices that can be used in cooperation, for example, the main control device is a remote controller, and the controlled device is a television; for another example, the master control device is a remote controller, and the controlled device is an air conditioner.
The target key is the key currently being pressed. The down event of the target key is an event that the target key is pressed. And when detecting that the target key is pressed down, the main control equipment sends a down event aiming at the target key to the controlled equipment. In application, the down event for the target key corresponds to a key value, and the key value corresponding to the down event for the target key can be sent to the controlled device.
In step 302, before it is detected that the target key is lifted, a preset key value is sent to the controlled device, so that the controlled device determines the connection state between the controlled device and the main control device according to the current time and the recording time of the preset key value, and determines whether to send an up event for the target key to an application layer of the controlled device according to the connection state.
The preset key value is used for the controlled device to determine the connection state of the controlled device and the master control device. The recording time of the preset key value includes: and the controlled device receives the preset key value or the default recording time of the preset key value.
The controlled device may record a time when the preset key value is received from the master control device as a recording time of the preset key value. Under the condition that the master control device sends the preset key value to the controlled device at intervals of a certain duration, the controlled device can record the time of receiving the preset key value as the recording time of the preset key value.
The controlled device may set default recording time of the preset key value, and may set the default recording time to be earlier, so that the controlled device determines that the controlled device and the master control device are in an unconnected state according to the current time and the default recording time, and determines that an up event for the target key needs to be sent to an application layer of the controlled device.
The up event of the target key is an event in which the target key is lifted after being pressed.
In one embodiment, the master control device may send the preset key value to the controlled device at intervals of a certain duration.
For example, the first transmission method: and in response to the fact that the third preset duration is passed after the down event aiming at the target key is sent to the controlled equipment, sending a preset key value to the controlled equipment at every interval of a fourth preset duration.
The method includes the steps that after a down event aiming at a target key is sent to a controlled device, a timer set aiming at a third preset time length is started, if the target key is detected to be lifted in the third preset time length, the timer is stopped, an up event aiming at the target key is sent to the controlled device, if the target key is not detected to be lifted in the third preset time length, a preset key value is sent to the controlled device after the third preset time length passes, meanwhile, the timer set aiming at a fourth preset time length is started, and the main control device sends the preset key value to the controlled device every other fourth preset time length.
The third preset duration may be sized as desired and empirically. For example, the third preset time period is 200ms, where 200ms is used to distinguish whether a long-press operation or a short-press operation is performed on the key, and if the time period from pressing to lifting of the key is less than 200ms, it is determined that the short-press operation is performed on the key, and if the time period from pressing to lifting of the key is greater than or equal to 200ms, it is determined that the long-press operation is performed on the key.
The fourth preset duration may be sized as desired and empirically. For example, the fourth preset duration is 50ms, if the master control device does not detect that the target key is lifted within 200ms, the master control device sends a preset key value to the controlled device, and starts a limited 50ms timer, and the master control device sends a preset key value to the controlled device every 50ms interval.
The second transmission method: and responding to the down event aiming at the target key and sending the down event to the controlled equipment, and sending a preset key value to the controlled equipment at intervals of a fifth preset duration.
The size of the fifth preset duration may be set as needed and empirically. For example, the fifth preset duration is 50ms, after the master control device sends the down event for the target key to the controlled device, the master control device immediately sends a preset key value to the controlled device, and simultaneously starts a limited 50ms timer, and the master control device sends a preset key value to the controlled device every 50ms interval.
In one embodiment, in the process of sending the preset key value to the controlled device at intervals for a certain period of time, if it is detected that the target key is lifted, the master control device sends an up event for the target key to the controlled device, and stops executing the operation of sending the preset key value to the controlled device.
The up event for the target key corresponds to a key value, and the key value corresponding to the up event for the target key can be sent to the controlled device.
In the embodiment of the disclosure, the master control device sends a preset key value to the controlled device between a down event and an up event, which are sent to the controlled device, so that the controlled device determines the connection state of the controlled device and the master control device according to the current time and the recording time of the preset key, and determines that the up event for the key is lost when the controlled device and the master control device are determined to be in the unconnected state.
It should be noted that the relationship between the first preset time period, the second preset time period, the third preset time period, the fourth preset time period, and the fifth preset time period may be set according to needs and experience. For example, the third preset time period is shorter than the first preset time period, the fourth preset time period is shorter than the second preset time period, and the fifth preset time period is shorter than the second preset time period. Therefore, the controlled device can start to confirm the connection state of the controlled device and the main control device after the main control device sends the preset key value, and the validity of the connection state confirmation can be ensured.
Fig. 4 is a flowchart illustrating another control method according to an exemplary embodiment, where the method illustrated in fig. 4 is applied to a control system, the control system includes a master device and a controlled device, and the method includes:
in step 401, the master device detects that a target key is pressed.
In step 402, the master device sends a down event for the target key to the controlled device.
In step 403, before detecting that the target key is lifted, the master control device sends a preset key value to the controlled device.
In step 404, after receiving the down event for the target key sent by the master control device, the controlled device determines whether an up event for the target key is received within a first preset time period.
In step 405, after the controlled device determines that an up event for the target key is not received within the first preset duration, the connection state between the controlled device and the main control device is determined according to the current time of the controlled device and the recording time of the preset key value, where the recording time includes the time when the controlled device receives the preset key value or default recording time.
In step 406, the controlled device sends an up event for the target key to an application layer of the controlled device after determining that the controlled device and the master device are in an unconnected state.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present disclosure is not limited by the order of acts, as some steps may, in accordance with the present disclosure, occur in other orders and concurrently.
Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that acts and modules referred to are not necessarily required by the disclosure.
Corresponding to the embodiment of the application function implementation method, the disclosure also provides an embodiment of an application function implementation device and corresponding electronic equipment.
Fig. 5 is a block diagram illustrating a control apparatus according to an exemplary embodiment, referring to fig. 5, the control apparatus is applied to a controlled device, and the apparatus includes: an event determination module 51, a connection state determination module 52, and a first event transmission module 53; wherein the content of the first and second substances,
the event determining module 51 is configured to determine, in response to receiving a down event for a target key sent by a master control device, whether an up event for the target key is received within a first preset time period;
the connection state determining module 52 is configured to determine, if it is determined that the up event is not received within the first preset duration, a connection state between the controlled device and the main control device according to the current time of the controlled device and a recording time of a preset key value, where the recording time includes a time when the controlled device receives the preset key value or a default recording time;
the first event sending module 53 is configured to send the up event to an application layer of the controlled device in response to determining that the controlled device is in an unconnected state with the master device.
In an alternative embodiment, based on the control device shown in fig. 5, the connection status determining module 52 may include: the key value determining submodule, the first difference value calculating submodule and the second difference value calculating submodule; wherein the content of the first and second substances,
the key value determining submodule is configured to determine whether the preset key value is received or not in a time period from the reception of the down event to the current time every second preset time interval;
the first difference calculation sub-module is configured to calculate a first difference between the current time and the time when the preset key value is received if it is determined that the preset key value is received within a time period from the time when the down event is received to the current time, determine whether the first difference is greater than or equal to a preset time threshold, and determine that the controlled device and the master device are in an unconnected state in response to the first difference being greater than or equal to the preset time threshold;
the second difference calculation sub-module is configured to, if it is determined that the preset key value is not received within a period from when the down event is received to when the current time is received, calculate a second difference between the current time and the default recording time, determine whether the second difference is greater than or equal to the preset time threshold, and determine that the controlled device and the main control device are in an unconnected state in response to the second difference being greater than or equal to the preset time threshold.
In an optional embodiment, the first difference calculation sub-module may be configured to calculate a first difference between the current time and a time when the preset key value is received last in a case where the controlled device receives the preset key value at a plurality of time instants after receiving the down event.
In an alternative embodiment, on the basis of the control device shown in fig. 5, the device may further include: a second event sending module;
the second event sending module is configured to, in a process of determining the connection state at intervals, stop determining the connection state if the up event sent by the main control device is received, and send the up event to the application layer.
In an alternative embodiment, on the basis of the control device shown in fig. 5, the device may further include: a key value sending module;
the key value sending module is configured to send a target key value to the application layer in response to determining that the controlled device and the master control device are in a connected state, so that the application layer continues to execute an operation corresponding to the down event according to the target key value.
Fig. 6 is a block diagram illustrating another control apparatus according to an exemplary embodiment, the control apparatus being applied to a master device, the apparatus including: an event sending module 61 and a key value sending module 62; wherein, the first and the second end of the pipe are connected with each other,
the event sending module 61 is configured to send a down event for a target key to a controlled device in response to detecting that the target key is pressed;
the key value sending module 62 is configured to send a preset key value to the controlled device before detecting that the target key is lifted, so that the controlled device determines a connection state between the controlled device and the main control device according to the current time and the recording time of the preset key value, and determines whether to send the up event to an application layer of the controlled device according to the connection state, where the recording time includes time indicating that the controlled device receives the preset key value or default recording time.
In an alternative embodiment, on the basis of the control device shown in fig. 6, the key value sending module 62 may include any one of the following: a first key value sending submodule and a second key value sending submodule; wherein, the first and the second end of the pipe are connected with each other,
the first key value sending submodule is configured to send the preset key value to the controlled device every fourth preset time interval in response to a third preset time after the down event is sent to the controlled device;
the second key value sending sub-module is configured to send the preset key value to the controlled device every fifth preset time interval in response to sending the down event to the controlled device.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Accordingly, in one aspect, an embodiment of the present disclosure provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to:
in response to receiving a down event aiming at a target key sent by a main control device, determining whether an up event aiming at the target key is received within a first preset time length;
if it is determined that the up event is not received within the first preset duration, determining a connection state between the controlled device and the main control device according to the current time of the controlled device and the recording time of a preset key value, wherein the recording time comprises the time when the controlled device receives the preset key value or default recording time;
and in response to determining that the controlled device and the master control device are in an unconnected state, sending the up event to an application layer of the controlled device.
Fig. 7 is a schematic structural diagram illustrating an electronic device according to an exemplary embodiment, where the electronic device illustrated in fig. 7 includes: a memory 720, a processor 730, and an external interface 740 connected by an internal bus 710.
The external interface 740 is configured to obtain data;
a memory 720 for storing machine readable instructions corresponding to the control;
a processor 730 configured to read the machine-readable instructions on the memory 720 and execute the instructions to:
in response to receiving a down event aiming at a target key sent by a main control device, determining whether an up event aiming at the target key is received within a first preset time length;
if it is determined that the up event is not received within the first preset duration, determining a connection state between the controlled device and the main control device according to the current time of the controlled device and recording time of a preset key value, wherein the recording time comprises the time when the controlled device receives the preset key value or default recording time;
and in response to determining that the controlled device and the master control device are in an unconnected state, sending the up event to an application layer of the controlled device.
Accordingly, in another aspect, the present disclosure provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to:
in response to detecting that a target key is pressed, sending a down event aiming at the target key to a controlled device;
before the target key is detected to be lifted, sending a preset key value to the controlled device, so that the controlled device determines the connection state of the controlled device and the main control device according to the current time and the recording time of the preset key value, and determines whether to send the up event to an application layer of the controlled device according to the connection state, wherein the recording time comprises the time when the controlled device receives the preset key value or default recording time.
Fig. 8 is a schematic structural diagram illustrating another electronic device according to an exemplary embodiment, where the electronic device illustrated in fig. 8 may include: a memory 820, a processor 830, and an external interface 840 connected by an internal bus 810.
The external interface 840 is used for acquiring data;
a memory 820 for storing machine readable instructions corresponding to controls;
a processor 830 for reading the machine-readable instructions on the memory 820 and executing the instructions to perform operations comprising:
in response to detecting that a target key is pressed, sending a down event aiming at the target key to a controlled device;
and before the target key is detected to be lifted, sending a preset key value to the controlled device, so that the controlled device determines the connection state of the controlled device and the main control device according to the current time and the recording time of the preset key value, and determines whether to send the up event to an application layer of the controlled device according to the connection state, wherein the recording time comprises the time when the controlled device receives the preset key value or default recording time.
In the disclosed embodiments, the computer readable storage medium may take many forms, such as, in different examples: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof. In particular, the computer readable medium may be paper or another suitable medium upon which the program is printed. Using these media, the programs can be electronically captured (e.g., optically scanned), compiled, interpreted, and processed in a suitable manner, and then stored in a computer medium.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium, such as the memory 820 including instructions that, when executed by the processor 830 of the electronic device shown in fig. 8, enable the electronic device to perform a control method, the method including: in response to receiving a down event aiming at a target key sent by a main control device, determining whether an up event aiming at the target key is received within a first preset time length; if it is determined that the up event is not received within the first preset duration, determining a connection state between the controlled device and the main control device according to the current time of the controlled device and the recording time of a preset key value, wherein the recording time comprises the time when the controlled device receives the preset key value or default recording time; and in response to determining that the controlled device and the master control device are in an unconnected state, sending the up event to an application layer of the controlled device.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium, such as the memory 820 including instructions that, when executed by the processor 830 of the electronic device shown in fig. 8, enable the electronic device to perform a control method, the method including: in response to detecting that a target key is pressed, sending a down event aiming at the target key to a controlled device; and before the target key is detected to be lifted, sending a preset key value to the controlled device, so that the controlled device determines the connection state of the controlled device and the main control device according to the current time and the recording time of the preset key value, and determines whether to send the up event to an application layer of the controlled device according to the connection state, wherein the recording time comprises the time when the controlled device receives the preset key value or default recording time.
The non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (15)

1. An apparatus control method, applied to a controlled apparatus, the method comprising:
in response to receiving a down event aiming at a target key sent by a main control device, determining whether an up event aiming at the target key is received within a first preset time length;
if it is determined that the up event is not received within the first preset duration, determining a connection state between the controlled device and the main control device according to the current time of the controlled device and the recording time of a preset key value, wherein the recording time comprises the time when the controlled device receives the preset key value or default recording time;
in response to determining that the controlled device and the master control device are in an unconnected state, sending the up event to an application layer of the controlled device;
the determining the connection state of the controlled device and the main control device according to the current time of the controlled device and the recording time of a preset key value includes:
and determining whether the preset key value is received or not in the time period from the reception of the down event to the current time every interval of a second preset duration.
2. The method of claim 1, wherein the determining whether the preset key value is received within a period from receiving the down event to the current time every interval of a second preset duration comprises:
if so, calculating a first difference between the current time and the time when the preset key value is received, determining whether the first difference is greater than or equal to a preset time threshold, and determining that the controlled device and the main control device are in an unconnected state in response to the first difference being greater than or equal to the preset time threshold;
if not, calculating a second difference value between the current time and the default recording time, determining whether the second difference value is greater than or equal to the preset time threshold, and determining that the controlled device and the main control device are in an unconnected state in response to the second difference value being greater than or equal to the preset time threshold.
3. The method of claim 2, wherein calculating the first difference between the current time and the time at which the preset key value is received comprises:
and under the condition that the controlled device receives the preset key value at a plurality of moments after receiving the down event, calculating a first difference value between the current time and the time of receiving the preset key value at last.
4. The method of claim 1, further comprising:
in the process of determining the connection state, if the up event sent by the main control device is received, the connection state is stopped to be determined, and the up event is sent to the application layer.
5. The method of claim 1, further comprising:
and in response to determining that the controlled device is in a connection state with the master control device, sending a target key value to the application layer, so that the application layer continues to execute the operation corresponding to the down event according to the target key value.
6. A device control method is applied to a master control device, and comprises the following steps:
in response to detecting that a target key is pressed, sending a down event aiming at the target key to a controlled device;
before the target key is detected to be lifted, sending a preset key value to the controlled device, so that the controlled device determines the connection state of the controlled device and the main control device according to the current time and the recording time of the preset key value, and determines whether to send an up event aiming at the target key to an application layer of the controlled device according to the connection state, wherein the recording time comprises the time when the controlled device receives the preset key value or default recording time;
the sending of the preset key value to the controlled device includes any one of:
responding to a third preset time length after the down event is sent to the controlled equipment, and sending the preset key value to the controlled equipment at intervals of a fourth preset time length;
and responding to the fact that the down event is sent to the controlled equipment, and sending the preset key value to the controlled equipment at intervals of a fifth preset time length.
7. A control device is characterized by being applied to a controlled device, and the device comprises:
the event determining module is configured to respond to receiving a down event which is sent by the main control equipment and aims at a target key, and determine whether an up event aiming at the target key is received within a first preset time length;
a connection state determining module configured to determine a connection state between the controlled device and the main control device according to the current time of the controlled device and a recording time of a preset key value if it is determined that the up event is not received within the first preset duration, where the recording time includes a time when the controlled device receives the preset key value or a default recording time;
a first event sending module configured to send the up event to an application layer of the controlled device in response to determining that the controlled device is in an unconnected state with the master device;
the connection state determination module includes:
a key value determining sub-module configured to determine, every second preset duration, whether the preset key value is received within a time period from the reception of the down event to the current time;
a first difference value calculating sub-module configured to calculate a first difference value between the current time and the time when the preset key value is received if it is determined that the preset key value is received within a time period from when the down event is received to when the current time, determine whether the first difference value is greater than or equal to a preset time threshold value, and determine that the controlled device and the main control device are in an unconnected state in response to the first difference value being greater than or equal to the preset time threshold value;
a second difference calculation sub-module configured to, if it is determined that the preset key value is not received within a time period from the reception of the down event to the current time, calculate a second difference between the current time and the default recording time, determine whether the second difference is greater than or equal to the preset time threshold, and determine that the controlled device and the main control device are in an unconnected state in response to the second difference being greater than or equal to the preset time threshold.
8. The apparatus of claim 7, wherein:
the first difference calculation sub-module is configured to calculate a first difference between the current time and a time when the preset key value is received last, in a case where the controlled device receives the preset key value at a plurality of times after receiving the down event.
9. The apparatus of claim 7, further comprising:
a second event sending module, configured to, in the process of determining the connection state at intervals, stop determining the connection state if the up event sent by the master control device is received, and send the up event to the application layer.
10. The apparatus of claim 7, further comprising:
and the key value sending module is configured to send a target key value to the application layer in response to determining that the controlled device and the master control device are in a connected state, so that the application layer continues to execute the operation corresponding to the down event according to the target key value.
11. A control device, which is applied to a main control device, the device comprises:
the event sending module is configured to respond to the detection that the target key is pressed down and send a down event aiming at the target key to the controlled device;
a key value sending module configured to send a preset key value to the controlled device before the target key is detected to be lifted, so that the controlled device determines a connection state between the controlled device and the main control device according to a current time and a recording time of the preset key value, and determines whether to send an up event for the target key to an application layer of the controlled device according to the connection state, where the recording time includes a time indicating that the controlled device receives the preset key value or a default recording time;
the key value sending module comprises any one of the following:
a first key value sending submodule configured to send the preset key value to the controlled device every fourth preset time period in response to a third preset time period after the down event is sent to the controlled device;
and the second key value sending submodule is configured to respond to the fact that the down event is sent to the controlled device, and send the preset key value to the controlled device at intervals of a fifth preset time length.
12. A non-transitory computer-readable storage medium, on which a computer program is stored, which program, when executed by a processor, performs the method of any one of claims 1-5.
13. A non-transitory computer readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements the method of claim 6.
14. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
in response to receiving a down event aiming at a target key sent by a main control device, determining whether an up event aiming at the target key is received within a first preset time length;
if it is determined that the up event is not received within the first preset duration, determining a connection state of the controlled device and the main control device according to the current time of the controlled device and recording time of a preset key value, wherein the recording time comprises the time when the controlled device receives the preset key value or default recording time;
in response to determining that the controlled device and the master control device are in an unconnected state, sending the up event to an application layer of the controlled device;
the determining the connection state of the controlled device and the main control device according to the current time of the controlled device and the recording time of a preset key value includes:
and determining whether the preset key value is received or not in the time period from the reception of the down event to the current time every interval of a second preset duration.
15. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
in response to detecting that a target key is pressed, sending a down event aiming at the target key to a controlled device;
before the target key is detected to be lifted, sending a preset key value to the controlled device, so that the controlled device determines the connection state of the controlled device and a main control device according to the current time and the recording time of the preset key value, and determining whether to send an up event aiming at the target key to an application layer of the controlled device according to the connection state, wherein the recording time comprises the time when the controlled device receives the preset key value or default recording time;
the sending of the preset key value to the controlled device includes any one of:
responding to a third preset time length after the down event is sent to the controlled equipment, and sending the preset key value to the controlled equipment at intervals of a fourth preset time length;
and responding to the fact that the down event is sent to the controlled equipment, and sending the preset key value to the controlled equipment at intervals of a fifth preset time length.
CN202011476318.9A 2020-12-14 2020-12-14 Equipment control method and device Active CN112698594B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011476318.9A CN112698594B (en) 2020-12-14 2020-12-14 Equipment control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011476318.9A CN112698594B (en) 2020-12-14 2020-12-14 Equipment control method and device

Publications (2)

Publication Number Publication Date
CN112698594A CN112698594A (en) 2021-04-23
CN112698594B true CN112698594B (en) 2022-09-02

Family

ID=75508061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011476318.9A Active CN112698594B (en) 2020-12-14 2020-12-14 Equipment control method and device

Country Status (1)

Country Link
CN (1) CN112698594B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113747218B (en) * 2021-08-10 2023-06-23 深圳Tcl新技术有限公司 Control method and device of intelligent device, storage medium and terminal device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108491122B (en) * 2018-02-07 2020-02-18 平安科技(深圳)有限公司 Click event response method, computer readable storage medium and terminal equipment
CN108920285A (en) * 2018-06-12 2018-11-30 北京小米移动软件有限公司 event response method and device
CN109061452A (en) * 2018-07-09 2018-12-21 珠海格力智能装备有限公司 The detection method and device of key
CN112073778A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 Display device and fault-tolerant method for key transmission
CN110794989A (en) * 2019-10-23 2020-02-14 维沃移动通信有限公司 Key response method and electronic equipment

Also Published As

Publication number Publication date
CN112698594A (en) 2021-04-23

Similar Documents

Publication Publication Date Title
CN112698594B (en) Equipment control method and device
EP3730855B1 (en) Air conditioning unit networking method, device and system, storage medium, and processor
CN104254097A (en) Flow control method and device
CN103957405A (en) Set top box test method, device and system
CN111724784A (en) Equipment control method and device
EP3214382A1 (en) Drainage control method and device of dehumidifier and dehumidifier
CN102393614B (en) Image processing apparatus, image processing system, and power saving mode shift controlling method
EP3327896B1 (en) Power supply control method and apparatus of power strip, computer program and recording medium
CN111506496A (en) Test data acquisition method and device, electronic equipment and storage medium
CN103823727B (en) A kind of backup method of live recording and device
CN111083024B (en) Intelligent household voice message leaving method and device based on household brain
JP2017508391A (en) Method for matching data and event gap transmitted / received in network using different communication technologies
CN112153122A (en) Information processing method and device
CN109470303B (en) Method and device for acquiring temperature and humidity data information
CN110235394B (en) Method for realizing high-frequency carrier synchronization and related device
CN116723350A (en) Method for automatically capturing picture to prevent interference
CN110737550B (en) Color identification detection method and device for terminal equipment
CN113133097B (en) Wireless communication method and system
CN111142422A (en) Sensor information processing method for ios system
CN113742168A (en) Internet of things data monitoring method, device and system and computer readable storage medium
CN111885097A (en) Network card processing method and device, electronic equipment and storage medium
CN113566391A (en) Air conditioner operation control method and device and air conditioner system
CN110908947A (en) Hot plug method and device for frame type equipment line card, main control board and frame type equipment
CN107094297B (en) Equipment identification method and device
CN110806523A (en) Method and device for detecting key performance

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