WO2021139365A1 - 处理遥控数据的方法、装置及计算机设备 - Google Patents

处理遥控数据的方法、装置及计算机设备 Download PDF

Info

Publication number
WO2021139365A1
WO2021139365A1 PCT/CN2020/125891 CN2020125891W WO2021139365A1 WO 2021139365 A1 WO2021139365 A1 WO 2021139365A1 CN 2020125891 W CN2020125891 W CN 2020125891W WO 2021139365 A1 WO2021139365 A1 WO 2021139365A1
Authority
WO
WIPO (PCT)
Prior art keywords
remote control
target
control data
ssid
address
Prior art date
Application number
PCT/CN2020/125891
Other languages
English (en)
French (fr)
Inventor
刘毓森
郑勇
张缤
戴志涛
Original Assignee
深圳市沃特沃德股份有限公司
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 深圳市沃特沃德股份有限公司 filed Critical 深圳市沃特沃德股份有限公司
Publication of WO2021139365A1 publication Critical patent/WO2021139365A1/zh

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Definitions

  • This application relates to the technical field of data processing, in particular to a method, device and computer equipment for processing remote control data.
  • smart home appliances are generally controlled by remote control.
  • remote control There are many types of remote control, such as infrared remote control or Bluetooth remote control, but it is realized by infrared In the remote control function, the infrared remote control needs to be aimed at the home appliance to achieve its key function, while the Bluetooth remote control is difficult to achieve one-to-many control of the terminal. Because the control signal is difficult to penetrate the wall and can only be controlled at close range, the remote control effect is poor.
  • These remote controllers need to keep working continuously, and the power consumption is too large.
  • the main purpose of this application is to provide a method, device and computer equipment for processing remote control data, aiming to solve the technical problem of poor remote control effect of the remote control in the prior art.
  • this application provides a method for processing remote control data, including:
  • Controlled equipment obtains remote control data
  • the controlled device When the controlled device is not the target device, forward the remote control data to the target device, so that the target device parses the remote control data to obtain a target control instruction, and executes the target control instruction.
  • the method further includes:
  • the remote control data is sent to a designated server, so that the designated server parses the remote control data to obtain the target control instruction and the target address of the target device, and send the target control instruction Send to the target device.
  • the controlled device is a router
  • the step of forwarding the remote control data to the target device includes:
  • the remote control data is sent to the target device according to the device address.
  • the controlled device is a smart device, and the step of forwarding the remote control data to the target device includes:
  • the remote control data is sent to a router so that the router parses the remote control data to obtain the target address of the target device, and sends the remote control data to the target device according to the target address.
  • the smart device has an AP mode and an STA mode, when the smart device is in the AP mode, it has an SSID number and a corresponding password, and the step of obtaining the parsed target control instruction and the target address of the target device After that, include:
  • step of obtaining remote control data by the controlled device includes:
  • the controlled device acquires the remote control data sent by the remote control device, where the remote control data is data sent by the remote control device at a target transmission power, and the target transmission power is the remote control device’s preset mapping table
  • the power selected in the mapping table and has a mapping relationship with target signal information, where the target signal information is one of multiple signal information fed back by a controlled device in a designated mode in a designated area, and the mapping table is Each of the controlled devices and the transmission power in a one-to-one mapping relationship with each of the controlled devices are recorded.
  • the signal information is SSID signal strength information
  • the target signal information is obtained by the remote control device after matching each of the signal information with a preset SSID signal table, which is recorded in the SSID
  • the remote control data is data sent by the remote control device after entering the working state from the sleep state according to the wake-up signal input by the user.
  • the embodiment of the application also proposes a remote control system, including a remote control device and a controlled device;
  • the remote control device is used to obtain signal information of a controlled device in a designated area and in a designated mode; select a target signal information from each of the signal information, and select the target signal information from a preset mapping table.
  • the signal information has a target transmission power in a mapping relationship, and the mapping table records each of the controlled devices and the transmission power in a one-to-one mapping relationship with each of the controlled devices, and the remote control is sent out at the target transmission power data;
  • the controlled device is used to obtain the remote control data; parse the remote control data; if the remote control data is successfully parsed, obtain the parsed target control instruction and the target address of the target device, when the controlled When the device is the target device, execute the target control instruction; when the controlled device is not the target device, forward the remote control data to the target device, so that the target device parses the remote control data Obtain the target control instruction, and execute the target control instruction.
  • the embodiment of the present application also proposes a storage medium, which is a computer-readable storage medium on which a computer program is stored, and when the computer program is executed, the method for processing remote control data as described in any one of the above is realized.
  • the embodiment of the present application also proposes a computer device, which includes a processor, a memory, and a computer program that is stored on the memory and can run on the processor, and when the computer program is executed, it can implement any of the foregoing The method of processing remote control data described in the item.
  • the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of any one of the above-mentioned methods are implemented.
  • the beneficial effects of the method, device and computer equipment for processing remote control data provided by this application are that in the method for processing remote control data, under the local area network constructed by each controlled device, the controlled device can use WIFI or cellular mobile network signals. Transmit remote control data, and then analyze and process the remote control data. Since each controlled device can receive or send remote control data, the controlled device may be the target device that needs to be remotely controlled to execute the target control command, or it may be used as a forwarding device.
  • the device forwards the remote control data to the corresponding target device, so that even if there is a wall block, the remote control data can still be forwarded through the adapted controlled device to realize the remote control of the device, instead of being easily blocked by the wall like a Bluetooth remote control Remote control signals, and there is no need to send remote control signals at home appliances like an infrared remote control to realize remote control, which greatly improves the remote control effect.
  • FIG. 1 is a schematic flowchart of a method for processing remote control data according to an embodiment of the present application
  • FIG. 2 is a schematic block diagram of the structure of an apparatus for processing remote control data according to an embodiment of the present application
  • FIG. 3 is a schematic block diagram of the structure of an embodiment of the storage medium of the present application.
  • Fig. 4 is a schematic structural block diagram of an embodiment of a computer device of the present application.
  • a schematic flow chart of a method for processing remote control data of the present application is proposed.
  • the method can be executed by a device for processing remote control data, and the device for processing remote control data can be implemented in the form of software or hardware.
  • the embodiment of the present application provides a method for processing remote control data, including:
  • Step S100 the controlled device obtains remote control data
  • Step S200 Analyze the remote control data
  • Step S300 If the remote control data is successfully parsed, obtain the parsed target control instruction and the target address of the target device;
  • Step S400 when the controlled device is the target device, execute the target control instruction
  • Step S500 When the controlled device is not the target device, forward the remote control data to the target device, so that the target device parses the remote control data to obtain a target control instruction, and executes the target Control instruction.
  • the controlled device obtains the above-mentioned remote control data.
  • the remote control data contains the information of the target device and control information.
  • the information of the target device includes the device name, device address, etc.
  • the control information includes the control information.
  • the control instruction of the target device after obtaining the remote control data sent by the above remote control device, the controlled device analyzes the remote control data. When the analysis is successful, the target control instruction and the target address of the target device can be parsed from the remote control data And the device name, etc., the target device is used to execute the target control instruction, that is, the target device completes the corresponding action through the target control instruction.
  • the controlled device can send and receive remote control data through WIFI or cellular mobile network signals, and the remote control data received by the controlled device at this time may be used to remotely control the controlled device itself, that is, at this time
  • the controlled device is the target device, and it is sufficient to directly execute the above target control instructions, but the remote control data may not be used to remotely control the controlled device, that is, the controlled device is not the target device.
  • the remote control data can be forwarded to the target. Device, so that the target device parses the remote control data to obtain the target control instruction, and then executes the target control instruction.
  • the controlled device since the device address, target control instruction, device name and other information of the target device have been parsed, it can be directly based on these The information can be used to determine whether the controlled device is the target device. Since each controlled device can receive or send remote control data, the controlled device may act as a target device that needs to be remotely controlled to execute target control instructions, or it may act as a forwarding device , The remote control data is forwarded to the corresponding target device, so that even if there is a wall barrier, the remote control data can still be forwarded to realize the remote control of the device, which greatly improves the remote control effect.
  • the method includes:
  • Step S600 If the remote control data cannot be parsed, send the remote control data to a designated server, so that the designated server parses the remote control data to obtain the target control instruction and the target address of the target device, and send the remote control data to the designated server.
  • the target control instruction is sent to the target device.
  • the controlled device may not be able to parse part of the remote control data, that is, the above remote control data cannot be successfully parsed.
  • the above remote control data can be IP data packets or voice data packets, but usually The controlled device cannot parse the above-mentioned voice data packet.
  • the remote control data is sent to the designated server for processing, and the designated server is allowed to process it.
  • the designated server parses and recognizes the remote control data to obtain the corresponding voice control information, such as the target control instruction, the name of the target device, the target address, etc., and then the designated server sends the target control instruction to the target device according to the target address. Make the target device execute the corresponding action.
  • step S100 includes:
  • Step S110 The controlled device acquires the remote control data sent by the remote control device, where the remote control data is data sent by the remote control device at a target transmission power, and the target transmission power is the remote control device from a preset The power selected from the mapping table of and that has a mapping relationship with target signal information, where the target signal information is one of multiple signal information fed back by a controlled device in a specified mode in a specified area, the The mapping table records each of the controlled devices and the transmission power in a one-to-one mapping relationship with each of the controlled devices.
  • the above-mentioned remote control device may be a smart remote control, and a WiFi communication unit is provided in the smart remote control, which can be wirelessly connected with each controlled device.
  • the above-mentioned controlled device includes a smart device and a router. There can be multiple buttons on the smart remote control, corresponding to different smart devices, for example, button 1 corresponds to smart device 1, button 2 corresponds to smart device 2, button 3 corresponds to smart device 3, etc.
  • the above smart device can control the above remote data Devices that respond, such as smart light 1, smart light 2, smart air conditioner, smart TV, etc.
  • the above remote control data is used to remotely control the controlled device to perform corresponding actions. It can be a data packet generated for the user to input information.
  • the user inputs information through keys, and then obtains the SSID number, password and corresponding information of the smart device that needs to be remotely controlled according to the input information.
  • the remote control device generates an IP data packet based on the information, the above SSID number, password, and the corresponding device address, or the user inputs information through voice, and then obtains the SSID number and password of the smart device that needs to be remotely controlled according to the input information
  • the remote control device generates a voice data packet according to the information, the aforementioned SSID number, password, and the corresponding device address, and the voice data packet corresponds to the designated button or voice.
  • the SSID number, password, and corresponding device address of the above-mentioned smart device can be obtained from the device's SSID number and MAC address correspondence table, and the SSID number, password, and MAC address of each controlled device are recorded in the correspondence table.
  • the above-mentioned remote control data is data sent by the remote control device after entering the working state from the dormant state according to the wake-up signal input by the user.
  • the smart remote control has a working state and a sleep state. When there is no need to remotely control the smart device, in order to save energy, the smart remote control is in a low-power sleep state.
  • the button or Voice triggering wakes up the WiFi communication unit, so that the smart remote control enters a higher energy-consuming working state and simultaneously accesses the network.
  • the aforementioned remote control data can be generated by pressing keys or voice input.
  • the remote control device When the remote control device enters the working state, it can scan and detect the signal of the controlled device in the specified mode in the specified area, so as to obtain the signal information of all the controlled devices in the specified mode in the specified area.
  • the specified area is The detectable area of the scan signal, the above specified mode can be the AP mode.
  • the above-mentioned signal information can be signal strength information, and then from all the received signal information, a signal information is selected as the target signal information, and it is matched with a preset mapping table, so as to select a signal that has a mapping with the target signal information.
  • the target transmission power of the relationship, the above mapping table is a list of one-to-one correspondence between each controlled device and each transmission power, that is, each controlled device is recorded in the mapping table, and is one-to-one mapping with each controlled device
  • the transmission power of the relationship, the transmission power is the lowest transmission power under the premise that the receiving end can successfully receive the above remote control data, and then the remote control device uses the above target transmission power to send the above remote control data, so that different signals correspond to different minimum transmissions Power, while ensuring the normal transmission of remote control data, allows the energy of the remote control device to be reasonably allocated, so as to reduce the power consumption of the remote control device.
  • the above-mentioned signal information is SSID signal strength information
  • the above-mentioned target signal information is obtained by the remote control device after matching each of the signal information with a preset SSID signal table, which is recorded in the The signal information in the SSID signal table with the strongest SSID signal strength, wherein the SSID signal table is a list of the controlled device and the SSID signal having a one-to-one mapping relationship.
  • each controlled device and the remote control device form a local area network, and each controlled device corresponds to the SSID signal of an AP (WirelessAccessPoint) when the remote control device is working, that is, the SSID signal of each controlled device is obtained
  • Information such as the SSID number and signal strength, and the strength of these SSID signals acquired by the remote control device may not be the same. Some have stronger signal strength and some have weaker signal strength.
  • the SSID signal table is a list of the controlled device and the SSID signal that have a corresponding relationship, that is, the SSID signal table records the SSID number and password corresponding to each controlled device, so that the signal information recorded in the SSID signal table is filtered out and excluded
  • record these signal information as provisional signal information, and then compare each provisional signal information, and select the signal information with the strongest SSID signal strength from the multiple provisional signal information as the target signal information,
  • the controlled device corresponding to the strongest SSID signal strength obtained is the device closest to the remote control device. At this time, the above remote control data can be sent with lower power consumption, thereby achieving the purpose of reducing power consumption.
  • the above-mentioned step S500 includes:
  • Step S510 Determine whether a device address matching the target address is found from a preset routing table, where the routing table includes device addresses of multiple smart devices;
  • Step S520 If a device address matching the target address is found, the remote control data is sent to the target device according to the device address.
  • the above-mentioned controlled device includes two types of smart devices and routers.
  • the remote control data can be forwarded to the target device through steps S510-S520.
  • the router has a routing table pre-stored in it.
  • the routing table includes the device address and device name of multiple smart devices.
  • the device address includes MAC address and IP address.
  • the device name, MAC address, IP address and subnet mask of each controlled device are respectively There is a one-to-one mapping relationship.
  • the target address can be a MAC address.
  • the aforementioned step S500 includes:
  • Step S530 Send the remote control data to a router, so that the router parses the remote control data to obtain the target address of the target device, and sends the remote control data to the target device according to the target address.
  • the remote control data needs to be forwarded to the router so that the router can parse the above-mentioned remote control data to obtain the target control instruction and the target device. Then, it is judged whether the device address matching the target address can be found from the routing table. If so, the remote control data is sent to the target device according to the device address, so that the target device executes corresponding actions according to the remote control data.
  • the method includes:
  • Step S310 Obtain the SSID number and the corresponding password of the target device parsed from the remote control data, and when in the AP mode, determine whether the SSID number and the password of the target device are the same as those of the smart device.
  • the SSID number and password are the same;
  • Step S320 If they are consistent, determine that the smart device is the target device
  • Step S330 If they are inconsistent, determine that the smart device is not the target device, and send the remote control data when in the STA mode.
  • the smart device has AP (Wireless AccessPoint) mode and STA (Spike-triggered average) mode.
  • AP mode is used to provide wireless access services and allow other smart devices to access
  • STA mode is to transmit data
  • the smart device can be used as a site to connect to other wireless networks.
  • the smart device is in a state where the AP mode and the STA mode are switched alternately, for example, the AP mode and the STA mode are switched multiple times in one second. The number of times here can be set by the user and is not limited here.
  • the smart device When the smart device is in AP mode, it has the SSID number and password corresponding to the smart device, which can correspond to the SSID signal table in the remote control device.
  • the smart device When the smart device receives the above remote control data and parses the above remote control data, it resolves the target device’s target address and target control command, and also parses the target device’s SSID number and password from the remote control data, and then analyzes the target device’s SSID number and password from the remote control data. When the device switches to AP mode, compare the SSID number and password of the target device with the SSID number and password of the controlled device. If the two are consistent, the smart device can be further determined as the target device, and then the smart device directly executes the above target Control instructions and take corresponding actions. If it is determined that the smart device is not the target device, it sends remote control data to the router when the smart device is in STA mode, so that the router parses the remote control data and forwards the remote control data to the target device through the router.
  • the smart device if the smart device cannot parse the remote control data at this time, for example, when the above remote control data is a voice data packet, the smart device cannot further analyze it. At this time, the smart device is in a state of alternate switching mode, such as switching within one second 5 times, that is, switch once every 0.2 seconds, switch from AP mode to STA mode, or switch from STA mode to AP mode. If the current smart device is in STA mode, the above remote control data will be directly sent to the designated server. The smart device is in the AP mode, and it waits until the smart device switches to the STA mode before sending the above remote control data to the designated server, and then after processing through the designated server, it returns the corresponding target control instruction according to the resolved device address.
  • alternate switching mode such as switching within one second 5 times, that is, switch once every 0.2 seconds, switch from AP mode to STA mode, or switch from STA mode to AP mode.
  • the remote control method provided in this application establishes a mapping relationship between the controlled device, the designated server and the remote control device to control multiple different controlled devices by the remote control device, and is formulated in a large local area network to control the corresponding controlled devices.
  • the equipment allocates the IP/MAC address, and realizes the control of the related controlled equipment through the mapping relationship between the remote control data of the remote control equipment and the MAC address of the corresponding controlled equipment.
  • the control data sent by the remote control device will be sent to the nearest device first. When it resolves the related address information, if the address information resolved by the controlled device is its own control information, it will be directly based on the resolved control information. The information responds accordingly. If the resolved address information is not its own MAC address, it will be sent to the router.
  • the control command will loop back through the router, without entering the core network, only forwarding the control information at the edge network, and forwarding the control information to the corresponding controlled device through the resolved IP/MAC address to realize the control of the corresponding controlled device ,
  • the remote control effect is greatly improved.
  • This application also provides a remote control system, including a remote control device and a controlled device:
  • the remote control device is used to obtain signal information of a controlled device in a designated area and in a designated mode; select a target signal information from each of the signal information, and select the target signal information from a preset mapping table.
  • the signal information has a target transmission power in a mapping relationship, and the mapping table records each of the controlled devices and the transmission power in a one-to-one mapping relationship with each of the controlled devices; the remote control is sent out with the target transmission power data;
  • the controlled device is used to obtain the remote control data; parse the remote control data; if the remote control data is successfully parsed, obtain the parsed target control instruction and the target address of the target device, when the controlled When the device is the target device, execute the target control instruction; when the controlled device is not the target device, forward the remote control data to the target device, so that the target device parses the remote control data Obtain the target control instruction, and execute the target control instruction.
  • the controlled device is further configured to send the remote control data to a designated server if the remote control data cannot be parsed, so that the designated server parses the remote control data to obtain a target control instruction And the target address of the target device, and send the target control instruction to the target device.
  • the above-mentioned controlled device includes a smart device and a router.
  • the smart device is used to receive remote control data, and identify the target device that currently needs to be controlled according to the remote control data.
  • the target device is not the current smart device, the The remote control data is sent to the router.
  • the target control instruction is obtained according to the remote control data analysis, and the target control command is executed;
  • the router is used to receive the remote control data sent by the remote control device or the smart device, and cannot resolve the above remote control device
  • the remote control data is sent to the designated server, otherwise, the above remote control data is parsed to obtain the target control instruction and device address of the target device, and the remote control data is sent to the target device according to the device address;
  • the designated server is used to receive the remote control data sent by the router, According to the remote control data analysis, the target control instruction and the device address of the target device are obtained, and the target control instruction is sent to the target device according to the device address.
  • the above-mentioned remote control system includes a remote control device, a router, a server, and a plurality of smart devices, and they are connected wirelessly to each other, for example, connected via WiFi.
  • the remote control device switches from a dormant state to a working state through a user button or voice input command. State, generate corresponding remote control data.
  • the remote control data is used to remotely control a designated smart device, that is, the target device.
  • the router scans all controlled devices in the designated area to obtain the SSID signal of each controlled device, and select the strongest SSID signal from it Then, find the target transmission power corresponding to the signal from the mapping table, and then use the target transmission power to send the remote control data to the controlled device with the strongest SSID signal.
  • the information of the target device is parsed and obtained, and the smart device is judged whether it is a target device. If so, the control instruction is further analyzed and executed. If the smart device is not the target device Device, then forward the remote control data to the router. When the router receives the remote control data, it parses the remote control data.
  • the remote control data is directly sent to the target device so that the target device executes the action corresponding to the target control instruction.
  • the router cannot parse the remote control data, it sends the remote control data to the designated server.
  • the designated server receives the aforementioned remote control data, it parses the remote control data to obtain the corresponding control instruction, the name of the target device, and the device address, and then sends the control instruction to the target device so that the target device executes the aforementioned control instruction.
  • This application also proposes a device for processing remote control data, which is used to execute the above method for processing remote control data.
  • the device for processing remote control data can be implemented in the form of software or hardware. Referring to Figure 2, the above-mentioned device for processing remote control data includes:
  • the data acquisition unit 100 is used to acquire the remote control data
  • the analysis data unit 200 is used to analyze the remote control data
  • the processing data unit 300 is configured to obtain the parsed target control instruction and the target address of the target device if the remote control data is successfully parsed;
  • the execution instruction unit 400 is configured to execute the target control instruction when the controlled device is the target device;
  • the data forwarding unit 500 is used to forward the remote control data to the target device when the controlled device is not the target device, so that the target device parses the remote control data to obtain the target control instruction, and executes all the remote control data.
  • the target control instruction is used to forward the remote control data to the target device when the controlled device is not the target device.
  • the controlled device obtains the aforementioned remote control data, which contains the target device information and control information.
  • the target device information includes device name, device address, etc.
  • the control information includes control for controlling the target device.
  • the controlled device analyzes the remote control data. When the analysis is successful, the target control instruction, the target address of the target device, and the device name can be parsed from the remote control data.
  • the above-mentioned target device is used to execute the above-mentioned target control instruction, that is, the target device is used to complete the corresponding action through the target control instruction.
  • the controlled device can send and receive remote control data through WIFI or cellular mobile network signals, and the remote control data received by the controlled device at this time may be used to remotely control the controlled device itself, that is, at this time
  • the controlled device is the above-mentioned target device, and it is sufficient to directly execute the above-mentioned target control instruction, but the remote control data may not be used to remotely control the controlled device, that is, the controlled device is not the target device, and the remote control data can be forwarded to The target device, so that the target device parses the remote control data to obtain the target control instruction, and then executes the target control instruction.
  • the target device parses the remote control data to obtain the target control instruction, and then executes the target control instruction.
  • the controlled device may either be the target device that needs to be remotely controlled and then execute the target control instruction, or it may be the forwarding device.
  • the remote control data is forwarded to the corresponding target device, so that even if there is a wall barrier, the remote control data can still be forwarded to realize the remote control of the device, which greatly improves the remote control effect.
  • the above-mentioned device for processing remote control data further includes:
  • the sending data unit 600 is configured to send the remote control data to a designated server if the remote control data cannot be parsed, so that the designated server parses the remote control data to obtain a target control instruction and a target address of the target device, And send the target control instruction to the target device.
  • the controlled device may not be able to parse some remote control data, that is, it cannot successfully parse the above remote control data. It is necessary to know that the above remote control data can be IP data packets or voice data packets. Generally, the controlled device cannot parse the above-mentioned voice data packet.
  • the remote control data is sent to a designated server for processing, and the designated server is allowed to process it.
  • the designated server parses and recognizes the remote control data to obtain corresponding voice control information, such as the target control command, the name of the target device, the target address, etc., and then the designated server sends the target control command according to the target address to make the target device Perform the corresponding action.
  • the aforementioned data acquisition unit 100 includes:
  • the data acquisition subunit is used to acquire the remote control data sent by the remote control device, wherein the remote control data is data sent by the remote control device at a target transmission power, and the target transmission power is a preset value from the remote control device.
  • the table records each of the controlled devices and the transmission power in a one-to-one mapping relationship with each of the controlled devices.
  • the above-mentioned remote control device may be a smart remote control, and a WiFi communication unit is provided in the smart remote control, which can be wirelessly connected with each controlled device.
  • the above-mentioned controlled device includes a smart device and a router. There can be multiple buttons on the smart remote control, corresponding to different smart devices, for example, button 1 corresponds to smart device 1, button 2 corresponds to smart device 2, button 3 corresponds to smart device 3, etc.
  • the above smart device can control the above remote data Devices that respond, such as smart light 1, smart light 2, smart air conditioner, smart TV, etc.
  • the above remote control data is used to remotely control the controlled device to perform corresponding actions. It can be a data packet generated for the user to input information.
  • the user inputs information through keys, and then obtains the SSID number, password and corresponding information of the smart device that needs to be remotely controlled according to the input information.
  • the remote control device generates an IP data packet based on the information, the above SSID number, password, and the corresponding device address, or the user inputs information through voice, and then obtains the SSID number and password of the smart device that needs to be remotely controlled according to the input information
  • the remote control device generates a voice data packet according to the information, the aforementioned SSID number, password, and the corresponding device address, and the voice data packet corresponds to the designated button or voice.
  • the SSID number, password, and corresponding device address of the above-mentioned smart device can be obtained from the device's SSID number and MAC address correspondence table, and the SSID number, password, and MAC address of each controlled device are recorded in the correspondence table.
  • the above-mentioned remote control data is data sent by the remote control device after entering the working state from the dormant state according to the wake-up signal input by the user.
  • the smart remote control has a working state and a sleep state. When there is no need to remotely control the smart device, in order to save energy, the smart remote control is in a low-power sleep state.
  • the button or Voice triggering wakes up the WiFi communication unit, so that the smart remote control enters a higher energy-consuming working state and simultaneously accesses the network.
  • the aforementioned remote control data can be generated by pressing keys or voice input.
  • the remote control device When the remote control device enters the working state, it can scan and detect the signal of the controlled device in the specified mode in the specified area, so as to obtain the signal information of all the controlled devices in the specified mode in the specified area.
  • the specified area is The detectable area of the scan signal, the above specified mode can be the AP mode.
  • the above-mentioned signal information can be signal strength information, and then from all the received signal information, a signal information is selected as the target signal information, and it is matched with a preset mapping table, so as to select a signal that has a mapping with the target signal information.
  • the target transmission power of the relationship, the above mapping table is a list of one-to-one correspondence between each controlled device and each transmission power, that is, each controlled device is recorded in the mapping table, and is one-to-one mapping with each controlled device
  • the transmission power of the relationship, the transmission power is the lowest transmission power under the premise that the receiving end can successfully receive the above remote control data, and then the remote control device uses the above target transmission power to send the above remote control data, so that different signals correspond to different minimum transmissions Power, while ensuring the normal transmission of remote control data, allows the energy of the remote control device to be reasonably allocated, so as to reduce the power consumption of the remote control device.
  • the above-mentioned signal information is SSID signal strength information
  • the above-mentioned target signal information is obtained by the remote control device after matching each of the signal information with a preset SSID signal table, which is recorded in the The signal information in the SSID signal table with the strongest SSID signal strength, wherein the SSID signal table is a list of the controlled device and the SSID signal having a one-to-one mapping relationship.
  • each controlled device and the remote control device form a local area network, and each controlled device corresponds to the SSID signal of an AP (WirelessAccessPoint) when the remote control device is working, that is, the SSID signal of each controlled device is obtained
  • Information such as the SSID number and signal strength, and the strength of these SSID signals acquired by the remote control device may not be the same. Some have stronger signal strength and some have weaker signal strength.
  • the SSID signal table is a list of the controlled device and the SSID signal that have a corresponding relationship, that is, the SSID signal table records the SSID number and password corresponding to each controlled device, so that the signal information recorded in the SSID signal table is filtered out and excluded
  • record these signal information as provisional signal information, and then compare each provisional signal information, and select the signal information with the strongest SSID signal strength from the multiple provisional signal information as the target signal information,
  • the controlled device corresponding to the strongest SSID signal strength obtained is the device closest to the remote control device. At this time, the above remote control data can be sent with lower power consumption, thereby achieving the purpose of reducing power consumption.
  • the data forwarding unit 500 includes:
  • the judging address subunit is used for judging whether a device address matching the target address is found from a preset routing table, and the routing table includes device addresses of multiple smart devices;
  • the sending instruction subunit is configured to send the target control instruction to the target device according to the device address if a device address matching the target address is found.
  • the above-mentioned controlled device includes two types of smart devices and routers.
  • the controlled device is a router.
  • a routing table is pre-stored in the router.
  • the routing table includes the device addresses and device names of multiple smart devices.
  • the device addresses include MAC address and IP address.
  • the device name, MAC address, IP address, and subnet mask of each controlled device have a one-to-one mapping relationship.
  • the target address can be a MAC address.
  • the data forwarding unit 500 further includes:
  • the data sending subunit is used to send the remote control data to the router so that the router parses the remote control data to obtain the target address of the target device, and sends the remote control data to the target according to the target address equipment.
  • the remote control data needs to be forwarded to the router so that the router can parse the above remote control data to obtain the target control instruction and target address of the target device. Then it is judged whether the device address matching the target address can be found from the routing table, and if so, the remote control data is sent to the target device according to the device address, so that the target device executes corresponding actions according to the remote control data.
  • the above-mentioned device for processing remote control data further includes:
  • the analysis and judgment module is used to obtain the SSID number and the corresponding password of the target device parsed from the remote control data.
  • the SSID number and password of the smart device are consistent;
  • the determining device module is used to determine that the SSID number and password of the target device are consistent with the SSID number and password of the smart device, then determining that the smart device is the target device;
  • Sending data module used to determine that the SSID number and password of the target device are inconsistent with the SSID number and password of the smart device, then determine that the smart device is not the target device, and send out all data when in the STA mode ⁇ remote control data.
  • the above-mentioned smart device has AP (Wireless AccessPoint) mode and STA (Spike-triggered Average) mode.
  • AP mode is used to provide wireless access services and allow other smart devices to access.
  • STA mode is a mode for transmitting data.
  • smart devices can be used as a site to connect to other wireless networks.
  • the smart device is in a state where the AP mode and the STA mode are switched alternately, for example, the AP mode and the STA mode are switched multiple times in one second. The number of times here can be set by the user and is not limited here.
  • the smart device When the smart device is in AP mode, it has the SSID number and password corresponding to the smart device, which can correspond to the SSID signal table in the remote control device.
  • the smart device receives the above remote control data and parses the above remote control data, it resolves the target device’s target address and target control command, and also parses the target device’s SSID number and password from the remote control data, and then analyzes the target device’s SSID number and password from the remote control data.
  • the device switches to AP mode, compare the SSID number and password of the target device with the SSID number and password of the controlled device. If the two are consistent, the smart device can be further determined as the target device, and then the smart device directly executes the control Instruction and take corresponding actions. If it is determined that the smart device is not the target device, it sends remote control data to the router when the smart device is in STA mode, so that the router parses the remote control data and forwards the remote control data to the target device through the router.
  • the smart device if the smart device cannot parse the remote control data at this time, for example, when the above remote control data is a voice data packet, the smart device cannot further analyze it. At this time, the smart device is in a state of alternate switching mode, such as switching within one second 5 times, that is, switch once every 0.2 seconds, switch from AP mode to STA mode, or switch from STA mode to AP mode. If the current smart device is in STA mode, the above remote control data will be directly sent to the designated server. The smart device is in AP mode, and it waits until the smart device switches to STA mode before sending the above remote control data to the designated server, and then after processing through the designated server, it returns the corresponding target control instruction according to the resolved device address.
  • alternate switching mode such as switching within one second 5 times, that is, switch once every 0.2 seconds, switch from AP mode to STA mode, or switch from STA mode to AP mode.
  • the present application also provides a computer-readable storage medium 21.
  • the storage medium 21 stores a computer program 22, which when running on a computer, causes the computer to execute the method for processing remote control data described in the above embodiments. .
  • this application also provides a computer device 34 containing instructions.
  • the computer device includes a memory 31 and a processor 33.
  • the memory 31 stores a computer program 22.
  • the processor 33 executes the computer program 22, the description in the above embodiment is implemented. The method of processing remote control data.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.).
  • wired such as coaxial cable, optical fiber, digital subscriber line (DSL)
  • wireless such as infrared, wireless, microwave, etc.
  • the computer-readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).

Abstract

处理遥控数据的方法、装置及计算机设备(34),方法包括受控设备获取遥控数据(S100);对遥控数据进行解析(S200);若成功解析,获取目标控制指令及目标设备的目标地址(S300),当受控设备为目标设备时执行目标控制指令(S400);当不为目标设备时将遥控数据发至目标设备,得到目标控制指令并执行(S500)。在一个局域网下隔墙遥控相应设备,提高了遥控效果。

Description

处理遥控数据的方法、装置及计算机设备 技术领域
本申请涉及到数据处理的技术领域,特别是涉及到一种处理遥控数据的方法、装置及计算机设备。
背景技术
随着科技发展,更多智能家电进入到人们的生活环境中,而目前智能家电一般通过遥控器来进行控制,遥控器的类型多种多样,例如红外线遥控器或蓝牙遥控器,但是通过红外线实现遥控功能时,红外线遥控器需要对准家电设备其按键功能才能实现,蓝牙遥控器则难以一对多实现对终端的控制,由于控制信号难以穿墙只能近距离控制,遥控效果较差,且这些遥控器均需要持续保持工作状态,功耗太大。
技术问题
本申请的主要目的为提供一种处理遥控数据的方法、装置及计算机设备,旨在解决现有技术中遥控器的遥控效果较差的技术问题。
技术解决方案
为实现上述目的,本申请提供了一种处理遥控数据的方法,包括:
受控设备获取遥控数据;
对所述遥控数据进行解析;
若成功解析所述遥控数据,则获取解析出的目标控制指令以及目标设备的目标地址;
当所述受控设备为所述目标设备时,执行所述目标控制指令;
当所述受控设备不为所述目标设备时,将所述遥控数据转发至所述目标设备,以使所述目标设备解析所述遥控数据得到目标控制指令,并执行所述目标控制指令。
进一步地,所述对所述遥控数据进行解析的步骤之后,还包括:
若无法解析所述遥控数据,则将所述遥控数据发送至指定服务器,以使所述指定服务器解析所述遥控数据得到目标控制指令以及所述目标设备的目标地址,并将所述目标控制指令发送至所述目标设备。
进一步地,所述受控设备为路由器,所述将所述遥控数据转发至目标设备的步骤,包括:
判断是否从预设的路由表找到与所述目标地址匹配的设备地址,所述路由表包括多个智能设备的设备地址;
若找到与所述目标地址匹配的设备地址,则依据所述设备地址将所述遥控数据发送至所述目标设备。
进一步地,所述受控设备为智能设备,所述将所述遥控数据转发至目标设备的步骤,包括:
将所述遥控数据发送至路由器以使所述路由器解析所述遥控数据得到所述目标设备的目标地址,依据所述目标地址将所述遥控数据发送至所述目标设备。
进一步地,所述智能设备具有AP模式以及STA模式,当所述智能设备处于所述AP模式时具有SSID号以及对应的密码,所述获取解析出的目标控制指令以及目标设备的目标地址的步骤之后,包括:
获取从所述遥控数据中解析出的对应所述目标设备的SSID号以及对应的密码,当处于所述AP模式时,判断所述目标设备的SSID号以及密码是否与所述智能设备的SSID号以及密码一致;
若一致,则判定所述智能设备为所述目标设备;
若不一致,则判定所述智能设备不为所述目标设备,并在处于所述STA模式时发出所述遥控数据。
进一步地,所述受控设备获取遥控数据的步骤,包括:
所述受控设备获取遥控设备发出的所述遥控数据,其中,所述遥控数据为所述遥控设备以目标发送功率发出的数据,所述目标发送功率为所述遥控设备从预设的映射表中选取的,且与目标信号信息具有映射关系的功率,所述目标信号信息为指定区域内处于指定模式下的受控设备所反馈的多个信号信息中的一个信号信息,所述映射表中记录有各所述受控设备,以及与各所述受控设备呈一对一映射关系的发送功率。
进一步地,所述信号信息为SSID信号强度信息,所述目标信号信息由所述遥控设备将各所述信号信息与预设的SSID信号表进行匹配后筛选得出,其为记录在所述SSID信号表中且SSID信号强度最强的信号信息,其中,所述SSID信号表为所述受控设备与SSID信号具有一一对应映射关系的列表。
进一步地,所述遥控数据为所述遥控设备依据用户输入的唤醒信号,从休眠状态进入工作状态后所发出的数据。
本申请实施例还提出了一种遥控系统,包括遥控设备以及受控设备;
所述遥控设备,用于获取指定区域内且处于指定模式下的受控设备的信号信息;从各所述信号信息中选取一目标信号信息,并从预设的映射表中选取与所述目标信号信息具有映射关系的目标发送功率,所述映射表中记录有各所述受控设备,以及与各所述受控设备呈一对一映射关系的发送功率,以所述目标发送功率发出遥控数据;
所述受控设备,用于获取所述遥控数据;对所述遥控数据进行解析;若成功解析所述遥控数据,则获取解析出的目标控制指令以及目标设备的目标地址,当所述受控设备为所述目标设备时,执行所述目标控制指令;当所述受控设备不为所述目标设备时,将所述遥控数据转发至目标设备,以使所述目标设备解析所述遥控数据得到目标控制指令,并执行所述目标控制指令。
本申请实施例还提出了一种存储介质,其为计算机可读的存储介质,其上存储有计算机程序,所述计算机程序被执行时实现如上述任一项所述的处理遥控数据的方法。
本申请实施例还提出了一种计算机设备,其包括处理器、存储器及存储于所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被执行时实现如上述任一项所述的处理遥控数据的方法。
本申请还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一项所述的方法的步骤。
有益效果
本申请提供的处理遥控数据的方法、装置及计算机设备的有益效果为,该处理遥控数据的方法中,在各受控设备所构建的局域网下,受控设备可以通过WIFI或蜂窝移动网络信号来传输遥控数据,然后对遥控数据进行解析处理,由于每一个受控设备均可接收或发送遥控数据,即受控设备既可能作为需要被遥控的目标设备进而执行目标控制指令,也可能作为转发的设备,将遥控数据转发至相应的目标设备,这样即便有墙壁阻隔,依然能够通过适配的受控设备转发遥控数据从而实现设备的远距离遥控,而不会像蓝牙遥控器一样容易被墙壁阻隔遥控信号,且也无需像红外线遥控器一样对准家电设备发出遥控信号才能实现遥控,大大地提高了遥控效果。
附图说明
图1 是本申请一实施例的处理遥控数据的方法的流程示意图;
图2是本申请一实施例的处理遥控数据的装置的结构示意框图;
图3是本申请的存储介质的一实施例的结构示意框图;
图4是本申请的计算机设备的一实施例的结构示意框图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
本发明的最佳实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
如图1所示,提出本申请的一种处理遥控数据的方法的流程示意图,该方法可以由处理遥控数据的装置来执行,处理遥控数据的装置具体可通过软件或硬件的形式实现。本申请实施例提供了一种处理遥控数据的方法,包括:
步骤S100:受控设备获取遥控数据;
步骤S200:对所述遥控数据进行解析;
步骤S300:若成功解析所述遥控数据,则获取解析出的目标控制指令以及目标设备的目标地址;
步骤S400:当所述受控设备为所述目标设备时,执行所述目标控制指令;
步骤S500:当所述受控设备不为所述目标设备时,将所述遥控数据转发至所述目标设备,以使所述目标设备解析所述遥控数据得到目标控制指令,并执行所述目标控制指令。
如上述步骤S100-S500所述,受控设备获取上述遥控数据,该遥控数据中包含有目标设备的信息以及控制信息,例如目标设备的信息包括设备名称、设备地址等,控制信息包括用于控制目标设备的控制指令;在获取到上述遥控设备发出的遥控数据后,受控设备对该遥控数据进行解析,当解析成功时,则可从遥控数据中解析出目标控制指令、目标设备的目标地址以及设备名称等,上述目标设备用于执行上述目标控制指令,即通过目标控制指令使目标设备完成相应的动作。在受控设备所构建的局域网下,受控设备可以通过WIFI或蜂窝移动网络信号来收发遥控数据,而这时受控设备接收到遥控数据可能用于遥控该受控设备本身,也即这时该受控设备为目标设备,直接执行上述目标控制指令即可,但遥控数据也有可能并不是用于遥控该受控设备,即受控设备不为目标设备,这时可将遥控数据转发至目标设备,以使目标设备解析遥控数据得到目标控制指令,再执行目标控制指令,具体而言,由于已解析出了目标设备的设备地址、目标控制指令、设备名称等信息,这时可直接根据这些信息判断受控设备是否为目标设备即可,由于每一个受控设备均可接收或发送遥控数据,受控设备既可能作为需要被遥控的目标设备进而执行目标控制指令,也可能作为转发的设备,将遥控数据转发至相应的目标设备,这样即便有墙壁阻隔,依然能够通过转发遥控数据从而实现设备的远距离遥控,大大地提高了遥控效果。
在一个实施例中,上述步骤S200之后,包括:
步骤S600:若无法解析所述遥控数据,则将所述遥控数据发送至指定服务器,以使所述指定服务器解析所述遥控数据得到目标控制指令以及所述目标设备的目标地址,并将所述目标控制指令发送至所述目标设备。
如上述步骤S600所述,受控设备由于硬件设施的限制,对于部分遥控数据可能解析不了,也即无法成功解析上述遥控数据,需知上述遥控数据可以为IP数据包或语音数据包,而通常受控设备无法解析上述语音数据包,这时则将该遥控数据发送至指定服务器进行处理,让该指定服务器对其进行处理。指定服务器对该遥控数据进行解析,并识别,得到对应的语音控制信息,如目标控制指令、目标设备的名称、目标地址等,然后该指定服务器依据目标地址将目标控制指令发送至目标设备,以使目标设备执行相应的动作。
在一个实施例中,上述步骤S100包括:
步骤S110:所述受控设备获取遥控设备发出的所述遥控数据,其中,所述遥控数据为所述遥控设备以目标发送功率发出的数据,所述目标发送功率为所述遥控设备从预设的映射表中选取的,且与目标信号信息具有映射关系的功率,所述目标信号信息为指定区域内处于指定模式下的受控设备所反馈的多个信号信息中的一个信号信息,所述映射表中记录有各所述受控设备,以及与各所述受控设备呈一对一映射关系的发送功率。
本实施例中,上述遥控设备可为智能遥控器,智能遥控器内设置有WiFi通信单元,可以与各受控设备无线连接,上述受控设备包括智能设备以及路由器。智能遥控器上可设置有多个按键,分别对应不同的智能设备,例如按键1对应智能设备1,按键2对应智能设备2,按键3对应智能设备3等,上述智能设备为可对上述遥控数据作出响应的设备,例如智能灯1、智能灯2、智能空调、智能电视等。上述遥控数据用于遥控受控设备执行相应动作,可以为用户输入信息而生成的数据包,例如用户通过按键输入信息,然后根据输入的信息获取需要进行遥控的智能设备的SSID号、密码以及对应的设备地址,遥控设备根据该信息以及上述SSID号、密码以及对应的设备地址生成IP数据包,或者用户通过语音输入信息,然后根据该输入的信息获取需要进行遥控的智能设备的SSID号、密码以及对应的设备地址,遥控设备根据该信息以及上述SSID号、密码以及对应的设备地址生成语音数据包,该语音数据包与指定的按键或语音相对应。上述智能设备的SSID号、密码以及对应的设备地址可从设备的SSID号与MAC地址对应表中获取,该对应表中记录有各受控设备的SSID号、密码以及MAC地址。
进一步地,上述遥控数据为遥控设备依据用户输入的唤醒信号,从休眠状态进入工作状态后发出的数据。本实施例中,智能遥控器具有工作状态与休眠状态,当不需要遥控智能设备时,为了节省能量,智能遥控器处于低功耗的休眠状态,当需要遥控受控设备时,可通过按键或语音触发,唤醒WiFi通信单元,从而使智能遥控器进入较高耗能的工作状态,同时接入网络,这时可通过按键或语音输入生成上述遥控数据。
当遥控设备进入工作状态后,可通过扫描检测指定区域内处于指定模式下的受控设备的信号,从而获取到指定区域内所有处于该指定模式下的受控设备的信号信息,该指定区域为扫描信号的可探测区域,上述指定模式可为AP模式。上述信号信息可以为信号的强度信息,然后从所有接收到的信号信息中,选取一个信号信息作为目标信号信息,将其与预设的映射表进行匹配,从而选取到与该目标信号信息具有映射关系的目标发送功率,上述映射表为各个受控设备与各发送功率具有一一对应映射关系的列表,即该映射表中记录有各受控设备,以及与各受控设备呈一对一映射关系的发送功率,该发送功率为在保证接收端能够成功接收到上述遥控数据前提下的最低发送功率,然后遥控设备采用上述目标发送功率将上述遥控数据发送出去,这样通过不同信号对应不同最低发送功率,在保证正常发送遥控数据的情况下使得遥控设备的能量得到合理分配,以降低遥控设备的功耗。
在一个实施例中,上述信号信息为SSID信号强度信息,上述目标信号信息由所述遥控设备将各所述信号信息与预设的SSID信号表进行匹配后筛选得出,其为记录在所述SSID信号表中且SSID信号强度最强的信号信息,其中,所述SSID信号表为所述受控设备与SSID信号具有一一对应映射关系的列表。本实施例中,各个受控设备与遥控设备形成一个局域网,每个受控设备均对应一个遥控设备在工作状态时接入AP(WirelessAccessPoint)的SSID信号,即获取到各受控设备的SSID信号信息,例如SSID号以及信号强度,且遥控设备获取到这些SSID信号的强度不一定相同,有的信号强度较强有的信号强度较弱,将各信号信息与预设的SSID信号表进行匹配,该SSID信号表为受控设备与SSID信号具有对应关系的列表,即SSID信号表记录有每个受控设备对应的SSID号及其密码,如此筛选出记录在SSID信号表中的信号信息,排除其他干扰信号,为了便于描述,将这些信号信息记为暂选信号信息,然后比较各个暂选信号信息,从多个暂选信号信息中选取SSID信号强度最强的信号信息作为上述目标信号信息,通常获得的最强SSID信号强度对应的受控设备为距离遥控设备最近的设备,这时可以以较低功耗发送出上述遥控数据,从而达到降低功耗的目的。
在一个实施例中,当上述受控设备为路由器时,上述步骤S500,包括:
步骤S510:判断是否从预设的路由表找到与所述目标地址匹配的设备地址,所述路由表包括多个智能设备的设备地址;
步骤S520:若找到与所述目标地址匹配的设备地址,则依据所述设备地址将所述遥控数据发送至所述目标设备。
上述受控设备包括智能设备以及路由器两种类型,本实施例中,当受控设备为路由器时,可通过步骤S510-S520来实现将遥控数据转发至目标设备,上述路由器中预存有路由表,路由表包括有多个智能设备的设备地址以及设备名称,设备地址包括MAC地址以及IP地址,该路由表中,每个受控设备的设备名称、MAC地址、IP地址以及子网掩码均分别具有一一对应映射关系。本实施例中,首先,判断是否能从上述路由表中找到与上述目标地址匹配的设备地址,即在路由表中查找与目标地址一致的设备地址,上述目标地址可以为MAC地址,当找到一致的设备地址,也即可以找到与该MAC地址对应的IP地址,然后依据该设备地址将上述遥控数据发送至目标设备,以使目标设备解析该遥控数据得到目标控制指令,并根据目标控制指令执行相应的动作。
在一个实施例中,当上述受控设备为智能设备时,上述步骤S500,包括:
步骤S530:将所述遥控数据发送至路由器,以使所述路由器解析所述遥控数据得到所述目标设备的目标地址,依据所述目标地址将所述遥控数据发送至所述目标设备。
本实施例中,当上述受控设备为智能设备时,由于受控设备不为目标设备,则需要将遥控数据转发至路由器,以使路由器解析上述遥控数据,得到目标设备的目标控制指令以及目标地址,然后判断是否能从上述路由表中找到与上述目标地址匹配的设备地址,若是,依据该设备地址将上述遥控数据发送至目标设备,以使目标设备依据遥控数据执行相应的动作。
在一个实施例中,上述步骤S300之后,包括:
步骤S310:获取从所述遥控数据中解析出的对应所述目标设备的SSID号以及对应的密码,当处于所述AP模式时,判断所述目标设备的SSID号以及密码是否与所述智能设备的SSID号以及密码一致;
步骤S320:若一致,则判定所述智能设备为所述目标设备;
步骤S330:若不一致,则判定所述智能设备不为所述目标设备,并在处于所述STA模式时发出所述遥控数据。
如上述步骤S310-S330所述,上述智能设备具有AP(WirelessAccessPoint)模式以及STA(Spike-triggered average)模式,AP模式用于提供无线接入服务,允许其它智能设备接入,STA模式为传送数据的模式,此时智能设备可作为一个站点以连接至其他无线网络。本实施例中,智能设备处于AP模式与STA模式轮流切换的状态,例如一秒内AP模式与STA模式轮流多次切换,此处的次数可由用户自行设置,此处并不作限制。当智能设备处于AP模式,具有对应该智能设备的SSID号以及密码,可与遥控设备中的SSID信号表相对应。当智能设备接收到上述遥控数据,对上述遥控数据进行解析时,解析出目标设备的目标地址、目标控制指令之外还同时从该遥控数据中解析出目标设备的SSID号以及密码,然后在智能设备切换到AP模式时,将目标设备的SSID号以及密码与该受控设备的SSID号以及密码进行对比,若两者一致,可进一步确定智能设备为目标设备,这时智能设备直接执行上述目标控制指令,作出相应的动作,若判定智能设备不为目标设备,则在智能设备处于STA模式时向路由器发出遥控数据,以使路由器解析遥控数据,并通过路由器将遥控数据转发至目标设备。
在一个实施例中,这时若智能设备对遥控数据解析不了,例如当上述遥控数据为语音数据包,智能设备无法进一步解析,此时智能设备处于轮流切换模式的状态,例如在一秒内切换5次,也即每隔0.2秒切换一次,从AP模式切换至STA模式,或从STA模式切换至AP模式,若当前智能设备处于STA模式时,直接将上述遥控数据发送至指定服务器,若当前智能设备处于AP模式,则等待直至智能设备切换到STA模式才将上述遥控数据发送至指定服务器,然后通过指定服务器处理后,按照解析出的设备地址再返回相应的目标控制指令。
本申请提供的遥控方法,通过在受控设备、指定服务器和遥控设备之间,建立起遥控设备控制多个不同的受控设备的映射关系,制定在一个大的局域网中,对相应的受控设备进行IP/MAC地址的分配,通过遥控设备的遥控数据与对应的受控设备的MAC地址之间的映射关系,实现对相关的受控设备的控制。优选地,遥控设备发送的控制数据将会首先发送到最近的设备,当其解析相关的地址信息时,如果受控设备解析的地址信息是对于自己本身的控制信息,则直接根据解析到的控制信息进行对应的响应,如果解析出来的地址信息不是自身的MAC地址,将其将发到路由器,由于处于一个大的局域网中,且路由器存在关于各智能设备的IP/MAC地址的映射表,那么控制指令将通过路由器进行回环,不进入核心网络,只在边缘网络做控制信息的转发,通过解析出的IP/MAC地址,将控制信息转发到对应的受控设备,实现对应受控设备的控制,遥控效果大大提高。
本申请还提供一种遥控系统,包括遥控设备和受控设备:
所述遥控设备,用于获取指定区域内且处于指定模式下的受控设备的信号信息;从各所述信号信息中选取一目标信号信息,并从预设的映射表中选取与所述目标信号信息具有映射关系的目标发送功率,所述映射表中记录有各所述受控设备,以及与各所述受控设备呈一对一映射关系的发送功率;以所述目标发送功率发出遥控数据;
所述受控设备,用于获取所述遥控数据;对所述遥控数据进行解析;若成功解析所述遥控数据,则获取解析出的目标控制指令以及目标设备的目标地址,当所述受控设备为所述目标设备时,执行所述目标控制指令;当所述受控设备不为所述目标设备时,将所述遥控数据转发至目标设备,以使所述目标设备解析所述遥控数据得到目标控制指令,并执行所述目标控制指令。
在一个实施例中,所述受控设备,还用于在若无法解析所述遥控数据时,将所述遥控数据发送至指定服务器,以使所述指定服务器解析所述遥控数据得到目标控制指令以及所述目标设备的目标地址,并将所述目标控制指令发送至所述目标设备。
本实施例中,上述受控设备包括智能设备以及路由器,其中,智能设备用于接收遥控数据,依据遥控数据识别出当前需要受控的目标设备,当目标设备不为当前的智能设备时,将遥控数据发送至路由器,当目标设备为智能设备时,依据遥控数据解析得到目标控制指令,并执行目标控制命令;路由器用于接收遥控设备或智能设备发送的遥控数据,并在解析不了上述遥控设备时,将遥控数据发送至指定服务器,否则解析上述遥控数据,得到目标设备的目标控制指令以及设备地址,并依据设备地址将遥控数据发送至目标设备;指定服务器用于接收路由器发送的遥控数据,依据遥控数据解析得到目标设备的目标控制指令以及设备地址,并依据设备地址将目标控制指令发送至目标设备。
在一个具体实施例中,上述遥控系统包括遥控设备、路由器、服务器以及多个智能设备,且分别相互无线连接,例如通过WiFi连接,遥控设备通过用户按键或语音输入指令,从休眠状态转换成工作状态,生成对应遥控数据,该遥控数据用于遥控一指定的智能设备,即目标设备,同时扫描指定区域内的所有受控设备,以获取各受控设备的SSID信号,从中选取SSID信号最强的信号,然后从映射表中找出与该信号对应的目标发送功率,然后以该目标发送功率将上述遥控数据发送至对应该SSID信号最强的受控设备。当接收到上述遥控数据的为智能设备,则解析获取到目标设备的信息,并判断该智能设备是不是目标设备,若是则进一步解析出控制指令,并执行该控制指令,若该智能设备不是目标设备,则将该遥控数据转发至路由器。当路由器接收到遥控数据,则解析遥控数据,若解析出目标设备的设备地址以及目标控制指令,则直接将该遥控数据发送至目标设备,以让目标设备执行对应目标控制指令的动作。当路由器无法解析遥控数据时,将该遥控数据发送至指定服务器。指定服务器接收到上述遥控数据时,解析该遥控数据得到对应的控制指令、目标设备的名称、设备地址,然后将控制指令发送至目标设备,让目标设备执行上述控制指令。
本申请还提出了一种处理遥控数据的装置,用于执行上述处理遥控数据的方法,处理遥控数据的装置具体可通过软件或硬件的形式实现。参照图2,上述处理遥控数据的装置包括:
获取数据单元100,用于获取所述遥控数据;
解析数据单元200,用于对所述遥控数据进行解析;
处理数据单元300,用于若成功解析所述遥控数据,则获取解析出的目标控制指令以及目标设备的目标地址;
执行指令单元400,用于当所述受控设备为所述目标设备时,执行所述目标控制指令;
转发数据单元500,用于当所述受控设备不为所述目标设备时,将所述遥控数据转发至目标设备,以使所述目标设备解析所述遥控数据得到目标控制指令,并执行所述目标控制指令。
本实施例中,受控设备获取上述遥控数据,该遥控数据中包含有目标设备的信息以及控制信息,例如目标设备的信息包括设备名称、设备地址等,控制信息包括用于控制目标设备的控制指令;在获取到上述遥控设备发出的遥控数据后,受控设备对该遥控数据进行解析,当解析成功时,则可从遥控数据中解析出目标控制指令、目标设备的目标地址以及设备名称等,上述目标设备用于执行上述目标控制指令,即通过目标控制指令使目标设备完成相应的动作。在受控设备所构建的局域网下,受控设备可以通过WIFI或蜂窝移动网络信号来收发遥控数据,而这时受控设备接收到遥控数据可能用于遥控该受控设备本身,也即这时该受控设备为上述目标设备,直接执行上述目标控制指令即可,但遥控数据也有可能并不是用于遥控该受控设备,即受控设备不为目标设备,这时可将遥控数据转发至目标设备,以使目标设备解析遥控数据得到目标控制指令,再执行目标控制指令,具体而言,由于已解析出了目标设备的设备地址、目标控制指令、设备名称等,这时可直接判断受控设备是否为目标设备即可,这样由于每一个受控设备均可接收或发送遥控数据,受控设备既可能作为需要被遥控的目标设备进而执行目标控制指令,也可能作为转发的设备,将遥控数据转发至相应的目标设备,这样即便有墙壁阻隔,依然能够通过转发遥控数据从而实现设备的远距离遥控,大大地提高了遥控效果。
在一个实施例中,上述处理遥控数据的装置还包括:
发送数据单元600,用于若无法解析所述遥控数据,则将所述遥控数据发送至指定服务器,以使所述指定服务器解析所述遥控数据得到目标控制指令以及所述目标设备的目标地址,并将所述目标控制指令发送至所述目标设备。
如上述发送数据单元600所述,受控设备由于硬件设施的限制,对于部分遥控数据可能解析不了,也即无法成功解析上述遥控数据,需知上述遥控数据可以为IP数据包或语音数据包,而通常受控设备无法解析上述语音数据包,这时则将该遥控数据发送至指定服务器进行处理,让该指定服务器对其进行处理。指定服务器对该遥控数据进行解析,并识别,得到对应的语音控制信息,如目标控制指令、目标设备的名称、目标地址等,然后该指定服务器依据目标地址将目标控制指令发送,以使目标设备执行相应的动作。
在一个实施例中,上述获取数据单元100,包括:
获取数据子单元,用于获取遥控设备发出的所述遥控数据,其中,所述遥控数据为所述遥控设备以目标发送功率发出的数据,所述目标发送功率为所述遥控设备从预设的映射表中选取的,且与目标信号信息具有映射关系的功率,所述目标信号信息为指定区域内处于指定模式下的受控设备所反馈的多个信号信息中的一个信号信息,所述映射表中记录有各所述受控设备,以及与各所述受控设备呈一对一映射关系的发送功率。
本实施例中,上述遥控设备可为智能遥控器,智能遥控器内设置有WiFi通信单元,可以与各受控设备无线连接,上述受控设备包括智能设备以及路由器。智能遥控器上可设置有多个按键,分别对应不同的智能设备,例如按键1对应智能设备1,按键2对应智能设备2,按键3对应智能设备3等,上述智能设备为可对上述遥控数据作出响应的设备,例如智能灯1、智能灯2、智能空调、智能电视等。上述遥控数据用于遥控受控设备执行相应动作,可以为用户输入信息而生成的数据包,例如用户通过按键输入信息,然后根据输入的信息获取需要进行遥控的智能设备的SSID号、密码以及对应的设备地址,遥控设备根据该信息以及上述SSID号、密码以及对应的设备地址生成IP数据包,或者用户通过语音输入信息,然后根据该输入的信息获取需要进行遥控的智能设备的SSID号、密码以及对应的设备地址,遥控设备根据该信息以及上述SSID号、密码以及对应的设备地址生成语音数据包,该语音数据包与指定的按键或语音相对应。上述智能设备的SSID号、密码以及对应的设备地址可从设备的SSID号与MAC地址对应表中获取,该对应表中记录有各受控设备的SSID号、密码以及MAC地址。
进一步地,上述遥控数据为遥控设备依据用户输入的唤醒信号,从休眠状态进入工作状态后发出的数据。本实施例中,智能遥控器具有工作状态与休眠状态,当不需要遥控智能设备时,为了节省能量,智能遥控器处于低功耗的休眠状态,当需要遥控受控设备时,可通过按键或语音触发,唤醒WiFi通信单元,从而使智能遥控器进入较高耗能的工作状态,同时接入网络,这时可通过按键或语音输入生成上述遥控数据。
当遥控设备进入工作状态后,可通过扫描检测指定区域内处于指定模式下的受控设备的信号,从而获取到指定区域内所有处于该指定模式下的受控设备的信号信息,该指定区域为扫描信号的可探测区域,上述指定模式可为AP模式。上述信号信息可以为信号的强度信息,然后从所有接收到的信号信息中,选取一个信号信息作为目标信号信息,将其与预设的映射表进行匹配,从而选取到与该目标信号信息具有映射关系的目标发送功率,上述映射表为各个受控设备与各发送功率具有一一对应映射关系的列表,即该映射表中记录有各受控设备,以及与各受控设备呈一对一映射关系的发送功率,该发送功率为在保证接收端能够成功接收到上述遥控数据前提下的最低发送功率,然后遥控设备采用上述目标发送功率将上述遥控数据发送出去,这样通过不同信号对应不同最低发送功率,在保证正常发送遥控数据的情况下使得遥控设备的能量得到合理分配,以降低遥控设备的功耗。
在一个实施例中,上述信号信息为SSID信号强度信息,上述目标信号信息由所述遥控设备将各所述信号信息与预设的SSID信号表进行匹配后筛选得出,其为记录在所述SSID信号表中且SSID信号强度最强的信号信息,其中,所述SSID信号表为所述受控设备与SSID信号具有一一对应映射关系的列表。本实施例中,各个受控设备与遥控设备形成一个局域网,每个受控设备均对应一个遥控设备在工作状态时接入AP(WirelessAccessPoint)的SSID信号,即获取到各受控设备的SSID信号信息,例如SSID号以及信号强度,且遥控设备获取到这些SSID信号的强度不一定相同,有的信号强度较强有的信号强度较弱,将各信号信息与预设的SSID信号表进行匹配,该SSID信号表为受控设备与SSID信号具有对应关系的列表,即SSID信号表记录有每个受控设备对应的SSID号及其密码,如此筛选出记录在SSID信号表中的信号信息,排除其他干扰信号,为了便于描述,将这些信号信息记为暂选信号信息,然后比较各个暂选信号信息,从多个暂选信号信息中选取SSID信号强度最强的信号信息作为上述目标信号信息,通常获得的最强SSID信号强度对应的受控设备为距离遥控设备最近的设备,这时可以以较低功耗发送出上述遥控数据,从而达到降低功耗的目的。
在一个实施例中,转发数据单元500,包括:
判断地址子单元,用于判断是否从预设的路由表找到与所述目标地址匹配的设备地址,所述路由表包括多个智能设备的设备地址;
发送指令子单元,用于若找到与所述目标地址匹配的设备地址,则依据所述设备地址将所述目标控制指令发送至所述目标设备。
上述受控设备包括智能设备以及路由器两种类型,本实施例中,受控设备为路由器,上述路由器中预存有路由表,路由表包括有多个智能设备的设备地址以及设备名称,设备地址包括MAC地址以及IP地址,该路由表中,每个受控设备的设备名称、MAC地址、IP地址以及子网掩码均分别具有一一对应映射关系。本实施例中,首先,判断是否能从上述路由表中找到与上述目标地址匹配的设备地址,即在路由表中查找与目标地址一致的设备地址,上述目标地址可以为MAC地址,当找到一致的设备地址,也即可以找到与该MAC地址对应的IP地址,然后依据该设备地址将上述遥控数据发送至目标设备,以使目标设备解析该遥控数据得到目标控制指令,并根据目标控制指令执行相应的动作。
在一个实施例中,转发数据单元500,还包括:
发送数据子单元,用于将所述遥控数据发送至路由器,以使所述路由器解析所述遥控数据得到所述目标设备的目标地址,依据所述目标地址将所述遥控数据发送至所述目标设备。
本实施例中,当受控设备为智能设备,由于受控设备不为目标设备,则需要将遥控数据转发至路由器,以使路由器解析上述遥控数据,得到目标设备的目标控制指令以及目标地址,然后判断是否能从上述路由表中找到与上述目标地址匹配的设备地址,若是,依据该设备地址将上述遥控数据发送至目标设备,以使目标设备依据遥控数据执行相应的动作。
在一个实施例中,上述处理遥控数据的装置还包括:
解析判断模块,用于获取从所述遥控数据中解析出的对应所述目标设备的SSID号以及对应的密码,当处于所述AP模式时,判断所述目标设备的SSID号以及密码是否与所述智能设备的SSID号以及密码一致;
判定设备模块,用于判定目标设备的SSID号以及密码与所述智能设备的SSID号以及密码一致时,则判定所述智能设备为所述目标设备;
发出数据模块,用于判定目标设备的SSID号以及密码与所述智能设备的SSID号以及密码不一致时,则判定所述智能设备不为所述目标设备,并在处于所述STA模式时发出所述遥控数据。
本实施例中,上述智能设备具有AP(WirelessAccessPoint)模式以及STA(Spike-triggered average)模式,AP模式用于提供无线接入服务,允许其它智能设备接入,STA模式为传送数据的模式,此时智能设备可作为一个站点以连接至其他无线网络。本实施例中,智能设备处于AP模式与STA模式轮流切换的状态,例如一秒内AP模式与STA模式轮流多次切换,此处的次数可由用户自行设置,此处并不作限制。当智能设备处于AP模式,具有对应该智能设备的SSID号以及密码,可与遥控设备中的SSID信号表相对应。当智能设备接收到上述遥控数据,对上述遥控数据进行解析时,解析出目标设备的目标地址、目标控制指令之外还同时从该遥控数据中解析出目标设备的SSID号以及密码,然后在智能设备切换到AP模式时,将目标设备的SSID号以及密码与该受控设备的SSID号以及密码进行对比,若两者一致,可进一步确定智能设备为目标设备,这时智能设备直接执行该控制指令,作出相应的动作,若判定智能设备不为目标设备,则在智能设备处于STA模式时向路由器发出遥控数据,以使路由器解析遥控数据,并通过路由器将遥控数据转发至目标设备。
在一个实施例中,这时若智能设备对遥控数据解析不了,例如当上述遥控数据为语音数据包,智能设备无法进一步解析,此时智能设备处于轮流切换模式的状态,例如在一秒内切换5次,也即每隔0.2秒切换一次,从AP模式切换至STA模式,或从STA模式切换至AP模式,若当前智能设备处于STA模式时,直接将上述遥控数据发送至指定服务器,若当前智能设备处于AP模式,则等待直至智能设备切换到STA模式才将上述遥控数据发送至指定服务器,然后通过指定服务器处理后,按照解析出的设备地址再返回相应的目标控制指令。
参考图3,本申请还提供了一种计算机可读的存储介质21,存储介质21中存储有计算机程序22,当其在计算机上运行时,使得计算机执行以上实施例所描述处理遥控数据的方法。
参考图4,本申请还提供了一种包含指令的计算机设备34,计算机设备包括存储器31和处理器33,存储器31存储有计算机程序22,处理器33执行计算机程序22时实现以上实施例所描述的处理遥控数据的方法。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。
以上所述仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (15)

  1. 一种处理遥控数据的方法,其特征在于,包括:
    受控设备获取遥控数据;
    对所述遥控数据进行解析;
    若成功解析所述遥控数据,则获取解析出的目标控制指令以及目标设备的目标地址;
    当所述受控设备为所述目标设备时,执行所述目标控制指令;
    当所述受控设备不为所述目标设备时,将所述遥控数据转发至所述目标设备,以使所述目标设备解析所述遥控数据得到目标控制指令,并执行所述目标控制指令。
  2. 如权利要求1所述的处理遥控数据的方法,其特征在于,所述对所述遥控数据进行解析的步骤之后,还包括:
    若无法解析所述遥控数据,则将所述遥控数据发送至指定服务器,以使所述指定服务器解析所述遥控数据得到目标控制指令以及所述目标设备的目标地址,并将所述目标控制指令发送至所述目标设备。
  3. 如权利要求1所述的处理遥控数据的方法,其特征在于,所述受控设备为路由器,所述将所述遥控数据转发至目标设备的步骤,包括:
    判断是否从预设的路由表找到与所述目标地址匹配的设备地址,所述路由表包括多个智能设备的设备地址;
    若找到与所述目标地址匹配的设备地址,则依据所述设备地址将所述遥控数据发送至所述目标设备。
  4. 如权利要求1所述的处理遥控数据的方法,其特征在于,所述受控设备为智能设备,所述将所述遥控数据转发至目标设备的步骤,包括:
    将所述遥控数据发送至路由器,以使所述路由器解析所述遥控数据得到所述目标设备的目标地址,依据所述目标地址将所述遥控数据发送至所述目标设备。
  5. 如权利要求3所述的处理遥控数据的方法,其特征在于,所述智能设备具有AP模式以及STA模式,当所述智能设备处于所述AP模式时具有SSID号以及对应的密码,所述获取解析出的目标控制指令以及目标设备的目标地址的步骤之后,包括:
    获取从所述遥控数据中解析出的对应所述目标设备的SSID号以及对应的密码,当处于所述AP模式时,判断所述目标设备的SSID号以及密码是否与所述智能设备的SSID号以及密码一致;
    若一致,则判定所述智能设备为所述目标设备;
    若不一致,则判定所述智能设备不为所述目标设备,并在处于所述STA模式时发出所述遥控数据。
  6. 如权利要求1所述的处理遥控数据的方法,其特征在于,所述受控设备获取遥控数据的步骤,包括:
    所述受控设备获取遥控设备发出的所述遥控数据,其中,所述遥控数据为所述遥控设备以目标发送功率发出的数据,所述目标发送功率为所述遥控设备从预设的映射表中选取的,且与目标信号信息具有映射关系的功率,所述目标信号信息为指定区域内处于指定模式下的受控设备所反馈的多个信号信息中的一个信号信息,所述映射表中记录有各所述受控设备,以及与各所述受控设备呈一对一映射关系的发送功率。
  7. 如权利要求6所述的处理遥控数据的方法,其特征在于,所述信号信息为SSID信号强度信息,所述目标信号信息由所述遥控设备将各所述信号信息与预设的SSID信号表进行匹配后筛选得出,其为记录在所述SSID信号表中且SSID信号强度最强的信号信息,其中,所述SSID信号表为所述受控设备与SSID信号具有一一对应映射关系的列表。
  8. 一种处理遥控数据的装置,其特征在于,包括:
    获取数据单元,用于获取所述遥控数据;
    解析数据单元,用于对所述遥控数据进行解析;
    处理数据单元,用于若成功解析所述遥控数据,则获取解析出的目标控制指令以及目标设备的目标地址;
    执行指令单元,用于当所述受控设备为所述目标设备时,执行所述目标控制指令;
    转发数据单元,用于当所述受控设备不为所述目标设备时,将所述遥控数据转发至目标设备,以使所述目标设备解析所述遥控数据得到目标控制指令,并执行所述目标控制指令。
  9. 根据权利要求8所述的处理遥控数据的装置,其特征在于,还包括:
    发送数据单元,用于若无法解析所述遥控数据,则将所述遥控数据发送至指定服务器,以使所述指定服务器解析所述遥控数据得到目标控制指令以及所述目标设备的目标地址,并将所述目标控制指令发送至所述目标设备。
  10. 根据权利要求8所述的处理遥控数据的装置,其特征在于,所述获取数据单元包括:
    获取数据子单元,用于获取遥控设备发出的所述遥控数据,其中,所述遥控数据为所述遥控设备以目标发送功率发出的数据,所述目标发送功率为所述遥控设备从预设的映射表中选取的,且与目标信号信息具有映射关系的功率,所述目标信号信息为指定区域内处于指定模式下的受控设备所反馈的多个信号信息中的一个信号信息,所述映射表中记录有各所述受控设备,以及与各所述受控设备呈一对一映射关系的发送功率。
  11. 根据权利要求10所述的处理遥控数据的装置,其特征在于,所述信号信息为SSID信号强度信息,上述目标信号信息由所述遥控设备将各所述信号信息与预设的SSID信号表进行匹配后筛选得出,其为记录在所述SSID信号表中且SSID信号强度最强的信号信息,其中,所述SSID信号表为所述受控设备与SSID信号具有一一对应映射关系的列表。
  12. 根据权利要求8所述的处理遥控数据的装置,其特征在于,所述转发数据单元包括:
    判断地址子单元,用于判断是否从预设的路由表找到与所述目标地址匹配的设备地址,所述路由表包括多个智能设备的设备地址;
    发送指令子单元,用于若找到与所述目标地址匹配的设备地址,则依据所述设备地址将所述目标控制指令发送至所述目标设备。
  13. 根据权利要求8所述的处理遥控数据的装置,其特征在于,所述转发数据单元还包括:
    发送数据子单元,用于将所述遥控数据发送至路由器,以使所述路由器解析所述遥控数据得到所述目标设备的目标地址,依据所述目标地址将所述遥控数据发送至所述目标设备。
  14. 根据权利要求8所述的处理遥控数据的装置,其特征在于,还包括:
    解析判断模块,用于获取从所述遥控数据中解析出的对应所述目标设备的SSID号以及对应的密码,当处于所述AP模式时,判断所述目标设备的SSID号以及密码是否与所述智能设备的SSID号以及密码一致;
    判定设备模块,用于判定目标设备的SSID号以及密码与所述智能设备的SSID号以及密码一致时,则判定所述智能设备为所述目标设备;
    发出数据模块,用于判定目标设备的SSID号以及密码与所述智能设备的SSID号以及密码不一致时,则判定所述智能设备不为所述目标设备,并在处于所述STA模式时发出所述遥控数据。
  15. 一种计算机设备,其特征在于,其包括处理器、存储器及存储于所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被执行时实现如权利要求1~7任一项所述的处理遥控数据的方法。
PCT/CN2020/125891 2020-01-08 2020-11-02 处理遥控数据的方法、装置及计算机设备 WO2021139365A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010019182.2A CN111161522B (zh) 2020-01-08 2020-01-08 处理遥控数据的方法、存储介质、计算机设备及遥控系统
CN202010019182.2 2020-01-08

Publications (1)

Publication Number Publication Date
WO2021139365A1 true WO2021139365A1 (zh) 2021-07-15

Family

ID=70562068

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/125891 WO2021139365A1 (zh) 2020-01-08 2020-11-02 处理遥控数据的方法、装置及计算机设备

Country Status (2)

Country Link
CN (1) CN111161522B (zh)
WO (1) WO2021139365A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111161522B (zh) * 2020-01-08 2021-02-02 深圳市沃特沃德股份有限公司 处理遥控数据的方法、存储介质、计算机设备及遥控系统
CN111885344A (zh) * 2020-06-19 2020-11-03 西安万像电子科技有限公司 数据传输方法、设备及系统
CN114244879A (zh) * 2021-12-15 2022-03-25 北京声智科技有限公司 一种工业控制系统、工业控制方法和电子设备
CN114664072B (zh) * 2022-03-18 2023-09-01 广州极飞科技股份有限公司 遥控链路管理系统、方法、装置、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001326980A (ja) * 2000-05-17 2001-11-22 Matsushita Electric Ind Co Ltd 遠隔制御装置
CN103442151A (zh) * 2013-08-23 2013-12-11 惠州学院 一种基于智能移动终端的遥控器及遥控方法
CN106297242A (zh) * 2016-08-26 2017-01-04 美的智慧家居科技有限公司 控制家电设备的方法和装置
CN106686593A (zh) * 2016-12-28 2017-05-17 深圳Tcl智能家庭科技有限公司 一种基于wifi模块的智能设备配置入网的方法及装置
CN107612790A (zh) * 2016-07-11 2018-01-19 佛山市顺德区美的电热电器制造有限公司 一种家电控制的方法、设备和系统
CN111161522A (zh) * 2020-01-08 2020-05-15 深圳市沃特沃德股份有限公司 处理遥控数据的方法、存储介质、计算机设备及遥控系统

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002320283A (ja) * 2001-04-24 2002-10-31 Sanyo Electric Co Ltd ワイヤレスリモートコントローラ及び空気調和装置
CN201153335Y (zh) * 2007-05-22 2008-11-19 沈卫民 网络型住宅照明和家电控制装置
CN201750432U (zh) * 2010-07-05 2011-02-16 刘雪琪 家电控制服务器
KR101851532B1 (ko) * 2011-11-23 2018-06-11 삼성전자주식회사 자동 페어링을 위한 단말 장치, 원격 제어 장치 및 방법
CN202904844U (zh) * 2012-08-21 2013-04-24 无锡爱睿芯电子有限公司 一种远距离无线传感遥控系统
CN103714685A (zh) * 2014-01-17 2014-04-09 郝晓伟 智能遥控系统及智能遥控器
CN104900044B (zh) * 2014-03-03 2019-04-19 海尔集团公司 一种传输控制信息的方法及装置
CN104820365A (zh) * 2015-03-30 2015-08-05 丁贤根 通用智能家居手机遥控系统
CN108632971A (zh) * 2017-03-24 2018-10-09 华为技术有限公司 功率控制方法、终端和网络设备
CN108712686A (zh) * 2018-05-11 2018-10-26 星络科技有限公司 一种开关控制方法及系统
CN110136424B (zh) * 2019-04-16 2021-09-21 珠海格力电器股份有限公司 一种设备控制的方法及设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001326980A (ja) * 2000-05-17 2001-11-22 Matsushita Electric Ind Co Ltd 遠隔制御装置
CN103442151A (zh) * 2013-08-23 2013-12-11 惠州学院 一种基于智能移动终端的遥控器及遥控方法
CN107612790A (zh) * 2016-07-11 2018-01-19 佛山市顺德区美的电热电器制造有限公司 一种家电控制的方法、设备和系统
CN106297242A (zh) * 2016-08-26 2017-01-04 美的智慧家居科技有限公司 控制家电设备的方法和装置
CN106686593A (zh) * 2016-12-28 2017-05-17 深圳Tcl智能家庭科技有限公司 一种基于wifi模块的智能设备配置入网的方法及装置
CN111161522A (zh) * 2020-01-08 2020-05-15 深圳市沃特沃德股份有限公司 处理遥控数据的方法、存储介质、计算机设备及遥控系统

Also Published As

Publication number Publication date
CN111161522B (zh) 2021-02-02
CN111161522A (zh) 2020-05-15

Similar Documents

Publication Publication Date Title
WO2021139365A1 (zh) 处理遥控数据的方法、装置及计算机设备
JP6751094B2 (ja) 無線通信をサポートする方法、機器およびシステム
JP5185081B2 (ja) 無線端末装置、通信方法、及び通信プログラム
US10756964B2 (en) Internet of things configuration method and system for secure low-power-consumption proxy device
DK3119101T3 (en) COUPLING OF WIRELESS DEVICES
WO2019109660A1 (zh) 设备控制装置、方法及具体该装置的设备
US7865568B1 (en) Systems and methods for controlling appliances via a network
WO2022016673A1 (zh) 智能设备批量配网方法、系统及存储介质
JP2010514319A (ja) 無線ネットワーク、特に無線照明装置のネットワークの各装置を選択する方法及びシステム
CN107222372A (zh) 一种信息发送方法和设备
JP2016536950A (ja) 信号伝送制御方法、装置、電子デバイス、プログラム及び記録媒体
US20210051764A1 (en) Speaker system and network control method thereof
JP2008060711A (ja) 無線通信システム及び無線通信装置
US10595265B2 (en) Communication system, control terminal, and method for managing communication system
KR102320027B1 (ko) 음성 전달 방법, 이를 구현하는 음성 전달 장치 및 이를 포함하는 시스템
CN108307485A (zh) 无线网络扫描方法、装置、终端设备及存储介质
WO2023124257A1 (zh) 一种蓝牙设备的组网方法、终端设备及蓝牙设备
KR20170137580A (ko) 무선랜에서 클라이언트 디바이스와 액세스 포인트의 페어링 방법 및 장치
WO2016123217A1 (en) Methods, devices and systems for supporting wireless communication
JP6631078B2 (ja) オーディオ機器の接続方法、オーディオ機器、オーディオシステム制御プログラム、および、制御端末装置
CN111010322B (zh) 信息配置方法、装置、电子设备及存储介质
US20170094035A1 (en) Management method and management device
CN113873684A (zh) 基于局域网的连接建立方法、装置、终端设备及存储介质
CN106658667A (zh) 快速连接嵌入式设备的方法及装置
CN107798851A (zh) 一种设备远程控制方法、装置及远程控制器

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20912175

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20912175

Country of ref document: EP

Kind code of ref document: A1