CN111479307B - Data transmission method, device, AP and storage medium - Google Patents

Data transmission method, device, AP and storage medium Download PDF

Info

Publication number
CN111479307B
CN111479307B CN202010293742.3A CN202010293742A CN111479307B CN 111479307 B CN111479307 B CN 111479307B CN 202010293742 A CN202010293742 A CN 202010293742A CN 111479307 B CN111479307 B CN 111479307B
Authority
CN
China
Prior art keywords
target
signal strength
devices
intelligent
intelligent 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
CN202010293742.3A
Other languages
Chinese (zh)
Other versions
CN111479307A (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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202010293742.3A priority Critical patent/CN111479307B/en
Publication of CN111479307A publication Critical patent/CN111479307A/en
Application granted granted Critical
Publication of CN111479307B publication Critical patent/CN111479307B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/246Connectivity information discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • 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
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention relates to a data transmission method, a data transmission device, an AP and a storage medium, wherein the method comprises the following steps: determining a plurality of signal strength values corresponding to a plurality of intelligent equipment receiving signals accessed to the AP; determining a preset number of target smart devices from the plurality of smart devices based on the received plurality of signal strength values; the AP sends data frames to the target intelligent equipment, and a channel is correspondingly divided for each target intelligent equipment, so that when the target intelligent equipment with target quantity receives the data frames, the data frames are sent to the target intelligent equipment according to the data frame sending time slots of each target intelligent equipment, and therefore on the premise that the transmitting power is not increased, the signal interruption probability is reduced and the signal connection stability is improved through mutual cooperation transmission signals among the intelligent equipment.

Description

Data transmission method, device, AP and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data communication, in particular to a data transmission method and device, an AP and a storage medium.
Background
With the arrival of the information-oriented era, the interconnection of everything becomes another information revolution after the internet, wherein the smart home becomes a new industry under the internet of things, and in order to provide a convenient, comfortable, safe and efficient living environment for people, the intellectualization of electric appliances is an important prerequisite for realizing the smart home.
At present, in a home, wi-Fi is the first choice for networking smart home devices because of its universality, but Wi-Fi coverage is low, and when a certain smart device is far away from an AP, a signal is weak and cannot meet a normal communication requirement.
Disclosure of Invention
In view of this, in order to solve the technical problem that the relay node cannot transmit a signal to the intelligent device when the relay node is far away from the AP, embodiments of the present invention provide a data transmission method and apparatus, an AP, and a storage medium.
In a first aspect, an embodiment of the present invention provides a data transmission method, including:
determining a plurality of signal strength values corresponding to a plurality of intelligent equipment receiving signals accessed to the AP;
determining a preset number of target smart devices from the plurality of smart devices based on the received plurality of signal strength values;
and the AP sends a data frame to the target intelligent equipment, and correspondingly divides a channel for each target intelligent equipment, so that when the target intelligent equipment with a target number receives the data frame, the data frame is sent to the target intelligent equipment according to the data frame sending time slot of each target intelligent equipment.
In one possible embodiment, the method further comprises:
the AP sends a request to send protocol (RTS) signal to the target intelligent device;
and if the protocol CTS signal which is returned by the target intelligent device in response to the RTS signal and allowed to be sent is not received within the preset time, executing the step of determining a plurality of signal strength values corresponding to the plurality of intelligent device receiving signals accessed to the AP.
In one possible embodiment, the method further comprises:
sending a detection frame to the plurality of intelligent devices based on MAC addresses corresponding to the plurality of intelligent devices associated with the AP, wherein a preset field in the detection frame carries a signal strength character, and the signal strength character is used for indicating the intelligent devices to feed back signal strength values when the detection frame is received;
and receiving a plurality of first response frames returned by the intelligent equipment in response to the detection frame, wherein the first response frames carry the signal strength values when the intelligent equipment receives the detection frame.
In one possible embodiment, the method further comprises:
sequencing the plurality of intelligent devices according to the received signal strength values and the corresponding intelligent devices to obtain signal strength sequences corresponding to the plurality of intelligent devices;
and selecting a preset number of intelligent devices from the signal intensity sequence as the target intelligent devices according to a preset rule.
In one possible embodiment, the method further comprises:
dividing a channel of the AP for sending the data frame into a plurality of sub-channels based on the preset number, associating each sub-channel with the corresponding target intelligent device, and determining a sending time slot corresponding to each target intelligent device, wherein the sub-channels are used for the target intelligent devices to send the data frame;
and the AP simultaneously sends the data frames to the target intelligent equipment so that the target intelligent equipment sends the data frames to the target intelligent equipment from the corresponding sub-channels according to the sending time slots after receiving the data frames.
In one possible embodiment, the method further comprises:
and receiving a second response frame which is forwarded by the target intelligent device and is sent by the target intelligent device and responds to the data frame.
In one possible embodiment, the method further comprises:
according to an Orthogonal Frequency Division Multiple Access (OFDMA) technology, a channel for transmitting a data frame by the AP is divided into a preset number of sub-channels, and the bandwidths of the sub-channels are the same.
In a second aspect, an embodiment of the present invention provides a data transmission apparatus, including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for determining a plurality of signal strength values corresponding to a plurality of intelligent equipment receiving signals accessed to an AP;
a determining module, configured to determine a preset number of target smart devices from the plurality of smart devices based on the received plurality of signal strength values;
and the transmission module is used for transmitting the data frame to the target intelligent equipment by the AP and correspondingly dividing a channel for each target intelligent equipment so as to transmit the data frame to the target intelligent equipment according to the data frame transmission time slot of each target intelligent equipment when the target intelligent equipment with a target number receives the data frame.
In a third aspect, an embodiment of the present invention provides an AP, including: a processor and a memory, wherein the processor is configured to execute a data transmission program stored in the memory to implement the data transmission method of any one of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a storage medium, where the storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the data transmission method according to any one of the above first aspects.
The data transmission scheme provided by the embodiment of the invention is used for determining a plurality of signal strength values corresponding to a plurality of receiving signals of intelligent equipment accessed to an AP; determining a preset number of target smart devices from the plurality of smart devices based on the received plurality of signal strength values; the AP sends a data frame to the target intelligent equipment, and correspondingly divides a channel for each target intelligent equipment, so that when the target intelligent equipment with target quantity receives the data frame, the data frame is sent to the target intelligent equipment according to the data frame sending time slot of each target intelligent equipment.
Drawings
Fig. 1 is a schematic flowchart of a data transmission method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another data transmission method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an AP according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
For the convenience of understanding of the embodiments of the present invention, the following description will be further explained with reference to specific embodiments, which are not to be construed as limiting the embodiments of the present invention.
Fig. 1 is a schematic flow chart of a data transmission method according to an embodiment of the present invention, and as shown in fig. 1, the method specifically includes:
s11, determining a plurality of signal strength values corresponding to a plurality of intelligent devices accessed to the AP.
In the embodiment of the invention, a wireless Access Point (AP) records MAC addresses of all connected intelligent devices in advance, and sends detection frames to all the intelligent devices according to the recorded MAC addresses, thereby detecting the signal intensity values of all the intelligent devices.
And S12, determining a preset number of target intelligent devices from the plurality of intelligent devices based on the received signal strength values.
In the embodiment of the present invention, when a certain intelligent device cannot normally communicate with the AP, the intelligent device that cannot normally communicate with the AP needs to communicate with the intelligent device that cannot normally communicate with the AP by using a plurality of intelligent devices with intermediate signal strength as relay devices.
In an alternative scheme of the embodiment of the present invention, a plurality of intelligent devices are selected as the relay device and need to be implemented according to a certain rule.
For example, the number of all smart devices in a home is 10, and currently 1 smart device C cannot normally communicate with the AP, at this time, the AP needs to acquire the signal strengths of the remaining 9 smart devices, arrange the signal strengths according to the signal strength, take 5 smart devices with the signal strength at the middle as relay devices, and transmit signals to the smart device C through the selected channel of the relay device.
For another example, the number of all the smart devices in a home is 12, and the existing 2 smart devices C and D cannot normally communicate with the AP, and at this time, the signal strengths of the remaining 10 smart devices need to be obtained, the smart devices are sorted according to the signal strength values, 4 or 6 smart devices with the signal strength values at the intermediate value are selected as relay devices, and signals are transmitted to the smart devices C and D through the selected channel of the relay device.
And S13, the AP sends data frames to the target intelligent devices, and a channel is correspondingly divided for each target intelligent device, so that when the target intelligent devices with target quantity receive the data frames, the data frames are sent to the target intelligent devices according to the data frame sending time slots of each target intelligent device.
In the embodiment of the invention, when the AP needs to transmit data to the target intelligent device by means of the selected relay intelligent device, the address of the target intelligent device is carried in the transmitted data frame, then a plurality of sub-channels are divided for each relay device, one sub-channel of each relay device is occupied to transmit the same data to the target intelligent device, and the data are transmitted to the target intelligent device in sequence according to the sending time slots when being transmitted.
According to the data transmission method provided by the embodiment of the invention, the data is transmitted by selecting the preset number of the plurality of the relay devices with the signal strength values positioned at the middle positions of the AP and the target intelligent device as the target intelligent device, so that the problem that a certain intelligent device cannot normally communicate due to the distance problem is solved, the mutual cooperation transmission of signals among the intelligent devices is realized, the signal interruption probability is reduced, and the signal stability of the intelligent devices is ensured.
Fig. 2 is a schematic flowchart of another data transmission method according to an embodiment of the present invention, and as shown in fig. 2, the method specifically includes:
and S21, the AP sends a request to send protocol RTS signal to the target intelligent equipment.
In an embodiment of the present invention, an AP sends an RTS signal to a destination smart device indicating that the AP is to send a signal to the destination smart device.
And S22, if a CTS (clear to send) signal which is returned by the destination intelligent device in response to the RTS signal and is allowed to send is not received within a preset time, sending a detection frame to the plurality of intelligent devices based on MAC (media access control) addresses corresponding to the plurality of intelligent devices associated with the AP, wherein a preset field in the detection frame carries a signal strength character, and the signal strength character is used for indicating the intelligent devices to feed back a signal strength value when the detection frame is received.
In the embodiment of the present invention, after the AP sends an RTS to the destination smart device, if a CTS response signal returned by the destination smart device is not received within a preset time (for example, 10 minutes), which indicates that the destination smart device and the AP cannot normally communicate with each other, the AP needs to send a probe frame to all the other associated smart devices, where the probe frame has a probe signal strength field, and after receiving the probe frame, the other smart devices respond to the probe frame and feed back their signal strength characters to the signal strength field of the probe frame.
And S23, receiving a plurality of first response frames returned by the intelligent equipment in response to the detection frame, wherein the first response frames carry the signal strength values when the intelligent equipment receives the detection frame.
In the embodiment of the present invention, an AP receives a first response frame fed back by multiple smart devices, and obtains signal strength values of the multiple smart devices from a signal strength field carried in the first response frame.
S24, sequencing the plurality of intelligent devices according to the signal strength according to the received signal strength values and the corresponding intelligent devices to obtain signal strength sequences corresponding to the intelligent devices.
In the embodiment of the present invention, after the AP obtains the signal strength values of the multiple intelligent devices, the signal strength values are sorted according to the magnitude of the signal strength value, and the signal strength values may be sorted from large to small, or sorted from small to large, so as to finally obtain the signal strength value sequences corresponding to the multiple intelligent devices.
And S25, selecting a preset number of intelligent devices from the signal intensity sequence according to a preset rule as the target intelligent devices.
In the embodiment of the invention, a rule for selecting a plurality of intelligent devices with a preset number as the relay devices is preset based on the signal strength value, and the relay devices are screened according to the rule.
In an alternative of the embodiment of the present invention, the preset rule may be that an odd number of intelligent devices are selected as the relay device.
For example, the number of all smart devices in the current small lan is 12, and the existing 1 smart device C cannot normally communicate with the AP, and at this time, the AP needs to acquire the signal strengths of the remaining 11 smart devices, arrange the smart devices according to the signal strength, first acquire 1 smart device whose signal strength is at the most intermediate value, then select the first 3 smart devices and the last 3 smart devices whose signal strengths are at the selected intermediate value in the signal strength sequence, and total 7 smart devices as relay devices.
For another example, the number of all the smart devices in the current small lan is 11, and the existing 1 smart device C cannot normally communicate with the AP, and at this time, the AP needs to obtain the signal strengths of the remaining 10 smart devices, arrange the signal strengths according to the signal strength, first obtain 2 smart devices whose signal strengths are at the most intermediate value, then select the first 2 smart devices and the last 1 smart devices whose signal strengths are at the selected intermediate value in the signal strength sequence, and total 5 smart devices are used as relay devices.
In an alternative of the embodiment of the present invention, the preset rule may be that an even number of intelligent devices are selected as the relay device.
For example, the number of all smart devices in the current small lan is 13, and the existing 1 smart device C cannot normally communicate with the AP, and at this time, the AP needs to acquire the signal strengths of the remaining 12 smart devices, arrange the smart devices according to the signal strength, first acquire 2 smart devices whose signal strengths are at the most intermediate value, then select the first 2 smart devices and the second 2 smart devices whose signal strengths are at the most intermediate value in the signal strength sequence, and total 6 smart devices as relay devices.
For another example, the number of all the smart devices in the current small lan is 10, and the existing 1 smart device C cannot normally communicate with the AP, and at this time, the AP needs to obtain the signal strengths of the remaining 9 smart devices, arrange the smart devices according to the signal strengths, first obtain 1 smart device whose signal strength is at the most intermediate value, then select the first 2 smart devices and the last 1 smart device whose signal strengths are at the most intermediate value in the signal strength sequence, and total 4 smart devices are used as relay devices.
S26, dividing a channel of the AP for sending the data frame into a plurality of sub-channels based on the preset number, associating each sub-channel with the corresponding target intelligent device, and determining a sending time slot corresponding to each target intelligent device, wherein the sub-channels are used for the target intelligent devices to send the data frame.
In the embodiment of the present invention, the AP equally divides the channel of the screened relay device into a plurality of sub-channels, the bandwidth of each sub-channel is the same, and determines the transmission timeslot of each relay device.
And S27, the AP simultaneously sends the data frames to the target intelligent equipment, so that the target intelligent equipment sends the data frames to the target intelligent equipment from the corresponding sub-channels according to sending time slots after receiving the data frames.
In the embodiment of the invention, the AP sends the same data to each relay device, the sent data occupies a sub-channel of each relay device, and each relay device sequentially transmits the data to the target intelligent device according to the sending time slot.
For example, 5 pieces of intelligent equipment are screened out in total to serve as relay equipment, and the first relay equipment transmits data in the first second; in the second, the second relay equipment transmits data; in the third second, the third relay equipment transmits data; and so on until 5 relay devices complete data transmission.
And S28, receiving a second response frame which is forwarded by the target intelligent device and is sent by the target intelligent device and responds to the data frame.
In the embodiment of the present invention, after receiving data transmitted by all APs through the relay device, the destination intelligent device needs to feed back a response frame to the AP, where the response frame is returned through an original channel for receiving the data.
According to the data transmission method provided by the embodiment of the invention, the data is transmitted by selecting the preset number of the plurality of the relay devices with the signal strength values positioned at the middle positions of the AP and the target intelligent device as the target intelligent device, and the signals are transmitted through mutual cooperation between the intelligent devices, so that the problem that one or more intelligent devices cannot normally communicate due to the distance problem can be solved on the premise of not improving the transmitting power, the signal interruption probability is reduced, and the signal stability of the intelligent devices is ensured.
Fig. 3 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention, including:
an obtaining module 301, configured to determine multiple signal strength values corresponding to multiple received signals of a plurality of smart devices accessing an AP;
a determining module 302, configured to determine a preset number of target smart devices from the plurality of smart devices based on the received plurality of signal strength values;
a transmission module 303, configured to send a data frame to the target intelligent devices by the AP, and correspondingly divide a channel for each target intelligent device, so that when a target number of the target intelligent devices receive the data frame, the target intelligent devices send the data frame to a target intelligent device according to the data frame sending time slot of each target intelligent device.
In a possible implementation manner, the obtaining module is specifically configured to send a probe frame to the multiple intelligent devices based on MAC addresses corresponding to the multiple intelligent devices associated with the AP, where a preset field in the probe frame carries a signal strength character, and the signal strength character is used to indicate that the intelligent device feeds back a signal strength value when the probe frame is received; and receiving a plurality of first response frames returned by the intelligent equipment in response to the detection frame, wherein the first response frames carry the signal strength values when the intelligent equipment receives the detection frame.
The determining module is specifically configured to sort the multiple intelligent devices according to the signal strength values and the corresponding intelligent devices, so as to obtain signal strength sequences corresponding to the multiple intelligent devices; and selecting a preset number of intelligent devices from the signal strength sequence as the target intelligent devices according to a preset rule.
A transmission module, configured to divide a channel through which the AP transmits a data frame into a plurality of sub-channels based on the preset number, associate each sub-channel with the corresponding target smart device, and determine a transmission timeslot corresponding to each target smart device, where the sub-channels are used for the target smart device to transmit the data frame; and the AP simultaneously sends the data frames to the target intelligent equipment so that the target intelligent equipment sends the data frames to the target intelligent equipment from the corresponding sub-channels according to the sending time slots after receiving the data frames.
The data transmission apparatus provided in this embodiment may be the data transmission apparatus shown in fig. 3, and may perform all the steps of the data transmission method shown in fig. 1-2, so as to achieve the technical effect of the data transmission method shown in fig. 1-2, and for brevity, reference is specifically made to the related description of fig. 1-2, which is not repeated herein.
Fig. 4 is a schematic structural diagram of an AP according to an embodiment of the present invention, where the AP400 shown in fig. 4 includes: at least one processor 401, memory 402, at least one network interface 404, and other user interfaces 403. The various components in AP400 are coupled together by a bus system 405. It is understood that the bus system 405 is used to enable connection communication between these components. The bus system 405 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 405 in fig. 4.
The user interface 403 may include, among other things, a display, a keyboard or a pointing device (e.g., a mouse, trackball (trackball), a touch pad or touch screen, etc.
It will be appreciated that the memory 402 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (PROM), an erasable programmable Read-only memory (erasabprom, EPROM), an electrically erasable programmable Read-only memory (EEPROM), or a flash memory. The volatile memory may be a Random Access Memory (RAM) which functions as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (staticiram, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (syncronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM ), enhanced Synchronous DRAM (ESDRAM), synchronous Link DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 402 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 402 stores the following elements, executable units or data structures, or a subset thereof, or an expanded set thereof: an operating system 4021 and application programs 4022.
The operating system 4021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is configured to implement various basic services and process hardware-based tasks. The application 4022 includes various applications, such as a media player (MediaPlayer), a Browser (Browser), and the like, and is used to implement various application services. A program for implementing the method according to the embodiment of the present invention may be included in the application 4022.
In this embodiment of the present invention, by calling a program or an instruction stored in the memory 402, specifically, a program or an instruction stored in the application 4022, the processor 401 is configured to execute the method steps provided by the method embodiments, for example, including:
determining a plurality of signal strength values corresponding to a plurality of intelligent equipment receiving signals accessed to the AP; determining a preset number of target smart devices from the plurality of smart devices based on the received plurality of signal strength values; and the AP sends a data frame to the target intelligent equipment, and correspondingly divides a channel for each target intelligent equipment, so that when the target intelligent equipment with target quantity receives the data frame, the data frame is sent to the target intelligent equipment according to the data frame sending time slot of each target intelligent equipment.
In one possible embodiment, the AP sends a request to send protocol RTS signal to the destination smart device; and if the protocol-transmission-allowed CTS signal returned by the target intelligent device in response to the RTS signal is not received within the preset time, executing the step of determining a plurality of signal strength values corresponding to a plurality of intelligent device receiving signals accessed to the AP.
In a possible implementation manner, a probe frame is sent to a plurality of intelligent devices based on MAC addresses corresponding to the plurality of intelligent devices associated with the AP, where a preset field in the probe frame carries a signal strength character, and the signal strength character is used to indicate that the intelligent devices feed back a signal strength value when the probe frame is received; and receiving a plurality of first response frames returned by the intelligent equipment in response to the detection frame, wherein the first response frames carry the signal strength values when the intelligent equipment receives the detection frame.
In a possible implementation manner, according to a plurality of received signal strength values and the corresponding intelligent devices, the plurality of intelligent devices are sorted according to the signal strength, so as to obtain signal strength sequences corresponding to the plurality of intelligent devices; and selecting a preset number of intelligent devices from the signal intensity sequence as the target intelligent devices according to a preset rule.
In one possible implementation, a channel for the AP to transmit a data frame is divided into a plurality of sub-channels based on the preset number, each sub-channel is associated with the corresponding target smart device, and a transmission timeslot corresponding to each target smart device is determined, where the sub-channel is used for the target smart device to transmit the data frame; and the AP simultaneously sends the data frames to the target intelligent equipment so that the target intelligent equipment sends the data frames to the target intelligent equipment from the corresponding sub-channels according to the sending time slots after receiving the data frames.
In one possible implementation, a second response frame is received that is forwarded by the target smart device and sent by the destination smart device in response to the data frame.
In one possible embodiment, according to an OFDMA (orthogonal frequency division multiple access) technique, a channel through which the AP transmits a data frame is divided into a preset number of sub-channels, and a bandwidth of each of the sub-channels is the same.
The method disclosed in the above embodiments of the present invention may be applied to the processor 401, or implemented by the processor 401. The processor 401 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 401. The Processor 401 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software elements in the decoding processor. The software elements may be located in ram, flash, rom, prom, or eprom, registers, etc. as is well known in the art. The storage medium is located in the memory 402, and the processor 401 reads the information in the memory 402 and completes the steps of the method in combination with the hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For a hardware implementation, the Processing units may be implemented within 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), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units designed to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units performing the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
The AP provided in this embodiment may be the AP shown in fig. 4, and may perform all the steps of the data transmission method shown in fig. 1-2, so as to achieve the technical effect of the data transmission method shown in fig. 1-2, and for brevity, refer to the description related to fig. 1-2, which is not described herein again.
The embodiment of the invention also provides a storage medium (computer readable storage medium). The storage medium herein stores one or more programs. Among others, the storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
When one or more programs in the storage medium are executable by one or more processors to implement the above-described data transmission method performed at the AP side.
The processor is configured to execute the data transmission program stored in the memory to implement the following steps of the data transmission method executed on the AP device side:
determining a plurality of signal strength values corresponding to a plurality of intelligent equipment receiving signals accessed to the AP; determining a preset number of target smart devices from the plurality of smart devices based on the received plurality of signal strength values; and the AP sends a data frame to the target intelligent equipment, and correspondingly divides a channel for each target intelligent equipment, so that when the target intelligent equipment with a target number receives the data frame, the data frame is sent to the target intelligent equipment according to the data frame sending time slot of each target intelligent equipment.
In one possible embodiment, the AP sends a request to send protocol RTS signal to the destination smart device; and if a protocol CTS (clear to send) signal returned by the destination intelligent device in response to the RTS signal is not received within a preset time, executing the step of determining a plurality of signal strength values corresponding to a plurality of intelligent device receiving signals accessed to the AP.
In a possible implementation manner, a probe frame is sent to a plurality of intelligent devices based on MAC addresses corresponding to the plurality of intelligent devices associated with the AP, where a preset field in the probe frame carries a signal strength character, and the signal strength character is used to indicate that the intelligent devices feed back a signal strength value when the probe frame is received; and receiving a plurality of first response frames returned by the intelligent equipment in response to the detection frame, wherein the first response frames carry the signal strength values when the intelligent equipment receives the detection frame.
In a possible implementation manner, according to a plurality of received signal strength values and the corresponding intelligent devices, the plurality of intelligent devices are sorted according to the signal strength to obtain signal strength sequences corresponding to the plurality of intelligent devices; and selecting a preset number of intelligent devices from the signal intensity sequence as the target intelligent devices according to a preset rule.
In one possible implementation, a channel for the AP to transmit a data frame is divided into a plurality of sub-channels based on the preset number, each sub-channel is associated with the corresponding target smart device, and a transmission timeslot corresponding to each target smart device is determined, where the sub-channel is used for the target smart device to transmit the data frame; and the AP simultaneously sends the data frames to the target intelligent equipment so that the target intelligent equipment sends the data frames to the target intelligent equipment from the corresponding sub-channels according to the sending time slots after receiving the data frames.
In one possible implementation, a second response frame is received that is forwarded by the target smart device and sent by the destination smart device in response to the data frame.
In one possible embodiment, according to an OFDMA, a channel through which the AP transmits a data frame is divided into a preset number of sub-channels, and each of the sub-channels has the same bandwidth.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method of data transmission, comprising:
determining a plurality of signal strength values corresponding to a plurality of intelligent equipment receiving signals accessed to the AP;
determining a preset number of target intelligent devices from the plurality of intelligent devices based on the received signal strength values, wherein the preset number of target intelligent devices is the preset number of intelligent devices with signal strength values at an intermediate value among the plurality of intelligent devices, and the intermediate value is a numerical value except for a signal strength value maximum value and a signal strength value minimum value;
and the AP sends data frames containing the same data to the target intelligent equipment, and correspondingly divides a channel for each target intelligent equipment, so that when a preset number of target intelligent equipment receive the data frames, the data frames are sent to the same target intelligent equipment according to the data frame sending time slot of each target intelligent equipment.
2. The method of claim 1, further comprising:
the AP sends a request to send protocol (RTS) signal to the target intelligent device;
and if a protocol CTS (clear to send) signal returned by the destination intelligent device in response to the RTS signal is not received within a preset time, executing the step of determining a plurality of signal strength values corresponding to a plurality of intelligent device receiving signals accessed to the AP.
3. The method of claim 2, wherein determining a plurality of signal strength values corresponding to a plurality of smart devices receiving signals accessing the AP comprises:
sending a detection frame to the plurality of intelligent devices based on MAC addresses corresponding to the plurality of intelligent devices associated with the AP, wherein a preset field in the detection frame carries a signal strength character, and the signal strength character is used for indicating the intelligent devices to feed back signal strength values when the detection frame is received;
and receiving a plurality of first response frames returned by the intelligent equipment in response to the detection frame, wherein the first response frames carry the signal strength values when the intelligent equipment receives the detection frame.
4. The method of claim 3, wherein determining a preset number of target smart devices from the plurality of smart devices based on the received plurality of signal strength values comprises:
sequencing the plurality of intelligent devices according to the received signal strength values and the corresponding intelligent devices to obtain signal strength sequences corresponding to the plurality of intelligent devices;
and selecting a preset number of intelligent devices from the signal intensity sequence as the target intelligent devices according to a preset rule.
5. The method according to claim 4, wherein the AP sends a data frame to the target smart devices, and divides a channel for each of the target smart devices, so that when a preset number of the target smart devices receive the data frame, the AP sends the data frame to the target smart devices according to the data frame sending timeslot of each of the target smart devices, including:
dividing a channel of the AP for sending the data frame into a plurality of sub-channels based on the preset number, associating each sub-channel with the corresponding target intelligent device, and determining a sending time slot corresponding to each target intelligent device, wherein the sub-channels are used for the target intelligent devices to send the data frame;
and the AP simultaneously sends the data frames to the target intelligent equipment so that the target intelligent equipment sends the data frames to the target intelligent equipment from the corresponding sub-channels according to the sending time slots after receiving the data frames.
6. The method of any of claims 1-5, further comprising:
and receiving a second response frame which is forwarded by the target intelligent device and is sent by the target intelligent device and responds to the data frame.
7. The method as claimed in claim 5, wherein the dividing the channel for transmitting the data frame by the AP into a plurality of sub-channels based on the preset number comprises:
according to an Orthogonal Frequency Division Multiple Access (OFDMA) technology, a channel for transmitting a data frame by the AP is divided into a preset number of sub-channels, and the bandwidth of each sub-channel is the same.
8. A data transmission apparatus, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for determining a plurality of signal strength values corresponding to a plurality of intelligent equipment receiving signals accessed to an AP;
a determining module, configured to determine a preset number of target smart devices from the plurality of smart devices based on the received plurality of signal strength values, where the preset number of target smart devices is the preset number of smart devices with signal strength values at an intermediate value among the plurality of smart devices, and the intermediate value is a value other than a maximum value of the signal strength values and a minimum value of the signal strength values;
and the transmission module is used for transmitting data frames containing the same data to the target intelligent equipment by the AP and correspondingly dividing a channel for each target intelligent equipment so as to transmit the data frames to the same target intelligent equipment according to the data frame transmission time slot of each target intelligent equipment when a preset number of target intelligent equipment receive the data frames.
9. An AP, comprising: a processor and a memory, the processor being configured to execute a data transfer program stored in the memory to implement the data transfer method of any one of claims 1 to 7.
10. A storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the data transmission method of any one of claims 1 to 7.
CN202010293742.3A 2020-04-14 2020-04-14 Data transmission method, device, AP and storage medium Active CN111479307B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010293742.3A CN111479307B (en) 2020-04-14 2020-04-14 Data transmission method, device, AP and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010293742.3A CN111479307B (en) 2020-04-14 2020-04-14 Data transmission method, device, AP and storage medium

Publications (2)

Publication Number Publication Date
CN111479307A CN111479307A (en) 2020-07-31
CN111479307B true CN111479307B (en) 2022-12-20

Family

ID=71752445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010293742.3A Active CN111479307B (en) 2020-04-14 2020-04-14 Data transmission method, device, AP and storage medium

Country Status (1)

Country Link
CN (1) CN111479307B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113433852B (en) * 2021-06-11 2023-04-28 小熊电器股份有限公司 Communication control method and device of intelligent equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102395161B (en) * 2011-10-28 2014-04-16 中国科学院深圳先进技术研究院 Method and system for wireless network transmission scheduling
CN103874227B (en) * 2012-12-10 2018-10-02 华为终端(东莞)有限公司 Connect method for building up, equipment and system
CN105430633B (en) * 2014-08-22 2020-04-10 电信科学技术研究院 Method and equipment for determining relay node
CN105636149A (en) * 2016-01-25 2016-06-01 北京小米移动软件有限公司 Relay method and device and system
CN107786676B (en) * 2016-08-24 2021-07-09 中国电信股份有限公司 Relay communication method, system and terminal for relay communication
CN110139337A (en) * 2018-02-09 2019-08-16 电信科学技术研究院有限公司 A kind of selection method and equipment of relay node
CN108601057A (en) * 2018-03-07 2018-09-28 青岛海尔科技有限公司 Network data transmission method, equipment and system

Also Published As

Publication number Publication date
CN111479307A (en) 2020-07-31

Similar Documents

Publication Publication Date Title
US11582732B2 (en) Methods and devices for configuring and monitoring search space of PDCCH
CN109981155B (en) Beam training method and related equipment
US9986087B2 (en) Methods of sharing a WiFi hotspot and associated electronic devices
CN112350809A (en) Sensing method and communication device
CN107396287B (en) Method and device for selecting working frequency points
US11284347B2 (en) Activation system information transmission method, apparatus, and device
US11388706B2 (en) Information acquiring method, terminal, base station, and system
WO2018103400A1 (en) Wireless fidelity wifi connection method and related product
KR101920893B1 (en) Resource allocation method and user equipment
CN111436118A (en) Transmission resource detection method, transmission resource determination method and communication equipment
CN109392173A (en) A kind of sending method of system information, acquisition methods and relevant device
CN111479307B (en) Data transmission method, device, AP and storage medium
CN107483234B (en) Method and device for split backup of access point of Internet of things
WO2022105776A1 (en) Method and apparatus for obtaining master information block (mib), and terminal
WO2019015040A1 (en) Signal strength based frequency point selection method and internet of things terminal
CN108966281B (en) Mesh network processing method, device, equipment and storage medium
AU2018405869B2 (en) Paging method, terminal device and network device
CN113068161B (en) Bluetooth low-energy-consumption communication method, device and system and storage medium
WO2015180017A1 (en) Method for transmitting signal in device to device proximity service, base station and user equipment
CN110475366B (en) Data transmission method and device
CN111435863A (en) Method and apparatus for multi-transmission receiving point transmission
KR20200116507A (en) Resource allocation method, terminal and network side equipment
EP4048003A1 (en) Method and apparatus for determining position occupied by resource, terminal device, and storage medium
CN114731657A (en) Method and device for determining auxiliary information resource block
EP3337216B1 (en) Radio resource scheduling method, radio base station, and system

Legal Events

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