WO2017185759A1 - 一种控制方法及光网络单元onu设备、存储介质 - Google Patents

一种控制方法及光网络单元onu设备、存储介质 Download PDF

Info

Publication number
WO2017185759A1
WO2017185759A1 PCT/CN2016/109325 CN2016109325W WO2017185759A1 WO 2017185759 A1 WO2017185759 A1 WO 2017185759A1 CN 2016109325 W CN2016109325 W CN 2016109325W WO 2017185759 A1 WO2017185759 A1 WO 2017185759A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless communication
communication module
working channel
frequency band
channel
Prior art date
Application number
PCT/CN2016/109325
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 WO2017185759A1 publication Critical patent/WO2017185759A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1605Fixed allocated frame structures
    • H04J3/1652Optical Transport Network [OTN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/382Monitoring; Testing of propagation channels for resource allocation, admission control or handover
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/02Resource partitioning among network components, e.g. reuse partitioning
    • H04W16/10Dynamic resource partitioning
    • 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

Definitions

  • the present invention relates to the field of Internet of Things technologies, and in particular, to a control method and an ONU device and a storage medium for an optical network unit.
  • the traditional optical network unit is the entrance and exit of the home network, and is the center of the home network control.
  • the signal is often transmitted during the transmission process.
  • the signal quality is poor, which makes the data communication between the ONU device and the smart home device less efficient.
  • the embodiment of the present invention is to provide a control method, an ONU device and a storage medium of an optical network unit, to solve the technical problem of low data communication between the ONU device and the smart home device, and to improve the ONU device and the smart device.
  • an embodiment of the present invention provides a control method, which is applied to an ONU device of an optical network unit, and includes: receiving environment frequency band information from a first wireless communication module, where the environmental frequency band information is by the first Obtaining, by the wireless communication module, a current space environment, assigning a working channel to the first wireless communication module according to the environmental frequency band information, and controlling the The first wireless communication module communicates with the at least one smart home device on the working channel.
  • the allocating a working channel to the first wireless communication module according to the environmental frequency band information includes: determining an idle channel according to the environmental frequency band information, and assigning the idle channel to the The first wireless communication module acts as the working channel.
  • the allocating the working channel to the first wireless communication module according to the environmental frequency band information includes: determining, according to the environmental frequency band information, a current channel of the second wireless communication module in the ONU device, And assigning the current channel to the first wireless communication module as the working channel; correspondingly, controlling the first wireless communication module to communicate with the at least one smart home device on the working channel, including: In a time division multiplexing manner, the first wireless communication module is controlled to communicate with the at least one smart home device on the working channel.
  • the controlling, by the time division multiplexing, the first wireless communication module to communicate with the at least one smart home device on the working channel comprising: receiving a work request of the first wireless communication module; The work request, the first time slot of the working channel is allocated to the first wireless communication module, and the second time slot remaining on the working channel is allocated to the second wireless communication module; Controlling, by the first wireless communication module, the at least one smart home device on the working channel, and controlling the second wireless communication module and at least in the second time slot in a first time slot A wireless terminal communicates.
  • the method further includes: based on the environmental frequency band information and the last received environmental frequency band The information is used to determine whether the occupancy of the channel and the signal strength in the current space environment change; when the occupancy situation and the signal strength change, the control is performed according to the state indication of the first wireless communication module. The transmit power of the first wireless communication module.
  • controlling according to the communication condition of the first wireless communication module The transmit power of the first wireless communication module includes: controlling the transmit power to increase when the first wireless communication module generates an error; and controlling the transmit when the first wireless communication module does not generate an error The power is reduced.
  • an embodiment of the present invention provides an optical network unit ONU device, where the ONU device includes: a first wireless communication module and a control module; wherein the first wireless communication module is configured to scan a current space environment Obtaining the environmental frequency band information, and sending the environmental frequency band information to the control module; the control module is configured to allocate a working channel to the first wireless communication module according to the environmental frequency band information, and control the first The wireless communication module communicates with the at least one smart home device on the working channel.
  • control module is specifically configured to determine an idle channel according to the environmental frequency band information, and allocate the idle channel to the first wireless communication module as the working channel.
  • the ONU device further includes a second wireless communication module
  • the second wireless communication module is configured to connect the at least one wireless terminal to the external network
  • the control module is further configured to: according to the environmental frequency band information Determining a current channel of the second wireless communication module in the ONU device, and assigning the current channel to the first wireless communication module as the working channel; controlling the first wireless in a time division multiplexing manner
  • a communication module communicates with the at least one smart home device on the working channel.
  • control module is specifically configured to receive a work request of the first wireless communication module, and allocate a first time slot of the working channel to the first wireless communication module according to the work request, and Allocating a second time slot remaining on the working channel to the second wireless communication module; controlling, in the first time slot, the first wireless communication module on the working channel and the at least one smart
  • the home device communicates, and in the second time slot, controls the second wireless communication module to communicate with the at least one wireless terminal.
  • control module is further configured to control the first wireless communication After the communication channel communicates with the at least one smart home device, the information module determines whether the occupancy of the channel and the signal strength in the current space environment change based on the environmental frequency band information and the last received environmental frequency band information; And when the occupancy condition and the signal strength change, the transmit power of the first wireless communication module is controlled according to the status indication of the first wireless communication module.
  • control module is specifically configured to: when the first wireless communication module generates an error, control the transmission power to increase; when the first wireless communication module does not generate an error, the control station The transmission power is reduced.
  • the present invention provides a storage medium storing executable instructions for performing the control method provided by the embodiments of the present invention.
  • an example of the present invention provides an optical network unit ONU device, including a processor and a memory, where the executable instruction is stored in the memory, and the executable instruction is used to cause the processor to perform the control provided by the embodiment of the present invention. method.
  • the control module receives the environmental frequency band information from the first wireless communication module, where the environmental frequency band information is obtained by the first wireless communication module scanning the current space environment. Then, the control module can obtain the frequency band status of the current space environment, and then the control module allocates a working channel to the first wireless communication module according to the environmental frequency band information, and controls the first wireless communication module in the working channel and at least one smart home. Device communication; in this way, the control module allocates a working channel to the first wireless communication module based on the frequency band condition of the current space environment, so that the first wireless communication module works on the allocated working channel, avoiding the first wireless communication module.
  • Interference with the working channel of other devices in the current space environment can improve the transmission efficiency of data transmission in the first wireless communication module, and solve the technical problem of low efficiency of data communication between the ONU device and the smart home device, and improve the technical problem.
  • ONU equipment and smart home equipment Data communication between the efficiency and improve the user experience.
  • FIG. 1 is a schematic structural diagram of an optical network communication system according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of an ONU device according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a control method in an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a preferred embodiment of an ONU device according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a preferred embodiment of an ONU device implementing a control method according to an embodiment of the present invention.
  • FIG. 1 is a schematic structural diagram of an optical network communication system according to an embodiment of the present invention.
  • the communication system includes: an ONU device 11 and an optical splitter 12 .
  • An optical line terminal (OLT) 13 a core network 14 , a personal area network (PAN) 15 , and a smart home device 16 ; wherein the ONU device 11 establishes a communication relationship with the smart home device 16 through the PAN 15 , and the ONU device 11 establishes a communication relationship with the optical splitter 12, the optical splitter 12 establishes a communication relationship with the OLT 13, and the OLT 13 establishes a communication relationship with the wireless terminal through the core network 14.
  • OLT optical line terminal
  • PAN personal area network
  • the ONU device 11 When the user needs to perform wireless or wired Internet access or voice calls, the ONU device 11 needs to perform uplink and downlink data interaction between the optical splitter 12 and the OLT 13 and the core network 14. In the uplink direction, the ONU device 11 transmits data in a burst form in a certain time slot under the authorization of the OLT 13, and in the downlink direction, the OLT 13 broadcasts data in a broadcast mode, and the ONU device 11 receives the data and extracts its own logical chain. The part of the data of the LLID (Logical Link Identifier) is discarded, so that the interaction of the uplink and downlink data is completed.
  • LLID Logical Link Identifier
  • the line terminal can complete the status monitoring and control of the smart home device 16 through the ONU device 11 in a wireless or wired manner. After the ONU device 11 is powered on, the ONU device 11 performs initialization to complete wireless and wired network coverage and the phone.
  • the smart home device 16 matches by the PAN identifier, and when the PAN identifiers are consistent, the device is allowed to join the PAN 15, and the new smart home device 16 is automatically added to the PAN 15 when When the PAN identifiers are inconsistent, the smart home device 16 is denied to join the PAN 15, thereby completing the networking communication between the smart home devices.
  • FIG. 2 is a schematic structural diagram of an ONU device according to an embodiment of the present invention.
  • the ONU device 11 includes a first wireless communication module 21 and a control module 22; wherein, the first wireless communication
  • the module 21 is configured to scan the current space environment, obtain the environment frequency band information, and send the environment frequency band information to the control module 22.
  • the control module 22 is configured to allocate a working channel to the first wireless communication module according to the environmental frequency band information, and control the A wireless communication module 21 communicates with at least one smart home device on a working channel.
  • control method provided by the embodiment of the present invention is described below in conjunction with the above optical network communication system.
  • FIG. 3 is a schematic flowchart of a control method in an embodiment of the present invention. As shown in FIG. 3, the method includes:
  • S301 Receive environment frequency band information from the first wireless communication module.
  • the environmental frequency band information is obtained by the first wireless communication module scanning the current space environment
  • the first wireless communication module in the ONU device completes the networking of the smart home device, the first wireless communication module itself or all of the current space environment after receiving the control instruction of the control module of the ONU device.
  • the frequency band is scanned to obtain the environmental frequency band information.
  • the environmental frequency band information may include the occupied condition of the channel and the signal strength, and the information will be obtained.
  • the environmental frequency band information is sent to the control module.
  • S302 Allocate a working channel to the first wireless communication module according to the environment frequency band information, and control the first wireless communication module to communicate with the at least one smart home device on the working channel.
  • the control module allocates a working channel to the first wireless communication module according to the environmental frequency band information;
  • the first wireless communication module may be a Zigbee module, a Bluetooth module, or a short-range wireless communication.
  • NFC Near Field Communication
  • the embodiment of the present invention is based on the Zigbee protocol for networking communication, and the networking communication based on the Zigbee protocol has low complexity, self-organization, low power consumption and high security.
  • the control module can be a controller, a processor or a single chip. The invention is not limited herein.
  • the foregoing S302 may be, but is not limited to, the following three cases.
  • the control module determines an idle channel according to the environmental frequency band information obtained in S301, and allocates the idle channel to the first wireless communication module as a working channel, and then controls The module controls the first wireless communication module to be able to communicate with at least one smart home device on the idle channel, ie, its working channel.
  • the control module analyzes the environmental frequency band information, obtains the occupancy of the channel in the current space environment, and can know whether there is a free channel in the current space environment, if at least one idle exists.
  • any one of the idle channels is selected as the working channel, or the idle channel with the strongest signal strength is assigned to the first wireless communication module as the working channel, so that the first wireless communication module Working on the idle channel and communicating with at least one smart home device can avoid interference with other channels in the current space environment, improve the reliability of data transmission in the first wireless communication module, and improve the function of the ONU device in realizing smart home.
  • the control efficiency of smart home devices When it comes to the control efficiency of smart home devices.
  • control module determines that there is no space in the current space environment according to the environment frequency band information.
  • the process ends.
  • FIG. 4 is a schematic structural diagram of a preferred embodiment of an ONU device according to an embodiment of the present invention.
  • the ONU device may further include a second wireless communication module 41, where the second wireless communication is performed.
  • the module 41 is configured to communicate with the wireless terminal to perform functions such as wireless, wired Internet access, or voice call.
  • the control module 22 determines the current channel of the second wireless communication module 41 in the ONU device 11 according to the environmental frequency band information obtained in S301, and assigns the current channel to the first wireless communication module 21 as a working channel, and then the control module 22 In a time division multiplexing manner, the first wireless communication module 21 is controlled to communicate with the at least one smart home device on the working channel.
  • controlling the controlling module in a time division multiplexing manner, controlling the first wireless communication module to communicate with the at least one smart home device on the working channel, may include: the control module receiving the work request of the first wireless communication module, according to the work request, Assigning a first time slot of the working channel to the first wireless communication module, and allocating a second time slot remaining on the working channel to the second wireless communication module, and controlling the first wireless communication module in the working channel in the first time slot Communicating with the at least one smart home device and controlling the second wireless communication module to communicate with the at least one wireless terminal in the second time slot.
  • the control module allocates the first according to the work request.
  • the time slot is given to the first wireless communication module, so that the smart home device can transmit the fault state to the control module, and then the control module transmits the fault state to the wireless terminal through the second wireless communication module in the remaining second time slot, so that the user can Timely information on the status of smart home devices to improve user experience.
  • control module 22 can also control the first wireless communication module 21 to communicate with the at least one smart home device on the working channel in a code division multiple access manner, which is not specifically limited in the present invention.
  • the ONU device 11 includes the second wireless communication module described above.
  • Block 41 when the control module 22 knows that there is no idle channel in the current space environment, the control module 22 determines the current channel of the second wireless communication module 41 in the ONU device 11 according to the environmental frequency band information obtained in S301, and the current channel.
  • the first wireless communication module 21 is assigned to the first wireless communication module 21 as a working channel. Accordingly, the control module 22 controls the first wireless communication module 21 to communicate with the at least one smart home device on the working channel in a time division multiplexed manner.
  • the control module 22 analyzes the environmental frequency band information, obtains the occupancy of the channel in the current space environment, and can know whether there is a free channel in the current space environment, in the current space environment.
  • the first wireless communication module is allocated a working channel with reference to the first case, and when there is no idle channel in the current space environment, the current channel of the second wireless communication module 41 is allocated to the first wireless communication module.
  • 21 as a working channel the first wireless communication module 21 operates on the current channel of the second wireless communication module 41, and the control module 22 can also control the first wireless communication module 21 in the working channel and at least in a code division multiple access manner.
  • a smart home device communication is analyzed by the environmental frequency band information through S301.
  • the ONU device avoids interference of the first wireless communication module with other channels in the current space environment by one or more of the above embodiments.
  • the ONU device generates a large power consumption while implementing the smart home function.
  • the first wireless communication module is controlled in the working channel and the at least one smart in S302.
  • the method may further include: determining, according to the environment frequency band information and the last received environmental frequency band information, whether the channel occupancy and the signal strength in the current space environment change, when the occupancy situation and the signal strength are both When a change occurs, the transmit power of the first wireless communication module is controlled according to the status indication of the first wireless communication module.
  • the determining module in the ONU device determines whether the channel occupancy and the signal strength in the current space environment change, only when the channel occupancy changes. And when the signal strength of the channel changes, It is necessary to achieve power saving by adjusting the transmit power of the first wireless communication module.
  • the step of controlling the transmit power of the first wireless communication module according to the communication condition of the first wireless communication module may include: when the first wireless communication module generates a bit error, the control The transmission power is increased, and when the first wireless communication module does not generate an error, the control transmission power is reduced.
  • the following describes the control method in the one or more embodiments of the ONU device by using a specific example.
  • FIG. 5 is a schematic structural diagram of a preferred embodiment of an ONU device for implementing a control method according to an embodiment of the present invention.
  • the ONU device includes: a control module 51, a Zigbee module 52, and WiFi.
  • Step A After the WiFi module is initialized and the Zigbee module establishes a network, the Zigbee module scans all frequency bands of the current space environment to obtain channel occupancy and signal strength of the current space environment;
  • Step B When there is a free channel in the current space environment, if there is only one idle channel, the control module allocates the idle channel to the Zigbee module. If there are multiple idle channels, the control module selects the strongest signal strength from the plurality of idle channels. The idle channel is allocated to the Zigbee module, and proceeds to step D;
  • Step C When there is no idle channel in the current space environment, the control module allocates the current channel of the WiFi module to the Zigbee module, and allocates the first time slot of the working channel to the Zigbee module according to the received work request of the WiFi module. And allocating the remaining second time slot of the working channel to the WiFi module, so that in the first time slot, the Zigbee module is controlled to communicate with the smart home device on the working channel, and in the second time slot, the WiFi module is controlled to communicate with the wireless terminal. , go to step D;
  • Step D The control module determines whether the occupancy of the channel and the signal strength in the current space environment change. Only when the occupancy of the channel changes and the signal strength of the channel changes, whether the Zigbee module generates during the data transmission process is determined. Error code
  • Step E When a bit error occurs, the control module increases the transmit power of the Zigbee module, thereby eliminating the bit error;
  • Step F When no error is generated, the control module reduces the transmission power of the Zigbee module, thereby reducing power consumption.
  • the control module allocates a working channel to the first wireless communication module according to the current space environment, and controls the first wireless communication module to communicate with the at least one smart home device on the working channel; thus, the control module is aware Assigning a working channel to the first wireless communication module based on the frequency band condition of the current space environment, so that the first wireless communication module works on the allocated working channel, avoiding the first wireless communication module and other devices in the current space environment
  • the working channel generates interference, which can improve the transmission efficiency of data transmission in the first wireless communication module, solve the technical problem of low data communication between the ONU device and the smart home device, and improve the relationship between the ONU device and the smart home device.
  • the efficiency of data communication increases the user experience.
  • the ONU device 11 includes: a first wireless communication module 21 and a control module 22; wherein, the first wireless communication module 21 is configured to be The current space environment is scanned to obtain the environment frequency band information, and the environment frequency band information is sent to the control module 22; the control module 22 is configured to allocate the working channel to the first wireless communication module 21 according to the environmental frequency band information, and control the first wireless communication module 21 Communicate with at least one smart home device on the working channel.
  • the first wireless communication module 21 in the ONU device 11 completes the networking of the smart home device, the first wireless communication module 21 itself or receives the control command of the control module 22 of the ONU device 11 for the current Scan all frequency bands in the space environment to obtain the ring
  • the environment frequency band information where the environmental frequency band information may include the occupancy of the channel and the signal strength, and the acquired environmental frequency band information is sent to the control module.
  • the control module 22 After receiving the environmental frequency band information, the control module 22 allocates a working channel to the first wireless communication module 21 according to the environmental frequency band information.
  • the first wireless communication module 21 may be a Zigbee module, a Bluetooth module, or an NFC module.
  • the networking communication based on the Zigbee protocol has the characteristics of low complexity, self-organization, low power consumption, and high security, which can improve the efficiency of controlling the smart home device; the control module 22 can For the controller, the processor or the single chip, the invention is not specifically limited herein.
  • control module 22 is configured to allocate a working channel to the first wireless communication module 21 according to the environment frequency band information, and the control module 22 is specifically configured to determine an idle channel according to the environmental frequency band information, and allocate the idle channel to the first channel.
  • a wireless communication module 21 serves as a working channel.
  • the ONU device 11 may further include a second wireless communication module 41 configured to The at least one wireless terminal accesses the external network.
  • the control module 22 is specifically configured to determine the current channel of the second wireless communication module 41 in the ONU device 11 according to the environmental frequency band information, and allocate the current channel to the first wireless communication module 21 As a working channel; controlling the first wireless communication module 21 to communicate with at least one smart home device on the working channel in a time division multiplexing manner.
  • the control module 22 is configured to receive the first wireless communication module 21 by the control module 22 in order to enable the first wireless communication module 21 and the second wireless communication module 41 to operate on the same channel in a time division multiplexing manner.
  • a work request assigning a first time slot of the working channel to the first wireless communication module 21 according to the work request, and allocating a second time slot remaining on the working channel to the second wireless communication module 41; in the first time slot, Controlling the first wireless communication module 21 to communicate with the at least one smart home device on the working channel, and controlling the second none in the second time slot
  • the line communication module 41 communicates with at least one wireless terminal.
  • the ONU device avoids interference of the first wireless communication module 21 with other channels in the current space environment by one or more of the above embodiments.
  • the ONU device generates a large power consumption while implementing the smart home function.
  • the control module 22 is specifically configured to control the first wireless communication module at work. After the channel communicates with the at least one smart home device, based on the environmental frequency band information and the last received environmental frequency band information, it is determined whether the channel occupancy and signal strength in the current space environment change; when the occupancy situation and the signal strength change The transmit power of the first wireless communication module 21 is controlled according to the status indication of the first wireless communication module 21.
  • control module 22 in order to reduce the power consumption of the ONU device, is specifically configured to: when the first wireless communication module 21 generates an error, control the transmission power to increase; when the first wireless communication module 21 does not generate an error.
  • the control transmission power is reduced.
  • control module 22 can be implemented by a processor, an application specific integrated circuit (ASIC), a logic programmable gate (FPGA) or a complex programmable logic device (CPLD), and the first wireless communication module 21 and the second wireless communication module 41 It can be implemented by an integrated circuit module supporting different infinite communication protocols such as WiFi protocol and Zigbee protocol.
  • ASIC application specific integrated circuit
  • FPGA logic programmable gate
  • CPLD complex programmable logic device
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units; they may be located in one place or distributed on multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit;
  • the unit can be implemented in the form of hardware or It is implemented in the form of hardware plus software functional units.
  • the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a removable storage device, a read only memory (ROM), a magnetic disk, or an optical disk, and the like, which can store program codes.
  • ROM read only memory
  • the above-described integrated unit of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a magnetic disk, or an optical disk.
  • the environment frequency band information is received by the first wireless communication module, and the environmental frequency band information is obtained by the first wireless communication module scanning the current space environment, according to the environmental frequency band information,
  • the first wireless communication module allocates a working channel and controls the first wireless communication module to communicate with the at least one smart home device on the working channel.
  • the embodiment of the invention also discloses an optical network unit ONU device. The interference between the first wireless communication module and the working channels of other devices in the current space environment is avoided, and the interference can be improved.
  • the transmission efficiency of data transmission in the first wireless communication module solves the technical problem of low efficiency of data communication between the ONU device and the smart home device, and improves the efficiency of data communication between the ONU device and the smart home device.

Landscapes

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

Abstract

本发明实施例公开了一种控制方法,应用于光网络单元ONU设备中,包括:接收来自第一无线通信模块的环境频段信息,其中,所述环境频段信息是由所述第一无线通信模块扫描当前空间环境获得的,根据所述环境频段信息,为所述第一无线通信模块分配工作信道,并控制所述第一无线通信模块在所述工作信道与至少一个智能家居设备通信。本发明实施例还同时公开了一种光网络单元ONU设备及存储介质。

Description

一种控制方法及光网络单元ONU设备、存储介质 技术领域
本发明涉及物联网技术领域,尤其涉及一种控制方法及光网络单元ONU设备、存储介质。
背景技术
随着物联网以及通讯技术的快速发展,人们提出了智能家居的概念,与传统的家居生活相比,智能家居能够为人们创造一个方便、节能、舒适的新家居生活,然而,在现有技术中,传统的光网络单元(ONU,Optical Network Unit)作为家庭网络的入口和出口,是家庭网络控制的中心,在通过ONU设备实现智能家居设备的组网通信过程中,常常会出现信号在传输过程中信号质量较差,这样使得ONU设备与智能家居设备之间进行数据通信的效率较低。
发明内容
有鉴于此,本发明实施例期望提供一种控制方法及光网络单元ONU设备、存储介质,以解决ONU设备与智能家居设备之间进行数据通信的效率较低的技术问题,提高ONU设备与智能家居设备之间进行数据通信的效率。
为达到上述目的,本发明实施例的技术方案是这样实现的:
第一方面,本发明实施例提供一种控制方法,应用于光网络单元ONU设备中,包括:接收来自第一无线通信模块的环境频段信息,其中,所述环境频段信息是由所述第一无线通信模块扫描当前空间环境获得的;根据所述环境频段信息,为所述第一无线通信模块分配工作信道,并控制所述 第一无线通信模块在所述工作信道与至少一个智能家居设备通信。
在上述方案中,所述根据所述环境频段信息,为所述第一无线通信模块分配工作信道,包括:根据所述环境频段信息,确定一空闲信道,并将所述空闲信道分配给所述第一无线通信模块作为所述工作信道。
在上述方案中,所述根据所述环境频段信息,为所述第一无线通信模块分配工作信道,包括:根据所述环境频段信息,确定所述ONU设备中第二无线通信模块的当前信道,并将所述当前信道分配给所述第一无线通信模块作为所述工作信道;相应地,所述控制所述第一无线通信模块在所述工作信道与至少一个智能家居设备通信,包括:以时分复用的方式,控制所述第一无线通信模块在所述工作信道与所述至少一个智能家居设备通信。
在上述方案中,所述以时分复用的方式,控制所述第一无线通信模块在所述工作信道与至少一个智能家居设备通信,包括:接收所述第一无线通信模块的工作请求;根据所述工作请求,将所述工作信道的第一时隙分配给所述第一无线通信模块,并将所述工作信道剩余的第二时隙分配给所述第二无线通信模块;在所述第一时隙内,控制所述第一无线通信模块在所述工作信道上与所述至少一个智能家居设备通信,以及在所述第二时隙内,控制所述第二无线通信模块与至少一个无线终端通信。
在上述方案中,在所述控制所述第一无线通信模块在所述工作信道与至少一个智能家居设备通信之后,所述方法还包括:基于所述环境频段信息与上一次接收到的环境频段信息,判断所述当前空间环境中信道的占用情况和信号强度是否发生变化;当所述占用情况和所述信号强度均发生变化时,根据所述第一无线通信模块的状态指示,控制所述第一无线通信模块的发射功率。
在上述方案中,所述根据所述第一无线通信模块的通信情况控制所述 第一无线通信模块的发射功率,包括:当所述第一无线通信模块产生误码时,控制所述发射功率增大;当所述第一无线通信模块未产生误码时,控制所述发射功率减小。
第二方面,本发明实施例提供一种光网络单元ONU设备,所述ONU设备包括:第一无线通信模块和控制模块;其中,所述第一无线通信模块,配置为对当前空间环境进行扫描,获取环境频段信息,发送所述环境频段信息至所述控制模块;所述控制模块,配置为根据所述环境频段信息,为所述第一无线通信模块分配工作信道,并控制所述第一无线通信模块在所述工作信道与至少一个智能家居设备通信。
在上述方案中,所述控制模块,具体配置为根据所述环境频段信息,确定一空闲信道,并将所述空闲信道分配给所述第一无线通信模块作为所述工作信道。
在上述方案中,所述ONU设备还包括第二无线通信模块,所述第二无线通信模块配置为将至少一个无线终端接入外部网络;所述控制模块,还配置为根据所述环境频段信息,确定所述ONU设备中第二无线通信模块的当前信道,并将所述当前信道分配给所述第一无线通信模块作为所述工作信道;以时分复用的方式,控制所述第一无线通信模块在所述工作信道与所述至少一个智能家居设备通信。
在上述方案中,所述控制模块,具体配置为接收所述第一无线通信模块的工作请求;根据所述工作请求,将工作信道的第一时隙分配给所述第一无线通信模块,并将所述工作信道剩余的第二时隙分配给所述第二无线通信模块;在所述第一时隙内,控制所述第一无线通信模块在所述工作信道上与所述至少一个智能家居设备通信,以及在所述第二时隙内,控制所述第二无线通信模块与所述至少一个无线终端通信。
在上述方案中,所述控制模块,还配置为在所述控制所述第一无线通 信模块在所述工作信道与至少一个智能家居设备通信之后,基于所述环境频段信息与上一次接收到的环境频段信息,判断所述当前空间环境中信道的占用情况和信号强度是否发生变化;当所述占用情况和所述信号强度均发生变化时,根据所述第一无线通信模块的状态指示,控制所述第一无线通信模块的发射功率。
在上述方案中,所述控制模块,具体配置为当所述第一无线通信模块产生误码时,控制所述发射功率增大;当所述第一无线通信模块未产生误码时,控制所述发射功率减小。
第三方面,本发明示例提供了一种存储介质,存储有可执行指令,所述可执行指令用于执行本发明实施例提供的控制方法。
第四方面,本发明示例提供了一种光网络单元ONU设备,包括有处理器和存储器,存储器中存储有可执行指令,所述可执行指令用于引起处理器执行本发明实施例提供的控制方法。
本发明实施例所提供的控制方法及光网络单元ONU设备,在设备中,控制模块接收来自第一无线通信模块的环境频段信息,该环境频段信息是由第一无线通信模块扫描当前空间环境获得的,那么,控制模块便可以获取到当前空间环境的频段状况,进而控制模块根据环境频段信息,为第一无线通信模块分配工作信道,并控制第一无线通信模块在工作信道与至少一个智能家居设备通信;这样,控制模块在知晓当前空间环境的频段状况的基础上为第一无线通信模块分配工作信道,使得第一无线通信模块在所分配的工作信道上工作,避免了第一无线通信模块与当前空间环境中的其他设备的工作信道产生干扰,可以提高第一无线通信模块内数据传输的传输效率,解决ONU设备与智能家居设备之间进行数据通信的效率较低的技术问题,提高了ONU设备与智能家居设备之间进行数据通信的效率,提高用户的体验度。
附图说明
图1为本发明实施例中的光网络通信系统的结构示意图;
图2为本发明实施例中的ONU设备的结构示意图;
图3为本发明实施例中的控制方法的流程示意图;
图4为本发明实施例中的ONU设备的一种优选的实施例的结构示意图;
图5为本发明实施例中的实现控制方法的ONU设备的一种优选的实施例的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
本发明实施例提供一种光网络通信系统,图1为本发明实施例中的光网络通信系统的结构示意图,参考图1所示,该通信系统包括:ONU设备11、光分路器12、光线路终端(OLT,Optical Line Terminal)13、核心网络14、个人局域网(PAN,Personal Area Network)15、智能家居设备16;其中,ONU设备11通过PAN15与智能家居设备16建立通信关系,ONU设备11与光分路器12建立通信关系,光分路器12与OLT13建立通信关系,OLT13通过核心网络14与无线终端建立通信关系。
当用户需要无线、有线上网或语音通话时,ONU设备11需要通过光分路器12、OLT13与核心网络14之间进行上下行数据的交互。在上行方向,ONU设备11在OLT13的授权指引下,在某一时隙以突发的形式向上发送数据;在下行方向,OLT13以广播模式下行广播数据,ONU设备11接收到数据并提取自己逻辑链路标记(LLID,Logical Link Identifier)的那一部分数据,其余数据丢弃,从而完成上下行数据的交互。
当用户需要对当前智能家居网络中的智能家居设备16进行控制时,无 线终端可以通过ONU设备11以无线或有线的方式,完成对智能家居设备16的状态监测以及控制;其中,ONU设备11在上电后,ONU设备11进行初始化,完成无线以及有线网络覆盖、电话机馈电、光收发通信、对智能家居设备16的组网,ONU设备11在对智能家居设备16进行组网的过程中,ONU设备11会为新网络PAN15选择一个PAN标识符,在接收新的智能家居设备加入其网络的请求时,智能家居设备16通过PAN标识符进行匹配,当PAN标识符一致时,允许该设备加入PAN15,自动将新的智能家居设备16添加入到PAN15中,当PAN标识符不一致时,则拒绝该智能家居设备16加入PAN15,从而完成智能家居设备间的组网通信。
在本发明实施例中,图2为本发明实施例中的ONU设备的结构示意图,如图2所示,上述ONU设备11包括第一无线通信模块21和控制模块22;其中,第一无线通信模块21,配置为对当前空间环境进行扫描,获取环境频段信息,发送环境频段信息至控制模块22,控制模块22,配置为根据环境频段信息,为第一无线通信模块分配工作信道,并控制第一无线通信模块21在工作信道与至少一个智能家居设备通信。
下面结合上述光网络通信系统来对本发明实施例提供的控制方法进行说明。
图3为本发明实施例中的控制方法的流程示意图,如图3所示,该方法包括:
S301:接收来自第一无线通信模块的环境频段信息;
其中,环境频段信息是由第一无线通信模块扫描当前空间环境获得的;
具体来说,ONU设备中的第一无线通信模块在完成智能家居设备的组网之后,第一无线通信模块自身定时或者在接收到ONU设备的控制模块的控制指令之后,对当前空间环境的所有频段进行扫描,获取到环境频段信息,这里,环境频段信息可以包括信道的占用情况和信号强度,将获取到 的环境频段信息发送至控制模块。
S302:根据环境频段信息,为第一无线通信模块分配工作信道,并控制第一无线通信模块在工作信道与至少一个智能家居设备通信。
具体来说,控制模块在接收到环境频段信息之后,根据环境频段信息为第一无线通信模块分配工作信道;上述第一无线通信模块可以为紫蜂(Zigbee)模块、蓝牙模块或近距离无线通信(NFC,Near Field Communication)模块,本发明实施例是以基于Zigbee协议为例进行组网通信的,基于Zigbee协议进行组网通信具有低复杂度、自组织、低功耗以及高安全性的特性,可以提高控制智能家居设备的效率;上述控制模块可以为控制器、处理器或者单片机,这里本发明不做具体限定。
在具体实施例中,上述S302可以且不限于以下三种情况。
第一种情况,当前空间环境中存在至少一个空闲信道时,控制模块根据S301中获得的环境频段信息确定一空闲信道,并将该空闲信道分配给第一无线通信模块作为工作信道,然后,控制模块控制第一无线通信模块就能够在上述空闲信道,即其工作信道上与至少一个智能家居设备通信。
具体来说,控制模块在通过S301接收到环境频段信息之后,对环境频段信息进行分析,获取到当前空间环境中信道的占用情况,能够获知当前空间环境中是否存在空闲信道,若存在至少一个空闲信道时,便将其中选择任意一个空闲信道分配给第一无线通信模块作为工作信道,或者选择其中信号强度最强的空闲信道分配给第一无线通信模块作为工作信道,这样,第一无线通信模块工作在空闲信道上与至少一个智能家居设备通信,就能够避免与当前空间环境中的其他信道产生干扰,提高了第一无线通信模块中数据传输的可靠性,提高了ONU设备在实现智能家居功能时,对智能家居设备的控制效率。
优选地,控制模块在根据环境频段信息确定当前空间环境中不存在空 闲信道时,则流程结束。
第二种情况,图4为本发明实施例中的ONU设备的一种优选的实施例的结构示意图,参考图4所示,ONU设备还可以包括第二无线通信模块41,该第二无线通信模块41配置为与无线终端进行通信,完成无线、有线上网或语音通话等功能。
那么,控制模块22根据S301中获得的环境频段信息确定ONU设备11中第二无线通信模块41的当前信道,并将当前信道分配给第一无线通信模块21作为工作信道,然后,控制模块22以时分复用的方式,控制第一无线通信模块21在工作信道与至少一个智能家居设备通信。
优选地,上述控制模块以时分复用的方式,控制第一无线通信模块在工作信道与至少一个智能家居设备通信的步骤可以包括:控制模块接收第一无线通信模块的工作请求,根据工作请求,将工作信道的第一时隙分配给第一无线通信模块,并将工作信道剩余的第二时隙分配给第二无线通信模块,在第一时隙内,控制第一无线通信模块在工作信道上与至少一个智能家居设备通信,以及在第二时隙内,控制第二无线通信模块与至少一个无线终端通信。
具体来说,第一无线通信模块在接收到智能家居设备需要将故障状态发送至控制模块时,也就是第一无线通信模块在向控制模块发送工作请求之后,控制模块根据该工作请求分配第一时隙给第一无线通信模块,使得智能家居设备可以将故障状态传输至控制模块,然后,控制模块在剩余的第二时隙将故障状态通过第二无线通信模块传输至无线终端,使得用户能够及时的获知智能家居设备的状态信息,提高用户体验度。
优选地,控制模块22还可以以码分多址的方式,控制第一无线通信模块21在工作信道与至少一个智能家居设备通信,本发明不做具体限定。
第三种情况,仍参考图4所示,ONU设备11包括上述第二无线通信模 块41,那么,控制模块22在得知当前空间环境不存在空闲信道时,控制模块22根据S301中获得的环境频段信息确定ONU设备11中第二无线通信模块41的当前信道,并将当前信道分配给第一无线通信模块21作为工作信道,相应地,控制模块22以时分复用的方式,控制第一无线通信模块21在工作信道与至少一个智能家居设备通信。
具体来说,控制模块22在通过S301接收到环境频段信息之后,对环境频段信息进行分析,获取到当前空间环境中信道的占用情况,能够获知当前空间环境中是否存在空闲信道,在当前空间环境中存在空闲信道时,参照第一种情况为第一无线通信模块分配工作信道,在当前空间环境中不存在空闲信道时,便将第二无线通信模块41的当前信道分配给第一无线通信模块21作为工作信道,第一无线通信模块21工作在上述第二无线通信模块41的当前信道上,控制模块22还可以以码分多址的方式,控制第一无线通信模块21在工作信道与至少一个智能家居设备通信。
至此,ONU设备通过上述一个或多个实施例避免了第一无线通信模块与当前空间环境中的其他信道产生干扰。
在另一实施例中,ONU设备在实现智能家居功能的同时,会产生较大的功耗,为了减小ONU设备的功耗,在S302中控制第一无线通信模块在工作信道与至少一个智能家居设备通信的步骤之后,上述方法还可以包括:基于环境频段信息与上一次接收到的环境频段信息,判断当前空间环境中信道的占用情况和信号强度是否发生变化,当占用情况和信号强度均发生变化时,根据第一无线通信模块的状态指示,控制第一无线通信模块的发射功率。
具体来说,在第一无线通信模块在工作信道上工作的过程当中,ONU设备中的判断模块判断当前空间环境中信道的占用情况和信号强度是否都发生变化,只有当信道的占用情况发生变化且信道的信号强度发生变化时, 需要通过调整第一无线通信模块的发射功率来达到节省功耗的目的。
在具体实施过程中,为了降低ONU设备的功耗,上述根据第一无线通信模块的通信情况控制第一无线通信模块的发射功率的步骤可以包括:当第一无线通信模块产生误码时,控制发射功率增大,当第一无线通信模块未产生误码时,控制发射功率减小。
下面以具体实例来对ONU设备实现上述一个或多个实施例中的控制方法进行说明。
图5为本发明实施例中的实现控制方法的ONU设备的一种优选的实施例的结构示意图,如图5所示,该ONU设备包括:控制模块51、紫蜂(Zigbee)模块52、WiFi模块53、存储模块54、以太网模块55、语音模块56、光收发模块57和调试(Debug)接口模块58;其中,紫蜂(Zigbee)模块52相当于上述第一无线通信模块,WiFi模块53相当于上述第二无线通信模块。
那么,该ONU设备实现控制方法的流程如下:
步骤A:当WiFi模块初始化完成和Zigbee模块建立网络之后,Zigbee模块对当前空间环境的所有频段进行扫描得到当前空间环境的信道占用情况和信号强度;
步骤B:当当前空间环境中存在空闲信道时,如果只有一个空闲信道,控制模块将该空闲信道分配给Zigbee模块,如果有多个空闲信道,控制模块从多个空闲信道中选择信号强度最强的空闲信道分配给Zigbee模块,转至步骤D;
步骤C:当当前空间环境中不存在空闲信道时,控制模块将WiFi模块的当前信道分配给Zigbee模块,并根据接收到的WiFi模块的工作请求,将工作信道的第一时隙分配给Zigbee模块,将工作信道剩余的第二时隙分配给WiFi模块,使得在第一时隙内,控制Zigbee模块在工作信道上与智能家居设备通信,在第二时隙内,控制WiFi模块与无线终端通信,转至步骤D;
步骤D:控制模块判断当前空间环境中信道的占用情况和信号强度是否都发生变化,只有当信道的占用情况发生变化且信道的信号强度发生变化时,判断Zigbee模块在数据传输的过程中是否产生误码;
步骤E:当产生误码时,控制模块增大Zigbee模块的发射功率,从而消除误码;
步骤F:当无误码产生时,控制模块减小Zigbee模块的发射功率,从而降低功耗。
本发明实施例所提供的控制方法,控制模块根据当前空间环境为第一无线通信模块分配工作信道,并控制第一无线通信模块在工作信道与至少一个智能家居设备通信;这样,控制模块在知晓当前空间环境的频段状况的基础上为第一无线通信模块分配工作信道,使得第一无线通信模块在所分配的工作信道上工作,避免了第一无线通信模块与当前空间环境中的其他设备的工作信道产生干扰,可以提高第一无线通信模块内数据传输的传输效率,解决ONU设备与智能家居设备之间进行数据通信的效率较低的技术问题,提高了ONU设备与智能家居设备之间进行数据通信的效率,提高用户的体验度。
基于同一发明构思,本发明实施例提供一种ONU设备,参考图2所示,该ONU设备11包括:第一无线通信模块21和控制模块22;其中,第一无线通信模块21,配置为对当前空间环境进行扫描,获取环境频段信息,发送环境频段信息至控制模块22;控制模块22,配置为根据环境频段信息,为第一无线通信模块21分配工作信道,并控制第一无线通信模块21在工作信道与至少一个智能家居设备通信。
具体来说,ONU设备11中的第一无线通信模块21在完成智能家居设备的组网之后,第一无线通信模块21自身定时或者在接收到ONU设备11的控制模块22的控制指令,对当前空间环境所有频段进行扫描,获取到环 境频段信息,这里,环境频段信息可以包括信道的占用情况和信号强度,将获取到的环境频段信息发送至控制模块。
控制模块22在接收到环境频段信息之后,根据环境频段信息为第一无线通信模块21分配工作信道;上述第一无线通信模块21可以为Zigbee模块、蓝牙模块或NFC模块,本发明实施例是以基于Zigbee协议为例进行组网通信的,基于Zigbee协议进行组网通信具有低复杂度、自组织、低功耗以及高安全性的特性,可以提高控制智能家居设备的效率;上述控制模块22可以为控制器、处理器或者单片机,这里本发明不做具体限定。
在具体实施过程中,控制模块22为了实现根据环境频段信息为第一无线通信模块21分配工作信道中,控制模块22具体配置为根据环境频段信息,确定一空闲信道,并将空闲信道分配给第一无线通信模块21作为工作信道。
在另一实施例中,为了实现第一无线通信模块21与智能家居设备的通信,参考图4所示,ONU设备11还可以包括第二无线通信模块41,第二无线通信模块41配置为将至少一个无线终端接入外部网络,相应地,控制模块22具体配置为根据环境频段信息,确定ONU设备11中第二无线通信模块41的当前信道,并将当前信道分配给第一无线通信模块21作为工作信道;以时分复用的方式,控制第一无线通信模块21在工作信道与至少一个智能家居设备通信。
优选地,控制模块22为了实现以时分复用的方式使得第一无线通信模块21和第二无线通信模块41能够工作在同一信道上,控制模块22具体配置为:接收第一无线通信模块21的工作请求;根据工作请求,将工作信道的第一时隙分配给第一无线通信模块21,并将工作信道剩余的第二时隙分配给第二无线通信模块41;在第一时隙内,控制第一无线通信模块21在工作信道上与至少一个智能家居设备通信,以及在第二时隙内,控制第二无 线通信模块41与至少一个无线终端通信。
至此,ONU设备通过上述一个或多个实施例避免了第一无线通信模块21与当前空间环境中的其他信道产生干扰。
在另一实施例中,ONU设备在实现智能家居功能的同时,会产生较大的功耗,为了减小ONU设备的功耗,控制模块22具体还配置为在控制第一无线通信模块在工作信道与至少一个智能家居设备通信之后,基于环境频段信息与上一次接收到的环境频段信息,判断当前空间环境中信道的占用情况和信号强度是否发生变化;当占用情况和信号强度均发生变化时,根据第一无线通信模块21的状态指示,控制第一无线通信模块21的发射功率。
在具体实施过程中,为了降低ONU设备的功耗,上述控制模块22具体配置为:当第一无线通信模块21产生误码时,控制发射功率增大;当第一无线通信模块21未产生误码时,控制发射功率减小。
实际应用中,控制模块22可由处理器、专用集成电路(ASIC)、逻辑可编程门电路(FPGA)或复杂可编程逻辑器件(CPLD)实现,第一无线通信模块21和第二无线通信模块41可由支持不同无限通信协议如WiFi协议、Zigbee协议的集成电路模块实现。
这里需要指出的是:以上设备实施例项的描述,与上述方法描述是类似的,具有同方法实施例相同的有益效果,因此不做赘述。对于本发明设备实施例中未披露的技术细节,本领域的技术人员请参照本发明方法实施例的描述而理解,为节约篇幅,这里不再赘述。
这里需要指出的是:
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本发明的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中” 未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元;既可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可 以采用硬件加软件功能单元的形式实现。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。
或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。
工业实用性
本发明实施例中,通过接收来自第一无线通信模块的环境频段信息,其中,所述环境频段信息是由所述第一无线通信模块扫描当前空间环境获得的,根据所述环境频段信息,为所述第一无线通信模块分配工作信道,并控制所述第一无线通信模块在所述工作信道与至少一个智能家居设备通信。本发明实施例还同时公开了一种光网络单元ONU设备。避免了第一无线通信模块与当前空间环境中的其他设备的工作信道产生干扰,可以提高 第一无线通信模块内数据传输的传输效率,解决ONU设备与智能家居设备之间进行数据通信的效率较低的技术问题,提高了ONU设备与智能家居设备之间进行数据通信的效率。

Claims (13)

  1. 一种控制方法,应用于光网络单元ONU设备中,包括:
    接收来自第一无线通信模块的环境频段信息,其中,所述环境频段信息是由所述第一无线通信模块扫描当前空间环境获得的;
    根据所述环境频段信息,为所述第一无线通信模块分配工作信道,并控制所述第一无线通信模块在所述工作信道与至少一个智能家居设备通信。
  2. 根据权利要求1所述的方法,其中,所述根据所述环境频段信息,为所述第一无线通信模块分配工作信道,包括:
    根据所述环境频段信息,确定一空闲信道,并将所述空闲信道分配给所述第一无线通信模块作为所述工作信道。
  3. 根据权利要求1所述的方法,其中,所述根据所述环境频段信息,为所述第一无线通信模块分配工作信道,包括:
    根据所述环境频段信息,确定所述ONU设备中第二无线通信模块的当前信道,并将所述当前信道分配给所述第一无线通信模块作为所述工作信道;
    相应地,所述控制所述第一无线通信模块在所述工作信道与至少一个智能家居设备通信,包括:
    以时分复用的方式,控制所述第一无线通信模块在所述工作信道与所述至少一个智能家居设备通信。
  4. 根据权利要求3所述的方法,其中,所述以时分复用的方式,控制所述第一无线通信模块在所述工作信道与至少一个智能家居设备通信,包括:
    接收所述第一无线通信模块的工作请求;
    根据所述工作请求,将所述工作信道的第一时隙分配给所述第一无线 通信模块,并将所述工作信道剩余的第二时隙分配给所述第二无线通信模块;
    在所述第一时隙内,控制所述第一无线通信模块在所述工作信道上与所述至少一个智能家居设备通信,以及在所述第二时隙内,控制所述第二无线通信模块与至少一个无线终端通信。
  5. 根据权利要求1所述的方法,其中,在所述控制所述第一无线通信模块在所述工作信道与至少一个智能家居设备通信之后,所述方法还包括:
    基于所述环境频段信息与上一次接收到的环境频段信息,判断所述当前空间环境中信道的占用情况和信号强度是否发生变化;
    当所述占用情况和所述信号强度均发生变化时,根据所述第一无线通信模块的状态指示,控制所述第一无线通信模块的发射功率。
  6. 根据权利要求5所述的方法,其中,所述根据所述第一无线通信模块的通信情况控制所述第一无线通信模块的发射功率,包括:
    当所述第一无线通信模块产生误码时,控制所述发射功率增大;
    当所述第一无线通信模块未产生误码时,控制所述发射功率减小。
  7. 一种光网络单元ONU设备,所述ONU设备包括:第一无线通信模块和控制模块;其中,
    所述第一无线通信模块,配置为对当前空间环境进行扫描,获取环境频段信息,发送所述环境频段信息至所述控制模块;
    所述控制模块,配置为根据所述环境频段信息,为所述第一无线通信模块分配工作信道,并控制所述第一无线通信模块在所述工作信道与至少一个智能家居设备通信。
  8. 根据权利要求7所述的ONU设备,其中,所述控制模块,具体配置为根据所述环境频段信息,确定一空闲信道,并将所述空闲信道分配给所述第一无线通信模块作为所述工作信道。
  9. 根据权利要求7所述的ONU设备,其中,所述ONU设备还包括第二无线通信模块,所述第二无线通信模块配置为将至少一个无线终端接入外部网络;
    所述控制模块,还配置为根据所述环境频段信息,确定所述ONU设备中第二无线通信模块的当前信道,并将所述当前信道分配给所述第一无线通信模块作为所述工作信道;以时分复用的方式,控制所述第一无线通信模块在所述工作信道与所述至少一个智能家居设备通信。
  10. 根据权利要求9所述的ONU设备,其中,
    所述控制模块,具体配置为接收所述第一无线通信模块的工作请求;根据所述工作请求,将工作信道的第一时隙分配给所述第一无线通信模块,并将所述工作信道剩余的第二时隙分配给所述第二无线通信模块;在所述第一时隙内,控制所述第一无线通信模块在所述工作信道上与所述至少一个智能家居设备通信,以及在所述第二时隙内,控制所述第二无线通信模块与所述至少一个无线终端通信。
  11. 根据权利要求7所述的ONU设备,其中,所述控制模块,还配置为在所述控制所述第一无线通信模块在所述工作信道与至少一个智能家居设备通信之后,基于所述环境频段信息与上一次接收到的环境频段信息,判断所述当前空间环境中信道的占用情况和信号强度是否发生变化;当所述占用情况和所述信号强度均发生变化时,根据所述第一无线通信模块的状态指示,控制所述第一无线通信模块的发射功率。
  12. 根据权利要求11所述的ONU设备,其中,所述控制模块,具体配置为当所述第一无线通信模块产生误码时,控制所述发射功率增大;当所述第一无线通信模块未产生误码时,控制所述发射功率减小。
  13. 一种存储介质,存储有可执行指令,所述可执行指令用于执行权利要求1至6任一项所述的控制方法。
PCT/CN2016/109325 2016-04-28 2016-12-09 一种控制方法及光网络单元onu设备、存储介质 WO2017185759A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610284700.7 2016-04-28
CN201610284700.7A CN107342835A (zh) 2016-04-28 2016-04-28 一种控制方法及光网络单元onu设备

Publications (1)

Publication Number Publication Date
WO2017185759A1 true WO2017185759A1 (zh) 2017-11-02

Family

ID=60161794

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/109325 WO2017185759A1 (zh) 2016-04-28 2016-12-09 一种控制方法及光网络单元onu设备、存储介质

Country Status (2)

Country Link
CN (1) CN107342835A (zh)
WO (1) WO2017185759A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110072164B (zh) * 2019-05-10 2021-10-08 南京牛芯微电子有限公司 一种光网络单元的wifi数据传输方法与系统
CN114326426A (zh) * 2021-12-28 2022-04-12 艾拉物联网络(深圳)有限公司 一种智能家居全屋通讯控制方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080285515A1 (en) * 2007-05-16 2008-11-20 Samsung Electronics Co., Ltd. Method and apparatus for scanning for an idle channel in a frequency environment
CN203552038U (zh) * 2013-11-06 2014-04-16 山东省电力学校 一种智能家居系统
CN105024894A (zh) * 2015-07-13 2015-11-04 王海平 基于频谱感知的3d智能家居系统
CN105392163A (zh) * 2014-08-27 2016-03-09 精工爱普生株式会社 无线通信装置以及无线通信方法
CN105527855A (zh) * 2015-12-21 2016-04-27 上海应用技术学院 基于无线控制的智能家居系统及其通讯防碰撞算法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104902545B (zh) * 2015-05-27 2019-07-02 厦门盈趣科技股份有限公司 一种Zigbee与WiFi共存方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080285515A1 (en) * 2007-05-16 2008-11-20 Samsung Electronics Co., Ltd. Method and apparatus for scanning for an idle channel in a frequency environment
CN203552038U (zh) * 2013-11-06 2014-04-16 山东省电力学校 一种智能家居系统
CN105392163A (zh) * 2014-08-27 2016-03-09 精工爱普生株式会社 无线通信装置以及无线通信方法
CN105024894A (zh) * 2015-07-13 2015-11-04 王海平 基于频谱感知的3d智能家居系统
CN105527855A (zh) * 2015-12-21 2016-04-27 上海应用技术学院 基于无线控制的智能家居系统及其通讯防碰撞算法

Also Published As

Publication number Publication date
CN107342835A (zh) 2017-11-10

Similar Documents

Publication Publication Date Title
JP5027955B2 (ja) 無線通信装置、無線通信システムおよびチャネルの切替方法
US8509105B2 (en) Method and apparatus for device-to-device network coordination
US6327300B1 (en) Method and apparatus for dynamic spectrum allocation
WO2018053852A1 (zh) 无线承载的配置方法、装置及系统
US9008149B2 (en) Synchronous access method, and communication device and system in frequency hopping radio communication
US20180332565A1 (en) Wireless communication device, wireless communication system, wireless communication method and program
JP5287870B2 (ja) ネットワーク装置、通信装置、および通信制御方法
AU2007201154A1 (en) Radio communication system, radio base station, radio communication method, and program for radio communication system
WO2016107044A1 (zh) 无线扩展网络控制接入方法及系统
WO2015042967A1 (zh) 一种信道切换方法、装置及设备
JP2010062846A (ja) 無線通信制御方法、無線通信基地局、無線通信端末および無線通信システム
WO2022083268A1 (zh) 一种数据传输方法及装置
CN106714329B (zh) 一种建立数据链路的方法及装置
WO2022148369A1 (zh) 一种节点设备的配置方法、装置、通信设备和存储介质
CN109076430A (zh) 用于发现中继设备的系统和方法
TW201611653A (zh) 一種設備到設備通信方法及裝置
CN104254066B (zh) 状态信息传递、去激活的方法、站点设备和终端设备
JPH11251992A (ja) 通信制御方法及び伝送装置
WO2017185759A1 (zh) 一种控制方法及光网络单元onu设备、存储介质
JP2011526430A (ja) チャンネル時間を割り当てし互換性あるリンクを決める方法及びデータを処理するための装置
CN108934046B (zh) 一种降低WiFi与ZigBee相互干扰的方法及装置
CN117581626A (zh) 用于在受限的非ap mlds处启用组寻址帧接收的方法和装置
CN112491497A (zh) 一种数据发送和接收方法、装置和存储介质
CN108684021A (zh) 一种蓝牙低功耗通信方法和装置
CN107534917A (zh) 一种主从型网络中的切换方法、主设备、从设备和系统

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16900264

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16900264

Country of ref document: EP

Kind code of ref document: A1