CN114553919B - Data processing method, device and storage medium - Google Patents

Data processing method, device and storage medium Download PDF

Info

Publication number
CN114553919B
CN114553919B CN202210080447.9A CN202210080447A CN114553919B CN 114553919 B CN114553919 B CN 114553919B CN 202210080447 A CN202210080447 A CN 202210080447A CN 114553919 B CN114553919 B CN 114553919B
Authority
CN
China
Prior art keywords
type
data frame
controlled
control
equipment
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
CN202210080447.9A
Other languages
Chinese (zh)
Other versions
CN114553919A (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.)
Wuhan Linptech Co Ltd
Original Assignee
Wuhan Linptech 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 Wuhan Linptech Co Ltd filed Critical Wuhan Linptech Co Ltd
Priority to CN202210080447.9A priority Critical patent/CN114553919B/en
Publication of CN114553919A publication Critical patent/CN114553919A/en
Application granted granted Critical
Publication of CN114553919B publication Critical patent/CN114553919B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0023Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the signalling
    • H04L1/0028Formatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0079Formats for control data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0083Formatting with frames or packets; Protocol or part of protocol for error control
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management
    • 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]

Abstract

The disclosure relates to a data processing method, a data processing device and a storage medium. The method comprises the following steps: acquiring equipment information of control equipment and control information generated by the control equipment; generating a first type data frame according to the equipment information and the control information; the first type data frame comprises an address field and a load part, a first part in the equipment information forms the address field of the first type data frame, and a second part in the equipment information and the control information jointly form the load part of the first type data frame. The method and the device can improve the transmission efficiency and accuracy of the data frame, reduce the transmission power consumption of the data frame, increase the standby time length and the like.

Description

Data processing method, device and storage medium
Technical Field
The disclosure relates to the field of communication technologies, and in particular, to a data processing method, a data processing device and a storage medium.
Background
With the rapid development of the internet of things, the number of connected internet of things devices, the number of sensors and the number of actuators are continuously increased. At the network edge of the internet of things, there are a large number of end nodes, and although these individual nodes may all require very low power requirements and do not need to run continuously (only start up when needed), the increasing number of nodes can produce very high total power consumption. The energy collection technology is to recover and convert energy which is generated by heat electricity, vibration, movement, solar energy and the like but not utilized into electric energy, and replace a battery to supply power for application, so that the energy collection technology is more and more important in the deployment of the Internet of things.
The key to realizing the battery-free power supply function of the electronic device through energy collection is that the electronic device needs to support a low-power technology of an ultra-low power wireless protocol, and wireless data transmission of the internet of things has standard protocols such as wireless fidelity (WIRELESS FIDELITY, wi-Fi), a wireless internet protocol (Zigbee) of low-speed short-distance transmission, bluetooth and the like. However, wi-Fi, bluetooth and the like are designed for mass data transmission, so that the biggest problem of applying battery-powered electronic equipment to the field of the internet of things is that consumed power is too high, and the special requirements of the personalized internet of things for the internet of things on the connection of things cannot be met.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a data processing method, apparatus, and storage medium.
According to a first aspect of an embodiment of the present disclosure, there is provided a data processing method, including:
acquiring equipment information of control equipment and control information generated by the control equipment;
Generating a first type data frame according to the equipment information and the control information;
the first type data frame comprises an address field and a load part, a first part in the equipment information forms the address field of the first type data frame, and a second part in the equipment information and the control information jointly form the load part of the first type data frame.
In some embodiments, the device information includes: the source identification of the control device and the device type of the control device, and the control information comprises: controlling parameters;
the generating a first type data frame according to the equipment information and the control information comprises the following steps:
Generating a first type data frame according to the source identification of the control equipment, the equipment type of the control equipment and the control parameter; wherein the source identifier is used for determining an address field of the first type of data frame; the method further comprises the steps of:
determining the device type of the controlled device;
Determining the type of a command for controlling the controlled device according to the device type of the controlled device and the control parameter;
generating a second class data frame according to the device type of the controlled device and the type of the command;
Wherein, the data types of the data carried by the preset bits in the frame control domain of the first type data frame and the second type data frame are different; the destination identification of the controlled device is used to determine the address field of the second class data frame.
In some embodiments, the second type data frame is formed by an address field of the second type data frame and a payload portion of the second type data frame.
In some embodiments, the byte length corresponding to the payload portion of the second class data frame is determined by the type of the command.
In some embodiments, when the command is of a first type, the payload portion of the second type data frame is determined by the device type of the controlled device, the first type, and first command content;
the first command content is determined by the type of the command.
In some embodiments, when the command is of a first type and the control parameter of the control device is null, the payload portion of the second type data frame is determined by the device type of the controlled device and the first type.
In some embodiments, when the command is of a second type and the command of the second type has a first attribute, the payload portion of the second type data frame is determined by the device type of the controlled device, the second type and a second command content;
The second command content is determined by the type of the command.
In some embodiments, when the command is of a second type and the command of the second type has a second attribute, the payload portion of the second type data frame is determined by the device type of the controlled device, the second type and a third command content;
the third command content is determined by a device type of the controlled device and a type of the command.
In some embodiments, the method further comprises:
determining a third class of data frame according to the second class of data frame; the data types of the data carried by the preset bits in the frame control domain of the third type data frame, the first type data frame and the second type data frame are different; the third class of data frames comprises: an address field and a payload portion, the address field of the third class of data frame being determined by the source identification; the load part of the third type data frame is determined by the device type of the controlled device, the type of the command and the fourth command content;
the fourth command content is determined by the device type of the controlled device, or by the type of the command, or by both the type of the command and the device type of the controlled device.
In some embodiments, the frame control field of the second class data frame carries forwarding information;
The forwarding information is used for triggering the function of forwarding data to other controlled devices by the controlled device.
In some embodiments, the payload portion of the second type data frame carries channel information;
the channel information is used for determining different transmission channels corresponding to different data frames.
In some embodiments, the first type of data frame and/or the second type of data frame carries verification information;
The verification information is used for: dividing the first class data frame and/or the second class data frame into a first part and a second part from a preset position, and checking the first part to obtain a first checking result corresponding to the first part; and verifying the second part to obtain a second verification result corresponding to the second part, or verifying the first part, the first verification result and the second part to obtain the second verification result.
In some embodiments, the first type of data frame and/or the second type of data frame includes a frame header portion, the frame header portion being determined by protocol version information, the protocol version information being used to determine a data protocol type for data processing.
According to a second aspect of the embodiments of the present disclosure, there is provided a data processing method, applied to a controlled device, including:
The state information of the controlled equipment is sent to an intelligent control center, so that the intelligent control center matches the controlled equipment with the controlled equipment according to the state information of the controlled equipment and the state information of the controlled equipment;
receiving a matching result from the intelligent control center; the matching result is used for establishing communication connection between the control equipment and the controlled equipment.
In some embodiments, the sending the status information of the controlled device to an intelligent control center includes:
and in a preset time unit, sending the state information to the intelligent control center according to a first time interval.
In some embodiments, the sending the status information of the controlled device to an intelligent control center includes:
And sending the state information to the intelligent control center according to a second time interval within a preset time length taking the power-on time of the controlled equipment as the starting time.
In some embodiments, the sending the status information of the controlled device to an intelligent control center includes:
And when the controlled equipment is detected to meet the preset trigger condition, sending the state information to the intelligent control center according to a third time interval.
In some embodiments, the sending the status information of the controlled device to an intelligent control center includes:
When the communication connection between the control equipment and the controlled equipment is in a disconnected state, receiving a first trigger instruction sent by the control equipment; the control device is a control device which has established connection with a controlled device, or is a control device which has not established connection with the controlled device, or is a control device with a preset address;
and responding to the first trigger instruction, and sending the state information of the controlled equipment to the intelligent control center according to a fourth time interval.
In some embodiments, the sending the status information of the controlled device to an intelligent control center includes:
receiving a query instruction from the intelligent control center;
And responding to the inquiry instruction, and sending the state information of the controlled equipment to the intelligent control center according to a fifth time interval.
In some embodiments, the method further comprises:
Based on the matching result, receiving a control signal from the control device corresponding to the controlled device; wherein the control signal includes a second type data frame generated according to a device type of the controlled device and a type of a command for controlling the controlled device;
Generating a response signal from the third type of data frame in response to the control signal; wherein the third class data frame is generated according to a device type of the controlled device and a type of a command for controlling the controlled device;
and sending the response signal to the control equipment.
In some embodiments, the sending the response signal to the control device includes:
Transmitting the response signal to the control device through a communication connection with the control device; or alternatively
And sending the response signal to the control equipment through the intelligent control center.
In some embodiments, the method further comprises:
determining the transmitting direction of the response signal according to the equipment configuration sequence of the control equipment and the intelligent control center;
The transmission direction includes: a direction from the control device to the intelligent control center, or a direction from the intelligent control center to the control device.
In some embodiments, the method further comprises:
Performing byte order conversion processing on the third class data frame to obtain a third class data frame with a preset mode; wherein, the preset mode includes: a preset large end mode and a preset small end mode;
And generating the response signal according to a third type data frame of a preset mode.
In some embodiments, the method further comprises:
Forwarding the control signal to other controlled devices according to forwarding information carried in the control signal;
The forwarding information is used for triggering the function of forwarding data to other controlled devices by the controlled device.
In some embodiments, the method further comprises:
And stopping sending the response signal when the electric quantity allowance of the control equipment is determined to be smaller than a preset electric quantity threshold value.
According to a third aspect of the embodiments of the present disclosure, there is provided a data processing method, applied to a control apparatus, including:
the state information of the control equipment is sent to an intelligent control center, so that the intelligent control center matches the control equipment with the controlled equipment according to the state information of the control equipment and the state information of the controlled equipment;
receiving a matching result from the intelligent control center; the matching result is used for establishing communication connection between the control equipment and the controlled equipment.
In some embodiments, the method further comprises:
Triggering a first trigger instruction based on the detected input operation when the communication connection between the control device and the controlled device is in a disconnected state;
Sending the first trigger instruction to the controlled equipment; the first trigger instruction is used for indicating the controlled equipment to send the state information of the controlled equipment to the intelligent control center.
In some embodiments, the method further comprises:
When a preset trigger operation is detected, generating a control signal according to the second class data frame; wherein the second class data frame is generated according to a device type of the controlled device and a type of a command for controlling the controlled device;
And transmitting the control signal to the controlled equipment based on the matching result.
In some embodiments, the transmitting the control signal to the controlled device includes:
transmitting the control signal to the controlled device through a communication connection with the controlled device; or alternatively
And forwarding the control signal to the controlled equipment through the intelligent control center.
In some embodiments, the method further comprises:
determining the sending direction of the control signal according to the equipment configuration sequence of the intelligent control center and the controlled equipment;
the transmission direction includes: a direction from the intelligent control center to the controlled device, or a direction from the controlled device to the intelligent control center.
In some embodiments, the method further comprises:
Performing byte order conversion processing on the second class data frame to obtain a second class data frame with a preset mode; wherein, the preset mode includes: a preset large end mode and a preset small end mode;
and generating the control signal according to the second class data frame of the preset mode.
In some embodiments, the method further comprises:
receiving a response signal returned by the controlled equipment based on the control signal;
Wherein the response signal includes the third type of data frame; the third class data frame is generated according to a device type of the controlled device and a type of a command for controlling the controlled device.
In some embodiments, the receiving the response signal returned by the controlled device based on the control signal includes:
receiving the response signal through a communication connection with the controlled device; or alternatively
And receiving the response signal through the intelligent control center.
In some embodiments, the method further comprises:
and stopping receiving the response signal when the electric quantity allowance of the control equipment is smaller than a preset electric quantity threshold value.
In some embodiments, the control device is a self-generating power supply device, the method further comprising:
And generating electric energy through a preset trigger event, and providing energy for the control equipment to transmit and receive signals through the generated electric energy.
According to a fourth aspect of embodiments of the present disclosure, there is provided a data processing apparatus comprising:
The device comprises an acquisition module, a control module and a control module, wherein the acquisition module is configured to acquire equipment information of control equipment and control information generated by the control equipment;
The generation module is configured to generate a first type data frame according to the equipment information and the control information;
the first type data frame comprises an address field and a load part, a first part in the equipment information forms the address field of the first type data frame, and a second part in the equipment information and the control information jointly form the load part of the first type data frame.
In some embodiments, the device information includes: the source identification of the control device and the device type of the control device, and the control information comprises: controlling parameters;
the generating module is configured to:
Generating a first type data frame according to the source identification of the control equipment, the equipment type of the control equipment and the control parameter; wherein the source identifier is used for determining an address field of the first type of data frame; the apparatus further comprises:
a first determining module configured to determine a device type of a controlled device;
a second determining module configured to determine a type of a command for controlling the controlled device according to the device type of the controlled device and the control parameter;
a third determining module configured to generate a second class data frame according to the device type of the controlled device and the type of the command;
Wherein, the data types of the data carried by the preset bits in the frame control domain of the first type data frame and the second type data frame are different; the destination identification of the controlled device is used to determine the address field of the second class data frame.
In some embodiments, the second type data frame is formed by an address field of the second type data frame and a payload portion of the second type data frame.
In some embodiments, the byte length corresponding to the payload portion of the second class data frame is determined by the type of the command.
In some embodiments, when the command is of a first type, the payload portion of the second type data frame is determined by the device type of the controlled device, the first type, and first command content;
the first command content is determined by the type of the command.
In some embodiments, when the command is of a first type and the control parameter of the control device is null, the payload portion of the second type data frame is determined by the device type of the controlled device and the first type.
In some embodiments, when the command is of a second type and the command of the second type has a first attribute, the payload portion of the second type data frame is determined by the device type of the controlled device, the second type and a second command content;
The second command content is determined by the type of the command.
In some embodiments, when the command is of a second type and the command of the second type has a second attribute, the payload portion of the second type data frame is determined by the device type of the controlled device, the second type and a third command content;
the third command content is determined by a device type of the controlled device and a type of the command.
In some embodiments, the apparatus further comprises:
A fourth determining module configured to determine a third class of data frames from the second class of data frames; the data types of the data carried by the preset bits in the frame control domain of the third type data frame, the first type data frame and the second type data frame are different; the third class of data frames comprises: an address field and a payload portion, the address field of the third class of data frame being determined by the source identification; the load part of the third type data frame is determined by the device type of the controlled device, the type of the command and the fourth command content;
the fourth command content is determined by the device type of the controlled device, or by the type of the command, or by both the type of the command and the device type of the controlled device.
In some embodiments, the frame control field of the second class data frame carries forwarding information;
The forwarding information is used for triggering the function of forwarding data to other controlled devices by the controlled device.
In some embodiments, the payload portion of the second type data frame carries channel information;
the channel information is used for determining different transmission channels corresponding to different data frames.
In some embodiments, the data frame carries verification information;
The verification information is used for: dividing the data frame into a first part and a second part from a preset position, and checking the first part to obtain a first checking result corresponding to the first part; and verifying the second part to obtain a second verification result corresponding to the second part, or verifying the first part, the first verification result and the second part to obtain the second verification result.
In some embodiments, the data frame includes a frame header portion, the frame header portion being determined by protocol version information, the protocol version information being used to determine a data protocol type for data processing.
According to a fifth aspect of embodiments of the present disclosure, there is provided a data processing apparatus applied to a controlled device, including:
The sending module is configured to send the state information of the controlled equipment to the intelligent control center, so that the intelligent control center matches the controlled equipment with the controlled equipment according to the state information of the controlled equipment and the state information of the controlled equipment;
The receiving module is configured to receive a matching result from the intelligent control center; the matching result is used for establishing communication connection between the control equipment and the controlled equipment.
In some embodiments, the transmitting module is configured to:
and in a preset time unit, sending the state information to the intelligent control center according to a first time interval.
In some embodiments, the transmitting module is configured to:
And sending the state information to the intelligent control center according to a second time interval within a preset time length taking the power-on time of the controlled equipment as the starting time.
In some embodiments, the transmitting module is configured to:
And when the controlled equipment is detected to meet the preset trigger condition, sending the state information to the intelligent control center according to a third time interval.
In some embodiments, the transmitting module is configured to:
When the communication connection between the control equipment and the controlled equipment is in a disconnected state, receiving a first trigger instruction sent by the control equipment; the control device is a control device which has established connection with a controlled device, or is a control device which has not established connection with the controlled device, or is a control device with a preset address;
and responding to the first trigger instruction, and sending the state information of the controlled equipment to the intelligent control center according to a fourth time interval.
In some embodiments, the transmitting module is configured to:
receiving a query instruction from the intelligent control center;
And responding to the inquiry instruction, and sending the state information of the controlled equipment to the intelligent control center according to a fifth time interval.
In some embodiments, the apparatus further comprises:
The matching module is configured to receive a control signal from the control equipment corresponding to the controlled equipment based on the matching result; wherein the control signal includes a second type data frame generated according to a device type of the controlled device and a type of a command for controlling the controlled device;
A response module configured to generate a response signal from a third type of data frame in response to the control signal; wherein the third class data frame is generated according to a device type of the controlled device and a type of a command for controlling the controlled device;
And the first transmission module is configured to send the response signal to the control equipment.
In some embodiments, the first transmission module is configured to:
Transmitting the response signal to the control device through a communication connection with the control device; or alternatively
And sending the response signal to the control equipment through the intelligent control center.
In some embodiments, the apparatus further comprises:
A fifth determining module configured to determine a transmission direction of the response signal according to the device configuration sequences of the control device and the intelligent control center;
The transmission direction includes: a direction from the control device to the intelligent control center, or a direction from the intelligent control center to the control device.
In some embodiments, the apparatus further comprises:
the conversion module is configured to perform byte order conversion processing on the third class data frame to obtain a third class data frame in a preset mode; wherein, the preset mode includes: a preset large end mode and a preset small end mode;
And a sixth determining module configured to generate the response signal according to a third type of data frame of a preset mode.
In some embodiments, the apparatus further comprises:
the forwarding module is configured to forward the control signal to other controlled equipment according to forwarding information carried in the control signal;
The forwarding information is used for triggering the function of forwarding data to other controlled devices by the controlled device.
In some embodiments, the apparatus further comprises:
And the first stopping module is configured to stop sending the response signal when the electric quantity allowance of the control equipment is determined to be smaller than a preset electric quantity threshold value.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a data processing apparatus applied to a control device, including:
The sending module is configured to send the state information of the control equipment to the intelligent control center, so that the intelligent control center matches the control equipment with the controlled equipment according to the state information of the control equipment and the state information of the controlled equipment;
The receiving module is configured to receive a matching result from the intelligent control center; the matching result is used for establishing communication connection between the control equipment and the controlled equipment.
In some embodiments, the apparatus further comprises:
a detection module configured to trigger a first trigger instruction based on a detected input operation when a communication connection between the control device and the controlled device is in a disconnected state;
The second transmission module is configured to send the first trigger instruction to the controlled equipment; the first trigger instruction is used for indicating the controlled equipment to send the state information of the controlled equipment to the intelligent control center.
In some embodiments, the apparatus further comprises:
a seventh determining module configured to generate a control signal according to the second class data frame when a preset trigger operation is detected; wherein the second class data frame is generated according to a device type of the controlled device and a type of a command for controlling the controlled device;
And the third transmission module is configured to send the control signal to the controlled equipment based on the matching result.
In some embodiments, the third transmission module is configured to:
transmitting the control signal to the controlled device through a communication connection with the controlled device; or alternatively
And forwarding the control signal to the controlled equipment through the intelligent control center.
In some embodiments, the apparatus further comprises:
An eighth determining module configured to determine a transmission direction of the control signal according to the device configuration order of the intelligent control center and the controlled device;
the transmission direction includes: a direction from the intelligent control center to the controlled device, or a direction from the controlled device to the intelligent control center.
In some embodiments, the apparatus further comprises:
A ninth determining module, configured to perform byte order conversion processing on the second class data frame to obtain a second class data frame in a preset mode; wherein, the preset mode includes: a preset large end mode and a preset small end mode;
And the fourth transmission module is configured to generate the control signal according to the second class data frame of the preset mode.
In some embodiments, the apparatus further comprises:
A fifth transmission module configured to receive a response signal returned by the controlled device based on the control signal;
Wherein the response signal includes the third type of data frame; the third class data frame is generated according to a device type of the controlled device and a type of a command for controlling the controlled device.
In some embodiments, the fifth transmission module is configured to:
receiving the response signal through a communication connection with the controlled device; or alternatively
And receiving the response signal through the intelligent control center.
In some embodiments, the apparatus further comprises:
And the second stopping module is configured to stop receiving the response signal when the electric quantity allowance of the control equipment is smaller than a preset electric quantity threshold value.
In some embodiments, the control device is a self-generating power supply device, the apparatus further comprising:
and the sixth transmission module is configured to generate electric energy through a preset trigger event and provide energy for the control equipment to transmit and receive signals through the generated electric energy.
According to a seventh aspect of the embodiments of the present disclosure, there is provided a data processing apparatus comprising:
A processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to: the steps of any of the data processing methods of the first, second or third aspects described above are implemented when executed.
According to an eighth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium, which when executed by a processor of a data processing apparatus, causes the apparatus to perform the steps of any one of the above-described first, second or third aspects of the data processing method.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
In the embodiment of the disclosure, equipment information of control equipment and control information generated by the control equipment can be acquired; generating a first type data frame according to the equipment information and the control information; the first type data frame comprises an address field and a load part, a first part in the equipment information forms the address field of the first type data frame, and a second part in the equipment information and the control information jointly form the load part of the first type data frame.
According to the method and the device, the data format of the data frame in the wireless transmission process between the control device and the controlled device and the wireless transmission mode between the control device and the controlled device are set, the device information and the control information are inserted into the data frame, the device information and the control information of the control device can be directly carried to the controlled device in the data frame transmission process, and compared with the data transmission process by establishing an additional data channel, the method and the device can improve the transmission efficiency and accuracy of the data frame, reduce the transmission power consumption of the data frame and increase the standby time length.
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
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart one of a data processing method according to an exemplary embodiment of the present disclosure.
Fig. 2 is a flow chart two of a data processing method according to an exemplary embodiment of the present disclosure.
Fig. 3 is a flowchart three illustrating a data processing method according to an exemplary embodiment of the present disclosure.
Fig. 4A is a transmission diagram illustrating a wireless data transmission according to an exemplary embodiment of the present disclosure.
Fig. 4B is a schematic diagram of a message data structure according to an exemplary embodiment of the present disclosure.
FIG. 5 is a block diagram of a data processing apparatus according to an exemplary embodiment of the present disclosure.
FIG. 6 is a block diagram two of a data processing apparatus according to an exemplary embodiment of the present disclosure.
FIG. 7 is a block diagram three of a data processing apparatus according to an exemplary embodiment of the present disclosure.
Fig. 8 is a block diagram of a hardware structure of a data processing apparatus according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
FIG. 1 is a flowchart of a data processing method according to an exemplary embodiment, as shown in FIG. 1, and mainly includes the following steps:
in step 101, acquiring device information of a control device and control information generated by the control device;
in step 102, a first type data frame is generated according to the device information and the control information;
the first type data frame comprises an address field and a load part, a first part in the equipment information forms the address field of the first type data frame, and a second part in the equipment information and the control information jointly form the load part of the first type data frame.
Here, the control device (may also be referred to as a transmitter) may be a device capable of generating and transmitting commands and having a wireless transmission function. For example, it may refer to a device having radio transmission functions such as radio frequency radio transmission, infrared transmission, bluetooth transmission, wiFi transmission, and the like for generating and transmitting commands for control, management, and the like. The control device may include: self-generating switches, battery switches, sensors, etc. The controlled device (may also be referred to as a receiver) may be a device capable of receiving and executing commands and having a wireless transmission function, for example, a device having a wireless transmission function such as radio frequency wireless transmission, infrared transmission, bluetooth transmission, wiFi transmission, or the like for receiving and executing commands such as control, management, or the like.
In some embodiments, the controlled device may include: wall switch, single-way actuator, multi-way actuator, electric curtain, lamp, television, air conditioner, etc. The control device may instruct the controlled device to perform a transition of the operation state, etc., by sending a corresponding command, for example: after receiving the closing instruction of the wireless control switch, the wireless control lamp switches the lamp from the on state to the off state. The control device has a correspondence relationship with the controlled device, for example: one control device may correspond to one controlled device, one control device may also correspond to a plurality of controlled devices, a plurality of control devices may also correspond to one controlled device, and the like.
The embodiment of the present disclosure may preset types of control devices and controlled devices, for example: the type of control device may be determined by factors such as the shape of the control device or the number of individual switches. The control device may include: and the control equipment comprises a single-opening self-electric switch, a double-opening self-electric switch, a three-opening self-electric switch, a four-opening self-electric switch, a round single-key switch, a round double-key switch, a round triple-key switch, a passive transmitter and the like. For example: the type of the controlled device may be determined by factors such as the number of channels of the controlled device or the purpose of the job. The controlled device may include: a 1-channel receiver, a 2-channel receiver, an 8-channel receiver, etc.; a wall switch of 1 channel (with gesture sensing function), a wall switch of 2 channels (with gesture sensing function), etc.; wall switches of 1 channel (without gesture sensing function), wall switches of 2 channels (without gesture sensing function), etc.; a single live wire wall switch (without gesture sensing function) of 1 channel, a doorbell, a dimmable device, a curtain motor controller with double-output, a dimming control board and other controlled devices.
The device information of the control device may include at least one of: the device type, power, device unique identification, device network address, or installation location of the control device. The control information generated by the control device may include at least one of: information such as operation information of the user detected by the control device, device type of the controlled device, operation state of the controlled device, and the like, for example: if the control device includes a pressure sensor, when the user performs a pressing operation on the control device, the control information may refer to the magnitude of pressing force detected by the pressure sensor, and the like.
The data frame may be a protocol data unit of the data link layer, and may include at least three parts: frame header, data portion, frame trailer, etc. The first type data frame at least comprises an address field and a load part, a first part in the equipment information forms the address field of the first type data frame, and a second part in the equipment information and the control information jointly form the load part of the first type data frame. The contents of the first portion and the second portion may or may not overlap, and the disclosure is not particularly limited. For example: the address field of the first type data frame may carry a network address of the control device, for example, the network address may be 192.168.101.1.1, or an address bit of 18 bits or 32 bits agreed by a protocol, which belongs to device information (i.e., a first portion), the load portion of the first type data frame may carry device information control information of the controlled device, for example, the device information may be a three-on self-generating switch, and the control information may be on or off of a certain bit switch.
In the embodiment of the disclosure, equipment information of control equipment and control information generated by the control equipment can be acquired; generating a first type data frame according to the equipment information and the control information; the first type data frame comprises an address field and a load part, a first part in the equipment information forms the address field of the first type data frame, and a second part in the equipment information and the control information jointly form the load part of the first type data frame. According to the method and the device, the data format of the data frame in the wireless transmission process between the control device and the controlled device and the wireless transmission mode between the control device and the controlled device are set, the device information and the control information are inserted into the data frame, the device information and the control information of the control device can be directly carried to the controlled device in the data frame transmission process, and compared with the data transmission process by establishing an additional data channel, the method and the device can improve the transmission efficiency and accuracy of the data frame, reduce the transmission power consumption of the data frame and increase the standby time length.
In some embodiments, the device information includes: the source identification of the control device and the device type of the control device, and the control information comprises: controlling parameters;
the generating a first type data frame according to the equipment information and the control information comprises the following steps:
Generating a first type data frame according to the source identification of the control equipment, the equipment type of the control equipment and the control parameter; wherein the source identifier is used for determining an address field of the first type of data frame; the method further comprises the steps of:
determining the device type of the controlled device;
Determining the type of a command for controlling the controlled device according to the device type of the controlled device and the control parameter;
generating a second class data frame according to the device type of the controlled device and the type of the command;
Wherein, the data types of the data carried by the preset bits in the frame control domain of the first type data frame and the second type data frame are different; the destination identification of the controlled device is used to determine the address field of the second class data frame.
In an embodiment of the disclosure, the device information may at least include a source identifier of the control device, a device type of the control device, and the control information may at least include a control parameter. The Source identification (Source ID) may refer to an identification (e.g., without limitation, an internet protocol address, a device unique number, etc.) corresponding to the control device, and the Source identification may be unique. The method for determining the device type of the controlled device is not particularly limited, and the corresponding control device can be determined according to the source identifier, or the device type of the controlled device can be set in advance in a self-defined manner. The device type may refer to a single-on self-power switch, a double-on self-power switch, a 1-channel receiver, a 2-channel receiver, and the like, and the control device may read the device type from the preset storage unit when generating the first type data frame by receiving the device type uploaded from the user and then storing the device type in the preset storage unit.
The control parameter may be determined according to a user's operation detected by the control device, for example: if the control device is a single-open switch, when a user changes the open state of the single-open switch into the closed state, the control parameter can be changed from 0 to 1, etc.; if the control device is a pressure sensor, when the user performs a pressing operation on the pressure sensor, the control parameter may be generated according to the magnitude of the pressing force detected by the pressure sensor.
The embodiment of the disclosure can generate a first type of data frame according to the source identification of the control device, the device type of the control device and the control parameter. For example: the source identifier is used to determine an address field of the first type of data frame, and the device type and control parameters of the control device may together determine a payload portion of the first type of data frame, etc. Types of commands for controlling the controlled device may include: commands for data processing, commands for control (also called device control commands), commands for management (also called device management commands), and the like. For example: state inquiry, switch control, brightness control, bell control, travel control and other equipment control commands; and configuring gesture sensing functions of the wall switch, the indicator lamp, and equipment management commands such as reading gesture sensing functions of the wall switch, and the configuration of the indicator lamp.
The method and the device can determine the type of a command for controlling the controlled device according to the device type of the controlled device and the control parameter, and then the electronic device can generate a second type data frame according to the device type of the controlled device and the type of the command by determining the device type of the controlled device. For example: the device type of the controlled device and the type of the command may jointly determine a payload portion of the second type data frame, etc.
The data types of the data carried by the preset bits in the frame control domain of the first type data frame and the second type data frame are different, the data carried by the preset bits can be data with any length or any position in the data frame, the type of the data frame is not limited, and the data frame can be set in a self-defining mode according to actual use requirements. For example: for the first type of data frames may refer to data frames of value 00001 of the lower 5 bits (b 0, b1,..b4 bits) in the frame control domain and for the second type of data frames may refer to data frames of value 00002 of the lower 5 bits in the frame control domain. In one possible embodiment, the first type of data frame may refer to a data frame transmitted from a Node (Node) end of the control device to a Gateway (Gateway) end, the second type of data frame may refer to a data frame transmitted from the Gateway end to the Node end, and so on, where the Gateway end may refer to an intelligent control center.
In the embodiment of the disclosure, the second class data frame can be generated according to the device type of the controlled device and the type of the command, so that the data structures of the data frames of different types can be accurately determined, the data frame types are refined, and the workload of developers is reduced.
In the embodiment of the disclosure, the data frame may be composed of a Header (Header), a Payload (Payload) (may also be referred to as a data portion, etc.), a Footer (Footer), etc. The Frame header may be composed of a Frame Control field (Frame Control), a Frame Sequence Number (Sequence Number), an address field (ADDRESSING FIELDS), and the like. The frame control domain contains basic frame information with the length of 16 bits, the frame sequence number is used for distinguishing the data frames which are transmitted successively, and the address domain is used for determining the transmission direction of the data frames and the like; the length of the load part is variable, and the specific content is determined by the frame type; the end of frame may be a 16bit cyclic redundancy check (Cyclic Redundancy Check, CRC) value of the frame header and payload data, etc.
In the embodiment of the disclosure, the address field of the first type of data frame may be determined by the source identifier, and the address field of the second type of data frame may be determined by the destination identifier. For example: the electronic device determines that the data frame is of a first type, then it may be determined that the address field in the data frame is written with the source identifier 192.168.102.7 or a number of a specific number of bits, and that the data frame is of a second type, then it may be determined that the address field in the data frame is written with the destination identifier 192.168.202.7 or a number of a specific number of bits, and so on. The electronic device can simply and quickly determine the type or the transmission direction of the data frame through the address field, and the like, thereby being beneficial to improving the transmission efficiency. The payload portion of the first type of data frame may be formed jointly by the device type of the control device and the control parameters, for example: the control device determines that the device type of the control device is a circular double-key switch (corresponding number D2 can be marked), and the control parameter is 01 (i.e. the a key is open, the b key is closed, and the like), and then the control device can write the device type D2 and the control parameter 01 into a load part in a data frame, and the like.
In the embodiment of the disclosure, the source identifier can be used for determining the address field of the first type data frame, the target identifier can be used for determining the address field of the second type data frame, and the equipment type and the control parameter of the control equipment jointly form the load part of the first type data frame, so that the data structures of different types of data frames can be accurately set, the data frame types are refined, the workload of developers is reduced, and the like.
In some embodiments, the second type data frame is formed by an address field of the second type data frame and a payload portion of the second type data frame.
In an embodiment of the disclosure, the second type data frame is at least formed by an address field of the second type data frame and a payload portion of the second type data frame together, for example: for example: the device type of the controlled device is a single-channel receiver, the first type is basic state inquiry, the first command content is empty, and the like, and the load part is written in sequence. After determining the address field and the load part of the second class data frame, the electronic device inserts other parts such as the frame head or the frame tail according to a preset rule to generate a complete second class data frame. By adopting the mode, the data structure of different types of data frames can be accurately set, various information such as the transmission direction, the type of the command and the like can be definitely transmitted, the transmission efficiency is improved, and the running power consumption and the like are saved.
In some embodiments, the byte length corresponding to the payload portion of the second class data frame is determined by the type of the command.
In the embodiment of the disclosure, the byte length corresponding to the payload portion of the second type of data frame may be variable, and the byte length may be determined by the type of the command. For example: the command is a command for data processing, and then the byte length corresponding to the payload portion of the second type data frame may be 5 bytes, the byte length corresponding to the device control command may be 7 bytes, the byte length corresponding to the device management command may be 9 bytes, and so on. The method and the device can save transmission resources and quickly determine the type of the command and the like through the load parts of the second class data frames with different byte lengths.
In some embodiments, when the command is of a first type, the payload portion of the second type data frame is determined by the device type of the controlled device, the first type, and first command content;
the first command content is determined by the type of the command.
In the embodiment of the present disclosure, the first type may refer to a device control command, after a data frame is acquired, it may be determined whether an address field of the data frame is a source identifier or a target identifier, a determination result is obtained, and then a corresponding data frame type is determined according to the determination result. After determining that the command carried in the data frame is of a first Type (i.e. a device control command) by presetting the data Type of the data carried by the bit in the frame control field of the data frame, the first command content (Cmd Date) corresponding to the command of the first Type may then be determined according to the Type (Cmd Type) of the command. The electronic device determines that the type of command is a device control command, then the corresponding command content may be determined depending only on the type of command, for example: the basic state query corresponds to a command content being null, the basic switch control corresponds to a command content being a first Byte representing channel information, a second Byte representing switching information, etc. (e.g., without limitation, byte 1:Channel,Byte 2:Switch), etc. The electronic device may then determine a Payload portion (Frame Payload) of the second Type of data Frame based on the device Type (DEVICE TYPE) of the controlled device, the first Type (Cmd Type,1 Byte), and the first command content (Cmd Date). The method and the device can accurately determine the corresponding command content and the like by setting the first command content to be determined by the type of the command.
In some embodiments, when the command is of a first type and the control parameter of the control device is null, the payload portion of the second type data frame is determined by the device type of the controlled device and the first type.
In the embodiment of the disclosure, when the command is of a first type and the control parameter of the control device is null, the load portion of the second type data frame may only need to be determined by the device type of the controlled device and the first type, for example: the device type of the controlled device is a curtain motor, the first type is a basic state query, and the load part of the second type data frame can be determined jointly based on the device type being the curtain motor and the first type being the basic state query. By adopting the mode, transmission resources can be saved, transmission efficiency can be improved, and the like.
In some embodiments, when the command is of a second type and the command of the second type has a first attribute, the payload portion of the second type data frame is determined by the device type of the controlled device, the second type and a second command content;
The second command content is determined by the type of the command.
The attribute of a command may refer to an indispensable property that the command has, for example: encryption and non-encryption, public and private, common and non-common, etc. In the embodiment of the disclosure, the determination manner of the load part of the data frame of the commands with different attributes can be different.
In an embodiment of the present disclosure, the second type may refer to a device management command, and may include: the gesture sensing function and the indicator lamp of the wall switch are configured, or the gesture sensing function and the indicator lamp configuration of the wall switch are read. The first attribute may refer to a public attribute that may be understood as a limited enumeration (e.g., without limitation, switch state, etc.) of generic management commands that can be directed to the controlled device. When the electronic device determines that the device management command is a public attribute, the second command content (Cmd Date) may be determined only by the Type (Cmd Type) of the command, for example: when the command type is a device management command and has public attribute, the second command content can be the on or off of the indicator light.
The electronic device may then determine a Payload portion (Frame Payload) of the second type of Data Frame, etc., based on the device type (DEVICE TYPE) of the controlled device, the second type (MANAGEMENT CMD TYPE), and the second command content (Cmd Data). For example: the device type of the controlled device is a 3-way wall switch with a gesture sensing function, the second type is a gesture sensing function for configuring the wall switch, an indicator lamp is arranged, the second command content is that the indicator lamp is turned on, and the like, and the load part is sequentially written. After determining the address field and the load part of the second class data frame, the electronic device inserts other parts such as the frame head or the frame tail according to a preset rule to generate a complete second class data frame.
In the embodiment of the disclosure, when the command is of a second type and the command of the second type has a first attribute, determining a second command content corresponding to the command of the second type, determining a load part of the second type data frame according to the device type of the controlled device, the second type and the second command content, and generating the second type data frame according to an address field of the second type data frame and the load part of the second type data frame. By adopting the mode, the data structure of different types of data frames can be accurately set, various information such as the transmission direction, the type of the command and the like can be definitely transmitted, the transmission efficiency is improved, and the running power consumption and the like are saved.
In some embodiments, when the command is of a second type and the command of the second type has a second attribute, the payload portion of the second type data frame is determined by the device type of the controlled device, the second type and a third command content;
the third command content is determined by a device type of the controlled device and a type of the command.
In an embodiment of the present disclosure, the second type may refer to a device management command, and may include: the gesture sensing function and the indicator lamp of the wall switch are configured, or the gesture sensing function and the indicator lamp configuration of the wall switch are read. The second attribute may refer to a private attribute that may be understood as a command specific to a certain type of controlled device (e.g., without limitation, detecting facial expressions, etc.). When the electronic device determines that the device management command is a private attribute, the third command content (Cmd Date) needs to be determined by the device Type (DEVICE TYPE) of the controlled device and the Type (Cmd Type) of the command together, for example: when the command type is a device management command and has a private attribute, the second command content corresponding to the device type A can be a sensing distance, and the third command content corresponding to the device type B can be gesture sensing control and the like.
The electronic device may then determine a Payload portion (Frame Payload) of the second type of Data Frame, etc., based on the device type (DEVICE TYPE) of the controlled device, the second type (MANAGEMENT CMD TYPE), and the third command content (Cmd Data). For example: the device types of the controlled device are the dimmable device with the gesture sensing function, the second type is the gesture sensing function detected by the reading dimmable device, the third command content is that the indicator lamp is turned on, and the like, and the dimmable device with the gesture sensing function, the gesture sensing function detected by the reading dimmable device and the turn-on of the indicator lamp can be sequentially written into the load part. After determining the address field and the load part of the second class data frame, the electronic device inserts other parts such as the frame head or the frame tail according to a preset rule to generate a complete second class data frame.
In the embodiment of the disclosure, when the command is of the second type and the command of the second type has the second attribute, determining a third command content corresponding to the command of the second type according to the device type of the controlled device, determining a load part of the second type data frame according to the device type of the controlled device, the second type and the third command content, and generating the second type data frame according to the address field of the second type data frame and the load part of the second type data frame. By adopting the mode, the data structure of different types of data frames can be accurately set, various information such as the transmission direction, the type of the command and the like can be definitely transmitted, the transmission efficiency is improved, and the running power consumption and the like are saved.
In some embodiments, the method further comprises:
determining a third class of data frame according to the second class of data frame; the data types of the data carried by the preset bits in the frame control domain of the third type data frame, the first type data frame and the second type data frame are different; the third class of data frames comprises: an address field and a payload portion, the address field of the third class of data frame being determined by the source identification; the load part of the third type data frame is determined by the device type of the controlled device, the type of the command and the fourth command content;
the fourth command content is determined by the device type of the controlled device, or by the type of the command, or by both the type of the command and the device type of the controlled device.
In this embodiment of the present disclosure, the electronic device may determine a third type of data frame according to the second type of data frame, where the third type of data frame may carry information such as an external environment detected by the controlled device and a current running state, and the third type of data frame may at least include: address field and load part. The address field of the third class data frame is determined by the source identifier and can be used for determining a corresponding control device, and the load part of the third class data frame is determined by the device type of the controlled device, the type of the command and the fourth command content. The third type of data frame corresponding to the second type of data frame of different generation modes may also be different, for example: when the command type is a device control command, the corresponding third type data frame which can be the first type data frame; when the command type is a device management command, the corresponding data frame of the third type can be the second type; when the device management command has public attribute, the third class data frame of the second type also corresponds to the device management command has public attribute, and when the device management command has private attribute, the third class data frame of the second type also corresponds to the device management command has private attribute, and the like.
For the third class of data frames of the first type, the fourth command content may be determined only by the device type of the controlled device; for a third type of data frame of the second type having a common attribute, the fourth command content may be determined only by the type of the command; for a third class of data frames of the second type having private properties, the fourth command content needs to be determined jointly by the type of command and the device type of the controlled device.
By adopting the mode, the data transmission states of the definite control equipment and the controlled equipment can be accurately and timely determined, and the running power consumption of the electronic equipment is saved.
In some embodiments, the frame control field of the second class data frame carries forwarding information;
The forwarding information is used for triggering the function of forwarding data to other controlled devices by the controlled device.
In the embodiment of the disclosure, the forwarding information may include information such as forwarding times, forwarding time intervals, and the like. The controlled device may have a function of forwarding data so that a transmission distance of the data frame is increased. For example: the electronic device transmits the second class data frame to the controlled device a at the first location, then the controlled device a may transmit the second class data frame to the controlled device B at the second location, then the controlled device B may transmit the second class data frame to the controlled device C at the third location, and so on. In the process of forwarding data, the controlled devices A, B, C and the like can execute the corresponding command content and forward the command content, or only forward the command content and the like which do not execute the corresponding command content. A. The controlled devices such as B and C may also perform processes such as filtering or inserting new information into the second class data frame, and forwarding the second class data frame.
In the forwarding process, if forwarding is performed for an unlimited number of times, the forwarding cannot be stopped or the occupied frequency band is too large, and the transmission performance of the wireless transmission system is affected, so that a determined forwarding stopping rule can be set. The electronic device may set a manner of writing the number of forwarding times into a frame header portion (FRAME HEADER) of the data frame, etc., and stop forwarding when a certain number of forwarding times (for example, more than 2 times) is reached. For example: and setting the forwarding to be stopped for more than 2 times, stopping forwarding to other controlled equipment when the controlled equipment receives the forwarded second class data frame, and reading the forwarding times to be 3, wherein the controlled equipment terminates the forwarding process and the like. The controlled device a may update the current forwarding number (RC) in the second type data frame received from the intelligent control center from 0 to 1, and then the controlled device B may update the current forwarding number in the second type data frame received from the controlled device a from 1 to 2, etc., until the preset forwarding number reaches 3, etc. By adopting the mode, the transmission distance of the data frame and the like can be improved.
In some embodiments, the payload portion of the second type data frame carries channel information;
the channel information is used for determining different transmission channels corresponding to different data frames.
In the embodiment of the disclosure, the payload portion of the second class data frame carries channel information, where the channel information is used to determine different transmission channels corresponding to different data frames. The electronic device sends the second class data frame to the controlled device, including: determining a target transmission channel corresponding to the equipment type according to the equipment type and a preset mapping relation; the mapping relation is used for representing the association relation between the equipment and the transmission channel; and transmitting the second type data frame to the controlled equipment through the target transmission channel. For example: the device type of the control device is a square single-key switch, and then the electronic device can transmit a data frame related to the control device through a first Channel (Channel); the device type of the control device is a round three-key switch, and the electronic device may transmit a data frame associated with the control device via the second channel. By adopting the mode, the method is beneficial to the electronic equipment to quickly and accurately transmit the data frames, avoids the condition of data frame transmission disorder, improves the transmission efficiency and the like.
In some embodiments, at least one of the first class data frame, the second class data frame, the third class data frame, and other data frames may include a payload portion, where the payload portion or other portion may carry channel information, and the disclosure is not limited in detail.
In some embodiments, the first type of data frame and/or the second type of data frame carries verification information;
The verification information is used for: dividing the first class data frame and/or the second class data frame into a first part and a second part from a preset position, and checking the first part to obtain a first checking result corresponding to the first part; and verifying the second part to obtain a second verification result corresponding to the second part, or verifying the first part, the first verification result and the second part to obtain the second verification result.
In some embodiments, at least one of the first class data frame, the second class data frame, the third class data frame, and other data frames may carry check information, which is not specifically limited in this disclosure.
In the embodiment of the disclosure, two times of check can be performed on one data frame, and the check can be referred to as cyclic redundancy check (Cyclic Redundancy Check, CRC), which is a check mode with error detection and correction capability for short. The check information may include information such as a check code, and the check information is used for: dividing the data frame into a first part and a second part from a preset position, and checking the first part to obtain a first checking result corresponding to the first part; and verifying the second part to obtain a second verification result corresponding to the second part, or verifying the first part, the first verification result and the second part to obtain the second verification result. For example: the length of the data frame is 5 bytes, and then the electronic device may insert check information a (check code a) and check information B (check code B) after byte No. 1 and byte No. 5, respectively. The electronic device can check the byte 1 for the first time according to the check information A to obtain a check result a. The electronic device can perform second verification on the No. 2-5 bytes according to the verification information B to obtain a verification result B, or the electronic device can perform second verification on the No. 1 bytes, the No. 2-5 bytes and the verification result a together according to the verification information B to obtain the verification result B and the like. By adopting the mode, the verification efficiency, the accuracy and the like are improved.
In some embodiments, the first type of data frame and/or the second type of data frame includes a frame header portion, the frame header portion being determined by protocol version information, the protocol version information being used to determine a data protocol type for data processing.
In an embodiment of the disclosure, any type of data frame in the different types of data frames, such as the first type of data frame and/or the second type of data frame, may include a frame header portion, where the frame header portion may be determined by protocol version information, where the protocol version information is used to determine a data protocol type of data processing, for example: the frame header corresponding to 433 protocol is 0001,2.4G protocol and the frame header corresponding to 0010. The payload portions of data frames of different protocols (e.g., data frames of a first type, or data frames of a second type, or data frames of a third type, etc.) may be interchanged with one another. By adopting the mode, the method is beneficial to improving the generation efficiency of data frames among different protocols and the like.
In some embodiments, at least one of the first class data frame, the second class data frame, the third class data frame, and the like may include a frame header portion, and the disclosure is not particularly limited.
The data processing method in the embodiment of the present disclosure may be applied to a control device, an intelligent control center, a controlled device, etc., and the present disclosure is not limited to a specific embodiment.
In the embodiment of the disclosure, equipment information of control equipment and control information generated by the control equipment can be acquired; generating a first type data frame according to the equipment information and the control information; the first type data frame comprises an address field and a load part, a first part in the equipment information forms the address field of the first type data frame, and a second part in the equipment information and the control information jointly form the load part of the first type data frame. According to the method and the device, the data format of the data frame in the wireless transmission process between the control equipment and the controlled setting and the wireless transmission mode between the control equipment and the controlled setting are set, so that the transmission efficiency and accuracy of the data frame can be improved, the transmission power consumption of the data frame can be reduced, the standby time length is increased, and the like.
Fig. 2 is a flowchart two of a data processing method according to an exemplary embodiment, and as shown in fig. 2, the data processing method is applied to a controlled device, and mainly includes the following steps:
In step 201, sending state information of the controlled device to an intelligent control center, so that the intelligent control center matches the controlled device with the controlled device according to the state information of the controlled device and the state information of the controlled device;
In step 202, receiving a matching result from the intelligent control center; the matching result is used for establishing communication connection between the control equipment and the controlled equipment.
Here, the controlled device (may also be referred to as a receiver) may be a device capable of receiving and executing commands and having a wireless transmission function, and for example, may refer to a device having a wireless transmission function such as radio frequency wireless transmission, infrared transmission, bluetooth transmission, wiFi transmission, or the like for receiving and executing commands such as control, management, or the like. In some embodiments, the controlled device may include: wall switch, single-way actuator, multi-way actuator, electric curtain, lamp, television, air conditioner, etc.
In an embodiment of the present disclosure, an intelligent control center may include: terminal device, gateway device, or cloud server, etc., e.g., mobile terminal or fixed terminal. Wherein, the mobile terminal may include: the mobile phone, the tablet computer, the notebook computer or the wearable device and other devices can also comprise intelligent home devices, such as an intelligent sound box and the like. The fixed terminal may include: desktop computers or smart televisions, etc. The intelligent control center may refer to a transfer device for performing processing such as matching, filtering or cutting on commands in a process of performing wireless transmission between the control device and the controlled device. The control device may first send the command to the intelligent control center, and then the intelligent control center forwards the processed command to the controlled device, etc. that matches the control device. Of course, the transmission of the data frame between the controlled device and the control device may also be performed.
In a possible embodiment, the intelligent control center may also refer to a module or a chip with an intelligent control function, and may be embedded in a component of other devices, and the representation form of the intelligent control center is not specifically limited in this disclosure. For example: the intelligent control center may refer to one module or unit in the control device, or the intelligent control center may refer to one module or unit in the controlled device, that is, the control device or the controlled device may include functions of the intelligent control center, etc.
The controlled device may send the state information of the controlled device to an intelligent control center, so that the intelligent control center matches the controlled device with the controlled device according to the state information of the controlled device and the state information of the controlled device. The state information of the controlled device may include address identification of the controlled device, motion, brightness, loudness, etc. of the controlled device, and the state information of the control device may include address identification of the control device, opening and closing degree of the controlled device, detected control parameters, etc. For example: the intelligent control center matches the control equipment with a certain address identifier with the controlled equipment with a certain address identifier according to the considered or automatic setting according to a certain rule, and sends the address identifier information of the control equipment to the controlled equipment, so that the controlled equipment can be directly controlled by the control equipment after the controlled equipment stores the address identifier information of the control equipment, and once the matching relationship is established through the address identifier, all the control information of the control equipment can be applied to the controlled equipment. For example, if a control switch is turned on and turned off, once the switch and the controlled device are in a matching relationship, the controlled device is turned on above the switch and the controlled device is turned off below the switch. The intelligent control center determines that the state information of the controlled device A is from big to small in loudness, the state information of the controlled device B is from on to off in brightness, and the like, the state information of the control device a is from on to off, the state information of the control device B is from press level to gradually increase, and the like. The intelligent control center can obtain the matching control device B of the controlled device A, the matching control device a of the controlled device B and the like according to a preset matching strategy.
In the matching process, matching may be performed according to common information included in the state information of the controlled device and the state information of the control device. For example: the state information of the controlled device C carries the matching identifier 1, and the state information of the control device D also carries the matching identifier 1, so that the controlled device C and the control device D can be determined to be matched. In the embodiment of the disclosure, the device type carried in the state information of the controlled device can be controlled to be matched according to the device type carried in the state information of the controlled device. For example: the device type carried in the state information of the E controlled device is a channel type, the device type carried in the state information of the F controlled device is a single-on self-electricity type, the matching of the E controlled device and the F controlled device is determined through the preset matching of the channel type and the single-on self-electricity type, and the like.
After the intelligent control center obtains the matching result, the matching result can be respectively sent to the control equipment and the controlled equipment, so that the control equipment and the controlled equipment can directly transmit signals based on the matching result without passing through the intelligent control center.
The controlled device can receive the matching result from the intelligent control center; wherein the matching result is used for establishing a communication connection between the control device and the controlled device, for example: communication connection between the controlled device a and the control device B, communication connection between the controlled device B and the control device a, and the like.
In the embodiment of the disclosure, the state information of the controlled device can be sent to an intelligent control center, so that the intelligent control center matches the controlled device with the controlled device according to the state information of the controlled device and the state information of the controlled device; receiving a matching result from the intelligent control center; the matching result is used for establishing communication connection between the control equipment and the controlled equipment. The controlled device is matched with the control device by sending the state information of the controlled device, so that the matching efficiency, the matching accuracy and the like between the control device and the controlled device can be improved.
In some embodiments, the sending the status information of the controlled device to an intelligent control center includes:
and in a preset time unit, sending the state information to the intelligent control center according to a first time interval.
In the embodiment of the disclosure, the controlled device may send a plurality of status information to the intelligent control center at preset time intervals within a preset time unit. The preset time unit may include a power-on time, a time when a preset key is triggered, and the like. In one possible embodiment, the controlled device may send the status information to the intelligent control center in a preset time unit, and in order to avoid an air collision when the plurality of controlled devices send the status information, the first time interval may be a random number. For example: the target identification of the controlled device is adopted as a random number source, and different time intervals can be generated due to different target identifications of each controlled device. The controlled equipment burning program can be used for burning different marks as a random number source, or the data read by an analog-digital converter which is not connected with any input can be used as a random number.
In another embodiment, to ensure that the intelligent control center receives status information accurately, the controlled device may transmit status information for multiple repetitions, such as 3-5 repetitions, etc. The controlled device can adopt preset time interval or random number for each time of sending repeated state information, and the generation of the random number can be the same as the generation algorithm of the random number, or different calculation modes can be adopted in the programming of the controlled device to ensure that the random numbers generated twice are different, so that air collision of data frames and the like can be better avoided. By adopting the mode, the method can improve the diversity of the state information sent by the controlled equipment, improve the matching efficiency and the like.
In some embodiments, the sending the status information of the controlled device to an intelligent control center includes:
And sending the state information to the intelligent control center according to a second time interval within a preset time length taking the power-on time of the controlled equipment as the starting time.
In the embodiment of the disclosure, the status information is sent to the intelligent control center within a preset time period (e.g., a seconds) when the controlled device is powered on, and the number of the status information repeatedly sent within c seconds is d at a second time interval (e.g., c seconds) when the status information is sent.
In another embodiment, after the controlled device is powered on, a delay may be performed, for example, a random delay is performed for a preset delay time period (for example, b seconds), and after b seconds are reached, the number of status information that is repeatedly sent in c seconds is d. The second time interval during which the controlled device repeatedly sends the status information may also be a random number, and the specific random manner is not specifically limited. For example: the controlled equipment is powered on for 60 seconds, randomly delays for a certain time, transmits a response data frame for 4 seconds, and repeatedly transmits 5 repeated state information in 4 seconds. By adopting the mode, the method can improve the diversity of the state information sent by the controlled equipment, improve the matching efficiency and the like.
In some embodiments, the sending the status information of the controlled device to an intelligent control center includes:
And when the controlled equipment is detected to meet the preset trigger condition, sending the state information to the intelligent control center according to a third time interval.
In this embodiment of the present disclosure, the preset triggering condition may include that various function keys on the controlled device are detected to be selected, and when the controlled device determines that a certain function key is selected, state information is sent to the intelligent control center according to a third time interval, for example, the third time interval for sending the state information is f seconds, and the number of state information that is repeatedly sent in the f seconds is g.
In another embodiment, after the controlled device determines that a certain function key is selected, a delay may be performed, for example, a random delay is performed for e seconds, and the length of time for transmitting the status information is f seconds, and the number of status information that is repeatedly transmitted in f seconds is g. The time interval at which the controlled device repeatedly transmits the status information may also be a random number, and the specific random manner is not particularly limited. For example: the controlled equipment is powered on for 30 seconds, randomly delays for a certain time, transmits a response data frame for 5 seconds, and repeatedly transmits 10 repeated state information in 5 seconds. By adopting the mode, the method can improve the diversity of the state information sent by the controlled equipment, improve the matching efficiency and the like.
In some embodiments, the sending the status information of the controlled device to an intelligent control center includes:
When the communication connection between the control equipment and the controlled equipment is in a disconnected state, receiving a first trigger instruction sent by the control equipment; the control device is a control device which has established connection with a controlled device, or is a control device which has not established connection with the controlled device, or is a control device with a preset address;
and responding to the first trigger instruction, and sending the state information of the controlled equipment to the intelligent control center according to a fourth time interval.
In the embodiment of the disclosure, the control device paired with the controlled device receives the data frame signal of the control device each time, and transmits the corresponding data frame to the intelligent control center, and m data frames are repeatedly transmitted each time, wherein the time interval of the repeated transmission is a random number or a preset interval time. When the communication connection between the control device and the controlled device is in a disconnected state, namely, the control device which is not paired with the controlled device, the control device can also directly receive a first trigger instruction sent by the control device, and then respond to the first trigger instruction to send state information of the controlled device to the intelligent control center according to a preset time interval for matching with the control device. The control device may be a control device that has established a connection with a controlled device, or may be a control device that has not established a connection with the controlled device, or may be a control device having a preset address (i.e., a control device of a specific address that is formulated in advance), or the like. By adopting the mode, the method can improve the diversity of the state information sent by the controlled equipment, improve the matching efficiency and the like.
In some embodiments, the sending the status information of the controlled device to an intelligent control center includes:
receiving a query instruction from the intelligent control center;
And responding to the inquiry instruction, and sending the state information of the controlled equipment to the intelligent control center according to a fifth time interval.
In the embodiment of the disclosure, the controlled device may respond to the query instruction by receiving the query instruction from the intelligent control center, and send the state information of the controlled device to the intelligent control center at preset time intervals for matching with the control device, etc. The inquiry instruction may be an instruction for indicating the controlled device to transmit the status information to the controlled device. By adopting the mode, the method can improve the diversity of the mode of transmitting the state information of the controlled equipment, improve the matching efficiency and the like.
In some embodiments, the method further comprises:
Based on the matching result, receiving a control signal from the control device corresponding to the controlled device; wherein the control signal includes a second type data frame generated according to a device type of the controlled device and a type of a command for controlling the controlled device;
Generating a response signal from the third type of data frame in response to the control signal; wherein the third class data frame is generated according to a device type of the controlled device and a type of a command for controlling the controlled device;
and sending the response signal to the control equipment.
In the embodiment of the disclosure, after the controlled device and the control device establish communication connection based on the matching result, the controlled device and the control device may communicate directly without passing through an intelligent control center. The control signals may include at least a second type of data frame (e.g., without limitation, a device control command or a device management command), etc., and the response signals may include at least a third type of data frame (e.g., without limitation, a device status report or a device management command acknowledgement), etc. By adopting the mode, the system and the method can timely feed back the information such as the working state of the system to the control equipment, and improve the stability of the system and the like.
In some embodiments, the sending the response signal to the control device includes:
Transmitting the response signal to the control device through a communication connection with the control device; or alternatively
And sending the response signal to the control equipment through the intelligent control center.
In the embodiment of the disclosure, the controlled device may directly send the response signal to the control device through a communication connection with the control device, or send the response signal to the control device through the intelligent control center, or send the response signal to the control device and the intelligent control center at the same time, etc. By adopting the mode, the stability, the flexibility and the like of signal transmission can be improved.
In the embodiment of the disclosure, the intelligent control center is used for realizing the device matching between the control device and the controlled device in advance, so that the control device and the controlled device can directly interact even if the intelligent control center is not provided, and convenience can be provided for device interaction.
In some embodiments, the method further comprises:
determining the transmitting direction of the response signal according to the equipment configuration sequence of the control equipment and the intelligent control center;
The transmission direction includes: a direction from the control device to the intelligent control center, or a direction from the intelligent control center to the control device.
In the embodiment of the disclosure, because the controlled device, the control device and the intelligent control center can all communicate, in the implementation process, the sending direction of the response signal can be determined according to the configuration sequence of each device. For example: the controlled device can determine the sending direction of the response signal according to the device configuration sequence of the control device and the intelligent control center; the transmission direction includes: a direction from the control device to the intelligent control center, or a direction from the intelligent control center to the control device. For example: the controlled equipment is firstly configured with the intelligent control center, communication connection is established, then the controlled equipment is matched with the control equipment, and communication connection is established, so that the sending direction is from the controlled equipment to the intelligent control center, and then the intelligent control center is from the intelligent control center to the control equipment. For another example, the controlled device is matched with the control device to establish communication connection, and then is configured with the intelligent control center to establish communication connection, so that the sending direction is from the controlled device to the control device, and then from the control device to the intelligent control center.
By adopting the mode, the transmission direction and the like can be accurately and effectively determined, and the situation of logic disorder is avoided.
In some embodiments, the method further comprises:
Performing byte order conversion processing on the third class data frame to obtain a third class data frame with a preset mode; wherein, the preset mode includes: a preset large end mode and a preset small end mode;
And generating the response signal according to a third type data frame of a preset mode.
In the embodiment of the disclosure, the big-end mode may be that the high byte of the data is stored in the low address of the memory, and the low byte of the data is stored in the high address of the memory. The small end mode may be where high bytes of data are stored in high addresses of memory and low bytes of data are stored in low addresses of memory. The controlled device may perform the byte order conversion processing in the process of generating the response signal. For example: and the controlled equipment generates the response signal according to the third class data frame of the big end mode after setting the unordered third class data frame to the big end mode. By adopting the mode, the signal transmission efficiency can be improved, and the time for the controlled equipment to analyze the data frame can be reduced.
In some embodiments, the method further comprises:
Forwarding the control signal to other controlled devices according to forwarding information carried in the control signal;
The forwarding information is used for triggering the function of forwarding data to other controlled devices by the controlled device.
In the embodiment of the disclosure, the forwarding information may include information such as forwarding times, forwarding time intervals, and the like. The controlled device may have a function of forwarding data so that a transmission distance of the data frame is increased. For example: the electronic device transmits the second class data frame to the controlled device a at the first location, then the controlled device a may transmit the second class data frame to the controlled device B at the second location, then the controlled device B may transmit the second class data frame to the controlled device C at the third location, and so on. In the process of forwarding data, the controlled devices A, B, C and the like can execute the corresponding command content and forward the command content, or only forward the command content and the like which do not execute the corresponding command content. A. The controlled devices such as B and C may also perform processes such as filtering or inserting new information into the second class data frame, and forwarding the second class data frame.
In the forwarding process, if forwarding is performed for an unlimited number of times, the forwarding cannot be stopped or the occupied frequency band is too large, and the transmission performance of the wireless transmission system is affected, so that a determined forwarding stopping rule can be set. The electronic device may set a manner of writing the number of forwarding times into a frame header portion (FRAME HEADER) of the data frame, and stop forwarding after a certain number of forwarding times is reached. For example: and setting the forwarding to stop for 2 times, and stopping forwarding to other external controlled equipment when the controlled equipment receives the forwarded second class data frame and reads the forwarding frequency to be 3, wherein the controlled equipment terminates the forwarding process and the like. The controlled device a may update the current forwarding number (RC) in the second type data frame received from the intelligent control center from 0 to 1, and then the controlled device B may update the current forwarding number in the second type data frame received from the controlled device a from 1 to 2, etc., until the preset forwarding number reaches 3, etc. By adopting the mode, the transmission distance of the data frame and the like can be improved.
In some embodiments, the method further comprises:
And stopping sending the response signal when the electric quantity allowance of the control equipment is determined to be smaller than a preset electric quantity threshold value.
In the embodiment of the disclosure, the controlled device may determine the power headroom of the control device by sending a current inquiry message to the control device, and then stop sending the response signal when it is determined that the power headroom of the control device is less than a preset power threshold. For example: the controlled device determines that the power margin of the control device is 10%, less than a preset power threshold (for example, but not limited to, 30%), and even in the case of receiving a control signal from the control device, the controlled device only needs to execute a control command or the like in the control signal, and may stop generating and transmitting the response signal or the like. By adopting the mode, the power consumption can be saved, the controlled equipment and the standby time of the controlled equipment can be controlled, and the like.
In one possible embodiment, the controlled device has a learning function, where the learning function may refer to that by receiving a history control signal of the controlled device, when the controlled device is in the same scene as the history control signal, the working state of the controlled device itself is automatically changed through a preset learning model, and so on. For example: the controlled equipment receives the control signal A of the control equipment and then joins a learning mode, namely, the controlled equipment can receive the control signal B of the control equipment again by inputting the control signal, the collected external environment information, the cruising working state and other information into the learning model and training the parameters of the learning model, and the controlled equipment exits the learning mode. For example: the controlled device determines that 8 points per day can automatically open curtains and the like through a learning mode. By adopting the mode, the intelligent of the controlled equipment can be improved, the user experience is improved, and the like.
In the embodiment of the disclosure, the state information of the controlled device can be sent to an intelligent control center, so that the intelligent control center matches the controlled device with the controlled device according to the state information of the controlled device and the state information of the controlled device; receiving a matching result from the intelligent control center; the matching result is used for establishing communication connection between the control equipment and the controlled equipment. According to the method and the device, the data format of the data frame in the wireless transmission process between the control equipment and the controlled setting and the wireless transmission mode between the control equipment and the controlled setting are set, so that the transmission efficiency and accuracy of the data frame can be improved, the transmission power consumption of the data frame can be reduced, the standby time length is increased, and the like.
FIG. 3 is a flowchart III of a data processing method according to an exemplary embodiment, as shown in FIG. 3, and generally comprising the steps of:
In step 301, sending state information of the control device to an intelligent control center, so that the intelligent control center matches the control device with the controlled device according to the state information of the control device and the state information of the controlled device;
in step 302, receiving a matching result from the intelligent control center; the matching result is used for establishing communication connection between the control equipment and the controlled equipment.
Here, the control device (may also be referred to as a transmitter) may be a device capable of generating and transmitting commands and having a wireless transmission function. For example, it may refer to a device having a radio transmission function such as radio frequency radio transceiver, infrared transceiver, bluetooth transceiver, wiFi transceiver, etc. for generating and transmitting commands for control, management, etc. The control device may include: self-generating switches, battery switches, sensors, etc.
In an embodiment of the present disclosure, an intelligent control center may include: terminal device, gateway device, or cloud server, etc., e.g., mobile terminal or fixed terminal. Wherein, the mobile terminal may include: the mobile phone, the tablet computer, the notebook computer or the wearable device and other devices can also comprise intelligent home devices, such as an intelligent sound box and the like. The fixed terminal may include: desktop computers or smart televisions, etc. The intelligent control center may refer to a transfer device for performing processing such as matching, filtering or cutting on commands in a process of performing wireless transmission between the control device and the controlled device. The control device may first send the command to the intelligent control center, and then the intelligent control center forwards the processed command to the controlled device, etc. that matches the control device. Of course, the transmission of the data frame between the controlled device and the control device may also be performed.
In a possible embodiment, the intelligent control center may also refer to a module or a chip with an intelligent control function, and may be embedded in a component of other devices, and the representation form of the intelligent control center is not specifically limited in this disclosure. For example: the intelligent control center may refer to one module or unit in the control device, or the intelligent control center may refer to one module or unit in the controlled device, that is, the control device or the controlled device may include functions of the intelligent control center, etc.
The control device may send the state information of the control device to an intelligent control center, so that the intelligent control center matches the control device with the controlled device according to the state information of the control device and the state information of the controlled device. The state information of the control device can include state information such as opening and closing degree of the control device and detected control parameters, and the state information of the controlled device can include state information such as movement, brightness and loudness of the control device. For example: the intelligent control center determines that the state information of the control equipment a is from on to off, the state information of the control equipment B is from press level to gradually increase, and the like, the state information of the controlled equipment A is from high to low in loudness, and the state information of the controlled equipment B is from on to off in brightness, and the like. The intelligent control center can obtain that the control device B matches the controlled device A, the control device a matches the controlled device B and the like according to a preset matching strategy.
In the matching process, matching may be performed according to common information included in the state information of the controlled device and the state information of the control device. For example: the state information of the controlled device C carries the matching identifier 1, and the state information of the control device D also carries the matching identifier 1, so that the controlled device C and the control device D can be determined to be matched. In the embodiment of the disclosure, the device type carried in the state information of the controlled device can be controlled to be matched according to the device type carried in the state information of the controlled device. For example: the device type carried in the state information of the E controlled device is a channel type, the device type carried in the state information of the F controlled device is a single-on self-electricity type, the matching of the E controlled device and the F controlled device is determined through the preset matching of the channel type and the single-on self-electricity type, and the like.
The control device can receive a matching result from the intelligent control center; wherein the matching result is used for establishing a communication connection between the control device and the controlled device, for example: communication connection between the control device B and the controlled device a, communication connection between the control device a and the controlled device B, and the like.
In the embodiment of the disclosure, the state information of the control device can be sent to an intelligent control center, so that the intelligent control center matches the control device with the controlled device according to the state information of the control device and the state information of the controlled device; receiving a matching result from the intelligent control center; the matching result is used for establishing communication connection between the control equipment and the controlled equipment. The controlled device is matched with the control device by sending the state information of the controlled device, so that the matching efficiency, the matching accuracy and the like between the control device and the controlled device can be improved.
In some embodiments, the method further comprises:
Triggering a first trigger instruction based on the detected input operation when the communication connection between the control device and the controlled device is in a disconnected state;
Sending the first trigger instruction to the controlled equipment; the first trigger instruction is used for indicating the controlled equipment to send the state information of the controlled equipment to the intelligent control center.
In the embodiment of the present disclosure, when the communication connection between the control device and the controlled device is in a disconnected state, that is, the control device that is not paired with the controlled device, the first trigger instruction may be sent to the controlled device; the first trigger instruction is used for indicating the controlled equipment to send the state information of the controlled equipment to the intelligent control center, so that the matching between the control equipment and the controlled equipment is realized. The control device may trigger a first trigger instruction based on the detected input operation, for example: corresponding function buttons exist on the control equipment, and when the control equipment detects that a user triggers the corresponding function buttons, a first trigger instruction is generated; or when the control device is powered on, a first trigger instruction is generated, etc. By adopting the mode, the matching efficiency between the control equipment and the controlled equipment can be improved.
In some embodiments, the method further comprises:
When a preset trigger operation is detected, generating a control signal according to the second class data frame; wherein the second class data frame is generated according to a device type of the controlled device and a type of a command for controlling the controlled device;
And transmitting the control signal to the controlled equipment based on the matching result.
In the embodiment of the present disclosure, the preset trigger operation may be a control operation of the pointer on the control device, for example: the rotation angle of the rotation button of the control device, the closing state of the switch button, etc. are adjusted. When detecting a preset trigger operation, the control equipment generates a control signal according to the second class data frame; wherein the second class data frame is generated according to a device type of the controlled device and a type of a command for controlling the controlled device. The control device may then send the control signal to a controlled device that matches the control device based on the matching result. The controlled device matched with the control device may be one or a plurality of controlled devices, and the disclosure is not particularly limited. By adopting the mode, the stability, the flexibility and the like of signal transmission can be improved.
In some embodiments, the transmitting the control signal to the controlled device includes:
transmitting the control signal to the controlled device through a communication connection with the controlled device; or alternatively
And forwarding the control signal to the controlled equipment through the intelligent control center.
In the embodiments of the present disclosure, the party by which the control device transmits the control signal to the controlled device matched with the control device is various, for example: the control device can directly send the control signal to the controlled device through communication connection with the controlled device, or the control device can forward the control signal to the controlled device through the intelligent control center, and the intelligent control center can play roles of forwarding, filtering or recording in the signal transmission process. By adopting the mode, the signal transmission diversity can be increased, the stability of control signal transmission is improved, and the like.
In some embodiments, the method further comprises:
determining the sending direction of the control signal according to the equipment configuration sequence of the intelligent control center and the controlled equipment;
the transmission direction includes: a direction from the intelligent control center to the controlled device, or a direction from the controlled device to the intelligent control center.
In the embodiment of the disclosure, since the controlled device, the control device and the intelligent control center can all communicate with each other, the transmission direction of the control signal can be predetermined. For example: the control device can determine the sending direction of the control signal according to the device configuration sequence of the controlled device and the intelligent control center; the transmission direction includes: a direction from the intelligent control center to the controlled device, or a direction from the controlled device to the intelligent control center. For example: the control equipment is firstly configured with the intelligent control center, communication connection is established, then the control equipment is matched with the controlled equipment, and communication connection is established, so that the sending direction is the direction from the intelligent control center to the controlled equipment. By adopting the mode, the transmission direction and the like can be accurately and effectively determined, and the situation of logic disorder is avoided.
In some embodiments, the method further comprises:
Performing byte order conversion processing on the second class data frame to obtain a second class data frame with a preset mode; wherein, the preset mode includes: a preset large end mode and a preset small end mode;
and generating the control signal according to the second class data frame of the preset mode.
In the embodiment of the disclosure, the big-end mode may be that the high byte of the data is stored in the low address of the memory, and the low byte of the data is stored in the high address of the memory. The small end mode may be where high bytes of data are stored in high addresses of memory and low bytes of data are stored in low addresses of memory. The control device may perform the byte order conversion processing in the process of generating the control signal. For example: the control device generates the control signal and the like according to the second class data frame of the big end mode after setting the unordered second class data frame to the big end mode. By adopting the mode, the signal transmission efficiency can be improved, and the time for the controlled equipment to analyze the data frame can be reduced.
In some embodiments, the method further comprises:
receiving a response signal returned by the controlled equipment based on the control signal;
Wherein the response signal includes the third type of data frame; the third class data frame is generated according to a device type of the controlled device and a type of a command for controlling the controlled device.
In the embodiment of the disclosure, after the control device sends the control signal to the controlled device, a response signal returned by the controlled device based on the control signal may be received, where the response signal includes the third type data frame; the third class data frame is generated according to the device type of the controlled device and the type of the command for controlling the controlled device, and is used for feeding back the working state of the controlled device and the like. By adopting the mode, the information such as the working state of the controlled equipment can be timely determined, and the stability of the system is improved.
In some embodiments, the receiving the response signal returned by the controlled device based on the control signal includes:
receiving the response signal through a communication connection with the controlled device; or alternatively
And receiving the response signal through the intelligent control center.
In the embodiment of the disclosure, the control device receives the response signal returned by the controlled device in various manners, for example: the control device can directly receive the response signal through communication connection with the controlled device, or can receive the response signal through the intelligent control center, and the intelligent control center can play roles of forwarding, filtering or recording in the signal transmission process. By adopting the mode, the diversity of the receiving response signal mode can be increased, the stability of the system is improved, and the like.
In some embodiments, the method further comprises:
and stopping receiving the response signal when the electric quantity allowance of the control equipment is smaller than a preset electric quantity threshold value.
In the embodiment of the disclosure, the control device may detect the current power margin stored by the control device through a detection circuit or the like, and then stop receiving the response signal when determining that the power margin is smaller than the preset power threshold. For example: the control device determines that its own power margin is 10%, less than a preset power threshold (e.g., without limitation, 30%), then the control device may cease receiving, resolving the response signal, etc. By adopting the mode, the power consumption can be saved, the controlled equipment and the standby time of the controlled equipment can be controlled, and the like.
In some embodiments, the control device is a self-generating power supply device, the method further comprising:
And generating electric energy through a preset trigger event, and providing energy for the control equipment to transmit and receive signals through the generated electric energy.
In the embodiment of the disclosure, the control device is a self-generating power supply device, for example: the control equipment is used for generating power and supplying power in a mode of kinetic energy, light energy, temperature difference energy, vibration energy or wind energy and the like. The preset triggering event may include an event that a user presses the control device, the ambient light intensity is greater than a preset brightness threshold, and the like, and the control device may generate electric energy through the preset triggering event, and provide energy for the control device to transmit and receive signals through the generated electric energy, and the like. By adopting the mode, energy and the like can be saved.
In the embodiment of the disclosure, the state information of the control device can be sent to an intelligent control center, so that the intelligent control center matches the control device with the controlled device according to the state information of the control device and the state information of the controlled device; receiving a matching result from the intelligent control center; the matching result is used for establishing communication connection between the control equipment and the controlled equipment. The controlled device is matched with the control device by sending the state information of the controlled device, so that the matching efficiency, the matching accuracy and the like between the control device and the controlled device can be improved.
In the embodiment of the disclosure, a user may perform an operation of a preset manner (for example, but not limited to, a switch closing operation, a rotary switch rotating operation, etc.) on a control device according to own needs, and then the control device may generate a first type of data frame, where the first type of data frame may carry a source identifier of the control device as an internet protocol address 192.168.101.1, a device type of the control device as a single-on self-powered switch, a control parameter as a closed state, and so on. And then the control equipment sends the first type data frame to the intelligent control center in a wireless transmission mode (such as a radio frequency 433 protocol mode but not limited to the first type data frame), and then the intelligent control center can determine the controlled equipment corresponding to the control equipment according to the source identification. For example: the intelligent control center may broadcast a connection request carrying a source identifier, and then receive reply messages of all controlled devices in response to the connection request, where the reply messages may include information of connection approval or connection rejection, and may determine that the device carrying the connection approval information is a corresponding controlled device, and so on.
The intelligent control center can obtain information such as identification, equipment type, running state and the like corresponding to the controlled equipment by analyzing the reply message from the controlled equipment, for example: it is determined that there is one controlled device, a wall switch of which the device type is 2 channels, and the like. The intelligent control center may determine the type of the command for controlling the controlled device according to the device type of the controlled device and the control parameter. The intelligent control center may preset a correspondence relationship between a device type and control parameters of the control device and a type of command of the controlled device, for example: the equipment type is a wall switch, the control parameter is a single click within a preset time length, and the equipment type corresponds to an equipment control command; the device type is a dimmable device, the control parameter is multiple clicks within a preset duration, the device management command corresponds to the device management command, and the like, and the mode of determining the type of the command for controlling the controlled device is not particularly limited in the present disclosure.
The intelligent control center can generate a second type data frame according to the equipment type of the controlled equipment and the type of the command, and then send the second type data frame to the controlled equipment. For example: the intelligent management device determines that the device type of the controlled device is a wall switch of 2 channels, the command type is a device control command and the like, then generates a second type data frame carrying information of the wall switch of 2 channels (for example and without limitation, using a corresponding tag b instead of the 10 th bit in the second type data frame and the like) and the device control command (for example and without limitation, using a corresponding tag A instead of the 11 th bit in the second type data frame and the like), and then sends the second type data frame to the controlled device in a wireless transmission mode (for example and without limitation, a radio frequency 433 protocol mode) so that the controlled device executes the corresponding command.
In one possible embodiment, the present disclosure may be applied to wireless data transmission scenarios, such as: and an Internet of things equipment control system and the like. The wireless data transmission scene may include a transmitting device (control device) and a receiving device (controlled device), and the transmitting signal transmitted by the transmitting device may include a preamble, a synchronization word, a data message (data frame), CRC check information, and the like, where the data frame may include address information (source identifier) of the transmitting device, information (control parameter) acquired by a sensor in the transmitting device, and the like. The receiving device may receive the data message, parse the data message, execute a corresponding function, and so on. The transmitting device has the characteristic of saving energy, the distance energy ratio is larger than 0.2 m/uJ at the wireless transmission frequency of 300MHz-990MHz, the distance energy ratio is larger than 0.1 m/uJ at the wireless transmission frequency of 2GHz-6GHz, and the like. The transmitting energy refers to the energy of a power supply system used for completely transmitting at least one data frame, the energy can be a battery or an energy storage capacitor, the distance can refer to an open field, the transmitting device and the receiving device are 1 meter high away from the ground, 10 times of wireless transmission are tested, and the packet loss is less than or equal to the longest distance of 1 time.
In a possible embodiment, the wireless data transmission scene may further include an intelligent control center, where the intelligent control center is in bidirectional communication with the receiving device, the receiving device may be timed or powered up to send data to the receiving device or the intelligent control center, and then the transmitting device may receive the data sent by the receiving device after the transmitting device has transmitted the data, so as to confirm that the transmitting is successful. The transmitting device can also have the characteristics of self-power generation, no battery or normal power supply energy and the like, and the energy generated by pressing each time in the transmitting device can be used for transmitting signals, receiving wireless signals for returning confirmation success and the like.
As shown in fig. 4A, a transmission schematic of wireless data transmission may be represented. In order to save power, the transmitting device may transmit only the signal without performing additional receiving work, thereby ensuring that the transmitting device 401 is in an extremely power-saving state. The transmitting device 401 may refer to a self-generating switch, a battery switch, a sensor, etc., and the receiving device 402 may refer to a wall switch, a single-path actuator, a multi-path actuator, a motorized window shade, a light fixture, etc. The receiving device 402 has various types, and the receiving device 402 and the intelligent control center 403 can communicate bidirectionally, acquire data from each other, transmit control commands, and the like. The transmitting device 401, the receiving device 402 and the intelligent control center 403 can communicate with each other, and the information flow of the whole system has various choices. For example: the transmitting device 401 may be selected to the receiving device 402, the receiving device 402 may be selected to the intelligent control center 403, the transmitting device 401 may be selected to the intelligent control center 403, the intelligent control center 403 may be selected to the receiving device 402, and the like. The specific information flow trend can be set by a preset protocol, or can be configured by a user, and the configuration sequence of the user is simulated to execute the information flow sequence. For example: if the user configures the intelligent control center 403 and then configures the receiving device 402, the direction of the information flow is from the transmitting device 401 to the intelligent control center 403 and then to the receiving device 402, and vice versa.
In one possible embodiment, in the wireless data transmission manner, the corresponding protocol physical layer parameter may be set in a customized manner. For example: the center Frequency can be 300 MHz-990 MHz, 2 GHz-6 GHz, the transmitting power can be-10 dBm-50 dBm, the receiving sensitivity can be arbitrary, the modulation mode can be Gaussian Frequency shift keying (Gauss Frequency SHIFT KEYING, GFSK), amplitude shift keying (Amplitude SHIFT KEYING, ASK), frequency shift keying (Frequency SHIFT KEYING, FSK) and the like, and the data transmission rate (air rate) can be 1 kbps-2 Mbps.
As shown in fig. 4B, a message data structure diagram may be represented. The physical layer may be comprised of a preamble (e.g., without limitation, of 4 bytes in length), a sync word (e.g., without limitation, of 4 bytes in length), and a data link layer frame (e.g., without limitation, of custom X bytes in length), among others. For the link layer, the data link layer frame may include information such as a data length (e.g., without limitation, 1 byte length), a message (e.g., without limitation, custom Y byte length), and a cyclic redundancy check (CRC check) (e.g., without limitation, 2 bytes length). For the network layer, the message may include a frame control field (FRAME CTRL) (e.g., without limitation, 1 byte length), a SOURCE identification (SOURCE ID) (e.g., without limitation, 4 bytes length), a TYPE of command (TYPE) (e.g., without limitation, 1 byte length), a command content (DATA) (e.g., without limitation, custom Z byte length), and so forth.
The data length of the command content of the transmitting device or the intelligent control center or the receiving device for transmitting the message can be changed, and different data lengths can be generated according to different message command types. For example: for a transmitting device, the length of DATA may be 1Byte. The transmitting device transmits data under a certain triggering condition, and the triggering condition can be that the transmitting device is electrified, or can transmit at fixed time, or the sensor data in the transmitting device changes. The transmitting means may load the content of the DATA based on the signal acquired by the sensor, and not load the sensor DATA if the sensor DATA is empty. And then reload TYPE data defining the TYPE of transmitting device, for example: the transmitting means may be defined as a switch, and the transmitting means may also be defined as a type of switch. For example: the switch of the transmitting device is defined as a turnover type, and the receiving device executes one turnover operation after receiving the turnover type message every time the switch is pressed. It may also be defined that the type of the switch of the transmitting device is fixed, and the receiving device performs a fixed on or off operation each time it receives a message.
Other types of the transmitting device or the type and the model of a certain switch can be defined, and the receiving device can execute corresponding actions according to the defined types. FRAME CTRL define the type of transmitted signal, for example: a signal sent by the transmitting device, or a device control command, or a device status report command, or a device management command reply, etc. The SOURCE ID defines matching information of a transmission signal, and the receiving device performs a corresponding function only if a SOURCE identifier of the transmitting device matches a target identifier of the receiving device. This information is also information to be set for the configuration between devices to establish a relationship. The data length can be 1Byte, the whole length of the transmitted message is defined, the data length information is provided for the subsequent program to analyze the message, the CRC check is 2Bytes, the CRC check can also be 1Bytes or other digits, when the CRC check is correct, the message is considered to be a valid message, if the CRC check is incorrect, the message is not valid, and the like.
In one possible embodiment, the preset bits in the frame control field of the data frame may refer to the lower 5 bits b0-b4, the first type of data frame may include passive wireless sensor (switch) commands, the second type of data frame may include device control commands and device management commands, the response data frame may include device status reports and device management command acknowledgements, and the like. The data types of the data carried by the preset bits corresponding to the different types of commands can be respectively 0, 0x1F (0 b 111111), 0x1E (0 b 111110), 0x1D (0 b 111101) and 0x1C (0 b 111100). The b5 and b6 bits in the frame control field may represent the corresponding number of forwarding times (RC), and the b7 bit may both be set to 0. The representation of the control device in the corresponding load section and the corresponding device type of the passive wireless sensor (switch) command may be 0x01: roll-over switch (currently single-on, double-on), 0x02: turnover type switch (current four-switch, circular switch), 0x03: K7-HT hunter class, 0x04: K4R-HT hunter class, 0x05: K4R-W1, 0x06: K4R-W2, 0x07: K4R-W3, 0x03-0x80: reserve subsequent types, etc. Wherein KR, W, HT and the like represent different types of models, are not particularly limited, and can be set in a self-defined way.
The device type, the type of the command, and the command content of the controlled device in the load section corresponding to the device control command may be expressed as 0x81 (single-way receiver), 0x01 (basic state query), null, 0x81 (single-way receiver), 0x02 (basic switch control), transition (switch), 0x91/92/93 (1/2/3-way wall switch with gesture sensing function), 0x01 (basic state query), null, 0x91/92/93 (1/2/3-way wall switch with gesture sensing function), 0x02 (basic switch control), switch,0x9D/9E/9F (single-fire wire 1/2/3-way wall switch without gesture sensing function), 0x01 (basic state query), null, 0x9D/9E/9F (single fire wire 1/2/3 way wall switch without gesture sensing function), 0x02 (basic switch control), switch,0xA1 (dimmable device), 0x03 (brightness control), level,0xA1 (dimmable device), 0x01 (basic status query), null, 0xA0 (G4 doorbell device), 0x04 (ring control), (Byte 1:voice number,Byte 2:voice volum), 0xA2 (curtain motor), 0x01 (basic status query), null, 0xA2 (curtain motor), 0x02 (basic control), the first Byte may represent the channel number of the transmission, up to 8 channels, 2-3 bytes may represent the operation of the switch stop etc., (00: off, 01: on, 02: off), the lowest 2 bits of the 3 rd Byte may be denoted as channel 1, etc.), 0xA2 (curtain motor), 0x03 (stroke control), byte 1: channel (up to 8 channels), byte 2-Byte 9 (no stroke of 0-100,255 values), byte 9 being channel 1, etc.
The device Type, type of (reply to) command (Report Type) and command content (Report Data) of the controlled device in the corresponding load part of the device status Report may be expressed as 0x81-0x88: normal receiver, 0x01/0x02/0x81/0x82/0x83, (Byte 1:channel,Byte 2:switch), 0x91-0x93: wall switch (with gesture sensing function), 0x01/0x02/0x81/0x82/0x83/0x86, byte 1:channel,Byte 2:switch,Byte 3-4: light sensing value, 0x9A-0x9C: wall switch (without sensing), 0x01/0x02/0x81/0x82/0x83, byte 1:channel,Byte 3:switch,0x9D-0x9F: single fire wire wall switch (without gesture sensing function), 0x01/0x02/0x81/0x82/0x83, byte 1:channel,Byte 3:switch,0xA1: dimmable device, 0x01/0x02/0x81/0x82/0x83/0x85, byte 1: channel = 0x01,Byte 2:level,0xA0: g4 doorbell device, 0x04/0x83, byte 1:voice number,Byte 2:voice volum,0xA2 (curtain motor), 0x01/0x02/0x81/0x85/0x86, byte 1: channel (up to 8 channels), byte 2-Byte9 (run value 0-100,255 no run), byte9 is channel 1. In the disclosed embodiment, 0x01-7f may represent the type of command returned to the received (Cmd type), 0x81-8f may represent the type of event actively uploaded (EVENT TYPE), etc.
The device type of the controlled device in the load section corresponding to the device management command, the type (MANAGEMENT CMD TYPE) of the (management) command, and the command content (Cmd Data) can be expressed as 0x91-93, 0x81: the gesture sensing function of the wall switch and the gesture sensing control of the indicator lamp and Byte 1 are configured: bit <6> gesture sensing is totally closed, bit < 5-3 > switches channels, bit < 2-0 > channels gesture sensing is turned on to enable Byte 2 sensing distance: and starting an indicator lamp of 0-64 Byte 3: 0 (not on) 1 (on), 0x91-93, 0x82: and reading the gesture sensing function of the wall switch, the configuration of the indicator lamp, the public command and the limited enumeration of the general management command of the equipment. The private command may represent a specific to a certain class of device. In the disclosed embodiments, for public commands, it depends only on the command type; the private command may depend on the device type of the controlled device, the command type, etc.
The device Type, the Type of command (Cmd Type) and the command content (CmdData) of the controlled device in the load part corresponding to the device management command response can be expressed as 0x91-93, 0x81: configuration wall switch's gesture sensing function and pilot lamp, 0: OK,1-255:ERR CODE,0x91-93, 0x82: reading gesture sensing function and indicator lamp configuration of a wall switch and Byte 1 gesture sensing control: the gesture sensing of bit <6> is totally closed, the bit < 5-3 > switches the channel, the gesture sensing of bit < 2-0 > switches the lamp on to enable Byte 2 to sense the distance: and starting an indicator lamp of 0-64 Byte 3: 0 (not on)/1 (on), etc.
In one possible embodiment, the control device may include a K2 four-switch self-powered switch, a K3 round three-key switch, a G2 passive transmitter, a K4R square three-key switch, and the like. The controlled device may include a 1-channel receiver, an 8-channel receiver, a 1-channel wall switch (with gesture sensing functionality), a 3-channel wall switch (without gesture sensing functionality), and so on.
In one possible embodiment, the link layer data format may also change the way the CRC check code is checked, inserting the CRC check code into the link layer data, for example, inserting the CRC check code into the data message such that the first few bytes of the data message calculate the CRC once and then the end of the data again calculates the CRC. The network layer data may also be disassembled and the number of SOURCE IDs may also be increased or decreased, for example to 22 bits. The data format of the integrated link layer+network layer may be: message 1 (M bytes), CRC check (2 bytes), message 2 (N bytes), CRC check (1 byte), etc.
In one possible embodiment, FRAME CTRL may be set to 0x00, type 0x55, representing a command type being a transmitter, and a type of transmitter being a switch, which may include six keys, with DATA corresponding to bits 0 through 5 of DATA, respectively, with DATA corresponding to bit 1 when the key is activated and DATA corresponding to bit 0 when the key is not activated. When the keys are all activated, the DATA is 0x3F. After receiving the signal, the receiver first matches whether the signal is a controlled switch, and then controls the state of the receiving actuator according to the triggering state of the key.
In one possible embodiment, FRAME CTRL may be set to 0xaa, type to 0xA1, which is a control command for the single-pass receiving device, the first byte of DATA is the control command, 0x01 represents the inquiry state, 0x02 represents the required control switch, the second byte of DATA represents the required control state, 0x01 represents on, and 0x02 represents off.
In one possible embodiment, FRAME CTRL may be set to 0xA5 and type to 0xA2, which is a device status report command for the single-pass receiving apparatus, the first byte of DATA represents a specific device type, the second byte of DATA represents a state of a specific controlled device, and there may be multiple bytes representing a state of a specific controlled device, depending on the type of controlled device.
In one possible embodiment, FRAME CTRL may be set to 0xA6, type to 0xA3, for a single-way receiver management command, the first byte of DATA may be a specific single-way receiver and function type, the second byte of DATA may be a specific configuration function, or there may be multiple bytes.
In one possible embodiment, FRAMECTRL may be set to 0xA7, type 0xA4, manage reply commands for a single-way receiver, the first byte of DATA is a specific single-way receiver and function type, and the second byte of DATA is specific reply DATA, or multiple bytes.
In a possible embodiment, FRAME HEADER may be further added before FRAME CTRL of the data to identify information such as a protocol version number, where, of course, the information contained in FRAME CTRL and FRAME HEADER may be interchanged, as long as it is clearly defined in advance. In some applications, the receiving executor is allowed to start the forwarding function to increase the transmission distance, but if forwarding is performed infinitely, the forwarding cannot be stopped or the occupied frequency band is too large, so that the transmission performance of the wireless system is affected, and therefore, it is important to set a certain forwarding stopping rule. In the protocol, we can design to stop forwarding after a certain number of forwarding times. For example, the forwarding is stopped for 2 times, and when the receiving executor receives the forwarded message, but reads the forwarding time to be 3, the forwarding is stopped, and the receiving executor terminates the forwarding process.
In one possible embodiment, for the transmitter, the generating capacity of the electromagnetic transducer is approximately between 100uJ and 1000uJ, the generating efficiency of the optical energy is about 100W/m2, the collection and utilization rate of the remote wireless transmission power generation is lower, therefore, the energy is required to be utilized through the optimization of a wireless transmission protocol (data structure of a data frame and the like), the conventional improvement of the transmitting power to realize the remote transmission cannot meet the requirement of micro-energy power generation, the energy utilization rate is improved through the optimization of a wireless transmission mode, the energy is saved, but the transmission distance cannot be reduced due to the energy saving, and therefore, the transmission distance is required to be further ensured, the larger the ratio of the distance to the energy is better, the larger the ratio of the distance energy is ensured to be more than 0.2 m/uJ at the wireless transmission frequency of 300 MHz-990 MHz, and the ratio of the distance energy is ensured to be more than 0.1 m/uJ at the wireless transmission frequency of 2 GHz-6 GHz. The embodiment of the disclosure can be applied to a control system of an intelligent home, and can be used as products such as an intelligent switch, an electric curtain, a sensor, an intelligent household appliance, a garbage processor, an intelligent closestool, an electric clothes hanger and the like.
FIG. 5 is a block diagram of a data processing apparatus according to an exemplary embodiment. As shown in fig. 5, the data processing apparatus 500 mainly includes:
an obtaining module 501 configured to obtain device information of a control device and control information generated by the control device;
A generating module 502 configured to generate a first type of data frame according to the device information and the control information;
the first type data frame comprises an address field and a load part, a first part in the equipment information forms the address field of the first type data frame, and a second part in the equipment information and the control information jointly form the load part of the first type data frame.
In some embodiments, the device information includes: the source identification of the control device and the device type of the control device, and the control information comprises: controlling parameters;
the generating module 502 is configured to:
Generating a first type data frame according to the source identification of the control equipment, the equipment type of the control equipment and the control parameter; wherein the source identifier is used for determining an address field of the first type of data frame; the apparatus further comprises:
a first determining module configured to determine a device type of a controlled device;
a second determining module configured to determine a type of a command for controlling the controlled device according to the device type of the controlled device and the control parameter;
a third determining module configured to generate a second class data frame according to the device type of the controlled device and the type of the command;
Wherein, the data types of the data carried by the preset bits in the frame control domain of the first type data frame and the second type data frame are different; the destination identification of the controlled device is used to determine the address field of the second class data frame.
In some embodiments, the second type data frame is formed by an address field of the second type data frame and a payload portion of the second type data frame.
In some embodiments, the byte length corresponding to the payload portion of the second class data frame is determined by the type of the command.
In some embodiments, when the command is of a first type, the payload portion of the second type data frame is determined by the device type of the controlled device, the first type, and first command content;
the first command content is determined by the type of the command.
In some embodiments, when the command is of a first type and the control parameter of the control device is null, the payload portion of the second type data frame is determined by the device type of the controlled device and the first type.
In some embodiments, when the command is of a second type and the command of the second type has a first attribute, the payload portion of the second type data frame is determined by the device type of the controlled device, the second type and a second command content;
The second command content is determined by the type of the command.
In some embodiments, when the command is of a second type and the command of the second type has a second attribute, the payload portion of the second type data frame is determined by the device type of the controlled device, the second type and a third command content;
the third command content is determined by a device type of the controlled device and a type of the command.
In some embodiments, the apparatus 500 further comprises:
A fourth determining module configured to determine a third class of data frames from the second class of data frames; the data types of the data carried by the preset bits in the frame control domain of the third type data frame, the first type data frame and the second type data frame are different; the third class of data frames comprises: an address field and a payload portion, the address field of the third class of data frame being determined by the source identification; the load part of the third type data frame is determined by the device type of the controlled device, the type of the command and the fourth command content;
the fourth command content is determined by the device type of the controlled device, or by the type of the command, or by both the type of the command and the device type of the controlled device.
In some embodiments, the frame control field of the second class data frame carries forwarding information;
The forwarding information is used for triggering the function of forwarding data to other controlled devices by the controlled device.
In some embodiments, the payload portion of the first type data frame and/or the second type data frame carries channel information;
the channel information is used for determining different transmission channels corresponding to different data frames.
In some embodiments, the first type of data frame and/or the second type of data frame carries verification information;
The verification information is used for: dividing the first class data frame and/or the second class data frame into a first part and a second part from a preset position, and checking the first part to obtain a first checking result corresponding to the first part; and verifying the second part to obtain a second verification result corresponding to the second part, or verifying the first part, the first verification result and the second part to obtain the second verification result.
In some embodiments, the first type of data frame and/or the second type of data frame includes a frame header portion, the frame header portion being determined by protocol version information, the protocol version information being used to determine a data protocol type for data processing.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
FIG. 6 is a block diagram II of a data processing apparatus according to an exemplary embodiment. As shown in fig. 6, the data processing apparatus 600 mainly includes:
a sending module 601 configured to send status information of the controlled device to an intelligent control center, so that the intelligent control center matches the controlled device with the controlled device according to the status information of the controlled device and the status information of the controlled device;
A receiving module 602 configured to receive a matching result from the intelligent control center; the matching result is used for establishing communication connection between the control equipment and the controlled equipment.
In some embodiments, the sending module 601 is configured to:
and in a preset time unit, sending the state information to the intelligent control center according to a first time interval.
In some embodiments, the sending module 601 is configured to:
And sending the state information to the intelligent control center according to a second time interval within a preset time length taking the power-on time of the controlled equipment as the starting time.
In some embodiments, the sending module 601 is configured to:
And when the controlled equipment is detected to meet the preset trigger condition, sending the state information to the intelligent control center according to a third time interval.
In some embodiments, the sending module 601 is configured to:
When the communication connection between the control equipment and the controlled equipment is in a disconnected state, receiving a first trigger instruction sent by the control equipment; the control device is a control device which has established connection with a controlled device, or is a control device which has not established connection with the controlled device, or is a control device with a preset address;
and responding to the first trigger instruction, and sending the state information of the controlled equipment to the intelligent control center according to a fourth time interval.
In some embodiments, the sending module 601 is configured to:
receiving a query instruction from the intelligent control center;
And responding to the inquiry instruction, and sending the state information of the controlled equipment to the intelligent control center according to a fifth time interval.
In some embodiments, the apparatus 600 further comprises:
The matching module is configured to receive a control signal from the control equipment corresponding to the controlled equipment based on the matching result; wherein the control signal includes a second type data frame generated according to a device type of the controlled device and a type of a command for controlling the controlled device;
A response module configured to generate a response signal from a third type of data frame in response to the control signal; wherein the third class data frame is generated according to a device type of the controlled device and a type of a command for controlling the controlled device;
And the first transmission module is configured to send the response signal to the control equipment.
In some embodiments, the first transmission module is configured to:
Transmitting the response signal to the control device through a communication connection with the control device; or alternatively
And sending the response signal to the control equipment through the intelligent control center.
In some embodiments, the apparatus 600 further comprises:
A fifth determining module configured to determine a transmission direction of the response signal according to the device configuration sequences of the control device and the intelligent control center;
The transmission direction includes: a direction from the control device to the intelligent control center, or a direction from the intelligent control center to the control device.
In some embodiments, the apparatus 600 further comprises:
the conversion module is configured to perform byte order conversion processing on the third class data frame to obtain a third class data frame in a preset mode; wherein, the preset mode includes: a preset large end mode and a preset small end mode;
And a sixth determining module configured to generate the response signal according to a third type of data frame of a preset mode.
In some embodiments, the apparatus 600 further comprises:
the forwarding module is configured to forward the control signal to other controlled equipment according to forwarding information carried in the control signal;
The forwarding information is used for triggering the function of forwarding data to other controlled devices by the controlled device.
In some embodiments, the apparatus 600 further comprises:
And the first stopping module is configured to stop sending the response signal when the electric quantity allowance of the control equipment is determined to be smaller than a preset electric quantity threshold value.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
FIG. 7 is a block diagram three of a data processing apparatus according to an exemplary embodiment. As shown in fig. 7, applied to a control device, the data processing apparatus 700 mainly includes:
A sending module 701, configured to send status information of the control device to an intelligent control center, so that the intelligent control center matches the control device with the controlled device according to the status information of the control device and the status information of the controlled device;
A receiving module 702 configured to receive a matching result from the intelligent control center; the matching result is used for establishing communication connection between the control equipment and the controlled equipment.
In some embodiments, the apparatus 700 further comprises:
a detection module configured to trigger a first trigger instruction based on a detected input operation when a communication connection between the control device and the controlled device is in a disconnected state;
The second transmission module is configured to send the first trigger instruction to the controlled equipment; the first trigger instruction is used for indicating the controlled equipment to send the state information of the controlled equipment to the intelligent control center.
In some embodiments, the apparatus 700 further comprises:
a seventh determining module configured to generate a control signal according to the second class data frame when a preset trigger operation is detected; wherein the second class data frame is generated according to a device type of the controlled device and a type of a command for controlling the controlled device;
And the third transmission module is configured to send the control signal to the controlled equipment based on the matching result.
In some embodiments, the third transmission module is configured to:
transmitting the control signal to the controlled device through a communication connection with the controlled device; or alternatively
And forwarding the control signal to the controlled equipment through the intelligent control center.
In some embodiments, the apparatus 700 further comprises:
An eighth determining module configured to determine a transmission direction of the control signal according to the device configuration order of the intelligent control center and the controlled device;
the transmission direction includes: a direction from the intelligent control center to the controlled device, or a direction from the controlled device to the intelligent control center.
In some embodiments, the apparatus 700 further comprises:
A ninth determining module, configured to perform byte order conversion processing on the second class data frame to obtain a second class data frame in a preset mode; wherein, the preset mode includes: a preset large end mode and a preset small end mode;
And the fourth transmission module is configured to generate the control signal according to the second class data frame of the preset mode.
In some embodiments, the apparatus 700 further comprises:
A fifth transmission module configured to receive a response signal returned by the controlled device based on the control signal;
Wherein the response signal includes the third type of data frame; the third class data frame is generated according to a device type of the controlled device and a type of a command for controlling the controlled device.
In some embodiments, the fifth transmission module is configured to:
receiving the response signal through a communication connection with the controlled device; or alternatively
And receiving the response signal through the intelligent control center.
In some embodiments, the apparatus 700 further comprises:
And the second stopping module is configured to stop receiving the response signal when the electric quantity allowance of the control equipment is smaller than a preset electric quantity threshold value.
In some embodiments, the control device is a self-generating power supply device, and the apparatus 700 further comprises:
And the sixth transmission module is configured to generate electric energy through the preset triggering event and provide energy for the control equipment to transmit and receive signals through the generated electric energy.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 8 is a block diagram showing a hardware configuration of a data processing apparatus according to an exemplary embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 8, apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the apparatus 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 806 provides power to the various components of the device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen between the device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 800 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the apparatus 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, an orientation or acceleration/deceleration of the device 800, and a change in temperature of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices, either in a wired or wireless manner. The apparatus 800 may access a wireless network based on a communication standard, such as WI-FI,4G, or 5G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of apparatus 800 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
A non-transitory computer readable storage medium, which when executed by a processor of a data processing apparatus, causes the data processing apparatus to perform a data processing method comprising:
acquiring equipment information of control equipment and control information generated by the control equipment;
Generating a first type data frame according to the equipment information and the control information;
the first type data frame comprises an address field and a load part, a first part in the equipment information forms the address field of the first type data frame, and a second part in the equipment information and the control information jointly form the load part of the first type data frame.
Or comprises:
The state information of the controlled equipment is sent to an intelligent control center, so that the intelligent control center matches the controlled equipment with the controlled equipment according to the state information of the controlled equipment and the state information of the controlled equipment;
receiving a matching result from the intelligent control center; the matching result is used for establishing communication connection between the control equipment and the controlled equipment.
Or comprises:
the state information of the control equipment is sent to an intelligent control center, so that the intelligent control center matches the control equipment with the controlled equipment according to the state information of the control equipment and the state information of the controlled equipment;
receiving a matching result from the intelligent control center; the matching result is used for establishing communication connection between the control equipment and the controlled equipment.
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 adaptations, uses, or adaptations of the disclosure following the general 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 is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. A method of data processing, the method comprising:
Transmitting the state information of the controlled equipment to an intelligent control center, so that the intelligent control center matches the controlled equipment with the controlled equipment according to the state information of the controlled equipment and the state information of the controlled equipment;
receiving a matching result from the intelligent control center; the matching result is used for establishing communication connection between the control equipment and the controlled equipment;
Based on the matching result, receiving a control signal from the control device corresponding to the controlled device; the control signal comprises a second class data frame, wherein the second class data frame comprises an address field and a load part, the address field of the second class data frame is determined by a target identifier of the controlled device, and the load part of the second class data frame is generated according to the device type of the controlled device and the type of a command for controlling the controlled device;
generating a response signal from the third type of data frame in response to the control signal; the third type data frame comprises an address field and a load part, the address field of the third type data frame is determined by a source identifier of the control device, and the load part of the third type data frame is generated according to the device type of the controlled device and the type of a command for controlling the controlled device;
and sending the response signal to the control equipment.
2. The method of claim 1, wherein the sending the status information of the controlled device to an intelligent control center comprises:
and in a preset time unit, sending the state information to the intelligent control center according to a first time interval.
3. The method of claim 1, wherein the sending the status information of the controlled device to an intelligent control center comprises:
And sending the state information to the intelligent control center according to a second time interval within a preset time length taking the power-on time of the controlled equipment as the starting time.
4. The method of claim 1, wherein the sending the status information of the controlled device to an intelligent control center comprises:
And when the controlled equipment is detected to meet the preset trigger condition, sending the state information to the intelligent control center according to a third time interval.
5. The method of claim 1, wherein the sending the status information of the controlled device to an intelligent control center comprises:
When the communication connection between the control equipment and the controlled equipment is in a disconnected state, receiving a first trigger instruction sent by the control equipment; the control device is a control device which has established connection with a controlled device, or is a control device which has not established connection with the controlled device, or is a control device with a preset address
And responding to the first trigger instruction, and sending the state information of the controlled equipment to the intelligent control center according to a fourth time interval.
6. The method of claim 1, wherein the sending the status information of the controlled device to an intelligent control center comprises:
receiving a query instruction from the intelligent control center;
And responding to the inquiry instruction, and sending the state information of the controlled equipment to the intelligent control center according to a fifth time interval.
7. The method of claim 1, wherein the transmitting the response signal to the control device comprises: transmitting the response signal to the control device through a communication connection with the control device; or sending the response signal to the control equipment through the intelligent control center.
8. The method of claim 7, wherein the method further comprises:
determining the transmitting direction of the response signal according to the equipment configuration sequence of the control equipment and the intelligent control center;
The transmission direction includes: a direction from the control device to the intelligent control center, or a direction from the intelligent control center to the control device.
9. The method according to claim 1, wherein the method further comprises:
Performing byte order conversion processing on the third class data frame to obtain a third class data frame with a preset mode; wherein, the preset mode includes: a preset large end mode and a preset small end mode;
and generating the response signal according to the third type data frame of the preset mode.
10. The method according to claim 1, wherein the method further comprises:
Forwarding the control signal to other controlled devices according to forwarding information carried in the control signal;
The forwarding information is used for triggering the function of forwarding data to other controlled devices by the controlled device.
11. The method according to claim 1, wherein the method further comprises:
And stopping sending the response signal when the electric quantity allowance of the control equipment is determined to be smaller than a preset electric quantity threshold value.
12. A data processing apparatus, comprising:
the intelligent control center is configured to send the state information of the controlled equipment to the intelligent control center, so that the intelligent control center matches the controlled equipment with the controlled equipment according to the state information of the controlled equipment and the state information of the controlled equipment;
The receiving module is configured to receive a matching result from the intelligent control center; the matching result is used for establishing communication connection between the control equipment and the controlled equipment;
the matching module is configured to receive a control signal from the control equipment corresponding to the controlled equipment based on the matching result; the control signal comprises a second class data frame, wherein the second class data frame comprises an address field and a load part, the address field of the second class data frame is determined by a target identifier of the controlled device, and the load part of the second class data frame is generated according to the device type of the controlled device and the type of a command for controlling the controlled device;
a response module configured to generate a response signal from a third type of data frame in response to the control signal; the third class data frame comprises an address field and a load part, the address field of the third class data frame is determined by a source identifier of the control device, and the load part of the third class data frame is generated according to the device type of the controlled device and the type of a command for controlling the controlled device;
And the first transmission module is configured to send the response signal to the control equipment.
13. A data processing apparatus, comprising:
A processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to: the steps of the data processing method of any of the preceding claims 1 to 11 are implemented when executed.
14. A non-transitory computer readable storage medium, which when executed by a processor of a data processing apparatus, causes the apparatus to perform the steps of the data processing method of any of the preceding claims 1 to 11.
CN202210080447.9A 2021-11-17 2021-11-17 Data processing method, device and storage medium Active CN114553919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210080447.9A CN114553919B (en) 2021-11-17 2021-11-17 Data processing method, device and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210080447.9A CN114553919B (en) 2021-11-17 2021-11-17 Data processing method, device and storage medium
CN202111359491.5A CN113794783B (en) 2021-11-17 2021-11-17 Data processing method, device and storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202111359491.5A Division CN113794783B (en) 2021-11-17 2021-11-17 Data processing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN114553919A CN114553919A (en) 2022-05-27
CN114553919B true CN114553919B (en) 2024-04-26

Family

ID=78877293

Family Applications (4)

Application Number Title Priority Date Filing Date
CN202210082447.2A Active CN114553920B (en) 2021-11-17 2021-11-17 Data processing method, device and storage medium
CN202210080619.2A Pending CN114500620A (en) 2021-11-17 2021-11-17 Data processing method, device and storage medium
CN202111359491.5A Active CN113794783B (en) 2021-11-17 2021-11-17 Data processing method, device and storage medium
CN202210080447.9A Active CN114553919B (en) 2021-11-17 2021-11-17 Data processing method, device and storage medium

Family Applications Before (3)

Application Number Title Priority Date Filing Date
CN202210082447.2A Active CN114553920B (en) 2021-11-17 2021-11-17 Data processing method, device and storage medium
CN202210080619.2A Pending CN114500620A (en) 2021-11-17 2021-11-17 Data processing method, device and storage medium
CN202111359491.5A Active CN113794783B (en) 2021-11-17 2021-11-17 Data processing method, device and storage medium

Country Status (1)

Country Link
CN (4) CN114553920B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897309A (en) * 2015-08-17 2016-08-24 乐视致新电子科技(天津)有限公司 Intelligent device matching device and intelligent device
CN107147657A (en) * 2017-05-31 2017-09-08 飞智控(天津)科技有限公司 Suitable for the communication protocol of multimachine reliable communication, decoding method and communication apparatus
WO2018000379A1 (en) * 2016-06-30 2018-01-04 华为技术有限公司 Data transmission control method, communication device and core network device
CN113038251A (en) * 2019-12-25 2021-06-25 北京奇艺世纪科技有限公司 Control method and control device
CN113473462A (en) * 2021-06-30 2021-10-01 苏州极目机器人科技有限公司 Matching method between terminal devices

Family Cites Families (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007131122A2 (en) * 2006-05-03 2007-11-15 Cloud Systems, Inc. System and method for managing, routing, and controlling devices and inter-device connections
CN100394740C (en) * 2006-05-08 2008-06-11 杭州华三通信技术有限公司 Method for transmitting control message and a station apparatus
TW201305912A (en) * 2011-07-18 2013-02-01 Hon Hai Prec Ind Co Ltd System and method for managing virtual machines
CN102314764B (en) * 2011-09-13 2017-11-14 中兴通讯股份有限公司 Remote terminal, method for realizing remote control and system
CN103064374A (en) * 2012-12-18 2013-04-24 重庆邮电大学 Household energy consumption monitoring system based on internet of things technology
KR102251964B1 (en) * 2014-11-04 2021-05-14 삼성전자 주식회사 Method for performing function through using of sensor data and electronic device for supporting the same
CN104331053B (en) * 2014-11-10 2016-10-26 重庆邮电大学 The implementation method of 6LoWPAN Smart Home
US10305959B2 (en) * 2014-12-11 2019-05-28 At&T Intellectual Property I, L.P. Self-organizing network communication
CN104539712A (en) * 2014-12-31 2015-04-22 广东德豪润达电气股份有限公司 Intelligent household appliance data transmission method
CN104750068B (en) * 2015-02-13 2018-08-21 湖北锐世数字医学影像科技有限公司 A kind of data transmission and control device of multinode sensor network
KR20160137224A (en) * 2015-05-22 2016-11-30 삼성전자주식회사 Apparatus and method for controlling external device
CN106487988A (en) * 2015-08-25 2017-03-08 中兴通讯股份有限公司 A kind of method and system realizing terminal control
CN105635950A (en) * 2016-01-07 2016-06-01 烽火通信科技股份有限公司 Smart home gateway control system and method based on Zigbee
CN106131924A (en) * 2016-06-06 2016-11-16 欧普照明股份有限公司 A kind of control equipment, wireless communications method and system
CN106850362A (en) * 2017-01-16 2017-06-13 黄修文 Wireless transmitting system and method based on technology of Internet of things
CN106712907B (en) * 2017-02-16 2019-08-20 北京中航通用科技有限公司 Data transmission method and equipment
CN107123253A (en) * 2017-04-28 2017-09-01 环球智达科技(北京)有限公司 Many equipment infrared remote control methods based on user terminal
CN107493211A (en) * 2017-08-29 2017-12-19 海信集团有限公司 The control method and device of intelligent home device
CN107608225A (en) * 2017-09-29 2018-01-19 深圳市艾特智能科技有限公司 Control method, system, storage medium and the computer equipment of intelligent home device
CN108696926B (en) * 2018-05-09 2021-04-06 河海大学常州校区 Cross-layer reliable data transmission method for underwater wireless sensor network
CN109165116B (en) * 2018-08-15 2021-09-14 西安微电子技术研究所 Application processing interface circuit and method
US10986185B1 (en) * 2018-09-10 2021-04-20 Saltstack, Inc. Managing functionality of multiple devices via a delta proxy
CN110290061A (en) * 2019-05-31 2019-09-27 北京未来购电子商务有限公司 A kind of Internet of Things communication means and gateway based on gateway
CN112350798A (en) * 2019-08-08 2021-02-09 华为技术有限公司 Packet transmission method and device
CN112910744A (en) * 2019-12-03 2021-06-04 北京沃东天骏信息技术有限公司 Intelligent device control method and device, storage medium and electronic device
CN111221273B (en) * 2020-01-18 2021-06-04 武汉领普科技有限公司 Control method, system, gateway, wall switch and cloud based on wireless switch
CN112087441B (en) * 2020-09-03 2022-08-16 郑州信大先进技术研究院 Multi-protocol communication method, intelligent home gateway and multi-protocol communication system
CN112104635B (en) * 2020-09-09 2022-10-14 中移(杭州)信息技术有限公司 Communication method, system and network equipment
CN112419693B (en) * 2020-11-03 2023-05-12 深圳Tcl新技术有限公司 Device control method, device, display device and computer readable storage medium
CN112882394A (en) * 2021-01-12 2021-06-01 北京小米松果电子有限公司 Device control method, control apparatus, and readable storage medium
CN115426112A (en) * 2021-05-16 2022-12-02 武汉领普科技有限公司 Method for treating self-generating switch
CN115410846A (en) * 2021-05-16 2022-11-29 武汉领普科技有限公司 Switch control method, self-generating switch and receiving end

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897309A (en) * 2015-08-17 2016-08-24 乐视致新电子科技(天津)有限公司 Intelligent device matching device and intelligent device
WO2018000379A1 (en) * 2016-06-30 2018-01-04 华为技术有限公司 Data transmission control method, communication device and core network device
CN107147657A (en) * 2017-05-31 2017-09-08 飞智控(天津)科技有限公司 Suitable for the communication protocol of multimachine reliable communication, decoding method and communication apparatus
CN113038251A (en) * 2019-12-25 2021-06-25 北京奇艺世纪科技有限公司 Control method and control device
CN113473462A (en) * 2021-06-30 2021-10-01 苏州极目机器人科技有限公司 Matching method between terminal devices

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种用于穿戴设备的串行通信协议的设计与实现;范能胜;张怀岺;;北京生物医学工程(04);全文 *

Also Published As

Publication number Publication date
CN114520821A (en) 2022-05-20
CN113794783B (en) 2022-02-25
CN114500620A (en) 2022-05-13
CN113794783A (en) 2021-12-14
CN114553919A (en) 2022-05-27
CN114553920A (en) 2022-05-27
CN114553920B (en) 2024-04-09

Similar Documents

Publication Publication Date Title
CN105159105B (en) Intelligent electric appliance working method and device
US10431218B2 (en) Integration and probabilistic control of electronic devices
EP3094045B1 (en) Home device control apparatus and control method using wearable devices
CN109379261A (en) Control method, device, system, equipment and the storage medium of smart machine
US11223497B2 (en) Method and apparatus for providing notification by interworking plurality of electronic devices
CN105163366B (en) Wireless network connecting method and device
CN106227055A (en) A kind of control the method for intelligent home device, server and gateway
CN104023434A (en) Intelligent lamp turning-on method, device and system
CN107154868A (en) Smart machine control method and device
CN109918273B (en) Data display method and device, terminal equipment and storage medium
WO2017166066A1 (en) Infrared remote control method, terminal and apparatus
CN109699065A (en) Power regulating method, device, intelligent switch and storage medium
CN109308159A (en) Smart machine control method, device, system, electronic equipment and storage medium
CN104122999A (en) Intelligent device interaction method and system
CN108572554A (en) A kind of intelligent home control system, method and relevant device
RU2683481C1 (en) Method and device for initialization for smart home
CN110045705A (en) Using the intelligent home furnishing control method of heterogeneous wireless network, apparatus and system
CN114553919B (en) Data processing method, device and storage medium
CN114520821B (en) Data processing method, device and storage medium
CN105934047B (en) A kind of method, apparatus and system controlling intelligent lamp
CN112286122A (en) Intelligent household control method, device, terminal and storage medium
CN110992544A (en) Infrared induction control method and device for intelligent door lock and storage medium
CN109712380A (en) Find method and device, the storage medium, terminal device, remote control equipment of remote control equipment
CN204808569U (en) Remote control equipment
CN114114933B (en) Control method, device and equipment of Internet of things equipment and storage medium

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